The officially official Devuan Forum!

You are not logged in.

#1 2021-05-18 07:48:22

martin.hodges@getmail.no
Member
Registered: 2020-06-02
Posts: 5  

SD card reader on laptop identified as hard disk.

I have several laptops with Beowulf and Ricoh PCIe sd card readers.
SD cards show up as hard disks i.e. they are labelled as non-removable in /sys/block/mmcblk0.... (Kernel issue?)
The devices are assigned to the disk group and not plugdev as I would expect. (eudev issue?)

Running vanilla Beowulf without the XFCE desktop and with TDE desktop.

The cards do not 'appear' on the desktop as all other pluggable storage device does.
Pmount run as my user still mounts them under /media/mmcblk0p1 without any problem.
Is this a problem for anybody else?


That is not my e-mail address :-)

Offline

#2 2021-05-18 09:23:21

Camtaf
Member
Registered: 2019-11-19
Posts: 408  

Re: SD card reader on laptop identified as hard disk.

If they have cards in whilst booting up, then the system may consider them as hard drives, rather than removable - but it certainly wouldn't worry me - I prefer to manually mount all external media myself. smile

If you remove, & then reinsert the cards, do they show up on your desktop?

Offline

#3 2021-06-21 19:00:57

martin.hodges@getmail.no
Member
Registered: 2020-06-02
Posts: 5  

Re: SD card reader on laptop identified as hard disk.

Nope. MMC cards in a usb card reader show up. SD in PCI ricoh MMC readers never show up.
This probably a glitch in the TDE desktop. I have a camera with a USB mass-storage interface and that does not appear either.

I had a problem originally that was due to the lack of libpam-elogind. Why this is not dragged in by elogind is beyond me.

My understanding of the removeable flag in the /sys/block tree was lacking. It is not intuitive. The flag is meant to indicate that a block device that does not disappear has removeable media i.e. floppy, cdrom, tape drive.
The SD card has the controller in the actual card so the entire block device disappears. The MEDIA is not removeable from the controller.


That is not my e-mail address :-)

Offline

Board footer