@dotup/node-mifare-usb
# dotup-ts-node-mifare-usb
Last updated 3 months ago by peter-ullrich .
AGPL-3.0-only · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dotup/node-mifare-usb 
SYNC missed versions from official npm registry.

NPM version Build Status Dependency Status Coverage percentage

dotup-ts-node-mifare-usb

Description

Installation

Requirements:

apt-get install libudev-dev
apt-get install libusb-dev
apt-get install libusb-1.0-0
apt-get install libusb-1.0-0-dev

npm install -g dotup-ts-node-mifare-usb --unsafe-perm

sudo visudo

add this line after the existing Defaults secure_path=... entry:

Defaults !secure_path

access without root: Create file 10-card.rules in /etc/udev/rules.d Product and vendor id is hex value

SUBSYSTEM=="usb", ATTR{idVendor}=="ffff", ATTR{idProduct}=="35", GROUP="users" MODE="0666" SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", MODE="0666" KERNEL=="hiddev*", ATTRS{idVendor}=="ffff", MODE="0666"

Activate the changes:

sudo chmod 0666 /dev/hidraw* sudo udevadm control --reload-rules

Usage

List all HID devices

hid-list

Listen to a HID device

hid-listner -v 65535 -p 53

Release Notes

1.0.3

Fixes/Features:

  • hid-listner: device selector fails

1.0.2

Fixes/Features:

  • Initial release

License

MIT © Peter Ullrich

Enjoy!

Current Tags

  • 2.0.1                                ...           latest (3 months ago)

2 Versions

  • 2.0.1                                ...           3 months ago
  • 2.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 2
Last Month 0
Dependencies (3)
Dev Dependencies (27)

Copyright 2014 - 2016 © taobao.org |