Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

Troubleshooting

Andrew Dresner edited this page Oct 15, 2015 · 12 revisions

Q) I receive the following error when trying to launch a project or utility:

[Dynamixel Monitor for DARwIn v1.00]

Fail to open port

CM-730 is used by another program or do not have root privileges.

Failed to connect CM-730!

Terminated DXL Manager.

A) This is either a permissions issue, or the Subcontroller comm port (/dev/ttyUSB0) is in use or otherwise disconnected. Ensure you are using sudo prior to launching project executables, file permissions are set correctly, and that no other programs are currently attached to the Subcontroller comm port.

If all of these conditions are met, check /dev/ for the correct comm port assignment (/dev/ttyUSB0) of the subcontroller: $ ls /dev/

Q) dxl_monitor scan is coming back with ID result 'Fail`

A) This may be caused by a number of factors. Ensure all Dynamixels are properly ID'd, and ensure that subcontroller register 24 (Dynamixel power/TORQUE_ENABLE) is set to 1.

Q) I try to pair the PS3 Sixaxis controller with the Edison and receive an error about libusb1 being missing.

A) Try the following as a fix, this will be corrected in the next Edison image release.

Run the following in terminal:

$ vi /etc/opkg/base-feeds.conf

Put the following into the base-feeds.conf file you just created:

src/gz all http://repo.opkg.net/edison/repo/all

src/gz edison http://repo.opkg.net/edison/repo/edison

src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32

Then run:

$ opkg update

$ opkg list libusb*

$ opkg install libusb-0.1-4

$ opkg install libusb-0.1-dev

Try compiling sixpair again with this command:

$ gcc -o sixpair sixpair.c -lusb

Before running sixpair, you may need to use the command

$ rfkill unblock bluetooth

Reference:edison-package-repo-configuration-instructions

Cannot find Arbotix-Pro or Running sixpair yields: usb_get_busses: No such file or directory

Edison specific.

` $ lsusb

If the terminal responds with:

` $ unable to initialize libusb: -99

Check USB Micro OTG cable adapter for connectivity, reboot and check again if necessary.

Q) Missing mraa0 libraries, and/or add external repo for opkg:

A)

$ echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf

$ opkg update

$ opkg install libmraa0

Clone this wiki locally