Re: how to introduce uevent/Udev in the driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote:
> Hi,
> 
> I am working on Android 4.0, Kernel Version 3.0.8
> I am working on USB mass storage driver.

What is wrong with the existing USB mass storage driver we have in the
kernel already?  Why do you need to write a new one?

> I Right now i am not able to get any uevents or Udev events in my
> driver when i plug or unplug the USB.

Driver's don't get uevents.

> Kindly guide me to get the uevents or introduce UDEV in my driver file
> so that i get the events every time i plug or unplug the device.
> 
> Once i get the uevents i need pass the uevents to application/UI and
> pass the control to switch from block driver to usb mass storage
> driver

What is wrong with the existing framework that Android provides for this
type of thing?  Doesn't that work properly?

Do you have a pointer to your driver code anywhere?

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux