![]() |
Serialport to Usb converter driver?
hi everybody
i've got a serialport connection capable arduino. i saw a couple instructions on net about how to connect arduino to maemo devices with usb host capability. for example here: http://blog.locationist.net/2008/03/...o-interaction/ in that project they used a usb connection capable arduino. today im going to buy a serialport to usb converter which contains a driver cd but probably the driver in that cd wont be for maemo. so.. main point is that can i use module files in linked page above instead of that cd contains. i hope i could explain what i wanted to say. sorry for my english |
Re: Serialport to Usb converter driver?
Hi there. You might be fortunate and maemo will already have a serial driver for usb enabled though this is unlikely. I imagine the drivers listed on the link you provided should work as essentially the usb on the board will have a usb to serial adapter. If it doesn't work you should be able to enable such a driver through configuring the kernel.
|
Re: Serialport to Usb converter driver?
i just bought the converter
:D:D next goal: a maemo controlled robot :D |
Re: Serialport to Usb converter driver?
Thanks to Fanoush: http://talk.maemo.org/showpost.php?p=101312&postcount=5 Just insmod them in. I found the FTDI drivers more stable. Works great with screen, gpspipe, etc.
|
Re: Serialport to Usb converter driver?
i got a problem about installing pyserial module
it always giving same error. when i try to run this command: cd /media/mmc2/ps and then python setup.py install and it says no module named distutils.core please please help |
Re: Serialport to Usb converter driver?
i fixed distutils.core problem but...
there is still no available ports except /dev/ttyS0 which always exists. i runned scan.py which scans available ports but there is no port called ttyUSB0 :(:( please help |
Re: Serialport to Usb converter driver?
when i run dmesg command:
it is printing lots of lines that says EAC MODE : play enabled , rec enabled playdisabled , rec enabled play enabled , rec enabled lots of these lines also it keeps sayin usb-auto suspend and hub_suspend im trying with pl2303.ko module now ------------------ Code:
; SERSPL.INF but still not working with pl2303.ko module file there is nothing abt ttyusb0 in dmesg |
Re: Serialport to Usb converter driver?
Here sorry I missed earlier but this will take care of the USB to serial modules for all linux compatible devices on Maemo:
http://www.electronicproductonline.com/catalog/supportFiles/usbSerial-N810_0.1_armel.deb I've used this before and serial devices always show up properly. I think ftdi (?) chips are the most common for microcontrollers like arduino, the pl2303's tend to be more for the stand alone USB-serial adapters... but that's just been my experience, don't know for sure! |
Re: Serialport to Usb converter driver?
Assuming your USB to serial adapter is plugged into your NIT with the proper adapters, using the file I linked to above, try this:
insmod /path/to/your/mods/drivers/usb/serial/usbserial.ko insmod /path/to/your/mods/drivers/usb/serial/pl2303.ko Assuming you've already apg-get install screen (you may need to install nano first if I remember right) To get a 9600 baud terminal type screen /dev/ttyUSB0 -FTCYPKJ5 9600,cs8,-ixon,-ixon,-istrip If you have gpspipe installed and want to get 4800 baud NMEA GPS sentences out of your 810 type gpspipe -rs /dev/ttyUSB0 More about gpspipe here http://talk.maemo.org/showpost.php?p=278271&postcount=7 |
Re: Serialport to Usb converter driver?
Quote:
|
All times are GMT. The time now is 11:21. |
vBulletin® Version 3.8.8