个人工具

UbuntuHelp:PortableDevices/syncing your iphone via cable

来自Ubuntu中文

Wikibot讨论 | 贡献2010年5月19日 (三) 23:55的版本 (以内容'{{From|https://help.ubuntu.com/community/PortableDevices/syncing%20your%20iphone%20via%20cable}} {{Languages|UbuntuHelp:PortableDevices/syncing%20your%20iphone%20via%20cabl…'创建新页面)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Syncing via Cable

iFuse

iFuse is a FUSE-based access method for the iPod Touch and iPhone, making them appear like normal hard disks. To sync music with a jailbroken 2.2.1 iPod Touch, install iFuse from the project's repository, then plug in your iPod touch. HAL should pick it up and GTKpod will see the device. As long as you have changed the value of the key 'DBVersion' in /System/Library/Lockdown/Checkpoint.xml (make a backup first!) to 2, music will sync and the database of the device will be updated. After restarting the Music application on the device, you should see the new tracks. This method does work. One annoyance is that while HAL will automount the device for you and place it on your desktop, you cannot unmount it manually by the usual methods (umount, or right click and 'Unmount device') because the FUSE mount was created by the hald/system user and not your username. However, if one takes care to right click on the device in GTKpod and select 'Eject iPod' before disconnection, harm to the filesystem may be avoided. Get iFuse at http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page.

iTunnel

Go to http://www.cs.toronto.edu/~jingsu/itunnel/ and download the iTunnel program for linux. It includes a binary or compile your own. Start the Binary in a Terminal/Xterm and create the Tunnel on a self chosen port with ./itunnel 7777. Then you have to mount the ipod's file system with sshfs -p 7777 root@localhost:/var/mobile/Media /media/ipod. Set up the FirewireGUID as described in the Firmware 1.x Guide. Then Start your Program for transferring MP3s ( amarok etc. ) and point it to /media/ipod. You should be able to transfer Music to the device.

Speed

iTunnel gives me about 400kb/sec iFuse gives me about 250kb/sec WLan gives me about 10 - 800kb/sec, WLan crowded places give less :) It is a good idea to create a Ad-hoc WLan and connect directly your iPod to you PC. I take speed up to 1,5MB/sec.

Copying photos to the iPhone or iPod Touch

Photos can be copied into the Media/DCIM directory in the mobile account. They need to follow the directory and image numbering conventions used by the iPhone/iPod. Multiple image formats are allowed, but they should have a thumbnail (.THM) file which is a 55x55 pixel JPG file. There is a command-line script that can copy images to the iPod Touch or iPhone using ipod-convenience or scp available at http://marginalhacks.com/#img2iphone Note that it is free to use and source available, but not technically open source. ""Alternative method using a webserver (3.x)"" You can use a webserver set up, accessible either via a local IP over wifi or a hosted server to transfer images to your iTouch or iPhone. Transfer the image to the webserver (/var/www/photo.jpeg), and then go to your IP in the web browser followed by the relative path and filename of the image (192.168.2.4/photo.jpeg), then hold your finger on the image until options appear. Click "Save Image" and it will be available in your photo browser for using as a wallpaper or whatever.