[ale] Hotplug usage

James P. Kinney III jkinney at localnetsolutions.com
Fri Sep 26 09:22:13 EDT 2003


On Fri, 2003-09-26 at 08:32, Pete Hardie wrote:
> Anyone on the list used Hotplug under linux?

I _had_ something working before my lightning strike disaster. Hotplug
is pretty cool, but it is a real bear to setup. I basically copied a
setup for something that did work and changed some search strings. The
data needed for the hotplug file is found in lsusb (assuming you have
the usb bus stuff in the kernel). 
A big "gotcha" is to compile in "search all LUNs" in the scsi section.
This is required for nearly every usb device as they don't seem to show
up as "device a" but instead as "device a:2" (or something like that)

The docs on hotplug are not written for users! What is really needed is
a script that generates hotplug entries from lsusb data and some user
input. I don't understand enough of it to write one, though.
> 
> After a typo locked my box up trying to mount a nonexistent USB device, I went 
> looking for something better, and found hotplug, but the docs are a bit dense. 
> I'm looking for some user-end pointers, because it appear to have bollixed up my 
> USB system - a pendrive that works just fine on my work box will not mount at 
> home (errors on invalid fs/bad superblock)
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list