On Sat, 15 Mar 2014, Alan Stern wrote:

On Fri, 14 Mar 2014, Peter Fassberg wrote:

Hi!

I'm using quite a few USB HID devices, but one of them fail.

I have really no idea about what is going on here, and it's an odd
card (my geothermal heat pump).

Maybe you have an idea about why it doesn't get recognized by the HID driver?

VID/PID: 0xFFFF / 0x0002 :(

Kernel: 3.3.8

Kernel output:
----------------------------------------------------------------------
[  416.820000] usb 1-1: USB disconnect, device number 2
[  425.030000] usb 1-1: new full-speed USB device number 3 using ehci-platform
----------------------------------------------------------------------


cat /proc/bus/usb/devices
----------------------------------------------------------------------
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  8 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=ffff ProdID=0002 Rev= 1.00

The Class value is probably the reason.  The device claims to belong to
a vendor-specific class, not the standard HID class.

You may be able to get it to work by doing

        echo 0xffff 0x0002 >/sys/bus/usb/drivers/usbhid/new_id

Thanks!!

        [510583.550000] generic-usb 0003:FFFF:0002.0003: hiddev0: USB HID v1.00 
Device [Danfoss Danfoss Heating Gateway   ] on usb-ehci-platform-1/input0

:)

This was just too easy for me to guess.  I thought that the HID driver never 
used the VID/PID but that was not the case.

Thanks again!



// Peter

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to