在Ubuntu上给ipad充电

ipad连到ubuntu电脑上 提示没在充电

Google了一下发现了一个ipad_charge项目

地址是https://github.com/mkorenkov/ipad_charge

不过安装好运行ipad_charge提示

:~$ ipad_charge
ipad_charge: unable to claim interface: error -5
ipad_charge: Entity not found
ipad_charge: error setting charge mode
ipad_charge: no such device or an error occured
 

看了一下Issue列表有个解决方案https://github.com/mkorenkov/ipad_charge/issues/42

使用了patch之后的依然会有错误

ipad_charge: Found iPad (bus number= 3, port = 6, address = 29)
ipad_charge: Opened device
ipad_charge: Set device to auto detach
ipad_charge: Unable to claim interface 0: error -2 [Invalid parameter]
ipad_charge: Unable to claim interface 2: error -2 [Invalid parameter]
ipad_charge: error setting charge mode
ipad_charge: no such device or an error occured
 

然后看到ubuntu社区里有人提到苹果设备不识别的问题,解决方案是重启usbmuxd

sudo systemctl restart usbmuxd

 

试了一下,就可以正常充电了

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值