Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Aurelien Jarno wrote: It sounds ok to upload, but I make no promises about it getting in before seeing the code. :) I have just uploaded a new version to testing-proposed-update. Please find the changes between the current version in Sarge and this new one below. Oops, I probably missed to CC you on that one; I got a patch for libgphoto2 and it is now working fine with libusb 0.1.10. I'm really sorry for that (missing to copy you, not the patch). To release team: if this libusb change was only needed for libgphoto2 it doesn't to go to sarge. Regards, Frederic -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Frederic Peters a écrit : Aurelien Jarno wrote: Would you mind going back to 4KB blocks so we can hope for a working libgphoto2/libusb combination in Sarge ? I agree to do that in Sarge but not in Sid, as it would decrease the transfer rate of some devices by about 20%. For Sid the code has to be fixed in libgphoto2. Great; and then you can explain me how libusb should be called by libgphoto2 so I can fix it correctly in sid :) Actually I don't know exactly what to do. I have looked at to the backend code and everything seems ok, though I haven't looked very deep. The user interface of libusb has not changed in the latest versions, only the way to communicate with the kernel. If the backend is working with 4 kB blocks but not with 16 kB blocks, it looks like a buffer problem. For example the problem of the other backend was that it was trying to read more than 4 kB into a 4 kB buffer. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
On Tue, May 10, 2005 at 01:00:53AM -0700, Steve Langasek wrote: On Tue, May 10, 2005 at 09:27:52AM +0200, Frederic Peters wrote: Adalbert Dawid wrote: Package: libgphoto2-2 Version: 2.1.5-5.0 Followup-For: Bug #308290 Indeed, after installing the three debs everything works fine again! (Would be great if this bug could be eliminated before the Sarge release...) Aurelien, this is another camera that works with MAX_READ_WRITE set at 4KB but not at 16KB. This value really looks hardcoded, I can't find how libgphoto2 could fallback to a working value. Is there a way ? Would you mind going back to 4KB blocks so we can hope for a working libgphoto2/libusb combination in Sarge ? Release team, if we agree on that change, would you be ok with an upload to sarge ? It sounds ok to upload, but I make no promises about it getting in before seeing the code. :) I have just uploaded a new version to testing-proposed-update. Please find the changes between the current version in Sarge and this new one below. Bye, Aurelien diff -u libusb-0.1.10a/linux.c libusb-0.1.10a/linux.c --- libusb-0.1.10a/linux.c +++ libusb-0.1.10a/linux.c @@ -132,7 +132,7 @@ * Linux usbfs has a limit of 16KB for the URB interface. We use this now * to get better performance for USB 2.0 devices. */ -#define MAX_READ_WRITE (16 * 1024) +#define MAX_READ_WRITE (4 * 1024) int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout) -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Hi, Frederic Peters a écrit : Adalbert Dawid wrote: Package: libgphoto2-2 Version: 2.1.5-5.0 Followup-For: Bug #308290 Indeed, after installing the three debs everything works fine again! (Would be great if this bug could be eliminated before the Sarge release...) Aurelien, this is another camera that works with MAX_READ_WRITE set at 4KB but not at 16KB. This value really looks hardcoded, I can't find how libgphoto2 could fallback to a working value. Is there a way ? The USB devices don't see this kind of block size, they only see a block size of 64 or 512 bytes depending if they are USB 1.1 or USB 2.0 devices. The block size you are talking about is only the block size to dialog with the kernel. So it is not the camera which don't work with this block size, but rather the driver. Would you mind going back to 4KB blocks so we can hope for a working libgphoto2/libusb combination in Sarge ? I agree to do that in Sarge but not in Sid, as it would decrease the transfer rate of some devices by about 20%. For Sid the code has to be fixed in libgphoto2. Bye, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
On Tue, May 10, 2005 at 09:27:52AM +0200, Frederic Peters wrote: Adalbert Dawid wrote: Package: libgphoto2-2 Version: 2.1.5-5.0 Followup-For: Bug #308290 Indeed, after installing the three debs everything works fine again! (Would be great if this bug could be eliminated before the Sarge release...) Aurelien, this is another camera that works with MAX_READ_WRITE set at 4KB but not at 16KB. This value really looks hardcoded, I can't find how libgphoto2 could fallback to a working value. Is there a way ? Would you mind going back to 4KB blocks so we can hope for a working libgphoto2/libusb combination in Sarge ? Release team, if we agree on that change, would you be ok with an upload to sarge ? It sounds ok to upload, but I make no promises about it getting in before seeing the code. :) -- Steve Langasek postmodern programmer signature.asc Description: Digital signature
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Aurelien Jarno wrote: Would you mind going back to 4KB blocks so we can hope for a working libgphoto2/libusb combination in Sarge ? I agree to do that in Sarge but not in Sid, as it would decrease the transfer rate of some devices by about 20%. For Sid the code has to be fixed in libgphoto2. Great; and then you can explain me how libusb should be called by libgphoto2 so I can fix it correctly in sid :) Frederic -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Package: libgphoto2-2 Version: 2.1.5-4 Severity: important libgphoto2-2 fails to download avi-files from my Canon IXUS IIs. Though, for pics everything works fine. This bug happens independently from the used frontend (checked for gthumb, digikam and the command line tool gphoto2) and on two different machines, both running sarge. As a workaround I installed Ubunty Hoary on a free partition and there this bug does not appear. Here is the output of gphoto: --- $ env LANG=C gphoto2 --get-file 41 Downloading 'MVI_1142.AVI' from folder '/store_00010001/DCIM/111CANON'... gp_port_read: Resource temporarily unavailable *** Error *** PTP I/O error *** Error (-1: 'Unspecified error') *** (some info telling me how to run the debug mode...) --- After that, the camera is not accessible anymore (not when trying to download pics, too) until I switch it off and on again. For the case you are interested in the debug output, plase tell me (it is pretty longish...) regards, Adalbert -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages libgphoto2-2 depends on: ii adduser 3.63 Add and remove users and groups ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libexif10 0.6.9-6 library to parse EXIF files ii libgphoto2-port02.1.5-4 gphoto2 digital camera port librar ii libjpeg62 6b-9 The Independent JPEG Group's JPEG -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Adalbert Dawid wrote: Package: libgphoto2-2 Version: 2.1.5-4 Severity: important libgphoto2-2 fails to download avi-files from my Canon IXUS IIs. Though, for pics everything works fine. This bug happens independently from the used frontend (checked for gthumb, digikam and the command line tool gphoto2) and on two different machines, both running sarge. As a workaround I installed Ubunty Hoary on a free partition and there this bug does not appear. I thought it had already been reported but can't find it; nevertheless this is a known bug for which I don't have an answer yet. Debian and Ubuntu packages of libgphoto2 share the same code; it may be related to libusb (0.1.8 in Ubuntu and 0.1.10 in Debian), could you try to install the packages (libgphoto2-2, libgphoto2-port0 and libusb-0.1-4) from http://people.debian.org/~fpeters/libgphoto2/libusb-0.1.8/ and report success or failure ? Thanks, Frederic -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#308290: libgphoto2-2: fails to import avis from Canon IXUS IIs
Package: libgphoto2-2 Version: 2.1.5-5.0 Followup-For: Bug #308290 Indeed, after installing the three debs everything works fine again! (Would be great if this bug could be eliminated before the Sarge release...) Regards, Adalbert - System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages libgphoto2-2 depends on: ii adduser 3.63 Add and remove users and groups ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libexif10 0.6.9-6 library to parse EXIF files ii libgphoto2-port02.1.5-5.0gphoto2 digital camera port librar ii libjpeg62 6b-9 The Independent JPEG Group's JPEG -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]