On Fri, 16 Sep 2005, Leslie Katz wrote:

> Alan,
> 
> I've been wasting your time. I had not edited grub.conf correctly. I've
> now done it correctly and have set out below the steps I've taken and
> the outcome:
> 
> 1. output of dmesg after booting up with no devices plugged into any
> usb port and then running lsusb -v:

...

> 2. additional dmesg output found after DSC plugged in:
> 
> usb 3-2: new full speed USB device using uhci_hcd and address 2
> 
> 3. after running gphoto2 --auto-detect and then gphoto2 --abilities and
> getting appropriate output each time, found no additional dmesg output
> 
> 4. after running gphoto2 -P and getting following usual error message,
> 
> *** Error ***
> An error occurred in the io-library ('Error updating the port
> settings'): Could not release interface 0 (Invalid argument).
> *** Error (-37: 'Error updating the port settings') ***
> 
> 
> found additional dmesg output as follows:
> 
> usb 3-2: usbdev_ioctl: GETDRIVER
> usb 3-2: usbdev_ioctl: CLAIMINTERFACE
> usb 3-2: usbdev_ioctl: RELEASEINTERFACE
> usb 3-2: usbdev_ioctl: SETCONFIGURATION
> usb 3-2: usbdev_ioctl: RELEASEINTERFACE
> usb 3-2: usbdev_ioctl: RELEASEINTERFACE
> 
> I can only apologise for not following your instructions properly
> before.
> 
> I hope the above information discloses what's been going wrong.

It's a pretty good indicator.  At the end there are two RELEASEINTERFACE 
calls with no matching CLAIMINTERFACE calls beforehand.  I still haven't 
had time to get the libgphoto2 source, but this tells me where in it to 
look.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to