PDA

View Full Version : Hotplug


Tux_in_Redhat
2007-01-25, 03:02 PM CST
Does anyone know how to use hotplug? I've tried:
/sbin/hotplug FLASH/
or just plain "/sbin/hotplug," but nothing seems to work. I still have to leave my USB drive in the computer when I boot it up. (Please look at this thread (http://www.fedoraforum.org/forum/showthread.php?t=143270) for more information).

Tux_in_Redhat
2007-01-27, 03:18 PM CST
The Rute tutorial says something else about plug & play devices:
XFree86 version 4 has ``Plug-and-Play'' support. Simply run


/usr/X11R6/bin/XFree86 -configure



to produce a working XF86Config file. You can copy this file to /etc/X11/XF86Config and immediately start running X. However, the file you get may be less than optimal. Read on for detailed configuration.


However, this file does not exist on the Fedora system. Does anyone know what to do. I'm really tired of having my USB as an alternate drive isntead of a plug-and-play device.

friez
2007-01-27, 03:31 PM CST
The Rute tutorial says something else about plug & play devices:

However, this file does not exist on the Fedora system. Does anyone know what to do. I'm really tired of having my USB as an alternate drive isntead of a plug-and-play device.
fedora use xorg-x11 and that plug in play is refence to graphic card/monitors so that won't help you with your usb problems

Tux_in_Redhat
2007-01-27, 03:35 PM CST
I'm sorry: I'm starting to get impatient (thanks for helping, though :) ) Does anyone know how to mount plug-and-play devices.
Maybe someone could give me some sort of script or a link to a downloadable script. I'm dying to use plug&play!

friez
2007-01-27, 04:32 PM CST
maybe this guide can help you ..

http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=561

or this http://www.newsforge.com/article.pl?sid=03/12/05/2214256

Tux_in_Redhat
2007-01-30, 01:15 PM CST
Well, the first link you gave me (making it a filesystem), I've already done. When I followed the second link you gave me, it just basically made the drive permanent: I could mount the drive, but I couldn't unmount it. When I tried to unmount it, I got the error message saying that the drive was busy. I recieved the error before, when I was in one of the directories of the drive. However, I checked in the GUI, in the command line, I even exited out of sudo-user to see if I was in a USB directory, but I wasn't. That error message still came up. I don't know...It might be because I didn't have /etc/auto.auto so I decided to vim it, and that might have messed something up.

Also, with the USB problem, I'm wanting to use other usb stuff, like an mp3 player and flatbed scanner.

Tux_in_Redhat
2007-01-30, 01:55 PM CST
:eek: Can't anybody help me!?!? I'm really sorry to be so brash, but I have been dying for plug&play support.

Tux_in_Redhat
2007-02-03, 03:27 PM CST
Do I need a driver? Maybe plug-and-play works the same in Linux as in Windows.

John the train
2007-02-04, 01:46 AM CST
Tux, just came across your thread. I think your problem is actually with ' automount ' rather than hotplug. You don't say which desktop you're using, but if it's Gnome go to System>Preferences>Removable drives and media and check that ' Mount removable drives when hotplugged ' is ticked. I haven't used KDE, so can't suggest where to look in that, but I know several regular posters use it. A search for ' automount ' might turn up some relevant threads too. Hope this helps.

Tux_in_Redhat
2007-02-05, 11:18 AM CST
I don't have "Removable Drives" in my menu (I looked all over). I decided to use "udev," and I got the same thing I get for the CD, which was good sign. I typed [CODE]/sbin/udevstart --daemon[/QUOTE] (I think that's what caused it), and a window popped up asking me what to do as well as an icon on the desktop. However, it was still a "permanent" drive, and I could not recreate the results. When I mounted it in /auto/flash (following the directions given to me by friez), two additional devices were found in /dev/. They were sdb and sdb1 (I didn't create them myself). This was after I used udev.

Tux_in_Redhat
2007-03-02, 12:15 PM CST
I just had an idea (You probably tried to tell me, though). On startup, the program runs through the setup, and creates the /dev/sda and /dev/sda1 device, which disappears after I unmount it. What program runs to create dev/sda and /dev/sda1? Please don't tell me it's udev. Udev and I don't go well together.