Hotplug is what should be doing this for you. If you don't have it you can 
get it from http://linux-hotplug.sf.net/. If you have it perhaps your 
/lib/modules/`uname -r`/modules.usbmap is out of date, depmod -a should 
regenerate it.

On Tue, 20 Aug 2002, Erik Steffl wrote:

> "Stephen J. Gowdy" wrote:
> > 
> > Hi Erik,
> >         You need to use the partition that the data is actually on (like
> > sda1), you should see this information in the kernel logs, something like;
> > 
> > sda: sda1
> 
>   yes, that worked, thank you.
> 
>   now the only problem is that I have to load modules manually. What do
> I need to load modules automatically?
> 
>   I used pjb-100 (mp3 player) before and the modules where loaded
> automatically (when I plugged in the device). It was on basically the
> same computer (debian unstable, kernel 2.4.18). Now when I plug in the
> device nothing happens... any pointers on this?
> 
>   TIA
> 
>       erik
> 
> >         To change cards use the "eject" command.
> > 
> >                                                         regards,
> > 
> >                                                         Stephen.
> > 
> > On Tue, 20 Aug 2002, Erik Steffl wrote:
> > 
> > >    I am not sure where to go from here: I have an iTec smartMedia USB
> > > card reader. I have loaded usb modules, including usb-storage and now I
> > > can see the card reader as /dev/sda.
> > >
> > >    However mount /dev/sda /mnt/usbCard doesn't work, it says that I have
> > > to specify file system, if I specify common file systems it says it is
> > > not recognized (I tried vfat and few others).
> > >
> > >    Few more details:
> > >
> > >    The device itself seems to be working, I can do cat /dev/sda > file
> > > and it creates file of expected size (128MB) and file utility says:
> > >
> > > erik@cert:/root$ file usbCardImage
> > > usbCardImage: x86 boot sector, extended partition table
> > >
> > >    which makes sense (as far as I can tell).
> > >
> > >    here's what happens when I try to mount it:
> > >
> > > cert:~# mount /dev/sda /mnt/usbCard/
> > > mount: you must specify the filesystem type
> > >
> > > cert:~# mount -t vfat /dev/sda /mnt/usbCard/
> > > mount: wrong fs type, bad option, bad superblock on /dev/sda,
> > >         or too many mounted file systems
> > > cert:~# mount -t iso9660 /dev/sda /mnt/usbCard/
> > > mount: wrong fs type, bad option, bad superblock on /dev/sda,
> > >         or too many mounted file systems
> > >
> > >    another question: once I read the card it cannot be read again (e.g.
> > > after I do cat /dev/sda I cannot do that again unless I rmmod/modprobe
> > > usb-storage) - is there any way to 'rewind' sda?
> > >
> > >    I searched the web but couldn't find more relevant info (so far), I'd
> > > appreciate any pointers...
> > >
> > >    TIA
> > >
> > >
> > >       erik
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by: OSDN - Tired of that same old
> > > cell phone?  Get a new here for FREE!
> > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > _______________________________________________
> > > [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: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> [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: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to