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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
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

Stephane Dudzinski stephane at antefacto.com
Fri Feb 8 09:43:09 GMT 2002


The hotplug thing is nothing important.

Recompiled my 2.4.17 kernel with proc usb fs support and installed
gphoto2, i'm getting your pictures right now :)

See log below :

tux3:~/canon# gphoto2 -p 33-34 (images taken in the office)

Status: Initializing 'Canon PowerShot A20'...
Status: Listing files in '/'...
Status: Detected a Powershot A20
Files in /:
Status: Getting 'IMG_0194.JPG' from folder '/'...

Steph


On Thu, 2002-02-07 at 16:16, John P. Looney wrote:
>  I'm trying to get my USB camera working The Right Way. Yeah, I've gotten
> gphoto2 and gtkam to talk to it. But, now I want to play with hotplug.
> 
>  I'm confused. I did a 'gphoto2 --print-usb-usermap' and it printed gob
> loads of stuff. The following line looked right;
> 
> usbcam               0x0000      0x04a9   0x304e    0x0000       0x0000 0x00         0x00            0x00            0x00            0x00 0x00               0x00000000 
> 
>  as the kernel usually prints;
> 
> Feb  7 16:07:57 bartender kernel: hub.c: USB new device connect on bus2/2, assigned device number 18
> Feb  7 16:07:57 bartender kernel: usb.c: USB device 18 (vend/prod 0x4a9/0x304e) is not claimed by any active driver.
> Feb  7 16:07:57 bartender /etc/hotplug/usb.agent: ... no modules for USB product 4a9/304e/1
> 
>  when I plug it in. But, nothing happens any differently, despite
> assurances from /etc/hotplug/usb/usbcam that all I needed to do was:
> 
> # Note that for this script to work, you'll need all of the following:
> # a) a line in the file /etc/hotplug/usermap that corresponds to the 
> #    camera you are using. You can get the correct lines for all cameras 
> #    supported by gphoto2 by running "gphoto2 --print-usb-usermap".
> # b) a setup using pam_console that chown's /dev/console to the 
> #    user currently using the "console"
> # c) a Linux kernel supporting hotplug and usbdevfs
> # d) the hotplug package (http://linux-hotplug.sourceforge.net/)
> 
>  And, hey...that's what I've done. Anyone got this working, and could they
> send me a few pointers ?
> 
> Kate
> 
> -- 
> _______________________________________
> John Looney             Chief Scientist
> a n t e f a c t o     t: +353 1 8586004
> www.antefacto.com     f: +353 1 8586014
> 
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
-- 
______________________________________________
"Linux philosophy: Do it Yourself" L. Torvalds
Stephane Dudzinski       Systems Administrator
a n t e f a c t o            t: +353 1 8586009
www.antefacto.com            f: +353 1 8586014





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