I have a GSM radio connected via the USB port on a beagle board.  If I
type chmod 0666 /dev/ttyUSB1 at the console, it connects to the radio
just fine.  If I put the chmod in init.rc, the permissions don't get
set.  I believe the reason is /dev/ttyUSB1 is created after init
because of the time to do the USB probing and USB/serial setup.

I tried adding

on device-added-/dev/ttyUSB1
    chmod 0666 /dev/ttyUSB1
    chown radio radio /dev/ttyUSB1

to init.rc, but this does not seem to work either.

Is there any way to get the permissions set during init on a USB/
serial device?

Mike

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to