[U-Boot-Users] USB Console

Wolfgang Denk wd at denx.de
Mon Oct 18 22:31:15 CEST 2004


Hello,

in message <BAY101-F36vxo6AmX3q00016dbf at hotmail.com> you wrote:
> 
> I am using U-Boot and want to use the USB console. I am have an OMAP1510 and 
> am connecting it as a device to a PC running Suse 9. Linux recognizes that 
> something has been connected to the USB port, but it loads the acm diver, 

Does it really load it? Or just skip it, and later load usbserial? Is
usbserial supported in your Linux kernel configuration?

> starts a modem configuration utility, and I think it sets the device and 
> /dev/acm0. I cannot connect to this with kermit.  How do I need to setup my 

Do you _think_ it sets /dev/acm0, or do you _know_ this? What exactly
are your lofg messages?

> computer to get a console over USB?

You should see something like this on your console:

	Mar 22 11:26:25 larry kernel: hub.c: new USB device 00:07.2-2, assigned address 47
	Mar 22 11:26:25 larry kernel: Manufacturer: Siemens
	Mar 22 11:26:25 larry kernel: Product: SX1
	Mar 22 11:26:25 larry kernel: SerialNumber: 0800283216ff
	Mar 22 11:26:25 larry kernel: usbserial.c: Generic converter detected
	Mar 22 11:26:25 larry kernel: usbserial.c: Generic converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
	Mar 22 11:26:25 larry /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug HOSTNAME=larry DEVICE=/proc/bus/usb/001/047 ACTION=add DEBUG=kernel MACHTYPE=i386-redhat-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb TYPE=2/0/0 SHLVL=1 SHELL=/bin/bash HOSTTYPE=i386 OSTYPE=linux-gnu HOME=/ TERM=dumb PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=1234/5678/0 _=/usr/bin/env)
	Mar 22 11:26:25 larry /sbin/hotplug: invoke /etc/hotplug/usb.agent
	Mar 22 11:26:26 larry /etc/hotplug/usb.agent: Modprobe and setup acm for USB product 1234/5678/0

As you can see, even here I see a "Modprobe and setup acm", but  this
doesn't  matter  -  the  important  part is the "usbserial.c: Generic
converter now attached to ttyUSB0 (or usb/tts/0 for devfs)" message.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would seem that evil retreats when forcibly confronted
	-- Yarnek of Excalbia, "The Savage Curtain", stardate 5906.5




More information about the U-Boot mailing list