From: miclass <mi...@gm...> - 2012-02-25 17:33:28
|
Dear all, I have a pc (Alix 3D3 to be precise) running Debian with a Nikon Coolpix 5400 plugged, the final purpose is to have a webcam for a Ski location in Italy. Currently we are experiencing an issue with the cam and we are not able to put it in production properly. The issue appears after some hours of correct functioning usually, and it is not recoverable through reboot of the pc, the only solution is to switch off/on the cam. I send as attachments two logs captured with --debug option, the first one captured in the session when the problem appears, the second one after the problem as appeared, with the cam no more responding. http://old.nabble.com/file/p33391435/log_20120219_10.00.01.txt log_20120219_10.00.01.txt http://old.nabble.com/file/p33391435/log_20120219_10.10.01.txt log_20120219_10.10.01.txt Basically, during communication with the cam I get: 0.225382 ptp2/ptp_usb_getdata(2): reading data 0.225423 ptp2/ptp_usb_getpacket(2): getting next ptp packet 0.225464 gphoto2-port(2): Lettura di 512=0x200 byte dalla porta... 20.226753 ptp2/usbread(2): Clearing halt on IN EP and retrying once. 20.226901 gphoto2-port(2): Pulitura halt... 20.227743 ptp2/usb_getdata(2): request code 0x1007 getting data error 0x02ff 20.227846 gphoto2-port(2): Scrittura di 20=0x14 byte sulla porta... 20.227915 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows: 0000 14 00 00 00 01 00 0e 10-03 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 - .... 20.229737 ptp2/ptp_usb_getresp(2): reading response 20.229780 ptp2/ptp_usb_getpacket(2): getting next ptp packet 20.229822 gphoto2-port(2): Lettura di 512=0x200 byte dalla porta... 40.231113 ptp2/usbread(2): Clearing halt on IN EP and retrying once. 40.231244 gphoto2-port(2): Pulitura halt... 40.232100 ptp2/usb_getresp(0): request code 0x100e getting resp error 0x02ff 40.232232 context(0): PTP Errore di I/O 40.232407 gphoto2-camera(2): Operation failed! 40.234241 gp-camera(2): Freeing camera... And if I try to communicated again with the cam I always get: 8.212362 ptp2/usb_sendreq(2): request code 0x1002 sending req result -35 8.212459 ptp2/camera_init(0): ptp_opensession returns 2ff 8.212506 ptp2/device_reset_request(2): sending reset 8.212560 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)... 8.212643 gphoto2-port(3): No hexdump (NULL buffer) 16.211433 ptp(2): PTP: Opening session 16.211514 gphoto2-port(2): Scrittura di 16=0x10 byte sulla porta... 16.211583 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows: 0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................ In the dmesg I get plenty of these messages: [42630.708408] usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd gphoto2 rqt 33 rq 102 len 0 ret -110 This is the version of gphoto2 installed: # gphoto2 --version gphoto2 2.4.11 Copyright (c) 2000-2011 Lutz Mueller e altri gphoto2 è distribuito senza ALCUNA GARANZIA, negli estremi permessi dalla legge. à possibile distribuire copie di gphoto2 secondo i termini della GNU General Public License. Per ulteriori informazioni, consultare il file COPYING. Questa versione di gphoto2 utilizza il seguente software: gphoto2 2.4.11 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.4.11 gcc, ltdl, EXIF libgphoto2_port 0.8.0 gcc, ltdl, USB, serial without locking Any idea on how to solve this issue? Please let me know if you need any additional information / check / debug. Thank you very much. -miclass -- View this message in context: http://old.nabble.com/GPhoto2-and-Nikon-Coolpix-5400---PTP-error-unspecified-tp33391435p33391435.html Sent from the gphoto-user mailing list archive at Nabble.com. |