* Camera does not register properly with udev?
@ 2011-10-20 1:30 Brad Hermanson
2011-10-21 5:28 ` Brad Hermanson
0 siblings, 1 reply; 2+ messages in thread
From: Brad Hermanson @ 2011-10-20 1:30 UTC (permalink / raw)
To: linux-hotplug
Hello,
I'm trying to debug an issue with udev not registering my camera
properly on Slackware 13.37. When I run udevadm monitor --property, it
shows this when I plug in and then unplug the camera:
KERNEL[1319073984.353340] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2
SUBSYSTEM=usb
DEVNAME=bus/usb/005/006
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
BUSNUM\05
DEVNUM\06
SEQNUM(47
MAJOR\x189
MINORQ7
KERNEL[1319073984.355239] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v040Ap057Bd0100dc00dsc00dp00ic06isc01ip01
SEQNUM(48
KERNEL[1319073984.355300] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6 (usb_device)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6
SUBSYSTEM=usb_device
DEVNAME=usbdev5.6
SEQNUM(49
MAJOR\x189
MINORQ7
UDEV [1319073984.367351] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/005/006
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
BUSNUM\05
DEVNUM\06
SEQNUM(47
ID_VENDORêstman_Kodak_Company
ID_VENDOR_ENCêstman\x20Kodak\x20Company
ID_VENDOR_ID\x040a
ID_MODEL=KODAK_EasyShare_CX7430_Zoom_Digital_Camera
ID_MODEL_ENC=KODAK\x20EasyShare\x20CX7430\x20Zoom\x20Digital\x20Camera
ID_MODEL_ID\x057b
ID_REVISION\x0100
ID_SERIALêstman_Kodak_Company_KODAK_EasyShare_CX7430_Zoom_Digital_Camera_KCKCY43014629
ID_SERIAL_SHORT=KCKCY43014629
ID_BUS=usb
ID_USB_INTERFACES=:060101:
ID_GPHOTO2=1
GPHOTO2_DRIVER=PTP
MAJOR\x189
MINORQ7
TAGS=:udev-acl:
UDEV [1319073984.372429] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v040Ap057Bd0100dc00dsc00dp00ic06isc01ip01
SEQNUM(48
UDEV [1319073984.379762] add
/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6 (usb_device)
UDEV_LOG=3
ACTIONd
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6
SUBSYSTEM=usb_device
DEVNAME=/dev/usbdev5.6
SEQNUM(49
MAJOR\x189
MINORQ7
KERNEL[1319073988.760514] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v040Ap057Bd0100dc00dsc00dp00ic06isc01ip01
SEQNUM(50
KERNEL[1319073988.760603] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6 (usb_device)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6
SUBSYSTEM=usb_device
DEVNAME=usbdev5.6
SEQNUM(51
MAJOR\x189
MINORQ7
KERNEL[1319073988.760624] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2
SUBSYSTEM=usb
DEVNAME=bus/usb/005/006
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
BUSNUM\05
DEVNUM\06
SEQNUM(52
MAJOR\x189
MINORQ7
UDEV [1319073988.760792] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
INTERFACE=6/1/1
MODALIAS=usb:v040Ap057Bd0100dc00dsc00dp00ic06isc01ip01
SEQNUM(50
UDEV [1319073988.766314] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6 (usb_device)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2/usb_device/usbdev5.6
SUBSYSTEM=usb_device
DEVNAME=/dev/usbdev5.6
SEQNUM(51
MAJOR\x189
MINORQ7
UDEV [1319073988.772662] remove
/devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)
UDEV_LOG=3
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/005/006
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/005/006
PRODUCT@a/57b/100
TYPE=0/0/0
BUSNUM\05
DEVNUM\06
SEQNUM(52
MAJOR\x189
MINORQ7
The fourth entry is the one that is the most descriptive and is the one
I want (I'm trying to get my camera working with Shotwell--a photo
manager). However, Shotwell's call to gudev never returns this device,
and I'm starting to suspect it's a problem with the way udev is set up.
When I unplug the camera, that same device (that has ID_VENDOR,
ID_GPHOTO2 and GPHOTO2_DRIVER) is not listed. However, there are 6
devices added and 6 removed, yet none of the ones removed have ID_VENDOR
set, etc. On Ubuntu, unplugging the camera, shows the same device when
it's removed, so I'm guessing it's something Slackware is doing with
udev. It's almost like it's clearing out ID_VENDOR and so right after
it's added..? This is way out of my comfort zone, so forgive me if some
of what I say doesn't make sense... but any ideas what could be causing
this?
Thank you,
Brad
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Camera does not register properly with udev?
2011-10-20 1:30 Camera does not register properly with udev? Brad Hermanson
@ 2011-10-21 5:28 ` Brad Hermanson
0 siblings, 0 replies; 2+ messages in thread
From: Brad Hermanson @ 2011-10-21 5:28 UTC (permalink / raw)
To: linux-hotplug
I now think it's a problem with gvfs-gphoto2-volume-monitor not taking
control of the device, so nevermind. :) GVFS doesn't come standard with
Slackware, so something's not configured properly.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-21 5:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 1:30 Camera does not register properly with udev? Brad Hermanson
2011-10-21 5:28 ` Brad Hermanson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.