Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Devices" menu is empty, even tough several devices are connected. #1460

Open
3 tasks done
0none opened this issue Jun 10, 2024 · 4 comments
Open
3 tasks done

"Devices" menu is empty, even tough several devices are connected. #1460

0none opened this issue Jun 10, 2024 · 4 comments

Comments

@0none
Copy link

0none commented Jun 10, 2024

  • I have checked the FAQ for answers.
  • I have checked the Changelog that the issue is not already fixed.
  • I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.

Describe the bug
The devices list displays no devices, even tough several devices are connected.
An android with MTP enabled, iPhone SE, and a random USB drive formatted with exfat have been tried.

To Reproduce

  • Start Strawberry
  • Connect android phone
  • Select file transfer mode on phone

Expected behavior
Device shows up in the "Devices" menu.

Screenshots:
grafik

System Information:

  • Operating system: Manjaro Linux | Plasma 6.0.5 | Qt 6.7.1 | Linux Kernel 6.8.8-arch1-1-surface (64-bit) | Wayland
  • Strawberry Version: 1.0.23-193-gea1e4541

Additional context
I tried using the current release version, as well as building from source.

@jonaski
Copy link
Member

jonaski commented Jun 10, 2024

So this is a bug? First time I've heard about this, it works for me. Is strawberry built with gio, udisks2 and libmtp?

@0none
Copy link
Author

0none commented Jun 10, 2024

I believe so, since I cannot find any other reason for this behaviour.
Just tried this on a different machine running arch linux, built from source, with the same result.
Here's some cmake output:

The following components will be built:                                                                                                                                                                           
   ALSA integration                                                                                                                                                                                               
   D-Bus support                                                                                                                                                                                                  
   Devices: Audio CD support                                                                                                                                                                                      
   Devices: GIO device backend                                                                                                                                                                                    
   Devices: GIO device backend (Unix support)                                                            
   Devices: MTP support                                                                                  
   Devices: UDisks2 backend                                                                              
   Devices: iPod classic support                                                                         
   EBU R 128 loudness normalization                                                                      
   Engine: GStreamer backend                                                                             
   Engine: VLC backend                                                                                   
   Global shortcuts                                                                                      
   Moodbar
   MusicBrainz integration
   PulseAudio integration
   Song fingerprinting and tracking
   Streaming: Qobuz
   Streaming: Subsonic
   Streaming: Tidal
   Translations
   X11 global shortcuts

and cut output from running the resulting binary:

23:01:23.450 DEBUG MainWindow:400                   Initializing player                                                                                                                                           
23:01:23.450 DEBUG MainWindow:410                   Creating models                                                                                                                                               
23:01:23.450 DEBUG MainWindow:417                   Creating models finished                                                                                                                                      
23:01:23.453 DEBUG DeviceLister:67                  CddaLister(0x5592eab9c880) moved to thread QThread(0x5592eab9b330)                                                                                            
23:01:23.453 DEBUG DeviceLister:67                  Udisks2Lister(0x5592eab9cf40) moved to thread QThread(0x5592eab9b350)                                                                                         
23:01:23.453 DEBUG CddaLister:115                   No CD devices found                                                                                                                                           
23:01:23.453 DEBUG DeviceLister:67                  GioLister(0x5592eab9bbe0) moved to thread QThread(0x5592eab9b370)
23:01:23.453 DEBUG Lazy<T>:67                       DeviceManager(0x5592ea93b6e0) created                                                                                                                         
23:01:23.458 DEBUG logging:95(GLib-GIO)             Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)                                                                
23:01:23.459 DEBUG Application:276                  PlaylistBackend(0x5592eaba73f0) moved to thread QThread(0x5592e95e0300)
23:01:23.460 DEBUG Lazy<T>:67                       PlaylistBackend(0x5592eaba73f0) created

I'll try to further investigate this.

@jonaski
Copy link
Member

jonaski commented Jun 11, 2024

For the filesystem (USB drive) devices, can you paste the output of:

gio mount -li

(You need glib2-tools).

And share the data udisks.txt of:

udisksctl dump >udisks.txt

For the MTP devices (phones), can you paste the output of:

mtp-detect

(You need mtp-tools).

@0none
Copy link
Author

0none commented Jun 11, 2024

looks like gio mount -li only outputs something when I mount the device manually via my file explorer (dolphin)

output of gio mount -li
Mount(0): DD06-17BA -> file:///run/media/theo/DD06-17BA  
  Type: GUnixMount
  default_location=file:///run/media/theo/DD06-17BA
  themed icons:  [drive-harddisk]
  symbolic themed icons:  [drive-harddisk-symbolic]
  can_unmount=1
  can_eject=0
  is_shadowed=0

udiskctl.txt

mtp-detect.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants