View Full Version : Access USB drive without un/replugging
pescobar
2005-06-22, 09:59 PM CDT
I just installed FC4 on my HP ze4240 laptop. Using KDE. If I plug in my 128MB Sandisk Cruzer Mini USB drive, a device module (/dev/sda) appears, as does a mount point in /media (although it isn't mounted automatically... can that be done with KDE?)
However, if I boot up the computer with the USB drive plugged in, the device node isn't there. I can't figure out how to access the drive without unplugging and replugging the device. Any suggestions?
fredjiang
2005-06-22, 10:02 PM CDT
I'm a noob too but I suspect that you can add a line inside fstab, something like "mount /media/blah /dev/sda". But as I said I have no idea what I'm talking about... But I'm sure there are a lot of people here who knows how to do that.
pescobar
2005-06-24, 11:48 AM CDT
I'm a noob too but I suspect that you can add a line inside fstab, something like "mount /media/blah /dev/sda". But as I said I have no idea what I'm talking about... But I'm sure there are a lot of people here who knows how to do that.
That doesn't work, because /dev/sda doesn't even exist until I unplug and then plug in the device again...
I guess what I'm asking is how to get udev to look at the port and see the thumb drive that's already plugged into it, instead of relying on it keying off an insertion event.
fredjiang
2005-06-24, 12:18 PM CDT
Try something I suggested on a different thread (http://forums.fedoraforum.org/showthread.php?p=291541#post291541):
--------------------------------------
Try:
/sbin/modprobe -r usb_uhci
/sbin/modprobe -i usb_uhci
--------------------------------------
Well, put that in your init scripts...
p.s. I haven't really tried this myself. I saw this when I was looking for scripts to put computer to standby/hibernate. Those lines are suppose to reinit the usb devices upon returning from standby. So I guess may also work in your case. But let me know how this works
Avix
2005-06-24, 12:22 PM CDT
sounds like a similar problem that a lot of us had with UDEV and PDA's. the file (/dev/pilot) doesn't get created untill you pust the sync button/symbol. it seems to be a problem with UDEV and USB devices.
bbarnard
2005-06-28, 03:58 PM CDT
sounds like a similar problem that a lot of us had with UDEV and PDA's. the file (/dev/pilot) doesn't get created untill you pust the sync button/symbol. it seems to be a problem with UDEV and USB devices.
I just got my Palm Zire working nicely on FC3. In the case of the palm, no USB connection is established until you press the HotSync button. Check out the postings at:
http://www.clasohm.com/blog/one-entry?entry_id=12096
for a description.
nlfiedler
2005-06-29, 11:52 PM CDT
Like pescobar, I recently updated to FC4 and have now encountered the same problem with my Seagate external USB drive. It was working perfectly with FC3. With FC4, it is not automatically mounted during startup. No amount of modprobe invocations will correct the problem. Invoking "dmesg | grep sda" or "dmesg | grep sde" shows nothing until the drive is unplugged and plugged in again.
Anyone have any ideas?
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.