From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 03 Jan 2005 18:19:27 +0000 Subject: Re: medion multi flash module not working Message-Id: <1104776367.5052.11.camel@localhost.localdomain> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 2005-01-03 at 16:59 +0000, Sam Liddicott wrote: > Kay Sievers wrote: > > On Mon, 2005-01-03 at 12:42 +0000, Sam Liddicott wrote: > >>The first problem was that every second a raft of errors regarding > >>reading the partition table on /dev/ub/a (or /dev/uba as it actually > >>was), and this error was written every second to the console and could > >>not be silenced even by inserting a card into one of the slots. > > > > The ub driver does not support multi-LUN devices, use usb-storage > > instead for access to all slots of your reader. > > Thanks for another very quick answer Kay. (I saw the answer appear > during the pantomime interval using my trusty P900) > > I realise you are right and that UB does not support all that > usb-storage did, I'm pleased to find that udev works with usb-storage too. > > I'm happy to look further but beg you point me in the right direction. I > had earlier removed the ub.ko kernal module so it couldn't be loaded, is > this the right thing to do to cause usb-storage to be used instead? As Matt pointed out, you need to disable it. In drivers/usb/storage/usb.c you find stuff like that: #if !defined(CONFIG_BLK_DEV_UB) && !defined(CONFIG_BLK_DEV_UB_MODULE) { USB_INTERFACE_INFO(USB_CLASS_MASS_STORAGE, US_SC_SCSI, US_PR_BULK) }, #endif > I don't find any clues in /etc/hotplug/usb Look at: /lib/modules/`uname -r`/modules.usbmap That is generated by depmod and read from /etc/hotplug/usb.agent. Kay ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel