From owner-freebsd-usb@FreeBSD.ORG Sat Oct 12 17:59:37 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 04FABB90 for ; Sat, 12 Oct 2013 17:59:37 +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 A5AFE2964 for ; Sat, 12 Oct 2013 17:59:36 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1VV3TI-0004zU-Rw for usb@freebsd.org; Sun, 13 Oct 2013 00:59:29 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r9CHxmkP004620 for ; Sun, 13 Oct 2013 00:59:58 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r9CHxh24004599 for usb@freebsd.org; Sun, 13 Oct 2013 00:59:43 +0700 (NOVT) (envelope-from danfe) Date: Sun, 13 Oct 2013 00:59:43 +0700 From: Alexey Dokuchaev To: usb@freebsd.org Subject: iPhone 4(S) access via gphoto2 Message-ID: <20131012175942.GA2554@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 17:59:37 -0000 Hi there, Today I was asked whether it is possible to transfer photos from an iPhone 4(S) in some non-standard way (since iTunes or whatever did not work for some reason). I immediately decided to give FreeBSD a try. ;-) Quick googling revealed that graphics/gphoto2 should be able to help: all it takes is simply plug the phone and issue command "gphoto2 -L" to see all the photos. Unfortunately, it did work for only one iPhone out of three I tried: the one with product id 0x12a0. Attach log message: root: Unknown USB device: vendor 0x05ac product 0x12a0 bus uhub4 kernel: ugen4.2: at usbus4 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 Doing "gphoto2 -L" yielded pretty much void results for these: $ env LANG=C gphoto2 -L There is no file in folder '/'. There is no file in folder '/store_00010001'. There is no file in folder '/store_00010001/DCIM'. $ _ My system is 8.4-STABLE, around SVN r253201. Could it be that ugen(4) is missing some vital quirk for 0x1297 iPhones? Any further pointers how can I make all iPhones accessible with gphoto2? ./danfe