Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout on device (1130:660c) #29

Open
hcsaustrup opened this issue Jun 27, 2014 · 1 comment
Open

Timeout on device (1130:660c) #29

hcsaustrup opened this issue Jun 27, 2014 · 1 comment

Comments

@hcsaustrup
Copy link

Version: Latest version just pulled from git five minutes ago.

OS: Fedora 20 64-bit running on a 2008 MBP

Packages installed prior to building TEMPered:

  • libusbx-devel-1.0.19-1.fc20.x86_64
  • 1:libusb-devel-0.1.5-3.fc20.x86_64
  • libhid-0.2.17-14.fc20.x86_64
  • libhid-devel-0.2.17-14.fc20.x86_64
  • hidapi-0.7.0-2.a88c724.fc20.x86_64
  • hidapi-devel-0.7.0-2.a88c724.fc20.x86_64

dmesg:
[ 6050.883206] usb 3-1: new low-speed USB device number 4 using ohci-pci
[ 6051.103873] usb 3-1: New USB device found, idVendor=1130, idProduct=660c
[ 6051.103881] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 6051.103885] usb 3-1: Product: PCsensor Temper
[ 6051.131706] input: PCsensor Temper as /devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.0/0003:1130:660C.000E/input/input22
[ 6051.131995] hid-generic 0003:1130:660C.000E: input,hidraw2: USB HID v1.10 Keyboard [ PCsensor Temper] on usb-0000:00:04.0-1/input0
[ 6051.150964] input: PCsensor Temper as /devices/pci0000:00/0000:00:04.0/usb3/3-1/3-1:1.1/0003:1130:660C.000F/input/input23
[ 6051.151405] hid-generic 0003:1130:660C.000F: input,hidraw3: USB HID v1.10 Device [ PCsensor Temper] on usb-0000:00:04.0-1/input1

$ ./examples/enumerate
Found device: 1130:660c 1 | /dev/hidraw3 | HidTEMPer1, 2, NTC or HUM

$ ./examples/read-all
Device /dev/hidraw3 : USB IDs 1130:660c, interface 1
Enumeration type name: HidTEMPer1, 2, NTC or HUM
Open failed, error: No data was read from the sensor (timeout).

Anything I can do to help?

@rinie
Copy link

rinie commented Sep 4, 2016

Result should be read with hid_get_feature_report 0 256 bytes (257 for hidapi as it adds the reportnumber)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants