LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] hotplug USB

[ILUG] hotplug USB

Niall O Broin niall at linux.ie
Fri Feb 8 15:06:58 GMT 2002


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 [0]  cat /proc/sys/kernel/hotplug 
> /bin/testhotplug
> bartender [0]  cat /bin/testhotplug 
> #!/bin/sh
> logger -t "Fake hotplug : [$*]"
> bartender [0] 
> 
>  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.



Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell