* Re: medion multi flash module not working
2005-01-03 12:42 medion multi flash module not working Sam Liddicott
@ 2005-01-03 12:54 ` Kay Sievers
2005-01-03 16:59 ` Sam Liddicott
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-03 12:54 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-03 at 12:42 +0000, Sam Liddicott wrote:
> I'm running a debian testing/unstable mix based on a de-mepis'd mepis
> with udev 0.050.
>
> I have a "built-in" medion combined SD/MMS/SmartMedia/Compact-Flash
> device that is not properly recognized. The module is usb based and has
> 4 slots, and under windows a flash device can be read in each slot at
> the same time.
>
> Before I installed udev (as a consequence of gnome-volume manager) this
> worked fine as various /dev/sd?? nodes, but with udev I had various
> problems.
>
> 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.
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: medion multi flash module not working
2005-01-03 12:42 medion multi flash module not working Sam Liddicott
2005-01-03 12:54 ` Kay Sievers
@ 2005-01-03 16:59 ` Sam Liddicott
2005-01-03 18:06 ` Matthew Dharm
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Sam Liddicott @ 2005-01-03 16:59 UTC (permalink / raw)
To: linux-hotplug
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?
I don't find any clues in /etc/hotplug/usb
Sam
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: medion multi flash module not working
2005-01-03 12:42 medion multi flash module not working Sam Liddicott
2005-01-03 12:54 ` Kay Sievers
2005-01-03 16:59 ` Sam Liddicott
@ 2005-01-03 18:06 ` Matthew Dharm
2005-01-03 18:19 ` Kay Sievers
2005-01-03 19:53 ` Sam Liddicott
4 siblings, 0 replies; 6+ messages in thread
From: Matthew Dharm @ 2005-01-03 18:06 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 2109 bytes --]
Selecting the UB driver for compilation actually reduces functionality in
usb-storage, regardless of which modules are actually loaded.
You need to set CONFIG_BLK_DEV_UB to 'n'.
Matt
On Mon, Jan 03, 2005 at 04:59:47PM +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?
>
> I don't find any clues in /etc/hotplug/usb
>
> Sam
>
>
> -------------------------------------------------------
> 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
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
C: Like the Furby?
DP: He gives me the creeps. Think the SPCA will take him?
-- Cobb and Dust Puppy
User Friendly, 1/2/1999
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: medion multi flash module not working
2005-01-03 12:42 medion multi flash module not working Sam Liddicott
` (2 preceding siblings ...)
2005-01-03 18:06 ` Matthew Dharm
@ 2005-01-03 18:19 ` Kay Sievers
2005-01-03 19:53 ` Sam Liddicott
4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2005-01-03 18:19 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: medion multi flash module not working
2005-01-03 12:42 medion multi flash module not working Sam Liddicott
` (3 preceding siblings ...)
2005-01-03 18:19 ` Kay Sievers
@ 2005-01-03 19:53 ` Sam Liddicott
4 siblings, 0 replies; 6+ messages in thread
From: Sam Liddicott @ 2005-01-03 19:53 UTC (permalink / raw)
To: linux-hotplug
Matthew Dharm wrote:
> Selecting the UB driver for compilation actually reduces functionality in
> usb-storage, regardless of which modules are actually loaded.
>
> You need to set CONFIG_BLK_DEV_UB to 'n'.
Thanks for the tip.
I did read later this afternoon about kernel packagers being overzealous
in enabling UB support. From what I read ub will not be extended for
devices it fails to properly support too.
I shall fiddle with modules.usbmap as per Kay's hint (if it was) to see
if that gives any joy, if not I shall rebuild my kernel from source
andmake the recommended suggestion.
Thankyou both for you.
Sam
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread