我似乎无法安装 iPhone,Ubuntu 可以识别它,但我无法在 /media 中找到它。
`Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.734][3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
Aug 14 18:39:33 UServer kernel: [ 4632.365909] ipheth 2-3:4.2: Apple iPhone USB Ethernet device attached
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.735][3] Connected to v2.0 device 1 on location 0x20005 with serial number
Aug 14 18:39:33 UServer kernel: [ 4632.370824] ipheth 2-3:4.2 enp0s29f7u3c4i2: renamed from eth2
root@UServer:/media# tail -f /var/log/syslog
Aug 14 18:33:23 UServer usbmuxd[3738]: [18:33:23.553][3] Initialization complete
Aug 14 18:33:23 UServer usbmuxd[3738]: [18:33:23.553][3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
Aug 14 18:33:23 UServer usbmuxd[3738]: [18:33:23.553][3] Connected to v2.0 device 1 on location 0x20004 with serial number
Aug 14 18:33:23 UServer kernel: [ 4262.184276] ipheth 2-3:4.2: Apple iPhone USB Ethernet device attached
Aug 14 18:33:23 UServer kernel: [ 4262.189278] ipheth 2-3:4.2 enp0s29f7u3c4i2: renamed from eth2
Aug 14 18:37:42 UServer kernel: [ 4521.623314] usb 2-3: USB disconnect, device number 4
Aug 14 18:37:42 UServer usbmuxd[3738]: [18:37:42.992][3] Removed device 1 on location 0x20004
Aug 14 18:37:43 UServer usbmuxd[3738]: [18:37:43.012][3] usbmuxd shutting down
Aug 14 18:37:43 UServer kernel: [ 4521.644076] ipheth 2-3:4.2: Apple iPhone USB Ethernet now disconnected
Aug 14 18:37:43 UServer usbmuxd[3738]: [18:37:43.113][3] Shutdown complete
Aug 14 18:39:32 UServer kernel: [ 4631.600018] usb 2-3: new high-speed USB device number 5 using ehci-pci
Aug 14 18:39:33 UServer kernel: [ 4631.733989] usb 2-3: New USB device found, idVendor=05ac, idProduct=12a8
Aug 14 18:39:33 UServer kernel: [ 4631.733994] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 14 18:39:33 UServer kernel: [ 4631.733998] usb 2-3: Product: iPhone
Aug 14 18:39:33 UServer kernel: [ 4631.734002] usb 2-3: Manufacturer: Apple Inc.
Aug 14 18:39:33 UServer kernel: [ 4631.734005] usb 2-3: SerialNumber: 6
Aug 14 18:39:33 UServer systemd[1]: Started Socket daemon for the usbmux protocol used by Apple devices.
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.133][3] usbmuxd v1.1.0 starting up
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.134][3] Successfully dropped privileges to 'usbmux'
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.138][3] Could not get old configuration descriptor for device 2-5: -5
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.734][3] Connecting to new device on location 0x20005 as ID 1
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.734][3] Initialization complete
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.734][3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
Aug 14 18:39:33 UServer kernel: [ 4632.365909] ipheth 2-3:4.2: Apple iPhone USB Ethernet device attached
Aug 14 18:39:33 UServer usbmuxd[3859]: [18:39:33.735][3] Connected to v2.0 device 1 on location 0x20005 with serial number
Aug 14 18:39:33 UServer kernel: [ 4632.370824] ipheth 2-3:4.2 enp0s29f7u3c4i2: renamed from eth2
`
所以我知道它在那里,但我仍然无法在 /media 中找到它。有什么建议吗?
答案1
看起来似乎还没有人编写任何“udev”规则来自动挂载 idevices。
以下命令将为您手动执行此操作:
# 创建目录 /media/iphone
# chown ${USER}:${USER} /media/iphone
# chmod 775 /media/iphone
# /usr/bin/idevicepair -u `/usr/bin/idevice_id -l` 对
# ifuse /media/iphone -u `/usr/bin/idevice_id -l`
您可以通过以下方式卸载“/media/iphone”:
#卸载/media/iphone