[ELDK] USB on Kilauea

Dave Rensberger David.Rensberger at ambientcorp.com
Wed Aug 13 22:19:42 CEST 2008


Wolfgang,

Thanks for the quick response.

For device acknowledgement, I would have expected to see something at
startup saying "new USB device found" for the flash storage device (even
if it were an unsupported device, I would still normally see some
message saying that an unknown device was found on the USB hub, right?).
I would also expect to see more devices than just the hub itself in
"/proc/bus/usb".

Of course I've checked /var/log/messages.  There's nothing there other
than the hub initialization stuff.

SCSI and SCSH disk support are enabled in our kernel.

I don't care about hotplug, because my application will be in an
embedded device where the peripheral is always connected.   You do have
me wondering now, though, if the udev package is still necessary, even
if you don't want to hotplug.

Do you happen to remember how you physically connected the device?   The
Kilauea board only comes with a "Micro-B-male->Type-A-male" connecter,
so you need a gender changer to connect most devices.   We didn't have
one, so we just built an adapter that has 2 female connectors each
connecting to the matching pin on the other.  This is really a question
for AMCC, but I thought you might know.

--Dave

-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de] 
Sent: Wednesday, August 13, 2008 3:57 PM
To: Dave Rensberger
Cc: eldk at lists.denx.de
Subject: Re: [ELDK] USB on Kilauea

Dear Dave,

In message
<B7BC4CB64CA090478F283BA58929273737EC97 at abtg-mail.ambientcorp.com> you
wrote:
> 
> Has anyone had any success using the USB interface on a Kilauea board
> with the driver provided in the DENX 4.2 distro?

Yes, we tested this when we did the port.

> When I boot the Kilauea board, it recognizes the DWC OTG controller,
and
> appears to initialize it successfully (see output below).  When I plug
a
> flash-drive device into the USB port, however, there seems to be no
> acknowledgement whatsoever that the device is there (same thing if I

What sort of acknowledgement do you expect?

Did you run "dmesg" or "tail -f /var/log/messages" to look for kernel
messages?

If you were expecting some kind of hotplug support, did you start the
udev services by running "/sbin/start_udev" ?

Last but not least, are you sure your kernel configuration is
complete? For example, you must have enabled SCSI support and SCSH
disk support.

> boot the board with the flash-drive already plugged in).  I don't
> actually need the OTG capability (I really just need the board to act
as
> a USB host).

Then OTG is not what you're looking for - but  we  definitely  tested
host mode, including tests with mass storage devices.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The Wright Bothers weren't the first to fly. They were just the first
not to crash.


More information about the eldk mailing list