On Fri, Feb 08, 2002 at 11:47:23AM +0000, John P. Looney wrote:
> I think it would be cool if when I plugged in my digital camera, nautilus
> would pop up a window looking at the camera:// URL, without me having to
> do *anything*.
MacOS will do that :-) (and, sadly, so will 'doze)
> I tryed to use hotplug, but it's not happening. I wrote:
>> bartender  cat /proc/sys/kernel/hotplug
> bartender  cat /bin/testhotplug
> logger -t "Fake hotplug : [$*]"
> bartender 
>> To see is it every calling the hotplug program. And it doesn't. So, it
> looks like hotplug ain't working at all!
I looked into hotplug a little, unintentionally, when I was trying to get my
Visor to sync on USB to Linux. My problem was related to using the uhci
module instead of usb-uhci so that might be one place to look. However, from
what I remember of the hotplug stuff you need to register a device class
with the hotplug subsystem so that when it sees a "Canon A20" appearing it
knows what to do. This is what you do in 'doze or on MacOS when you install
a driver for a USB device. Of course you install the driver software but
you also in some way register the device class/type to be recognised when
its plugged in - hence the admonitions on USB installation instructions to
install the software BEFORE plugging in the device. Ferret round in the
hotplug directories - sorry not to be more specific but I can't remember
where I read this - I think it was in a script in the hotplug directories.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!