gingerbread uses a uevent daemon, you can use ueventd.rc to map the devices.

On Tue, May 17, 2011 at 8:29 AM, Amit Pundir <[email protected]> wrote:

> On Tue, May 17, 2011 at 5:46 AM, George Nychis <[email protected]> wrote:
> > Is there a way for me to add a udev rule on my Android device?  Not
> > for my Android device on my host computer, but on the actual Android
> > phone.  Is there a way for me to add a udev rule when the phone is
> > acting as a USB host?
>
> Hi,
>
> There may be more generic way which I'm not aware of but this worked
> for me. In $ANDROID_AOSP/system/core/init/devices.c , map your uevents
> in this function handle_device_event()
>
> Regards,
> Amit Pundir
>
> >
> > Thanks!
> > George
> >
> > --
> > unsubscribe: [email protected]
> > website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>

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

Reply via email to