| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Working with USB serial adapters in Android

Page history last edited by Chris 11 years, 10 months ago

Android permissions error can happen if the USB device doesn't exist (no driver, no usb cable attached, etc.) or, there is actually a permissions error in the /dev/ folder.

 

Do you see the /dev/ttyUSB0 file?

 

Use the following commands to check for the serial port:

 

$ adb shell 

$ ls -l /dev/tty*

 

You should see /dev/ttyUSB0 or similar. If not, the usbserial driver may not be loaded properly for this device.

 

Show me the drivers!

 

$ lsmod

 

You want to see usbserial.

 

Even if you see usbserial, it's possible usbserial is loaded up for the cell modem, instead of FTDI generic usbserial devices. Try refreshing the driver. 

 

Refresh the usbserial driver

 

$ rmmod usbserial

$ insmod /etc/firmware/usbserial.ko

 

Comments (0)

You don't have permission to comment on this page.