Frederic Peters wrote, on 08/06/07 02:33:
Hello,


Arthur Marsh wrote:

Package: libgphoto2-2
Version: 2.3.1-5
Severity: important


After upgrading to version 2.3.1-5 (normal sid updates), I no longer have the permissions for the /proc/bus/usb/003/nnn file changed from root,root for a Canon IXUS V digital still camera being plugged in.

Do you have any memory of latest working version ?  (was it a 2.3
serie ?)


I checked my dpkg logs and my last photo imports - 18 May 2007 worked
but tonight didn't until I manually set permissions.

libgphoto2-2 didn't get upgraded in that period, but gthumb did. I was
also running kernel 2.6.21 on 18 May 2007, now running 2.6.22-rc4.

I downgraded gthumb to testing 3:2.8.0-1, but still had the error message:

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 (such as sdc2xx, stv680, spca50x) is
using the device and you have read/write access to the device.

ls -al /proc/bus/usb/003
total 0
dr-xr-xr-x 2 root root  0 2007-06-07 19:02 .
drwxr-xr-x 6 root root  0 2007-06-07 19:01 ..
-rw-r--r-- 1 root root 43 2007-06-07 19:02 001
-rw-r--r-- 1 root root 57 2007-06-08 03:07 021

/proc/bus/usb/devices reports:

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 21 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=32 #Cfgs=  1
P:  Vendor=04a9 ProdID=3052 Rev= 0.01
S:  Manufacturer=Canon Inc.
S:  Product=DIGITAL IXUS v
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=96ms

and lsusb reports:

Bus 004 Device 001: ID 0000:0000
Bus 003 Device 021: ID 04a9:3052 Canon, Inc. Digital IXUS V
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 062a:0000 Creative Labs
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

I'll try rebooting to an earlier kernel and see if that helps.

[back after a few reboots]

I don't have many kernels installed at the moment:

/boot/config-2.6.21-1-686  /boot/config-2.6.22-rc3-686
/boot/config-2.6.22-rc3    /boot/config-2.6.22-rc4

but kernel 2.6.21-1-686 (stock Debian unstable) allowed gthumb to work, but later kernels didn't.

This underscores a problem earlier that it appeared that the udev scripts for the camera weren't being called at all with the later kernels.

If you have any suggestions to pinpoint what is different between 2.6.21 and later kernels, or even to verify what scripts are being run or not run, I'm prepared to run some more tests.

It's just bad having this kind of thing breaking relatively frequently without having some automated test procedure to catch when things break.

Regards,

Arthur.


Arthur.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to