From owner-freebsd-usb@FreeBSD.ORG Sat Oct 12 19:00:59 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA0C641F for ; Sat, 12 Oct 2013 19:00:59 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 879992C24 for ; Sat, 12 Oct 2013 19:00:59 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1VV4Qi-0005zw-Hj for usb@freebsd.org; Sun, 13 Oct 2013 02:00:53 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r9CJ1Cvl018834 for ; Sun, 13 Oct 2013 02:01:22 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r9CJ17Pd018823 for usb@freebsd.org; Sun, 13 Oct 2013 02:01:07 +0700 (NOVT) (envelope-from danfe) Date: Sun, 13 Oct 2013 02:01:07 +0700 From: Alexey Dokuchaev To: usb@freebsd.org Subject: Re: iPhone 4(S) access via gphoto2 Message-ID: <20131012190107.GA15100@regency.nsu.ru> References: <20131012175942.GA2554@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131012175942.GA2554@regency.nsu.ru> User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 19:00:59 -0000 On Sun, Oct 13, 2013 at 12:59:43AM +0700, Alexey Dokuchaev wrote: > Two other iPhones have prodid of 0x1297, and attach messages indicate some > problem: > > kernel: usbus4: port reset timeout > kernel: uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT > kernel: uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 > root: Unknown USB device: vendor 0x05ac product 0x1297 bus uhub4 > kernel: ugen4.2: at usbus4 Perhaps this could give some clues: gphoto2 debug output excerpts: For "good" iPhone: ... gphoto2-port-usb(1): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... gphoto2-port-usb(1): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... gphoto2-port-usb(1): Found USB class device (class 0x6, subclass, 0x1, protocol 0x1). gphoto2-port-usb(2): inep to look for is 81 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 05ac, idProduct 12a0, inep 81, outep 02, intep 83 gphoto2-abilities-list.c(2): Found 'USB PTP Class Camera' (0x6,0x1,0x1) ... For "bad" iPhones: ... gphoto2-port-usb(1): Looking for USB device (vendor 0x5ac, product 0x1297)... found. gphoto2-port-usb(2): inep to look for is 81 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 gphoto2-abilities-list.c(2): Found 'Apple iPhone 4 (PTP mode)' (0x5ac,0x1297) ... HTH, ./danfe