Hi everybody,

I've been working on supporting the USB 1.1 OHCI host controller
embedded in our ST40GX1 processor for the last couple of months. Thanks
to it being a standard OHCI HC all I had to do was adding a layer of PCI
emulation to our on-chip devices and the peripheral is now working OK
(hopefully) and is seen as standard PCI device by the rest of the
kernel.

One of the devices I'm using for testing is the Macally iWebKey Infrared
Keyboard with integrated mouse that is particularly suited to
set-top-boxes development. See:
http://www.macally.com/spec/usb/input_device/iwebkey.html

Problem: it doesn't work (other HID devices do as well as storage
devices): no output from `cat /dev/input/mice' (but no clear error
messages)

I know my way around the usb code in Linux but I can't be called an
expert. Can any of the HID gurus please help me?
What other info you may find useful? I have all the usb modules compiled
with
full debugging support but I don't want to flood the list with lots of
debugging output.

Kernel: 2.4.13
Architecture: SuperH
Modules loaded: usbcore
                usb-ohci
                hid
                mousedev
                (input compiled in the kernel)

Success: on Linux 2.2.19 (RH6.2/x86)

cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=bb170000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=2222 ProdID=0004 Rev= 1.00
S:  Manufacturer=Macally
S:  Product=Macally iWebKey Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl= 10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=255ms

Hint:
This is the log I get right after loading the hid module:

hid-core.c: HID probe called for ifnum 1
hid-core.c: report descriptor (size 48, read 48) =  05 01 09 02 a1 01 a1
01 05 09 19 01 29 03 15 00 25 01 75 01 95 03 81 02 75 05 95 01 81 03 05
01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06 c0 c0
hid-core.c: reading report type 1 id 0 failed len 3 read -32
Application(GenericDesktop.Mouse)
    ....... dump of report .......


Any help will be highly appreciated.
Thanks in advance.
-- 
------------------------------------------------------------
Mr. Andrea Cisternino             | Tel:  +44-(0)1454-462363
MCDT Division                     | TINA: 065 2363
STMicroelectronics (R&D) Ltd.     | Fax:  +44-(0)1454-617910
1000 Aztec West, Almondsbury      |
Bristol BS32 4SQ                  | [EMAIL PROTECTED]
United Kingdom                    |

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to