「IOS」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(同期)
5行目: 5行目:
 
[[fr:iPod]]
 
[[fr:iPod]]
 
{{Related articles start}}
 
{{Related articles start}}
{{Related3|Audiobook|オーディオブック}}
+
{{Related|オーディオブック}}
 
{{Related|iOS のアップグレード}}
 
{{Related|iOS のアップグレード}}
 
{{Related articles end}}
 
{{Related articles end}}
54行目: 54行目:
 
done
 
done
   
And use {{ic|cp -a}} or {{ic|rsync -t}} in order to preserve the file's date & time.
+
ファイルの日付と時刻が変わらないように {{ic|cp -a}} あるいは {{ic|rsync -t}} を使ってください。
   
 
=== 写真をインポートして削除する ===
 
=== 写真をインポートして削除する ===
73行目: 73行目:
   
 
==== DVD to iPod ====
 
==== DVD to iPod ====
'''Get from:''' {{AUR|podencoder}}<br>
+
'''入手先:''' {{AUR|podencoder}}<br>
'''Depends on:''' aur/gpac mplayer
+
'''依存:''' aur/gpac mplayer
   
  +
詳しいヘルプがついているので、簡単に使えます。
Has detailed help, and is fairly self explanatory.
 
   
 
もしくは [[光学ディスクドライブ#DVD|DVD リッピング]]に書かれている方法を使って、iPod が対応しているフォーマットに変換することもできます。
 
もしくは [[光学ディスクドライブ#DVD|DVD リッピング]]に書かれている方法を使って、iPod が対応しているフォーマットに変換することもできます。
   
 
==== Video File to iPod ====
 
==== Video File to iPod ====
'''Get from:''' http://thomer.com/howtos/mp4ize<br>
+
'''入手先:''' http://thomer.com/howtos/mp4ize<br>
'''Depends on:''' {{pkg|mplayer}}
+
'''依存:''' {{pkg|mplayer}}
   
 
iPod や iPhone に対応する mp4 に動画ファイルを変換する Ruby スクリプトです。
 
iPod や iPhone に対応する mp4 に動画ファイルを変換する Ruby スクリプトです。
97行目: 97行目:
 
公式リポジトリから {{pkg|mplayer}} パッケージを[[インストール]]してください。
 
公式リポジトリから {{pkg|mplayer}} パッケージを[[インストール]]してください。
   
  +
Mencoder の設定は色々あり、iPod で再生できる動画ファイルを作り上げることができます。{{ic|man mencoder}} を参照してください。MPlayer のオプションがエンコーディングにも影響します。
Has ''extremely'' comprehensive configuration support, which will be able to spit out iPod-compatible video files. Check out {{ic|man mencoder}}; a lot of MPlayer opts will also affect encoding.
 
   
 
基本的なガイドは [[MEncoder]] を見てください。
 
基本的なガイドは [[MEncoder]] を見てください。
131行目: 131行目:
 
一つ目は FUSE ファイルシステム SSHFS でデバイスをマウントする方法です。jailbreak をする必要があります。最近の iOS バージョンなら [http://www.ijailbreak.com/how-to/how-to-jailbreak-iphone-4s-absinthe-linux/ Absinthe] などを使うことで jailbreak をすることが出来ます。jailbreak した後、デバイスに SSH サーバーをインストールする必要があります。SSH サーバーのインストールは Cydia プログラムによって行うことが可能で、Cydia は jailbreak するときにデバイスにインストールされます。
 
一つ目は FUSE ファイルシステム SSHFS でデバイスをマウントする方法です。jailbreak をする必要があります。最近の iOS バージョンなら [http://www.ijailbreak.com/how-to/how-to-jailbreak-iphone-4s-absinthe-linux/ Absinthe] などを使うことで jailbreak をすることが出来ます。jailbreak した後、デバイスに SSH サーバーをインストールする必要があります。SSH サーバーのインストールは Cydia プログラムによって行うことが可能で、Cydia は jailbreak するときにデバイスにインストールされます。
   
もう一つの方法は [http://www.libimobiledevice.org/ iFuse] という名前の FUSE ファイルシステムを使う方法で、通常どおりに、USB でデバイスをマウントすることができるようになります。この方法はハックを必要とせず、大抵の場合は SSHFS による方法よりも簡単ですが、iFuse ソフトウェアはまだ開発初期段階であるということに注意する必要があります。ただし、最近は安定して使えるようになってきてはいます。
+
もう一つの方法は {{Pkg|ifuse}} という名前の FUSE ファイルシステムを使う方法で、通常どおりに、USB でデバイスをマウントすることができるようになります。この方法はハックを必要とせず、大抵の場合は SSHFS による方法よりも簡単ですが、iFuse ソフトウェアはまだ開発初期段階であるということに注意する必要があります。ただし、最近は安定して使えるようになってきてはいます。
   
{{Note|The current releases of {{pkg|libgpod}} and {{pkg|gtkpod}} support the iPod Touch and the iPhone OS 3.1.x up to iOS 4.3.x. It is possible to transfer pictures and music without limitations.}}
+
{{Note|最新リリースの {{pkg|libgpod}} {{pkg|gtkpod}} iPod Touch iPhone OS 3.1.x から iOS 4.3.x までサポートしています。制限なく画像や音楽を転送することが可能です。}}
   
 
次のページを参照: [https://help.ubuntu.com/community/PortableDevices/iPhone]
 
次のページを参照: [https://help.ubuntu.com/community/PortableDevices/iPhone]
   
=== Making Friends with the Device ===
+
=== 使用方法 ===
   
 
==== SSHFS ====
 
==== SSHFS ====
160行目: 160行目:
   
 
==== iFuse ====
 
==== iFuse ====
  +
{{Note|iPad/iPad2 で画面にパスワードをかけている場合、USB インターフェイスからアクセスするにはロックを解除する必要があります。}}
{{Note|If using an iPad/iPad2 that has a screen password, one must unlock the device to gain access through the USB interface.}}
 
{{Note|The current version of ifuse is unable to mount an iPad2 using iOS v5.0.1. The git version of libimobiledevice in AUR works with an iPod using iOS v5.1.1}}
 
   
 
{{Pkg|usbmuxd}}, {{Pkg|libplist}}, {{Pkg|libimobiledevice}}, {{Pkg|ifuse}} をインストールする必要があります。libimobiledevice は ifuse と usbmuxd から依存されているので、次のコマンドで4つのパッケージがインストールできます:
 
{{Pkg|usbmuxd}}, {{Pkg|libplist}}, {{Pkg|libimobiledevice}}, {{Pkg|ifuse}} をインストールする必要があります。libimobiledevice は ifuse と usbmuxd から依存されているので、次のコマンドで4つのパッケージがインストールできます:
 
# pacman -S ifuse usbmuxd libplist
 
# pacman -S ifuse usbmuxd libplist
  +
{{ic|modprobe fuse}} を実行して fuse モジュールをロードしてください。{{ic|/etc/modules-load.d/}} から既にロードしている場合は要りません。
Now make sure that you have the fuse module loaded by doing {{ic|modprobe fuse}}, assuming that you do not have it in {{ic|/etc/rc.conf}} already.
 
   
  +
以下のコマンドでデバイスがマウントできます (<mountpoint> はマウントしたいディレクトリに置き換えてください)。接続する前にロックを解除するようにしてください。ロックがかかっていると認識されません。
You can now mount your device. Make sure it is unlocked before you plug it in, or it won't be recognized.
 
 
# ifuse <mountpoint>
 
# ifuse <mountpoint>
  +
マウントしたら、適当な同期ソフトウェアを使ってマウントポイントを指定することでファイルを転送できるはずです。
The mountpoint field is where you want to have it mounted.
 
   
  +
デバイスをアンマウントするには:
And you're done! You should be able to point your syncing software of choice to the mount point and be able to transfer files.
 
 
To unmount your device:
 
 
# umount <mountpoint>
 
# umount <mountpoint>
   
 
==== HashInfo ファイルの生成 ====
 
==== HashInfo ファイルの生成 ====
  +
iTunes を使ってデバイスを同期したことがある場合、HashInfo ファイルが存在しないというエラーメッセージが表示されます。MacOS か Windows の iTunes から HashInfo ファイルを作成 (iPod を接続) することで問題は解決できます。もしくは、自分でファイルを作成する方法もあります。手順は [http://ihash.marcansoft.com/ こちらのウェブサイト] に記載があります。
If you have not previously synced your device using iTunes specifically, you will get error messages telling you that the HashInfo file is missing. This can be fixed by making an iTunes installation on MacOS or Windows create it (by plugging in the iPod there). Alternatively you can create this file yourself, instructions can be found on [http://ihash.marcansoft.com/ this website].
 
   
 
=== データベースの難読化解除 ===
 
=== データベースの難読化解除 ===
264行目: 261行目:
 
== iPod 管理アプリ ==
 
== iPod 管理アプリ ==
 
*[http://wiki.gnome.org/Apps/Rhythmbox Rhythmbox]
 
*[http://wiki.gnome.org/Apps/Rhythmbox Rhythmbox]
**GTK インターフェイス ([[GNOME]])
+
**GTK インターフェイス ([[GNOME]])
 
**公式の GNOME プロジェクトに入っています。
 
**公式の GNOME プロジェクトに入っています。
 
**高速で軽量なインターフェイス。
 
**高速で軽量なインターフェイス。
**コンピュータと iPod の音楽を管理
+
**コンピュータと iPod の音楽を管理
  +
**ポッドキャストやビデオキャプチャのダウンロードやストリーミング。
**Download or stream podcasts and video podcasts
 
  +
**曲やポッドキャストの再生待ち。
**Queue up songs and podcasts
 
**Last.fm integration
+
**Last.fm の統合。
  +
**インターネットラジオの視聴。
**Live radio stations
 
**Jamendo and Magnatune support
+
**Jamendo Magnatune のサポート。
  +
**音楽 CD の書き込み。
**Audio CD burning
 
  +
**アルバムカバーの表示。
**Album cover display
 
  +
**歌詞の表示。
**Song lyrics display
 
**DAAP sharing
+
**DAAP 共有。
   
 
*[http://banshee.fm Banshee]
 
*[http://banshee.fm Banshee]
**GTK インターフェイス (GNOME)
+
**GTK インターフェイス (GNOME)
**Mono を使っているため、やや重く、rhythmbox よりもリソースを消費します
+
**Mono を使っているため、やや重く、rhythmbox よりもリソースを消費します
  +
**デバイスの同期: 音楽や動画を Android, iPod などに同期、あるいはメディアをインポート。
**Device Sync: Sync your music and videos to your Android, iPod, or other device - or import its media
 
  +
**ポッドキャスト: ポッドキャストやビデオキャストをダウンロード・ストリーミング。
**Podcasts: Download or stream podcasts and video podcasts
 
  +
**プレイキュー: 曲や動画、ポッドキャストを再生待ちに追加して自動で DJ。
**Play Queue: Queue up songs, videos, and podcasts, or let the Auto DJ take over
 
  +
**シャッフルモード: アーティストやアルバム、レーティング、あるいは曲の雰囲気などでシャッフル (あるいは Auto DJ)。
**Shuffle Modes: Shuffle (or Auto DJ) by artist, album, rating, or even songs' acoustic similarity
 
  +
**アルバムアート: 自動的にアートワークを取得。
**Album Art: Artwork is automatically fetched as you listen
 
  +
**強力な検索機能、スマートプレイリスト: 聞きたい曲をすぐに・正確に検索。
**Powerful Search, Smart Playlists: Find exactly what you want, fast
 
  +
**動画のサポート: Banshee の機能は全て動画でも活用できる。
**Video Support: All the power of Banshee, now for your videos
 
   
 
*[http://www.yamipod.com Yamipod]
 
*[http://www.yamipod.com Yamipod]
**GTK インターフェイス (GNOME)
+
**GTK インターフェイス (GNOME)
  +
**iPod の音楽を管理するだけの超軽量なアプリケーション (コンピュータの音楽は管理できない)。
**super lightweight application for managing ONLY music on your iPod (not on your computer)
 
  +
**簡単なレーティングの編集。
**easy ratings edit
 
**PC から iPod に同期
+
**PC から iPod に同期
  +
**ニュース RSS やポッドキャストを iPod にアップロード。
**News RSS and podcasts to iPod upload
 
**Last.fm サポート
+
**Last.fm サポート
**playlist サポート
+
**playlist サポート
   
 
*[http://www.gtkpod.org gtkpod]
 
*[http://www.gtkpod.org gtkpod]
 
**GTK インターフェイス (GNOME)
 
**GTK インターフェイス (GNOME)
  +
**既存の iTunesDB を読み込む (iPod の再生回数や評価、On-The-Go プレイリストなどをインポート)。
**Read your existing iTunesDB (i.e. import the existing contents of your iPod including play counts, ratings and on-the-go playlists).
 
  +
**MP3, WAV, M4A (保護されてない AAC), M4B (オーディオブック), ポッドキャスト, 動画ファイル (単体ファイル, ディレクトリ, プレイリスト) を iPod に追加。'bashpodder' や 'gpodder' などのポッドキャストをダウンロードするにはサードパーティの製品が必要です。
**Add MP3, WAV, M4A (non-protected AAC), M4B (audio book), podcasts, and various video files (single files, directories or existing playlists) to the **iPod. You need a third party product to download podcasts, like 'bashpodder' or 'gpodder'
 
  +
**カバーアートの表示・追加・修正。
**View, add and modify Cover Art
 
  +
**ローカルデータベースに曲を全て追加して、アルバムやアーティスト、あるいはジャンルでハードディスクの中身を閲覧。トラックは iPod/Shuffle に簡単にドラッグできます。
**Browse the contents of your local hard disk by album/artist/genre by adding all your songs to the 'local' database. From there the tracks can be **dragged over to the iPod/Shuffle easily.
 
  +
**プレイリストの作成・修正、スマートプレイリスト。
**Create and modify playlists, including smart playlists.
 
  +
**ID3 タグのエンコーディング文字セットを選択できます。デフォルトではロケールの設定が使われます。
**You can choose the charset the ID3 tags are encoded in from within gtkpod. The default is the charset currently used by your locale setting.
 
  +
**テンプレートを指定することでファイル名からタグ情報を取得 (アーティスト, アルバム, 曲名...)。
**Extract tag information (artist, album, title...) from the filename if you supply a template.
 
  +
**曲を追加する際に重複を検出 (任意)。
**Detect duplicates when adding songs (optional).
 
  +
**iPod からトラックを削除・エクスポート。
**Remove and export tracks from your iPod.
 
  +
**ID3 タグの修正 -- 元のファイルでも変更されます (任意)。
**Modify ID3 tags -- changes are also updated in the original file (optional).
 
  +
**ファイルの ID3 タグを戻す (元のファイルのタグを変更した場合)。
**Refresh ID3 tags from file (if you have changed the tags in the original file).
 
  +
**ディレクトリの同期。
**Sync directories.
 
**Normalize the volume of your tracks (uses mp3gain or the replay-gain tag)
+
**トラックの音量のノーマライゼーション (mp3gain replay-gain タグを使用)
  +
**iTunesDB を更新して iPod に追加した曲を書き出す。
**Write the updated iTunesDB and added songs to your iPod.
 
  +
**オフラインでも動作し後から iPod とプレイリストや曲を同期できます。
**Work offline and synchronize your new playlists / songs with the iPod at a later time.
 
**Export your korganizer/kaddressbook/Thunderbird/evocalendar/evolution/webcalendar... data to the iPod (scripts for other programs can be added).
+
**korganizer/kaddressbook/Thunderbird/evocalendar/evolution/webcalendar... などのデータを iPod にエクスポート (他のプログラムのスクリプトを追加できます)
   
 
*[http://www.floola.com Floola]
 
*[http://www.floola.com Floola]
**GTK インターフェイス (GNOME)
+
**GTK インターフェイス (GNOME)
   
 
*[http://amarok.kde.org/ Amarok]
 
*[http://amarok.kde.org/ Amarok]
**KDE/qt インターフェイス
+
**KDE/qt インターフェイス
   
 
*[http://qpod.sourceforge.net qPod]
 
*[http://qpod.sourceforge.net qPod]
**KDE/qt インターフェイス
+
**KDE/qt インターフェイス
**GNUpod のフロントエンド
+
**GNUpod のフロントエンド
   
 
*[http://www.gnu.org/software/gnupod/ GNUpod]
 
*[http://www.gnu.org/software/gnupod/ GNUpod]
**コマンドラインのみ
+
**コマンドラインのみ
   
 
*[http://www.jakpod.de/ jakpod]
 
*[http://www.jakpod.de/ jakpod]
 
** JakPod は Java で書かれており、音楽や動画ファイルを iPod にコピーすることができます。
 
** JakPod は Java で書かれており、音楽や動画ファイルを iPod にコピーすることができます。
** 第6世代 iPod Nano サポート
+
** 第6世代 iPod Nano サポート
 
** {{AUR|jakpod}}
 
** {{AUR|jakpod}}
   

2016年2月29日 (月) 20:45時点における版

関連記事

この記事では Arch Linux で idevice を使用する方法を説明します。

必要なパッケージ

ThunarGNOME Files で iOS デバイスを扱うには、gvfs-afcusbmuxd をインストールして下さい。インストール後 X を再起動します。それで Thunar や Files に iOS デバイスが表示されるはずです。KDE のファイルマネージャではテストしていません。

ノート: 全ての依存パッケージは gvfs-afc をインストールする際に同時にインストールされます。

iPod のマウントポイントの変更

伝統的に iPod は vfat ファイルシステム (稀に hfsplus) が入っている普通の USB ストレージデバイスと同じようにアクセスすることができます。詳しい説明はUSB ストレージデバイスの記事を見て下さい。

udisks2 が動作している場合、接続された iPod は /run/media/$USER/iPod name にマウントされます (古い udisks は /media/<iPod name> を使います)。

iPod のボリュームラベルが長くて、空白や大文字・小文字が混じっていると、不便なことがあります。dosfstools パッケージの dosfslabel を使うことでボリュームを簡単に好都合なように変更することが可能です:

  • 現在のボリュームラベルを取得・確認:
# dosfslabel /dev/sdXY
  • 新しいボリュームラベルを設定:
# dosfslabel /dev/sdXY ArchPod
  • デバイスをアンマウント:
$ udisksctl unmount -b /dev/sdXY
  • もう一度マウントしなおす:
$ udisksctl mount -b /dev/sdXY

/dev/sdxx は iPod の現在のデバイスノードに置き換えてください。

動画や写真のインポート

通常は <mountpoint>/DCIM/100APPLE で動画と写真の両方が見つかります。

HTML5 動画

ffmpeg2theora を使って MOV ファイルを OGV などの HTML5 動画フォーマットに変換したいということもあるでしょう。作成日のメタデータは変換された動画に含まれないので、以下のようなスクリプトを使う必要があります:

   find -name "*.MOV" | while read mov
   do
       d=$(gst-discoverer-0.10 -v $mov | awk '/datetime:/{print $2}' | tr -d \")
       base=${mov%.*}
       if test -f $base.ogv
       then
               touch -d${d} $base.ogv
               ls -l $base.ogv
       else
               echo $base.ogv missing
       fi
   done

ファイルの日付と時刻が変わらないように cp -a あるいは rsync -t を使ってください。

写真をインポートして削除する

<mountpoint>/DCIM/100APPLE から写真や動画を移動することはできますが、古いデータベースを削除して "Camera Roll" データベースを再作成させる必要があります。

   PhotoData$ sudo rm Photos* com.apple.photos.caches_metadata.plist

iPod 用に動画を変換

第 5/5.5 世代

Handbrake

Handbrake は様々なバージョンの iPod 用のプリセットが入っている気の利いたツールです。CLI と GTK 版がそれぞれ handbrake-clihandbrake として pacman でインストールできます。

CLI で使うときは、http://trac.handbrake.fr/wiki/CLIGuide にガイドがあります。

DVD to iPod

入手先: podencoderAUR
依存: aur/gpac mplayer

詳しいヘルプがついているので、簡単に使えます。

もしくは DVD リッピングに書かれている方法を使って、iPod が対応しているフォーマットに変換することもできます。

Video File to iPod

入手先: http://thomer.com/howtos/mp4ize
依存: mplayer

iPod や iPhone に対応する mp4 に動画ファイルを変換する Ruby スクリプトです。

高度な方法

Avidemux

公式リポジトリから avidemux-gtk または avidemux-qt をインストールしてください。

Avidemux は mp4 ファイルに変換することができます。最大ビットレート @ 700 で動画サイズを 720x480 または 320x240 にすることで上手く動画ファイルを抽出できます。

Mencoder

公式リポジトリから mplayer パッケージをインストールしてください。

Mencoder の設定は色々あり、iPod で再生できる動画ファイルを作り上げることができます。man mencoder を参照してください。MPlayer のオプションがエンコーディングにも影響します。

基本的なガイドは MEncoder を見てください。

iPhone/iPod Touch に対応する動画をエンコードするコマンドの例:

mencoder INPUT -o output.mp4 \
-vf scale=480:-10,harddup \
-oac faac -faacopts mpeg=4:object=2:raw:br=128 \
-of lavf -lavfopts format=mp4 \
-ovc x264 -x264encopts nocabac:level_idc=30:bframes=0

FFMpeg

公式リポジトリから ffmpeg パッケージをインストールしてください。

様々な設定をサポートしているエンコーダーです。第5世代 iPod 用にエンコードするコマンドの例:

ffmpeg -vcodec xvid -b 300 -qmin 3 -qmax 5 -bufsize 4096 \
-g 300 -acodec aac -ab 96 -i INPUT -s 320x240 \
-aspect 4:3 output.mp4

iPod Touch/iPhone 対応の動画を出力する例:

ffmpeg -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5\
-bufsize 4096 -g 300 -acodec aac -ab 192 -s 480×320 -aspect 4:3 -i INPUT output.mp4

iPhone/iPod Touch

イントロダクション

デフォルトでは、iPhone も iPod Touch も USB によるマスストレージ機能が存在しませんが、ファイルにアクセスするための方法が2つ存在しています。

一つ目は FUSE ファイルシステム SSHFS でデバイスをマウントする方法です。jailbreak をする必要があります。最近の iOS バージョンなら Absinthe などを使うことで jailbreak をすることが出来ます。jailbreak した後、デバイスに SSH サーバーをインストールする必要があります。SSH サーバーのインストールは Cydia プログラムによって行うことが可能で、Cydia は jailbreak するときにデバイスにインストールされます。

もう一つの方法は ifuse という名前の FUSE ファイルシステムを使う方法で、通常どおりに、USB でデバイスをマウントすることができるようになります。この方法はハックを必要とせず、大抵の場合は SSHFS による方法よりも簡単ですが、iFuse ソフトウェアはまだ開発初期段階であるということに注意する必要があります。ただし、最近は安定して使えるようになってきてはいます。

ノート: 最新リリースの libgpodgtkpod は iPod Touch や iPhone OS 3.1.x から iOS 4.3.x までサポートしています。制限なく画像や音楽を転送することが可能です。

次のページを参照: [1]

使用方法

SSHFS

After this the easiest way to properly initialise a few things on the device's side is with the iPod convenience script. This is available in the AUR as ipod-convenienceAUR

Next do modprobe fuse to actually load the fuse module. You may also want to add it to your MODULES array in /etc/rc.conf to have it loaded on boot.

A few things may need changing in the script, depending on your setup. If you do not use sudo, replace:

sudo lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf "FirewireGuid: 0x%s" >> $MOUNTPOINT/iTunes_Control/Device/SysInfo

with:

su -c "lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf \"FirewireGuid: 0x%s\" >> $MOUNTPOINT/iTunes_Control/Device/SysInfo"

in the file /usr/share/ipod-convenience/mount-umount. You may also need to replace:

PROCESS=`ssh root@$IPADDRESS ps x | grep MobileMusicPlayer | grep -v grep | awk '{print $1}'`

with:

PROCESS=`ssh root@$IPADDRESS ps ax | grep MobileMusicPlayer | grep -v grep | awk '{print $1}'`

(I'm not sure under what circumstances this is necessary; it was on my iPod Touch running 2.2.1, and it will not have any adverse affect under other firmware version)

After that, edit the /etc/default/ipod-convenience file with details of your device's IP address, and create the mount point, which is /media/ipod by default (make sure to set the permissions correctly if you want it accessible by a regular user)

実際にデバイスをマウントするには、ipod-touch-mountiphone-mount を実行します (どちらも同じことをするのでどちらでもかまいません)。デバイスの root パスワードが二回要求されますが、ファームウェアバージョン 1.1 以上ではデフォルトのパスワードは 'alpine' となっています。同期をするために毎回入力する必要があります (SSH 鍵を使うことでパスワードの入力は省略することが可能です。詳しくは SSH 鍵を参照)。

iFuse

ノート: iPad/iPad2 で画面にパスワードをかけている場合、USB インターフェイスからアクセスするにはロックを解除する必要があります。

usbmuxd, libplist, libimobiledevice, ifuse をインストールする必要があります。libimobiledevice は ifuse と usbmuxd から依存されているので、次のコマンドで4つのパッケージがインストールできます:

# pacman -S ifuse usbmuxd libplist

modprobe fuse を実行して fuse モジュールをロードしてください。/etc/modules-load.d/ から既にロードしている場合は要りません。

以下のコマンドでデバイスがマウントできます (<mountpoint> はマウントしたいディレクトリに置き換えてください)。接続する前にロックを解除するようにしてください。ロックがかかっていると認識されません。

# ifuse <mountpoint>

マウントしたら、適当な同期ソフトウェアを使ってマウントポイントを指定することでファイルを転送できるはずです。

デバイスをアンマウントするには:

# umount <mountpoint>

HashInfo ファイルの生成

iTunes を使ってデバイスを同期したことがある場合、HashInfo ファイルが存在しないというエラーメッセージが表示されます。MacOS か Windows の iTunes から HashInfo ファイルを作成 (iPod を接続) することで問題は解決できます。もしくは、自分でファイルを作成する方法もあります。手順は こちらのウェブサイト に記載があります。

データベースの難読化解除

ファームウェアバージョン 2.0 から、Apple は音楽データベースを難読化しています。最近のファームウェアを使っている場合、/System/Library/Lockdown/Checkpoint.xml ファイルを修正することで、昔の、簡単に読むことができるデータベースを有効にできます。以下の行を:

<key>DBVersion</key>
<integer>4</integer>

次のように置き換えてください:

<key>DBVersion</key>
<integer>2</integer>

その後、デバイスを再起動してください。

"ERROR: Unsupported checksum type '0' in cbk file generation!" と表示されて同期が失敗する場合、上記の値を4にしておく必要があります。libgpod は ハッシュ化されたデータベースを使うようです

同期

iPod に対応しているお好きなプログラムを使って下さい。アプリケーションの設定はそれぞれ別ですが、大抵は、マウントポイントをプログラムに指定することで上手く動作するはずです。

同期後は、ipod-touch-umount (または iphone-umount) を実行して SSHFS ファイルシステムをアンマウントしてからデバイス上の MobileMusicPlayer プロセスを再起動させることで、新しい音楽データベースが読み込まれます。

iFuse を使用している場合は、次を入力するだけです:

# umount <mountpoint>

You will still need to reload the MobileMusicPlayer process. If your device is not jailbroken, then you are stuck restarting it.

iFuse - iPhone OS 3.x と 4.x

警告: このソフトウェアは不安定だとされており、本番環境で使うのは推奨されません。

Make sure you already installed base-devel, which contains several programs needed to compile your new components. If you did not, just run:

# pacman -S base-devel

which will install everything you will need.

You will need to install libplist, libimobiledevice, libgpod, usbmuxd and ifuse.

Now make sure that you have the fuse module loaded by doing modprobe fuse, assuming that you do not have it in /etc/rc.conf already. Check if the group "usbmux" has been created and add your user using

# gpasswd -a <user> usbmux

To make sure the new rules apply, execute

$ udevadm control --reload-rules

and plug in your iPod/iPhone.

Run as ROOT:

# usbmuxd

Now you should the be able to mount your device by running

$ ifuse ~/ipod

or similar. Make sure the directory used exists and is accessible to your user.

Mount the device and create the iTunes_Control/Device directory. Then, get your UUID. It should be in the syslog from usbmuxd, or you can find it by running

$ lsusb -v | egrep "iSerial.*[a-f0-9]{40}"

It should be 40 characters long. Then, run

$ ipod-read-sysinfo-extended <uuid> <mountpoint>. 

This should generate a file named iTunes_Control/Device/SysInfoExtended.

Now, start up your favourite app, it should detect the device via libgpod. I recommend using gtkpod-git for the time being, as that is what the libgpod developers seem to be using for debugging purposes.

ノート: If gtkpod/gtkpod-git seems to work only from root/sudo while your user only gets the slash screen, you can delete your ~/.gtkpod folder and retry. Note that gtkpod will forget your preferences.

Rhythmbox

Rhythmbox は Gnome Virtual File System を使ってモバイルデバイスを検出します。iFuse を使っている場合、gvfs-afc をインストールする必要があります:

# pacman -S gvfs-afc

iPod Classic/Nano3g

You need to set up the iPod to make libgpod able to find its FireWire ID. For this, you will need to get your FireWire ID manually

1) Mount the iPod as a rw mount point. In the following example, I will use /mnt/ipod.

2 ) Find the serial number by typing

  sudo lsusb -v | grep -i Serial 

this should print a 16 character long string like 00A1234567891231 (it will have no colons or hyphens)

3) Once you have that number, create or edit /mnt/ipod/iPod_Control/Device/SysInfo. Add to that file the line below:

  FirewireGuid: 0xffffffffffffffff

(replace ffffffffffffffff with the 16 digit string you obtained at the previous step and do not forget the leading 0x before the string)

Your iPod can now be managed with Amarok or gtkpod.

iPod 管理アプリ

  • Rhythmbox
    • GTK インターフェイス (GNOME)。
    • 公式の GNOME プロジェクトに入っています。
    • 高速で軽量なインターフェイス。
    • コンピュータと iPod の音楽を管理。
    • ポッドキャストやビデオキャプチャのダウンロードやストリーミング。
    • 曲やポッドキャストの再生待ち。
    • Last.fm の統合。
    • インターネットラジオの視聴。
    • Jamendo と Magnatune のサポート。
    • 音楽 CD の書き込み。
    • アルバムカバーの表示。
    • 歌詞の表示。
    • DAAP 共有。
  • Banshee
    • GTK インターフェイス (GNOME)。
    • Mono を使っているため、やや重く、rhythmbox よりもリソースを消費します。
    • デバイスの同期: 音楽や動画を Android, iPod などに同期、あるいはメディアをインポート。
    • ポッドキャスト: ポッドキャストやビデオキャストをダウンロード・ストリーミング。
    • プレイキュー: 曲や動画、ポッドキャストを再生待ちに追加して自動で DJ。
    • シャッフルモード: アーティストやアルバム、レーティング、あるいは曲の雰囲気などでシャッフル (あるいは Auto DJ)。
    • アルバムアート: 自動的にアートワークを取得。
    • 強力な検索機能、スマートプレイリスト: 聞きたい曲をすぐに・正確に検索。
    • 動画のサポート: Banshee の機能は全て動画でも活用できる。
  • Yamipod
    • GTK インターフェイス (GNOME)。
    • iPod の音楽を管理するだけの超軽量なアプリケーション (コンピュータの音楽は管理できない)。
    • 簡単なレーティングの編集。
    • PC から iPod に同期。
    • ニュース RSS やポッドキャストを iPod にアップロード。
    • Last.fm サポート。
    • playlist サポート。
  • gtkpod
    • GTK インターフェイス (GNOME)
    • 既存の iTunesDB を読み込む (iPod の再生回数や評価、On-The-Go プレイリストなどをインポート)。
    • MP3, WAV, M4A (保護されてない AAC), M4B (オーディオブック), ポッドキャスト, 動画ファイル (単体ファイル, ディレクトリ, プレイリスト) を iPod に追加。'bashpodder' や 'gpodder' などのポッドキャストをダウンロードするにはサードパーティの製品が必要です。
    • カバーアートの表示・追加・修正。
    • ローカルデータベースに曲を全て追加して、アルバムやアーティスト、あるいはジャンルでハードディスクの中身を閲覧。トラックは iPod/Shuffle に簡単にドラッグできます。
    • プレイリストの作成・修正、スマートプレイリスト。
    • ID3 タグのエンコーディング文字セットを選択できます。デフォルトではロケールの設定が使われます。
    • テンプレートを指定することでファイル名からタグ情報を取得 (アーティスト, アルバム, 曲名...)。
    • 曲を追加する際に重複を検出 (任意)。
    • iPod からトラックを削除・エクスポート。
    • ID3 タグの修正 -- 元のファイルでも変更されます (任意)。
    • ファイルの ID3 タグを戻す (元のファイルのタグを変更した場合)。
    • ディレクトリの同期。
    • トラックの音量のノーマライゼーション (mp3gain や replay-gain タグを使用)。
    • iTunesDB を更新して iPod に追加した曲を書き出す。
    • オフラインでも動作し後から iPod とプレイリストや曲を同期できます。
    • korganizer/kaddressbook/Thunderbird/evocalendar/evolution/webcalendar... などのデータを iPod にエクスポート (他のプログラムのスクリプトを追加できます)。
  • Floola
    • GTK インターフェイス (GNOME)。
  • Amarok
    • KDE/qt インターフェイス。
  • qPod
    • KDE/qt インターフェイス。
    • GNUpod のフロントエンド。
  • GNUpod
    • コマンドラインのみ。
  • jakpod
    • JakPod は Java で書かれており、音楽や動画ファイルを iPod にコピーすることができます。
    • 第6世代 iPod Nano サポート。
    • jakpodAUR

参照