[Q] USB OTG and UsbManager

mtz92

Member
Apr 18, 2012
8
4
0
I was trying to communicate with my Arduino Uno by means of the USB Host API. The problem is, that the UsbManager always returns an empty list of devices. I tried this with multiple ROMs:
  • ViperS 5.1
  • ViperS 5.2.1
  • CyanogenMod 11 by Sultanxda
  • CarbonRom

With ViperS I find the Arduino ( or any other USB devics ) using lsusb.
With the other roms I don't find the Arduino.

Does anybody know what is the missing puzzle piece to get the UsbHost API find my devices?

If no, is there a way to get a USB tty to use it with the arduino (with root) ?

Or does anybody know a ROM where it works?
 
Last edited:

mtz92

Member
Apr 18, 2012
8
4
0
ViperS

Ok, for now I found out that the cdc-acm driver is used for cummunicating with the arduino. Fortunately this driver is included as module in SebastianFM's kernel, used by ViperS roms.
I just ran
Code:
insmod  /system/lib/modules/cdc-acm.ko
and i got /dev/ttyACM0

That means that I am able now to communicate by using root.

That's good for now, but does anybody know how to do it without root?
 

Mile_zdr

Senior Member
Sep 19, 2013
931
289
0
Bitola
Ok, for now I found out that the cdc-acm driver is used for cummunicating with the arduino. Fortunately this driver is included as module in SebastianFM's kernel, used by ViperS roms.
I just ran
Code:
insmod  /system/lib/modules/cdc-acm.ko
and i got /dev/ttyACM0

That means that I am able now to communicate by using root.

That's good for now, but does anybody know how to do it without root?
i'm searching for the same think comunicating with arduino uno board, i will try the command now thanks... , if someone know more about Sensation and arduino please help :)