[maemo-developers] [maemo-developers] Getting the pl2303 usb serial driver to work with /dev/ttyUSB0

From: Ed Bartosh Eduard.Bartosh at nokia.com
Date: Sun Feb 19 23:52:55 EET 2006
Hi,

PL2303 driver is compiled into n770 kernel:
grep ^CONFIG_USB_SERIAL arch/arm/configs/n770_defconfig
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_PL2303=y
 
My pl2303-compatible usb-2-serial adapter works with n770 without any modifications.
Unfortunately I don't remember the model. I'll tell you tomorrow if it's needed.

And you probably don't need to makedev devices. udev should take care of them.
inittab should also be modified to run getty on ttyUSB0 if usb2serial device is 
connected to n770 on boot stage. 
Look at /etc/init.d/ttyusb for the details. 

On Sun, 2006-02-19 at 19:36, ext maemo-developers-bounces at maemo.org wrote:
> Hello,
> 
> 
>   I need to get usbserial working so that my application can communicate with a bit of specialized hardware via rs-232 -- using a PL2303 USB to serial adapter.
> 
>   I've checked the kernel config and see the pl2303 driver is there, and have rebuilt the kernel without the serial console (under the usbserial config).
> 
>   Flashed the kernel, and used flasher to enable USB host, etc.
> 
>   MAKEDEV usb builds the device special files, /dev/ttyUSB0, etc.
> 
>   However I cannot open the device -- "so such device" error.
> 
>   Has anyone else done this ?
> 
>   Any info, suggestions would be most welcome.
> 
>   Thanks.
> 
>   Mark
> 
> 
> 
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-- 
Best regards,
Ed

More information about the maemo-developers mailing list