From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?iso-8859-1?Q?Klotzb=FCcher?= Date: Mon, 15 Oct 2007 11:32:09 +0200 Subject: [U-Boot-Users] USB OHCI issue In-Reply-To: <200710131903.22039.matthias.fuchs@esd-electronics.com> (Matthias Fuchs's message of "Sat, 13 Oct 2007 19:03:21 +0200") References: <200710131903.22039.matthias.fuchs@esd-electronics.com> Message-ID: <874pgsbu5i.fsf@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Matthias, Matthias Fuchs writes: > I am currently playing around with U-Boot's (PCI) OHCI driver > on a 405 board. U-Boot's USB stuff is running fine on this board. I can > read files from an USB stick without any problems. > > But when I start Linux with a (rather old) 2.4.21 kernel, the still connected USB > stick is not detected as storage device. I have two ways to get USB working > under this Linux kernel: > > a) I do not start the USB subsystem at the U-Boot prompt ('usb start') So maybe USB does not get stopped completely when "usb stop" is issued. Are you using the generic USB driver (CONFIG_USB_OHCI_NEW) ? Maybe you need some board dependant code to correctly stop USB? > b) I disconnect and reconnect the USB stick when Linux is running. So the kernel doesn't get notified of the already plugged device if it has been started under U-Boot. I suppose this supports the theory of "usb stop" not working. I would try to find why :-) Best regards Markus Klotzbuecher -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de