LagAbuse.com

Unofficial Section => Programming => Topic started by: Lagi on August 07, 2014, 20:30

Title: android guru needed
Post by: Lagi on August 07, 2014, 20:30
I would like to send ioctl commands to a cdrom drive from an android mobile via usb.
I try to do it with this app: http://www.ccs.neu.edu/home/bchafy/androidioctl/androidioctl.html (http://www.ccs.neu.edu/home/bchafy/androidioctl/androidioctl.html)

When i try to send cdrom spindle motor start command (0x5308) it writes that device can not found. I tried so many variations to reach it, /dev/ttyUSB0 /dev/bus/usb etc, but it says cannot found. What do i have to do to make it work? I have android terminal emulator, tried lsusb fdisk -l etc, none of them work at all.
Also the phone is rooted, and usb host mode enabled.