View previous topic :: View next topic |
Author |
Message |
ondrejj n00b
Joined: 17 Mar 2003 Posts: 1 Location: Moon
|
Posted: Wed Mar 19, 2003 3:59 pm Post subject: usb-storage load on demand |
|
|
Everytime I connect my digital camera to my PC (via USB) I have to manually load (modprobe) usb-storage.
Is there a way to load it automatically when needed?
I don't want to put it in modules.autoload
Thanks |
|
Back to top |
|
|
px Guru
Joined: 26 Sep 2002 Posts: 497 Location: Metz, France
|
Posted: Wed Mar 19, 2003 4:26 pm Post subject: |
|
|
you can compile it like core, not a module in your kernel _________________ Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry] |
|
Back to top |
|
|
reaz82 Apprentice
Joined: 14 Mar 2003 Posts: 203 Location: Austin, Texas
|
Posted: Fri Mar 21, 2003 11:40 pm Post subject: |
|
|
once it's loaded how do we access it?
i mean i am using an usb solid state disk..
how do i mount it?
thanx |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Sat Mar 22, 2003 12:35 pm Post subject: |
|
|
To automatically detect the device and load the modules:
Code: |
emerge hotplug
/etc/init.d/hotplug start
rc-update add hotplug default
|
From my /etc/fstab:
Code: |
/dev/sdc1 /home/diva vfat rw,noauto,users,uid=1000,gid=100 0 0
|
It will show up as a SCSI device and can be mounted as such. |
|
Back to top |
|
|
|