Cyton Viewer FTDI Issues on Ubuntu 10.04

295 views
Skip to first unread message

Gibran

unread,
Nov 23, 2011, 8:40:04 PM11/23/11
to Cyton Robots
Hi!

We have just acquired a Cyton V2 arm from Robai. We have installed the
Cyton Viewer on both Windows and Ubuntu ( from
http://outgoing.energid.info/Installers/cyton2ViewerSetup_7LG-3.0.20110301-ubuntu-10.04-amd64.sh).
Everything works fine on Windows but on Ubuntu 10.04 there are some
issues with FTDI. Below are the displayed errors.

Log File (results.txt):
Plugin './cytonViewerPlugin.ecp' loaded successfully.
Plugin './cytonPlugin' loaded successfully.
EcWarn : Found 1 device[s], but can't get detailed information.
Most likely permissions problem.
EcWarn : No ftdi devices available to use.
EcWarn : Failed to open FTDI device.
EcWarn : failed to find ftdi device with serial number [any] and
open it.
EcWarn : Controller::init() failed
Plugin './cytonManipulatorConfigPlugin.ecp' loaded successfully.
Plugin './endEffectorControlPlugin.ecp' loaded successfully.
Plugin './recordPlaybackPlugin.ecp' loaded successfully.
Plugin './helpMenuPlugin.ecp' loaded successfully.
File (cyton.ecz) loaded in 0.281 seconds

RW permissions for ttyUSB0 and /dev/bus/usb/<bus#>/<device#> were set
for everyone. Linux recognizes the FTDI USB Device and the FTDI
drivers seem to be working properly.

lsusb:
Bus 005 Device 002: ID 0403:6001 Future Technology Devices
International, Ltd FT232 USB-Serial (UART) IC

dmesg:
USB Serial support registered for FTDI USB Serial Device
ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected
usb 5-2: Detected FT232RL
usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver

lsmod:
ftdi_sio 40060 0
usbserial 39973 1 ftdi_sio

We'd really appreciate any help.

Regards,
--
Gibran

LentinJoseph

unread,
Nov 23, 2011, 11:29:49 PM11/23/11
to cyton-...@googlegroups.com, Jayakrishnan T, Neil Tardella, Chuck Seberino
Hi Gibran
 
              There are two methods for solving this error .
Setting  udev rules :You can refer the README.txt file in the cyton folder for more details .I think you have already tried this one .
 
 
If it is not working you can manually change the permission of USB port . I am attaching the screenshot of the terminal .After changing the permission,you can start the cyton-Viewer .
 
I have a doubt regarding your operating system ,Are you using 32-bit or 64-bit Ubuntu?If it is 32-bit ,then you have to download 32-bit installer instead of 64-bit .
 
Download Link for 32-bit OS
 
 
Thanks
Lentin
Screenshot-1.png

Gibran Fuentes Pineda

unread,
Nov 23, 2011, 11:41:24 PM11/23/11
to cyton-...@googlegroups.com
Hi Lentin!

Thanks for your rapid reply. I have already tried both methods without luck. 

I have a doubt regarding your operating system ,Are you using 32-bit or 64-bit Ubuntu?If it is 32-bit ,then you have to download 32-bit installer instead of 64-bit .

I have a 64-bit Ubuntu 10.04 installation (with kernel 2.6.32-35).
 
Regards,
--
Gibran

LentinJoseph

unread,
Nov 24, 2011, 5:07:13 AM11/24/11
to cyton-...@googlegroups.com, Jayakrishnan T, Neil Tardella, Chuck Seberino
Hi Gibran
 
                 I will give the link of some cyton-V2installers . Can you check this installers are working on your system .
 
I am saying the procedure again
 
1)Connect USBTo-Dynamixel to PC
2)Change the permission of usb device by the following commmand
 
              sudo chmod 777 /dev/bus/usb/<>/<>
 
3)Take cyton-viewer
 
Theses are the downloading links for the cyton2 installers
 
 
 
 
Thanks
Lentin

Chuck Seberino

unread,
Nov 24, 2011, 9:43:08 AM11/24/11
to cyton-...@googlegroups.com
Gibran,

One other things that is required is that you unload the kernel serial driver.  The default ftdi_sio kernel driver tries to use the usb2dynamixel as a general serial device.  The current version of the cytonViewer uses a lower level protocol to communicate with the servos.  For proper operation you will need to issue the following command:

sudo rmmod ftdi_sio

Once this kernel module is unloaded, then the cytonViewer software will be able to communicate with the port.

Thanks
Chuck

Gibran Fuentes Pineda

unread,
Nov 24, 2011, 2:24:16 PM11/24/11
to cyton-...@googlegroups.com
Hi!

Unloading the ftdi_sio driver solved the problem.

Thanks,
--
Gibran
Reply all
Reply to author
Forward
0 new messages