From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 30 Nov 2004 04:06:28 +0000 Subject: Re: Debugging udev problem; request ideas Message-Id: <20041130040628.GA7849@kroah.com> List-Id: References: <41A97257.6070708@cox.net> In-Reply-To: <41A97257.6070708@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sun, Nov 28, 2004 at 01:38:15AM -0500, Christian Convey wrote: > Hey guys, >=20 > My saga continues trying to get my Kodak DC6490 camera to get a USB=20 > storage device (i.e., /dev/sda1) associated with it. I'm using Debian=20 > Sarge/2.6.9-1-smp with udev. >=20 > I'm thinking that somewhere in either hotplug or udev land, the event is = > getting dropped (presumably a config problem). >=20 > I added the following lines to the top of the /sbin/hotplug script: > logger -s -t CJC::hotplug `env` > logger -s -t CJC::hotplug-cmdline "$@" >=20 > Low and behold, when I plug the camera in and hit its "sync" button, I=20 > get these lines appearing in /var/log/syslog: >=20 >=20 > >Nov 28 01:32:26 localhost kernel: usb 2-1.2: new full speed USB device=20 > >using address 13 > >Nov 28 01:32:26 localhost CJC::hotplug:=20 > >DEVPATH=3D/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.2=20 > >PATH=3D/sbin:/bin:/usr/sbin:/usr/bin ACTION=ADd PWD=3D/ SHLVL=3D1 HOME= =3D/=20 > >SEQNUM=900 _=3D/usr/bin/env > >Nov 28 01:32:26 localhost CJC::hotplug:=20 > >DEVPATH=3D/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.2/2-1.2:1.0=20 > >PATH=3D/sbin:/bin:/usr/sbin:/usr/bin ACTION=ADd PWD=3D/ SHLVL=3D1 HOME= =3D/=20 > >DEVICE=3D/proc/bus/usb/002/013 INTERFACE=3D6/1/1 PRODUCT@a/575/100=20 > >TYPE=3D0/0/0 SEQNUM=901 _=3D/usr/bin/env > >Nov 28 01:32:26 localhost CJC::hotplug-cmdline: usb > >Nov 28 01:32:26 localhost CJC::hotplug-cmdline: usb > >Nov 28 01:32:27 localhost usb.agent[8506]: libgphoto2: loaded=20 > >successfully So, gphoto2 works for this device? If so, then no device node is needed, and udev will not ever enter into the picture for you. Has the usb-storage driver ever worked for this device? What does /proc/bus/usb/devices show when this device is plugged in? thanks, greg k-h ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.=20 http://productguide.itmanagersjournal.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel