On Sat, 1 Nov 2003, Michael George wrote:

>
> On Thursday, October 30, 2003, at 04:06  PM, Stephen J. Gowdy wrote:
>
> > Hotplug will do this if you have it installed correctly. It uses
> > /lib/modules/`uname -r`/modules.usbmap to determine which modules to
> > load.
>
> Yes, that is the file I presume I need to put a new entry into so that
> when I plug this device in, the system knows to load the usb-storage
> module.

No, that file is generated automatically.

> > I've no idea what an 8.2Pro is. Can you try reading the documentation
> > at
> > linux-hotplug.sf.net?
>
> Yes, and the info at linux-usb, but I'm not finding any references to
> creating entries in that file.

You shouldn't add entries to that file. If you device is a usb-storage
device then it should already have a class level entry that matches it.

> I can look at /usr/share/usb.ids to see what is there and find the
> proper match_flags to use and then plug in the device and see what
> /var/log/messages gives me as identifiers for the drive/enclosure, but
> I don't know for sure if the modules.usbmap might be generated by the
> kernel build and maybe I should make the entries elsewhere.

Yes, /etc/hotplug/usb.usermap. But you shouldn't need that...

> Since the device does work once the usb-storage module is loaded, I
> just need to know the correct process for having this "unknown" device
> become "known"...

Are you sure hotplug is installed and your kernel has that option enabled?

> > On Thu, 30 Oct 2003, Michael George wrote:
> >
> >> I just got an NEC 1300A CD-RW/DV�RW drive in a USB enclosure.
> >>
> >> When I plug the device into a USB port and power it up, the system
> >> says:
> >>
> >> Oct 30 14:00:26 brutus kernel: hub.c: new USB device 00:04.3-2.1,
> >> assigned
> >> address 3
> >> Oct 30 14:00:26 brutus kernel: usb.c: USB device 3 (vend/prod
> >> 0x402/0x5621) is
> >> not claimed by any active driver.
> >> Oct 30 14:00:26 brutus kernel: usb-uhci.c: interrupt, status 2, frame#
> >> 278
> >> Oct 30 14:00:26 brutus kernel: hub.c: usb_hub_port_status (2) failed
> >> (err =
> >> -84)
> >>
> >> So it doesn't know what driver to load.  If I manually do
> >> modprobe usb-storage
> >>
> >> the drive is recognized and mounted right away.  But shouldn't the
> >> system
> >> (8.2Pro kernel 2.4.20) automatically know that it's a storage device?
> >>
> >> I figure there needs to be an entry in usb.distmap in /etc/hotplug,
> >> but
> >> I
> >> can't find any info about how to construct an entry for a device
> >> that's
> >> not
> >> already present in the file.
> >>
> >> Where can I find that info?
> >>
> >> Thanks!
> >>
> >> -Michael
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: SF.net Giveback Program.
> >> Does SourceForge.net help you be more productive?  Does it
> >> help you create better code?   SHARE THE LOVE, and help us help
> >> YOU!  Click Here: http://sourceforge.net/donate/
> >> _______________________________________________
> >> [EMAIL PROTECTED]
> >> To unsubscribe, use the last form field at:
> >> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> >>
> >
> > --
> >  /------------------------------------+-------------------------\
> > |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> > |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> > |EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
> >  \------------------------------------+-------------------------/
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?   SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > [EMAIL PROTECTED]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> >
> >
> -Michael
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>

--
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to