天上天下唯我独尊!!(FreeBSD) - iPhoneとFreeBSDの連系を考える(4)
前回は、FAMのところまでたどり着いたのですが、gtkpodを起動してもiPhoneのフォルダは見えるけど、音楽フォルダの中身は見えないと言うところまでだったと思います。
但し、PTP接続であれば、写真を取り込む事も出来るというところまでは確認出来ました。


で、もう少し基本的なところを抑える必要があると思って、再度確認です。

1.usbconfig


dreamcraft2# usbconfig
ugen7.2: at usbus7, cfg=3 md=HOST spd=HIGH (480Mbps) pwr=ON


上記のとおり、ugen7.2で認識しているのが分かります。当然、dmesgでも認識されています。

2.usbmuxd

usage: usbmuxd [options]
-h|--help Print this message. -v|--verbose Be verbose (use twice or more to increase). -f|--foreground Do not daemonize (implies one -v). -U|--user USER Change to this user after startup (needs usb privileges). -u|--udev Run in udev operation mode. -x|--exit Tell a running instance to exit if there are no devices connected (must be in udev mode). -X|--force-exit Tell a running instance to exit, even if there are still devices connected (always works).

3. libplist library、libimobiledevice library、ifuseのインストール

で、ifuseを使ってマウントを試してみるが、結果はNG。

dreamcraft2# ifuse /media/iphone
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.
dreamcraft2


4.JB(Jail Break)が必要

FreeBSD-questionにこんな記事がありました。
To be able to mount your iPhone, you're going to have to essentially void the warranty and risk turning it into a pretty paperweight. It sucks, but that's the way it is. But at least you can charge your iPhone using FreeBSD.


If using libgpod through gtkpod only requires the iPhone be
jailbroken, the above is not true. Jailbreaking your iPhone does not
void the warranty, and there is very little chance of bricking it by
just jailbreaking it. Bricking used to be an issue when mucking with
the radio firmware, but jailbreaking doesn't touch that stuff.

To jailbreak an iPhone, check out http://ziphone.org/

You will need either a Windows or Mac to do the Jailbreak though.



どうも、iPhoneをgtkpodで使いたければ、Jail break(脱獄)が必要なようです。
やはり、思ったとおりの結末。


と、言うことで音楽は諦めます。写真は大丈夫です。
あと、カレンダーはGoogle経由によりKontactで取り込みます。