libimobiledevice / ifuse

A fuse filesystem to access the contents of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
816 stars 138 forks source link

ERROR: No device found! #91

Open WhyNotHugo opened 1 year ago

WhyNotHugo commented 1 year ago
> ifuse --list-apps
ERROR: No device found!
Is the device properly connected?
If it is make sure that your user has permissions to access the raw USB device.
If you're still having issues try unplugging the device and reconnecting it.

Checking dmesg indicates that the device is detected:

[162142.406033] usb 1-5: new high-speed USB device number 27 using xhci_hcd
[162142.535752] usb 1-5: New USB device found, idVendor=05ac, idProduct=12a8, bcdDevice=14.06
[162142.535755] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[162142.535756] usb 1-5: Product: iPhone
[162142.535756] usb 1-5: Manufacturer: Apple Inc.
[162142.535757] usb 1-5: SerialNumber: XXXXXXXXXXXXXXXXXXXXXXXX

I don't see any reason why my user would have access to the raw device. I installed ifuse via my distribution (Alpine) packages, and the package doesn't include any udev rule which would grant my permissions to access the device node.

I tried doas chown hugo /dev/bus/usb/001/005, but that didn't solve the issue (it's an ugly approach, but I did expect it to work).

Any ideas what might be wrong?

rishabh96b commented 1 year ago

I'm facing the same issue as well. It was working fine on iOS 16 but not in iOS 17. Although lsusb shows that apple device is connected.

WhyNotHugo commented 1 year ago

The cause in my case was that I wasn't running usbmuxd. If a different device worked, I suspect you might be seeing some other issue.