-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hello,
I do not know if I can ask this question, but in my computer is connected TemperHum in the USB port 1-1.4:
root@GN:~/TEMPered/examples# dmesg |grep usb
[ 7593.901363] usb 1-1.4: new low-speed USB device number 20 using dwc_otg
[ 7594.020764] usb 1-1.4: New USB device found, idVendor=0c45, idProduct=7402
[ 7594.020786] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7594.020799] usb 1-1.4: Product: TEMPer1F_H1_V1.4
[ 7594.020811] usb 1-1.4: Manufacturer: RDing
[ 7594.033816] input: RDing TEMPer1F_H1_V1.4 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0C45:7402.0021/input/input16
[ 7594.092338] hid-generic 0003:0C45:7402.0021: input,hidraw1: USB HID v1.10 Keyboard [RDing TEMPer1F_H1_V1.4] on usb-3f980000.usb-1.4/input0
[ 7594.101080] hid-generic 0003:0C45:7402.0022: hiddev0,hidraw2: USB HID v1.10 Device [RDing TEMPer1F_H1_V1.4] on usb-3f980000.usb-1.4/input1
The command ./read.all shows the connected device with the information:
root@GN:~/TEMPered/examples# ./read-all
Device 0001:0014:01 : USB IDs 0c45:7402, interface 1
Enumeration type name: TEMPer2HumiV1.x
Open succeeded.
Device path: 0001:0014:01
Device type name: TEMPer1F_H1V1.5F
Sensor count: 1
Sensor 0:
Temperature: 28.36°C
Humidity: 67.2%RH
How know Device path: 0001:0014:01 by usb 1-1.4.
Tanks!