Troubleshooting lthor on Ubuntu

From Tizen Wiki
Jump to: navigation, search

Tizen Installation Guide

Follow the official procedure for flashing Tizen 2.0 Magnolia image] to a ReferenceDevice using lthor
and Booting Tizen 3.0 From microSD On ARTIK using lthor


Handshake Failed

When you connect the Tizen developer device to a computer and run lthor on Ubuntu 12.10, Ubuntu 13.04 or 14.04 you may get the following errors:

  • ACM: abstract control model
USB port is detected: /dev/ttyACM0

line 328: failed to read signature bytes
line 603: handshake failed
line 922: failed to open port (null)


USB port is detected : /dev/ttyACM0

port open error!!
: Device or resource busy
line 954: failed to open port (null)

Lthor is unable to connect because modemmanager is also accessing the Tizen developer device. Same errors may occur on other Linux distributions and prevent lthor from working correctly. The solution is to the disable modemmanager and there are two ways to do it:

  • Option 1: Remove modemmamanger

Remove modemmanager to solve the issues by executing the following command and after that run lthor again:

sudo apt-get purge modemmanager
  • Option 2: Temporary disable modemmanager

1. Since modemmanager is a D-BUS service therefore the configuration file /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service should be moved (or removed)

sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service ~/org.freedesktop.ModemManager.service

2. Stop the running instances of modemmanager

sudo stop modemmanager
sudo killall modem-manager

3. Connect the device again in download mode and run lthor again


To following error might occur during the installation:

sudo apt-get update
E: Malformed line 59 in source list /etc/apt/sources.list (dist)
E: The list of sources could not be read.

To solve the issue please make sure that the Tizen repository has been specified correctly at /etc/apt/sources.list

deb / 


deb / 

USB Port is not detected

lthor until 1.4 used to ttyACM node but the patch which removes ttyACM node and updated into stable kernel. Check the history => here

lthor until 1.4 is not working in below kernel version. v4.5, v4.4.4, v4.1.18, v3.18.27, v3.14.63, v3.12.56, v3.10.99, v3.2.78, v3.19.53 and later

On lthor 2.0, this issue is fixed with using libusb-1.0.17, but old distributions has no support of libusb-1.0.17.

For the old distributions with only lthor 1.4, you can downgrade the kernel or you can use it with below command.(root account)

$ modprobe cdc-acm
$ echo "04e8 685d" > /sys/bus/usb/drivers/cdc_acm/new_id 

If you reboot, this script should be run again, please add up the script in startup script.

External Links