You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've compiled the code and tested it with my new usb thermometer (as above) and it is working with the current code:
~/Development/usb-thermometer/TEMPered/build/utils$ sudo ./tempered
/dev/hidraw2 0: temperature 21.88 °C
dmesg output:
[11274.289928] usb 2-1.1: new low-speed USB device number 6 using ehci_hcd
[11274.388584] usb 2-1.1: New USB device found, idVendor=0c45, idProduct=7401
[11274.388597] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11274.388603] usb 2-1.1: Product: TEMPer1V1.4
[11274.388608] usb 2-1.1: Manufacturer: RDing
[11274.393750] input: RDing TEMPer1V1.4 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input20
[11274.394348] hid-generic 0003:0C45:7401.0003: input,hidraw1: USB HID v1.10 Keyboard [RDing TEMPer1V1.4] on usb-0000:00:1d.0-1.1/input0
[11274.397701] hid-generic 0003:0C45:7401.0004: hiddev0,hidraw2: USB HID v1.10 Device [RDing TEMPer1V1.4] on usb-0000:00:1d.0-1.1/input1
I'm not sure whether the other hidraw device is relevant or just a different way of access the data; I'll do some more reading of the code and various docs here.
I've compiled the code and tested it with my new usb thermometer (as above) and it is working with the current code:
~/Development/usb-thermometer/TEMPered/build/utils$ sudo ./tempered
/dev/hidraw2 0: temperature 21.88 °C
dmesg output:
[11274.289928] usb 2-1.1: new low-speed USB device number 6 using ehci_hcd
[11274.388584] usb 2-1.1: New USB device found, idVendor=0c45, idProduct=7401
[11274.388597] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11274.388603] usb 2-1.1: Product: TEMPer1V1.4
[11274.388608] usb 2-1.1: Manufacturer: RDing
[11274.393750] input: RDing TEMPer1V1.4 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input20
[11274.394348] hid-generic 0003:0C45:7401.0003: input,hidraw1: USB HID v1.10 Keyboard [RDing TEMPer1V1.4] on usb-0000:00:1d.0-1.1/input0
[11274.397701] hid-generic 0003:0C45:7401.0004: hiddev0,hidraw2: USB HID v1.10 Device [RDing TEMPer1V1.4] on usb-0000:00:1d.0-1.1/input1
I'm not sure whether the other hidraw device is relevant or just a different way of access the data; I'll do some more reading of the code and various docs here.
For reference, this is the device: http://www.ebay.co.uk/itm/PC-Laptop-USB-Powered-Thermometer-Temperature-Sensor-Data-Recorder-Mini-489-UK-/290913820488?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item43bbd09f48
Thanks for the code :)
The text was updated successfully, but these errors were encountered: