Re: iPhone 4(S) access via gphoto2

2013-10-13 Thread Alexey Dokuchaev
On Sun, Oct 13, 2013 at 08:50:53AM +0200, Hans Petter Selasky wrote: > iPhones sometimes have multiple configurations. > > usbconfig -d X.Y dump_device_desc Dumping desc produced almost identical files (the only differences were in idProduct and iSerialNumber, quite expectedly). > usbconfig -d X

Re: iPhone 4(S) access via gphoto2

2013-10-13 Thread Hans Petter Selasky
On 10/13/13 10:22, Alexey Dokuchaev wrote: On Sun, Oct 13, 2013 at 08:50:53AM +0200, Hans Petter Selasky wrote: iPhones sometimes have multiple configurations. usbconfig -d X.Y dump_device_desc Dumping desc produced almost identical files (the only differences were in idProduct and iSerialNum

Re: iPhone 4(S) access via gphoto2

2013-10-13 Thread Alexey Dokuchaev
On Sun, Oct 13, 2013 at 10:37:58AM +0200, Hans Petter Selasky wrote: > You might want to watch "usbdump -i usbusX -f Y -vvv -s 65536" > > while running the config descriptor dump for the broken device. Look for > non-zero ERR= Not much, only occasional timeouts (probably after I repeated usbconfi

Re: iPhone 4(S) access via gphoto2

2013-10-13 Thread Hans Petter Selasky
On 10/13/13 11:45, Alexey Dokuchaev wrote: # usbdump -i usbus4 -f 2 -vvv -s 65536 | grep ERR= | grep -v ERR=0 17:04:17.306156 usbus4.2 DONE-CTRL-EP=0080,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT Could you get the previous SUBMIT packet for this TIMEOUT, including verbose data dump. --HPS

Re: iPhone 4(S) access via gphoto2

2013-10-13 Thread Hans Petter Selasky
Hi, Your iPhone times out when reading the configuration descriptor: 19:05:57.365047 usbus4.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 80 06 02 02 00 00 09 00 -- -- -- -- -- -- -- -- || frame[1] READ 9 bytes flags 0x10 status 0xea1a