Hi
This is very basic, but I could not find it in the FAQ.
I have an Olympus 2100 UZ sitting on my USB bus, and if I use GPhoto2
as root I can successfully download pictures from it. If I try as a
user, I get :
*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Operation not permitted). Make sure no
other program or kernel module (i.e. dc2xx) is using the device and you
have read/write access to the device.
*** Error ('Could not claim the USB device') ***
I have the following USB modules loaded:
/lib/modules/2.4.17/kernel/drivers/usb/hid.o
/lib/modules/2.4.17/kernel/drivers/usb/scanner.o
/lib/modules/2.4.17/kernel/drivers/usb/usbdnet.o
(basic USB support is compiled inot the kernel and so does not appear
as a module).
When I plug the camera in I get the following in the syslog:
Jul 17 08:26:27 gododdin kernel: usb.c: kusbd: /sbin/hotplug add 8
Jul 17 08:26:27 gododdin /sbin/hotplug: arguments (usb) env
(PWD=/etc/hotplug DEVICE=/proc/bus/usb/001/008 ACTION=add DEBUG=kernel
OLDPWD=/ DEVFS=/proc/bus/usb
TYPE=255/255/255 SHLVL=1 HOME=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin
PRODUCT=7b4/100/100 _=/usr/bin/env)
Jul 17 08:26:27 gododdin /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Jul 17 08:26:27 gododdin /etc/hotplug/usb.agent: ... no modules for USB
product
7b4/100/100
lsusb gives:
Bus 001 Device 009: ID 07b4:0100 Olympus Optical Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x07b4 Olympus Optical Co., Ltd.
idProduct 0x0100
bcdDevice 1.00
iManufacturer 1 OLYMPU
iProduct 2 C-2100 Ultra Zoom
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
What do I need to do so that ordinary users (as opposed to just root)
can download pictures?
Cheers
Simon
--
[EMAIL PROTECTED] (Simon Brooke) http://www.jasmine.org.uk/~simon/
;; Women are from Venus. Men are from Mars. Lusers are from Uranus.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users