* montavista gcc3.2.1 and USB hotplug (405GP platform)
@ 2003-10-03 5:45 Philippe Villet
2003-10-03 6:49 ` Dan Kegel
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Villet @ 2003-10-03 5:45 UTC (permalink / raw)
To: linuxppc-embedded
We were compiling Montavista 2.4.18 linuk kernel for our own platform
based on IBM405GP and a PIIX4 South Bridge.
Support for usbcore, usb-uhci and hid (keyboard an mouse support) is set
in the kernel and it works fine when we compile this kernel with
gcc 2.95. Now compiling exactely the same kernel tree with gcc 3.2.1; It
doesn't work any more;
Following messages are logged into the console when hot plugging a
keyboard :
root@172.16.27.217:~# hub.c: USB new device connect on bus1/1, assigned
device number 8
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB new device connect on bus1/1/1, assigned device number 9
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000980 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000980 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000980 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000980 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000980 is zero
usb.c: unable to get device descriptor (error=-90)
hub.c: USB new device connect on bus1/1/1, assigned device number 10
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000a80 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000a80 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000a80 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000a80 is zero
usb-uhci.c: uhci_submit_urb: pipesize for pipe 80000a80 is zero
usb.c: unable to get device descriptor (error=-90)
If we plug the keyboard before booting the board, the keyboard works. In
both case the file system is the same.
Any suggestions
Thanks in advance.
Philippe.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: montavista gcc3.2.1 and USB hotplug (405GP platform)
2003-10-03 5:45 montavista gcc3.2.1 and USB hotplug (405GP platform) Philippe Villet
@ 2003-10-03 6:49 ` Dan Kegel
0 siblings, 0 replies; 2+ messages in thread
From: Dan Kegel @ 2003-10-03 6:49 UTC (permalink / raw)
To: Philippe Villet; +Cc: linuxppc-embedded
Philippe Villet wrote:
> We were compiling Montavista 2.4.18 linuk kernel for our own platform
> based on IBM405GP and a PIIX4 South Bridge.
> Support for usbcore, usb-uhci and hid (keyboard an mouse support) is set
> in the kernel and it works fine when we compile this kernel with
> gcc 2.95. Now compiling exactely the same kernel tree with gcc 3.2.1; It
> doesn't work any more;
I'm not an expert, but I play one on the web. Here are
a couple ideas that may or may not resemble actual good ideas:
1. reduce the optimization from -O2 to -O1 when building the kernel
2. try gcc-3.3.1. Can't hurt, and who knows, maybe it'll help.
You can build it yourself fairly easily; see http://kegel.com/crosstool
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-03 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 5:45 montavista gcc3.2.1 and USB hotplug (405GP platform) Philippe Villet
2003-10-03 6:49 ` Dan Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).