Linux and ttyUSB0

Michael van der Gulik squeakml at gulik.co.nz
Mon May 21 11:23:22 UTC 2007


Michael van der Gulik wrote:
> 
> 
> On 5/20/07, *Jon Hylands* <jon at huv.com <mailto:jon at huv.com>> wrote:
> 
> 
>     Hi everyone,
> 
>     On my current robotics project, I'm using a gumstix verdex to talk
>     over a
>     USB to serial converter chip (FT232) to a serial bus.
> 
>     My brother Dave made up a new kernel driver for the gumstix, and when I
>     plug in the chip it registers itself as ttyUSB0.
> 
>     For work I've done previously on Squeak on the gumstix, I've used
>     standard
>     serial ports, which map to ttyS0, ttyS1, ttyS2, etc, which correspond to
>     port 0, 1, and 2 when I open the Serial Port in Squeak. However, I
>     have no
>     idea which port number ttyUSB0 corresponds to...
> 
>     Anyone got any idea?
> 
> 
> I have to scratch this itch :-). This is something I should know but don't.
> 
> At a guess, I'd say this is your answer, from usb-serial.c in the Linux 
> kernel:

..actually sorry; I misread your email.

Michael.




More information about the Squeak-dev mailing list