Joerg Ritter (jr@mycable.de) wrote:
: Henry Van Dyke wrote:
: > Joerg Ritter (jr@mycable.de) wrote: : Thanks,
: >
: > : hidview shows my keyboard (see below), or mouse. : But hidview -a
: > doesn’t show anything, seems like it hangs.
: >
: > Its waiting for data from the device.
: >
: > Are the devices plugged through the hub ?
: doesn’t make any difference.
: > Does unplugging/plugging devices into the HUB work ?
: >
: yes, see sloginfo below
Ok. This means that the interrupt endpoint for the HUB is working.
Mouse and keyboard also use interrupt endpoints but the devices
don’t appear to be sending any data.
Since both devu-mouse and io-hid isn’t working the problem points
to the USB stack. We’ve tested here with a MIPS board and could
not reproduce this behaviour.
I may need to send you a version of the stack with some debug that
will show if any data is coming from the device.
: > Does the keyboard/mouse work ok on x86 ?
: >
: I don’t know, we only use QNX on our embedded system (MIPS).
: > Can you run the USB stack with “devu-ohci -vvvvvvvvv” Check the
: > sloginfo output to see if any errors are reported.
: >
: Please see below. Apart from the beginning I think it looks ok, doesn’t it?
: Another question:
: What about devu-mouse and devu-kbd together with devi-hirun? Where is
: the difference to io-hid and devi-hid?
io-hid/devi-hid is a new architecture being put in place to
better support USB input devices. USB HID devices can get quite complex
and completly describe themselves and the data they send. With io-hid
it will make it easier to write a single driver to manage simple and complex
devices. It also better supports the plug and play nature of the devices.
: Thanks,
: Joerg
: # sloginfo
: Time Sev Major Minor Args
: Jan 01 00:00:01 2 12 0 CLASS_EnumerateDevice: parent 0, port
: 0, speed 1
: Jan 01 00:00:01 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:00:01 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor failed ffffffff
: Jan 01 00:00:03 2 12 0 CLASS_EnumerateDevice: parent 0, port
: 0, speed 1
: Jan 01 00:00:03 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:00:03 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor failed ffffffff
: Jan 01 00:00:04 2 12 0 CLASS_EnumerateDevice: parent 0, port
: 0, speed 1
: Jan 01 00:00:04 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:00:04 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor failed ffffffff
: Jan 01 00:00:05 1 8 0 phfontXX started OK - EOK
: Jan 01 00:00:05 1 8 0 MainLoop
: Jan 01 00:00:07 2 8 0 unable to get path to config file
: Jan 01 00:00:07 5 8 0 Plugin gri-photon.so opened successfully
: Jan 01 00:00:07 5 8 0 Opened photon connection:
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDevice: parent 0, port
: 1, speed 1
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDevice: Set address 1
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDevice: Get full device
: descriptor
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get config descriptor
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get full config descriptor
: Jan 01 00:25:35 2 12 0 USB_SelectConfiguration: Set config
: devno 1, cfg 1
: Jan 01 00:25:35 2 12 0 CLASS_EnumerateDevice: dno 1, vid 46d
: Jan 01 00:28:20 2 12 0 CLASS_ExtractDevice: dno 1, vid 46d,
: parent 0, port 1, openings 1
: Jan 01 00:28:20 2 12 0 CLASS_ExtractDevice: holdoff parent 0,
: port 1
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDevice: parent 0, port
: 1, speed 0
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDevice: Set address 2
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDevice: Get full device
: descriptor
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get config descriptor
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get full config descriptor
: Jan 01 00:28:45 2 12 0 USB_SelectConfiguration: Set config
: devno 2, cfg 1
: Jan 01 00:28:45 2 12 0 CLASS_EnumerateDevice: dno 2, vid 3eb
: Jan 01 00:29:06 2 12 0 CLASS_EnumerateDevice: parent 2, port
: 1, speed 1
: Jan 01 00:29:06 2 12 0 CLASS_EnumerateDevice: Get device
: descriptor
: Jan 01 00:29:06 2 12 0 CLASS_EnumerateDevice: Set address 3
: Jan 01 00:29:07 2 12 0 CLASS_EnumerateDevice: Get full device
: descriptor
: Jan 01 00:29:07 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get config descriptor
: Jan 01 00:29:07 2 12 0 CLASS_EnumerateDeviceConfiguration:
: Get full config descriptor
: Jan 01 00:29:07 2 12 0 USB_SelectConfiguration: Set config
: devno 3, cfg 1
: Jan 01 00:29:07 2 12 0 CLASS_EnumerateDevice: dno 3, vid 46d
: >
: > : What now?
: >
: > : Joerg
: –
: -------------------------------------------------------
: Joerg Ritter Tel: +49 48 73 90 10 866
: mycable GmbH Fax: +49 48 73 90 19 76
: Boeker Stieg 43
: D-24613 Aukrug eMail: jr@mycable.de
: -------------------------------------------------------