On Wed, 21 Aug 2002, Erik Steffl wrote: > "Stephen J. Gowdy" wrote: > > > > 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. > > what is the exact reason that hotplug is needeed? I didn't need it > with pjb-100 (mp3 player) - when I plugged it in the system recognized > new USB device and loaded proper driver, with no additional effort. > The smartcard is automatically recognized by system as well but the > drivers are not loaded. What's the difference?
I have no idea what would do that. Perhaps you are running usbmgr if you have SuSE? Or perhaps the required support was in your kernel? If so you should remove it and install hotplug. > I thought that hotplug is for userland only, e.g. if I would want some > application run when the device is plugged in (or unplugged). But I only > want drivers to be loaded - why it doesn't do it automatically (all > other drivers are loaded on demand - sound, printer, cdrom, network and > even for the other USB device (mp3 player) etc.) hotplug loads kernel modules and allows hooks to do other things in userland if you like. > > erik > > > > > 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 > -- /------------------------------------+-------------------------\ |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
