-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hello folks,
the tempered package I installed actually is functioning because I could do all utils and examples code for this one, all work.
http://goods.ruten.com.tw/item/show?21439300929462
But I have another temp + external humidity usb sensor TEMPer1F H1
http://www.pcsensor.com/usb-hygrometer/temper1f_h1.html
the following problems show it is currently unspported
./enumerate
Found device: 0c45:7402 1 | /dev/hidraw1 | TEMPer2HumiV1.x
./read-all
Device /dev/hidraw1 : USB IDs 0c45:7402, interface 1
Enumeration type name: TEMPer2HumiV1.x
Open failed, error: Unknown device subtype string: TEMPer1F_H1V1.4F
./read-repeat /dev/hidraw1
Opening /dev/hidraw1 failed, error: Unknown device subtype string: TEMPer1F_H1V1.4F
./tempered
/dev/hidraw1: Could not open device: Unknown device subtype string: TEMPer1F_H1V1.4F
hid-query -e
/dev/hidraw0 : 0c45:7402 interface 0 : RDing TEMPer1F_H1_V1.4
/dev/hidraw1 : 0c45:7402 interface 1 : RDing TEMPer1F_H1_V1.4
Fortunately query did get response
hid-query /dev/hidraw1 1 0x80 0x33 1
Device /dev/hidraw1 : 0c45:7402 interface 1 : RDing TEMPer1F_H1_V1.4
Writing data (9 bytes):
00 01 80 33 01 00 00 00 00
Response from device (8 bytes):
80 04 19 1c 05 e6 34 46
it seems that only the subtype things unknown,
the query format is actually working.
I wonder how I could go further to make it work, could someone point me out what should I do (to provide more test for you? to setup/change something you need?)
Thanks in advance.
Cheers
Joshua
P.S. I am testing it in Centos 7.1 x86_64 with all git latest version of hidapi and
libusbx-devel-1.0.15-4
libgudev1-219-19
cmake-2.8.11-4
dmesg said
[18084.109650] usb 3-1: new low-speed USB device number 11 using xhci_hcd
[18084.280555] usb 3-1: New USB device found, idVendor=0c45, idProduct=7402
[18084.280565] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18084.280570] usb 3-1: Product: TEMPer1F_H1_V1.4
[18084.280574] usb 3-1: Manufacturer: RDing
[18084.283588] usb 3-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[18084.283604] usb 3-1: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[18084.286921] input: RDing TEMPer1F_H1_V1.4 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input22
[18084.287708] hid-generic 0003:0C45:7402.0013: input,hidraw0: USB HID v1.10 Keyboard [RDing TEMPer1F_H1_V1.4] on usb-0000:00:14.0-1/input0
[18084.290523] hid-generic 0003:0C45:7402.0014: hiddev0,hidraw1: USB HID v1.10 Device [RDing TEMPer1F_H1_V1.4] on usb-0000:00:14.0-1/input1
[18185.162168] usb 3-1: USB disconnect, device number 11
[18185.508670] usb 3-1: new low-speed USB device number 12 using xhci_hcd
[18185.679617] usb 3-1: New USB device found, idVendor=0c45, idProduct=7402
[18185.679628] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18185.679634] usb 3-1: Product: TEMPer1F_H1_V1.4
[18185.679639] usb 3-1: Manufacturer: RDing
[18185.680209] usb 3-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[18185.680234] usb 3-1: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[18185.684449] input: RDing TEMPer1F_H1_V1.4 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input23
[18185.685312] hid-generic 0003:0C45:7402.0015: input,hidraw0: USB HID v1.10 Keyboard [RDing TEMPer1F_H1_V1.4] on usb-0000:00:14.0-1/input0
[18185.687767] hid-generic 0003:0C45:7402.0016: hiddev0,hidraw1: USB HID v1.10 Device [RDing TEMPer1F_H1_V1.4] on usb-0000:00:14.0-1/input1