SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

multiple microSD cards not showing up

Open Spidy123222 opened this issue 2 years ago • 7 comments

I am currently on 3.5 from main branch and I use a dock on my steamdeck which has multiple storage mediums on it for different reasons but usually never shows up on the storage screen in settings but is fine on desktop mode with the kde plasma interface.

One drive is ntfs and one is ext4 with my previous microsd which is steamdeck formatted which all are supported by Linux but maybe not game mode for them all? Maybe some of this could be solved by having a scan option in storage or supporting more than just ext4 like btrfs, fat32 and ntfs.

All you have to do is connect more than your microsd card on system and I will most likely not show or if you restart it will display any drive inconstantly. I was trying to transfer data from a smaller MicroSD card to my bigger one by having my old one connected via my usb c hub. Does it either way.

Spidy123222 avatar Jun 27 '23 23:06 Spidy123222

I've seen this happen when the drive is not R/W by the deck user in SteamOS (same user that runs the Steam UI / games). I suspect this is why you can see them as mounted in KDE but not in the Steam UI... You could verify by showing the permissions on the mounted filesystems for these cards.

SteamOS 3.4 forced ownership changes on any removable drives so that they were owned by this user. This was changed in 3.5, with the move to using udisks2 for auto-mounting. I think the idea was that forcing permission changes on a filesystem when mounting it isn't very nice, but maybe this decision should be revisited...

craftyguy avatar Jul 06 '23 19:07 craftyguy

I've seen this happen when the drive is not R/W by the deck user in SteamOS (same user that runs the Steam UI / games). I suspect this is why you can see them as mounted in KDE but not in the Steam UI... You could verify by showing the permissions on the mounted filesystems for these cards.

SteamOS 3.4 forced ownership changes on any removable drives so that they were owned by this user. This was changed in 3.5, with the move to using udisks2 for auto-mounting. I think the idea was that forcing permission changes on a filesystem when mounting it isn't very nice, but maybe this decision should be revisited...

Since it was permission based like you said It could of been my new drive that was only allowing Read and requiring root to do anything in it. This was my issue with steam game ui wasn't formatting the card correctly. https://github.com/ValveSoftware/SteamOS/issues/1064

Spidy123222 avatar Jul 09 '23 04:07 Spidy123222

In general I think that you won't see your external card while in game mode if Steam doesn't have write permissions to it.

Cards formatted in the Steam Deck should always work fine, and cards formatted elsewhere work if they have the right permissions (chmod 777 /path/to/sdcard should work).

bertogg avatar Aug 31 '23 16:08 bertogg

I'm on 3.5.1 and have the same problem. How I fixed it:

  • put sd in
  • sudo chmod 777 /run/media/deck/XXX-YYY-ZZZ
  • sudo chmod 777 /run/media/deck/
  • while steam settings in background
  • out and in sd card
  • new card apear in dropdown
  • works! (not anymore)

EDIT: After I do to the bios and get back card no longer vissible (shows and hides in a second)...

Now i desktop mode when I manually mount the card and do "Add storage" in Steam it recognize the card but says that steam aps folder is not executable and there is 0kb space left on the card. I will copy all the important files and try to format the card on the 3.5.1 I think this should fix the permissions.

EDIT2: Formatting the card and adding it thru desktop steam worked only for a moment.

So I fixed nothing in the end :(

w84death avatar Oct 24 '23 13:10 w84death

@w84death where was the SD card originally formatted? In SteamOS (which version?) or some other system (which OS?) ?

craftyguy avatar Oct 26 '23 16:10 craftyguy

@craftyguy Formatted more than a year ago on SteamOS. It disapear rescently on testing 3.5. Then I tried to format it on Linux. Then format once again in SteamOS (3.5). Right now I manage to do:

  • detect card in steam desktop
  • install a game on it while in desktop
  • now steamOS see the card normally and I see and can play games form sd card
  • works for now

the difference is that SteamOS did not see empty formatted card. Desktop version "initialize" it better.

w84death avatar Oct 27 '23 21:10 w84death

This should be fixed in the 3.6 beta images

bertogg avatar May 31 '24 13:05 bertogg

Closing per the last comment.

kisak-valve avatar Jul 12 '24 23:07 kisak-valve