Skip to contentSkip to conversation

How NEC uPD720101 USB chip work well on linux2.6.12

DISCUSSION JohnsonCheng 2 participants 4 messages Aug 22, 2005 – Aug 23, 2005

lore
Share & tools
lore
#0 lore raw

Dear All,

I use NEC uPD720101 USB chip, 2 OHCI and 1 EHCI, I also have turn on the following options in kernel menuconfig:

[*] USB Support / support for Host-side USB

[*] USB Support / USB device filesystem

[*] USB Support / EHCI HCD (USB 2.0) support

[*] USB Support / OHCI HCD support

[*] USB Support / USB HID Boot Protocol drivers / USB HIDBP Mouse (simple Boot) support

But when I plug-in a USB mouse, then Kernel Oops..

I use MPC8241 CPU, and there are three USB ports sharing the same IRQ on my borad.

Thanks,

Johnson Cheng

#1 lore raw
Quoted 5 lines · JohnsonCheng

Dear All,
=20
=20
I use NEC uPD720101 USB chip, 2 OHCI and 1 EHCI, I also have turn on the following options in kernel menuconfig:

[...]

Quoted 1 line

[*] USB Support / EHCI HCD (USB 2.0) support

[...]

Quoted 6 lines

=20
=20
But when I plug-in a USB mouse, then Kernel Oops=85.
=20
I use MPC8241 CPU, and there are three USB ports sharing the same IRQ on my borad.

I recently came across similar trouble with a chip from this series, the uPD720113 and another one in a off-the-shelf USB hub which I tried for reference.
It may have been even the 101, but I'm not sure.

Anyways, I've also seen hard resets with 2.6.12 to 2.6.13-rc-something, albeit in a x86-environment. The system would reset hard when plugging something after the hub or the hub itself, in case of the 113 it crashed 100% as soon as the hub was attached or detected during bootup. With the off-the-shelf hub, it was somewhat more random.

In my case, disabling the EHCI controller in the BIOS helped, so you may try to disable the USB "2.0" support in the kernel config and see what happens.
No problems running the system with only UHCI for some weeks now.

I've deferred this problem because Hi-Speed is not an issue to me now, but I'd be curious to hear and test things if somebody had a take on this.

Regards,

--=20
Stefan Nickl
Kontron Modular Computers

#2 lore raw

I tried this case before, only turn on UHCI option in kernel. The conclusion is two USB port have the same result ( Kernel Oops), and another one has no response. Do you know if I want to set these three USB port sharing the same IRQ, where to modify it in kernel 2.6.12?

Thanks,
Johnson Cheng

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Nickl
Sent: Monday, August 22, 2005 9:55 PM
To: JohnsonCheng
Cc: [email protected]
Subject: Re: How NEC uPD720101 USB chip work well on linux2.6.12

Quoted 5 lines · JohnsonCheng

Dear All,

I use NEC uPD720101 USB chip, 2 OHCI and 1 EHCI, I also have turn on the following options in kernel menuconfig:

[...]

Quoted 1 line

[*] USB Support / EHCI HCD (USB 2.0) support

[...]

Quoted 6 lines

But when I plug-in a USB mouse, then Kernel Oops..

I use MPC8241 CPU, and there are three USB ports sharing the same IRQ on my borad.

I recently came across similar trouble with a chip from this series, the uPD720113 and another one in a off-the-shelf USB hub which I tried for reference.
It may have been even the 101, but I'm not sure.

Anyways, I've also seen hard resets with 2.6.12 to 2.6.13-rc-something, albeit in a x86-environment. The system would reset hard when plugging something after the hub or the hub itself, in case of the 113 it crashed 100% as soon as the hub was attached or detected during bootup. With the off-the-shelf hub, it was somewhat more random.

In my case, disabling the EHCI controller in the BIOS helped, so you may try to disable the USB "2.0" support in the kernel config and see what happens.
No problems running the system with only UHCI for some weeks now.

I've deferred this problem because Hi-Speed is not an issue to me now, but I'd be curious to hear and test things if somebody had a take on this.

Regards,

Signature · 8 lines
Stefan Nickl
Kontron Modular Computers


_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
#3 lore raw

Correct it.
I only turn on OHCI in kernel configuration, not UHCI.

Thanks,
Johnson Cheng

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of JohnsonCheng
Sent: Saturday, July 23, 2005 10:24 AM
To: 'Stefan Nickl'
Cc: [email protected]
Subject: RE: How NEC uPD720101 USB chip work well on linux2.6.12

I tried this case before, only turn on UHCI option in kernel. The conclusion is two USB port have the same result ( Kernel Oops), and another one has no response. Do you know if I want to set these three USB port sharing the same IRQ, where to modify it in kernel 2.6.12?

Thanks,
Johnson Cheng

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Nickl
Sent: Monday, August 22, 2005 9:55 PM
To: JohnsonCheng
Cc: [email protected]
Subject: Re: How NEC uPD720101 USB chip work well on linux2.6.12

Quoted 5 lines · JohnsonCheng

Dear All,

I use NEC uPD720101 USB chip, 2 OHCI and 1 EHCI, I also have turn on the following options in kernel menuconfig:

[...]

Quoted 1 line

[*] USB Support / EHCI HCD (USB 2.0) support

[...]

Quoted 6 lines

But when I plug-in a USB mouse, then Kernel Oops..

I use MPC8241 CPU, and there are three USB ports sharing the same IRQ on my borad.

I recently came across similar trouble with a chip from this series, the uPD720113 and another one in a off-the-shelf USB hub which I tried for reference.
It may have been even the 101, but I'm not sure.

Anyways, I've also seen hard resets with 2.6.12 to 2.6.13-rc-something, albeit in a x86-environment. The system would reset hard when plugging something after the hub or the hub itself, in case of the 113 it crashed 100% as soon as the hub was attached or detected during bootup. With the off-the-shelf hub, it was somewhat more random.

In my case, disabling the EHCI controller in the BIOS helped, so you may try to disable the USB "2.0" support in the kernel config and see what happens.
No problems running the system with only UHCI for some weeks now.

I've deferred this problem because Hi-Speed is not an issue to me now, but I'd be curious to hear and test things if somebody had a take on this.

Regards,

Signature · 14 lines
Stefan Nickl
Kontron Modular Computers


_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded