linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: medion multi flash module not working
Date: Mon, 03 Jan 2005 18:19:27 +0000	[thread overview]
Message-ID: <1104776367.5052.11.camel@localhost.localdomain> (raw)
In-Reply-To: <crbecp$rn7$1@sea.gmane.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

  parent reply	other threads:[~2005-01-03 18:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-01-03 19:53 ` Sam Liddicott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1104776367.5052.11.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).