I'm having the same problem with a Canon camera in Intrepid.
In response to:
>mich...@pineapple:~$ ls -l /dev/bus/usb/004/002
>crw-rw-r--+ 1 root root 189, 386 2008-03-19 22:55 /dev/bus/usb/004/002
The + at the end of the permissions list means there is an ACL on this file
run 'getfacl /dev/bus/usb/004/002' to see it.
On my system, HAL seems to detect my camera, from 'lshal':
udi = '/org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial'
info.linux.driver = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7'
(string)
info.product = 'Digital IXUS 55 (PTP mode)/PowerShot SD450 (PTP mode)'
(string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial'
(string)
info.vendor = 'Canon, Inc.' (string)
linux.device_file = '/dev/bus/usb/008/013' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-5' (string)
usb_device.bus_number = 8 (0x8) (int)
usb_device.can_wake_up = false (bool)
usb_device.device_class = 0 (0x0) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_revision_bcd = 2 (0x2) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.is_self_powered = false (bool)
usb_device.linux.device_number = 13 (0xd) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-5'
(string)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.product = 'Digital IXUS 55 (PTP mode)/PowerShot SD450 (PTP mode)'
(string)
usb_device.product_id = 12543 (0x30ff) (int)
usb_device.speed = 480.0 (480) (double)
usb_device.vendor = 'Canon, Inc.' (string)
usb_device.vendor_id = 1193 (0x4a9) (int)
usb_device.version = 2.0 (2) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial_if0'
access_control.file = '/dev/bus/usb/008/013' (string)
access_control.type = 'camera' (string)
camera.access_method = 'ptp' (string)
camera.libgphoto2.name = 'USB PTP Class Camera' (string)
camera.libgphoto2.support = true (bool)
info.callouts.add = {'hal-acl-tool --add-device'} (string list)
info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
info.capabilities = {'camera', 'camera', 'camera', 'camera',
'access_control'} (string list)
info.category = 'camera' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial'
(string)
info.product = 'USB Imaging Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4a9_30ff_noserial_if0'
(string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-5/8-5:1.0'
(string)
usb.bus_number = 8 (0x8) (int)
usb.can_wake_up = false (bool)
usb.device_class = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.device_revision_bcd = 2 (0x2) (int)
usb.device_subclass = 0 (0x0) (int)
usb.interface.class = 6 (0x6) (int)
usb.interface.number = 0 (0x0) (int)
usb.interface.protocol = 1 (0x1) (int)
usb.interface.subclass = 1 (0x1) (int)
usb.is_self_powered = false (bool)
usb.linux.device_number = 13 (0xd) (int)
usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-5/8-5:1.0' (string)
usb.num_configurations = 1 (0x1) (int)
usb.num_ports = 0 (0x0) (int)
usb.product = 'USB Imaging Interface' (string)
usb.product_id = 12543 (0x30ff) (int)
usb.speed = 480.0 (480) (double)
usb.vendor = 'Canon, Inc.' (string)
usb.vendor_id = 1193 (0x4a9) (int)
usb.version = 2.0 (2) (double)
But it is not setting an ACL on /dev/bus/usb/008/013 like it is supposed to:
$ ls -l /dev/bus/usb/008/013
crw-rw-r-- 1 root root 189, 908 2009-04-18 10:14 /dev/bus/usb/008/013
$ getfacl /dev/bus/usb/008/013
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/008/013
# owner: root
# group: root
user::rw-
group::rw-
other::r--
--
Permissions error with USB PTP Camera prevents opening of camera in Hardy
https://bugs.launchpad.net/bugs/203402
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs