Hello,

I'm in Integration a GPS driver into my Android (2.1) and always get
the following error message:

"Permission denied" from:

do {
        state->fd = open( /dev/s3c2410_serial0, O_RDWR );
    } while (state->fd < 0 && errno == EINTR);

if (state->fd < 0) {
        LOGE("could not open gps serial device %s: %s", device,
strerror(errno) );
        return;
    }

even though I've placed the permission of the device in init.rc file
with

chmod 0666 /dev/s3c2410_serial0

In the adb shell i can read the NMEA-messages without any permission-
error ?!
(cat /dev/s3c2410_serial0)

Any suggestions?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to