Embedded Usb

I’d like to use a usb device on an embedded system. I put devu-ohci (I have
got open host controller)on my ifs and launch it. But when I start the
driver for my device there is a time-out when the driver tries to select the
device interface. It seems devu-ohci needs some others process to run
properly…

Could you help me?

Thanks

Hercot Jean-Yves wrote:

I’d like to use a usb device on an embedded system. I put devu-ohci (I have
got open host controller)on my ifs and launch it. But when I start the
driver for my device there is a time-out when the driver tries to select the
device interface. It seems devu-ohci needs some others process to run
properly…

Nope, all you should need is devu-ohci if you’re sure that’s what you
have. Check to see that your device is listed by typing “usb -v”.

I know I’am right about the devu-ohci because I have written the usb device
driver myself. :wink:

It works perfectly on my devloppment host and I just launch devu-ohci.

But once the driver is embedded the device doesn’t respond… (that’s what
devu-ohci -vvvvv tolds me) :neutral_face:


“Mathew Kirsch” <mkirsch@ocdus.jnj.com> a écrit dans le message news:
b841fs$feg$1@inn.qnx.com

Hercot Jean-Yves wrote:
I’d like to use a usb device on an embedded system. I put devu-ohci (I
have
got open host controller)on my ifs and launch it. But when I start the
driver for my device there is a time-out when the driver tries to select
the
device interface. It seems devu-ohci needs some others process to run
properly…

Nope, all you should need is devu-ohci if you’re sure that’s what you
have. Check to see that your device is listed by typing “usb -v”.

It is certainly a configuration of my usb port… Perhaps should we look
around pci-bios?

“Hercot Jean-Yves” <fa063821@skynet.be> a écrit dans le message news:
b86ee5$86d$1@inn.qnx.com

I know I’am right about the devu-ohci because I have written the usb
device
driver myself. > :wink:

It works perfectly on my devloppment host and I just launch devu-ohci.

But once the driver is embedded the device doesn’t respond… (that’s what
devu-ohci -vvvvv tolds me) > :neutral_face:


“Mathew Kirsch” <> mkirsch@ocdus.jnj.com> > a écrit dans le message news:
b841fs$feg$> 1@inn.qnx.com> …
Hercot Jean-Yves wrote:
I’d like to use a usb device on an embedded system. I put devu-ohci
(I
have
got open host controller)on my ifs and launch it. But when I start
the
driver for my device there is a time-out when the driver tries to
select
the
device interface. It seems devu-ohci needs some others process to run
properly…

Nope, all you should need is devu-ohci if you’re sure that’s what you
have. Check to see that your device is listed by typing “usb -v”.

Hi

I have possibly the same experience with USB on an AMD Alchemy Au1500
processor I start the stack after enabling the onchip OHCI by

devu-ohci -vvvv -a 0x10100000 -i 0x8004001a &

This give the following output:

control 5e040000, headp 1023251, tailp 1023250
Error on Control transfer : Device not responding
Error on Control transfer : Device not responding
control 5e040000, headp 1023211, tailp 1023210

sloginfo

Time Sev Major Minor Args
Jan 01 00:00:00 2 12 0 udi_enumerate 804d014
Jan 01 00:00:00 2 12 0 CLASS_EnumerateDevice: parent 0, port
0, speed 1
Jan 01 00:00:00 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:02 2 12 0 CLASS_EnumerateDevice: parent 0, port
0, speed 1
Jan 01 00:00:02 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:05 2 12 0 CLASS_EnumerateDevice: Get device
descriptor failed ffffffff


After inserting an USB device (e.g. mouse) the output is:

Jan 01 00:01:33 2 12 0 CLASS_EnumerateDevice: parent 0, port
1, speed 1
Jan 01 00:01:33 2 12 0 CLASS_EnumerateDevice: Get device
descriptor
Jan 01 00:01:33 2 12 0 CLASS_EnumerateDevice: Set address 1
Jan 01 00:01:33 2 12 0 CLASS_EnumerateDevice: Get full device
descriptor
Jan 01 00:01:33 2 12 0 CLASS_EnumerateDeviceConfiguration: Get
config descriptor
Jan 01 00:01:33 2 12 0 CLASS_EnumerateDeviceConfiguration: Get
full config descriptor
Jan 01 00:01:33 2 12 0 USB_SelectConfiguration: Set config
devno 1, cfg 1
Jan 01 00:01:33 2 12 0 udi_in_out: devno 1 inserted

So, there has obviously sth. been detected.
But if I start

usb

there’s isn’t any output. The system hangs completely.
Any idea?
(I already posted almost this question to the USB group, without answer)

Best Regards
Joerg


Hercot Jean-Yves wrote:

It is certainly a configuration of my usb port… Perhaps should we look
around pci-bios?

“Hercot Jean-Yves” <> fa063821@skynet.be> > a écrit dans le message news:
b86ee5$86d$> 1@inn.qnx.com> …

I know I’am right about the devu-ohci because I have written the usb

device

driver myself. > :wink:

It works perfectly on my devloppment host and I just launch devu-ohci.

But once the driver is embedded the device doesn’t respond… (that’s what
devu-ohci -vvvvv tolds me) > :neutral_face:


“Mathew Kirsch” <> mkirsch@ocdus.jnj.com> > a écrit dans le message news:
b841fs$feg$> 1@inn.qnx.com> …

Hercot Jean-Yves wrote:

I’d like to use a usb device on an embedded system. I put devu-ohci

(I

have

got open host controller)on my ifs and launch it. But when I start

the

driver for my device there is a time-out when the driver tries to

select

the

device interface. It seems devu-ohci needs some others process to run
properly…

Nope, all you should need is devu-ohci if you’re sure that’s what you
have. Check to see that your device is listed by typing “usb -v”.


\


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