may be i am not clear with my doubts..

1. i am writing a new USB class driver for MTP devices.  But when i plug-in
the device it is atomatically recognised with mass storage module taking the
interface information.  But the string descriptor defined as MTP, so how i
can lead my class driver to probe the device before usb_stroage module
picks.

2. How USB plugin event in class driver can be passed to userspace.  So that
my MTp library application can understand asynchronoously that device been
pluged in.  Example if i connect iPod in Linux system it gets recognised by
rhytom box application immediately.  How come rythmbox able to know that a
media player device pluged in.

thanks
satheesh

On Wed, Nov 11, 2009 at 12:07 PM, Greg KH <[email protected]> wrote:

> On Wed, Nov 04, 2009 at 03:49:15PM +0530, Satheesh Kumar wrote:
> > Hello,
> >
> > I am writing MTP class driver for Cowon Mp3 player. The device has MTP as
> > well as mass storage class support. Although i registered MTP class
> driver
> > with relevant vendor id and product id, the same info is also available
> with
> > Mass storage class(MSD) driver, hence on plug-in, by default device
> detected
> > as MSD class, not  as MTP class. How do i override MSD class registration
> > with my MTP class driver ?
>
> You send a patch to the [email protected] mailing list that
> adds the ability to not match a MTP device such as your own.
>
> Do you have a pointer to your driver anywhere?
>
> thanks,
>
> greg k-h
>

Reply via email to