BasicMicro - Forums

www.basicmicro.com
It is currently Mon May 21, 2012 12:47 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Usb2Serial with Linux
PostPosted: Fri Apr 29, 2011 1:33 am 
Offline
New User

Joined: Thu Apr 28, 2011 2:54 am
Posts: 1
I just tried to run the Basic ATOM Nano USB2Serial Adapter on linux(kubuntu 11.04). I did run into some problems, but at the end i did get it to work. I just post this in case someone wants to use it in linux as well.

----------------------------------
1. create the file '/etc/udev/rules.d/99-usbftdi.rules'(you need admin rights)
2. add this 2 lines to the file:

# load basicMicro usb2Serial
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a559", RUN+="/sbin/modprobe -q ftdi_sio product=0xa559 vendor=0x0403"

3. update udev, write this lines to the commandline:
> sudo restart udev
> sudo udevadm trigger
----------------------------------

now you should see the serial adapter in /dev, as ttyUSB(n).


Top
 Profile  
 
 Post subject: Re: Usb2Serial with Linux
PostPosted: Fri Apr 29, 2011 10:54 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
Just letting everyone know this is a safe hack. The only difference between the FTDI and Basicmicro comport drivers is the device PID. So all you have to do to use the USB2Serial adapter is to change the PID in the FTDI driver for Linux, which is what he's done above.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO