[maemo-developers] [maemo-developers] Getting the pl2303 usb serial driver to work with /dev/ttyUSB0
From: markc at catsandwich.com markc at catsandwich.comDate: Mon Feb 20 02:54:51 EET 2006
- Previous message: [maemo-developers] hildon-libs wizard dialog
- Next message: [maemo-developers] Getting the pl2303 usb serial driver to work with /dev/ttyUSB0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ed, Many thanks for the reply -- I am using an IOGEAR GUC232A, which works fine on my SuSe 9.3 dev machine. Just to make sure I flashed to the latest image 2005.51-13 -- thus replacing my custom kernel. No /dev/ttyUSB0, etc. I don't need a getty, just a serial device. We hope to be able to talk to the rs-232 port on a very specialized bit of test equipment using software that already runs on a SuSe 9.3 laptop. Our app builds fine under the SDK_ARM, and is very generic -- only using bits of: #include <termios.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <sys/signal.h> #include <sys/types.h> Once I am able to talk to the device our hope is to add a GUI for display of acquired spectra, calibration, etc. It would be wonderful not to have to lug a laptop about as is done now. As of now -- I am thinking it may be the hub -- still looking. Thanks, Mark >-----Original Message----- >From: Ed Bartosh [mailto:Eduard.Bartosh at nokia.com] >Sent: Sunday, February 19, 2006 04:52 PM >To: ext maemo-developers-bounces at maemo.org >Cc: maemo-developers at maemo.org >Subject: Re: [maemo-developers] Getting the pl2303 usb serial driver to work with /dev/ttyUSB0 > >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 >_______________________________________________ >maemo-developers mailing list >maemo-developers at maemo.org >https://maemo.org/mailman/listinfo/maemo-developers >
- Previous message: [maemo-developers] hildon-libs wizard dialog
- Next message: [maemo-developers] Getting the pl2303 usb serial driver to work with /dev/ttyUSB0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]