Author Topic: Pixel 4 not detected - Linux Mint & WINE  (Read 3078 times)

baconneggs15

  • Newbie
  • *
  • Posts: 3
Having an issue with Pixel 4 not being detetcted for syncing on MB (v3.3.7491)
Running MusicBee in WINE on Linux Mint 20 Cinnamon machine.

Steps Taken:
1. Added Pixel storage as a WINE drive pointing to 2 "drives" (separate attempts):
---i. root "mtp://Google_Pixel_4_9B141XXXXXXX" directory
---ii. Music sub-folder "mtp://Google_Pixel_4_9B141XXXXXXX/Internal shared storage/Music"
2. Added the Virtual Device in MusicBee Preferences>Devices via the WINE drive directory.
3. Closed MusicBee
4. Inserted phone to PC via USB 2.0 and selected USB transfer/MTP on the Pixel and confirmed write/read access to mtp: drive in Linux
5. Opened Music Bee and attempted cable sync then wi-fi sync and both fail

Problem:
1. Selecting the Pixel directory Virtual Device tab in MusicBee shows "The device is not accessible"
2. Selecting 'Synchronize' in MusicBee immediately errors out with "Device Virtual Device (P:) is not ready - please insert and try again"
3. WiFi sync Android app also fails to find the MusicBee server even with firewall completely disabled.

MusicBee runs great in all other aspects I just can't for the life of me get it to recognize the Pixel to sync.
I also don't see any option to select 'MTP device' as stated in the KB  https://musicbee.fandom.com/wiki/Devices#Preferences

Don't know if it's related but I do get the following error when running 'mtp-detect' in terminal although it shows Pixel as a connected raw device:
Code
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0

Tried the following with no success:
---https://unix.stackexchange.com/questions/192048/mount-mtp-android-device-in-linux-mint-17-1
---https://www.debugpoint.com/2016/03/how-to-access-android-devices-internal-storage-and-sd-card-in-ubuntu-linux-mint-using-media-transfer-protocol-mtp/

Probably just missing something very obvious at this point. Let me know if there's any other info I left out. Any help would be greatly appreciated!

baconneggs15

  • Newbie
  • *
  • Posts: 3
For anyone combing forums for this or a similar issue in the future, I resolved by routing the Virtual Device path in MusicBee to the correct Linux mtp directory.
The Pixel mtp directory was completely buried under root at run/user/1000/gvfs/

More here if needed: https://askubuntu.com/questions/342319/where-are-mtp-mounted-devices-located-in-the-filesystem

Just ran the initial sync and so far so good now  8)