-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm trying to read/write a chinese "203-ID-RW" device. The lsusb -v output is the same of what reported in the idrw_linux.c file.
This is the dmesg output:
[ 602.657079] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
[ 602.844249] usb 1-1.3: New USB device found, idVendor=6688, idProduct=6850
[ 602.844265] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 602.844274] usb 1-1.3: Product: 203-ID-RW
[ 602.844282] usb 1-1.3: Manufacturer: CTX
[ 602.883640] hid-generic 0003:6688:6850.0004: hiddev96,hidraw0: USB HID v1.10 Device [CTX 203-ID-RW] on usb-3f980000.usb-1.3/input0
Here the output of your program:
# ./idrw_linux -v -r
Successfully found the RFID R/W device
libusb_set_configuration error -6
and here some further output in dmesg;
[ 608.765459] usb 1-1.3: usbfs: interface 0 claimed by usbhid while 'idrw_linux' sets config #1
Even issuying lsusb -v does nothing. I tried also as a root.
Is there something I could try to do?
UPDATE:
Just to be sure, I tried to exclude usbhid using this rule:
SUBSYSTEMS=="usb", DRIVERS=="usbhid", ACTION=="add", ATTR{authorized}="0"
now the error is different:
Successfully found the RFID R/W device
libusb_claim_interface error -4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels