GNOME Bugzilla – Bug 628997
udev-based USB mass storage support broken for devices with no partition table
Last modified: 2020-03-17 08:49:39 UTC
I have just acquired a Samsung Galaxy i9000 S and the internal memory card exposed via mass storage does not have multiple partitions (e.g. /dev/sdd1, /dev/sdd2) but stores everything under the root partition (/dev/sdd). The device is detected by Banshee via udev and a Banshee.Hardware.Gio.DiskDevice object is created. However since it is not an IVolume, MassStorageSource.cs:66 discards it as an invalid device.
Good catch, I noticed that my N900 also doesn't appear to be partitioned in the usual fashion so this is likely a dupe of but has more information relevant to fixing the issue. https://bugzilla.gnome.org/show_bug.cgi?id=627318 Add the amazing Alan McGovern to CC since this is hardware detection.
Does your device get mounted automatically so you can browse through it's contents as if it were just another directory? Also, can you attach the output of the following commands when your device is connected: "udevadm info --export-db" [ may need to be run as root ] "gvfs-mount --list" Thanks!
Created attachment 169747 [details] gvfs-mount --list
Created attachment 169748 [details] udevadm info --export-db
The device is automatically mounted and perfectly browsable. Thanks for the work Alan.
Drive(3): SAMSUNG GT-I9000 Card Type: GProxyDrive (GProxyVolumeMonitorGdu) Drive(4): SAMSUNG GT-I9000 Type: GProxyDrive (GProxyVolumeMonitorGdu) Volume(0): 6.2 GB Filesystem Type: GProxyVolume (GProxyVolumeMonitorGdu) Mount(0): 6.2 GB Filesystem -> file:///media/86AC-07D9 Type: GProxyMount (GProxyVolumeMonitorGdu) So it looks like your built in storage is being mounted as a regular volume but your card is not being mounted. Can you confirm that this is the case? Are you able to browse the built in storage as a regular drive but are not able to do the same for the card? If so, is there a trick you have to do to mount the card so you can browse it? If there is a trick, can you do that and give me the same output again once the card is mounted and browsable. Thanks! Other than that, i have a few ideas on what could cause this and will attach a patch later on this evening (all going well) which will add extra logging to banshee to catch this sort of issue. Are you able to compile banshee from source for testing purposes?
We might consider showing unmounted volumes in Banshee, and then mounting them when the user activates that source. Is that logical/doable, Alan?
Both this and https://bugzilla.gnome.org/show_bug.cgi?id=629313 seem to be similar
@Alan: I don't have a card inside the card reader and do not have a micro-sd card handy to test so I cannot really say if it would be mounted or not. The issue is about the built in storage. I can and already did compile banshee from source (that's how I debugged the issue and isolated the root cause (MassStorageSource.cs:66)).
*** Bug 629313 has been marked as a duplicate of this bug. ***
*** Bug 627318 has been marked as a duplicate of this bug. ***
*** Bug 629783 has been marked as a duplicate of this bug. ***
Looks like the information requested was provided.
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.