[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49E0D483.9040907@gmail.com>
Date: Sat, 11 Apr 2009 11:33:55 -0600
From: Robert Hancock <hancockrwd@...il.com>
To: linux-kernel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: USB auto mount - specific versus general driver
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.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists