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
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!