public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* USB auto mount - specific versus general driver
@ 2009-04-11  3:46 Robert Mykland
  2009-04-11 17:33 ` Robert Hancock
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Mykland @ 2009-04-11  3:46 UTC (permalink / raw)
  To: linux-kernel

Folks,

Consider a USB key that auto mounts as a generic USB storage device 
using the block level driver for that.  Can I write a driver that, for 
example, is more specific to that key and gets loaded and used at auto 
mount time instead of the generic driver?  How would I go about 
identifying my driver so it superseded the generic one?

Thanks in Advance,

-- Robert.

-- 
Robert Mykland               Voice: (831) 212-0622
Founder/CTO                   Ascenium Corporation
"A new world of computing fulfilling people's lives"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB auto mount - specific versus general driver
  2009-04-11  3:46 USB auto mount - specific versus general driver Robert Mykland
@ 2009-04-11 17:33 ` Robert Hancock
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2009-04-11 17:33 UTC (permalink / raw)
  To: Robert Mykland; +Cc: linux-kernel

Robert Mykland wrote:
> Folks,
> 
> Consider a USB key that auto mounts as a generic USB storage device 
> using the block level driver for that.  Can I write a driver that, for 
> example, is more specific to that key and gets loaded and used at auto 
> mount time instead of the generic driver?  How would I go about 
> identifying my driver so it superseded the generic one?

You'd have to add an unusual device entry to the USB storage driver 
which tells it not to claim that device. Look at 
drivers/usb/storage/unusual_devs.h and the US_FL_IGNORE_DEVICE flag.

> 
> Thanks in Advance,
> 
> -- Robert.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-11 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11  3:46 USB auto mount - specific versus general driver Robert Mykland
2009-04-11 17:33 ` Robert Hancock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox