You are Here:
Download Linux Lite 5.4 Final today - See Release Announcements



X Close Ad
X Close Ad
micro SD cards not recognized

Author (Read 4051 times)

0 Members and 2 Guests are viewing this topic.

micro SD cards not recognized
« on: March 06, 2021, 02:39:29 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
I have Linux Lite 5.2 installed on a Lenovo Ideapad 100s 14 inch notebook. After installation micro SD cards are not recognized, but they were recognized previously under Windows. I've tried 3 different cards, all of which are recognized on other PCs, so I'm sure that it's not the cards.

lspci shows the following:

00:12.0 SD Host controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SD Controller (rev 21)

Any ideas on how I can get Linux Lite to recognize micro SD cards ?

Thanks in advance for any help.
Last Edit: March 06, 2021, 02:44:53 PM by adml
 


Re: micro SD cards not recognized
« Reply #1 on: March 07, 2021, 02:43:31 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 68
    Posts
  • Country: au
  • Reputation: 5
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: J3455
You're going to have to do some digging unfortunately to better understand exactly what is missing in the system config.

To try and gather more info about the card reader I'd go to the Lenovo website and try and identify the actual Windows card reader driver download package for your system - it is possible that it might actually be a Realtek device rather than the intel (the 100-14IBY appears to use a realtek card reader even though I think the intel chipset in that model includes SD card support...).

To learn more about your system start by opening a terminal window and running the command
Code: [Select]
inxi -Fbefore inserting a card into the reader and then again after inserting a card into the reader and comparing the output to see whether anything is different.

Some googling turned up this AskUbuntu article.  It is now quite old and likely not directly relevant, but many of the investigative suggestions on that page and the bug report linked in the second answer may be informative.  A look at a the kernel config on a Lite 5.2 system suggests that the necessary modules should have been built but they may not have been loaded on your system (perhaps the pinctrl module relevant to your system?).
 

Re: micro SD cards not recognized
« Reply #2 on: March 07, 2021, 08:34:39 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
Thank you for the reply. My model is a 100s-14IBR and the Lenovo support site shows that the card reader driver is indeed for a Realtek.

Running inxi -F both before and after inserting a micro SD card shows no differences, other than a 1% difference in memory usage and a 1 degree difference in CPU temp. The drive information is exactly the same, it appears that only the internal drive is being shown.

I read the post that you linked to, is pinctrl something that I can use to try and get the card reader recognized ?
 

Re: micro SD cards not recognized
« Reply #3 on: March 08, 2021, 06:25:08 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 68
    Posts
  • Country: au
  • Reputation: 5
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: J3455
I hadn't previously tried to use the microSD card slot in my Lenovo 100s-11IBY (currently running Lite 5.2) which I think is somewhat older than your machine.  I found a suitable card and much to my surprise the card was recognised and I could navigate the contents with the file manager.  As best I can tell, my machine is using the sdhci_acpi driver rather than the sdhci_pci driver mentioned in the AskUbuntu article.

Your machine seems to have an intel Braswell CPU which should be covered by the pinctrl_cherryview driver according to the source code; that driver is built into the kernel according to the config info I can find so there's nothing you can do with that :(.

What sized cards are you trying?  Are they cards you used when running Windows?  The card I tried was 16GB and I seem to recall 32GB being a relatively common limit for SD card readers until fairly recently...
 

Re: micro SD cards not recognized
« Reply #4 on: March 08, 2021, 01:59:51 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
The micro SD cards that I've tried are 32 GB, and are the exact ones that I used when Windows was installed. You're correct, anything above 32 GB was a no go on this PC under Windows. I'd really like to get the SD reader working as Linux Lite has given this PC new life and it's a night and day difference from Windows. I appreciate the help, please let me know if you have any other ideas.
 

Re: micro SD cards not recognized
« Reply #5 on: March 09, 2021, 08:13:23 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 68
    Posts
  • Country: au
  • Reputation: 5
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: J3455
At this stage, I can't offer any suggestions except using a compact USB microSD reader like the Kingston Mobilelite Plus or Sandisk MobileMate (USB 3 version).

My system treated the microSD card a little differently between the internal card reader and a USB card reader:  in the USB card reader the file manager offered the "eject" function and just had a single reference to the card, whereas in the internal reader it showed a reference to each of the top level directories and I could only right-clink on one of them and select "unmount" after which the multiple directory references seemed to hang around until the card was ejected.  Apart from the fact that I find microSD cards and the 100s-11IBY internal reader very fiddly to use (I have largish hands), I found the more standard "eject" treatment of the external USB reader more intuitive.
 

Re: micro SD cards not recognized
« Reply #6 on: March 09, 2021, 03:02:30 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1573
    Posts
  • Country: us
  • Reputation: 264
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
@adml
is this an internal or usb card reader?

LL should be able to view the card.. Unless possibly a driver?
Sharing the output of inxi would allow us to view if its installed and driver.... Along with other device info..

Perhaps something in BIOS needs enabled?

I have a system booting LL from SD..
Might be something simple....??
LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 5.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.4 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #7 on: March 09, 2021, 08:33:08 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
@WytWun

Thanks for the replies, and the help, I appreciate it. If I can't get the card reader recognized I think I'll use one of those close fitting USB drives for extra storage as that seems like the next best thing for this PC.
 

Re: micro SD cards not recognized
« Reply #8 on: March 09, 2021, 08:40:53 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
@firenice03

Thanks for the reply. This is the internal reader on the PC. Listed below is the output of inxi, with a 32 GB card inserted. The only storage showing is the internal 64 GB drive in the PC. I've double checked the BIOS, nothing in there related to the card reader other than an SD reader entry low in the boot order. How would I check to see if the driver is installed/loaded ?

In looking at your signature entries do you think it would be worthwhile for me to try an older version of LL ?

output of inxi:

CPU: Dual Core Intel Celeron N3050 (-MCP-) speed/min/max: 493/480/2160 MHz
Kernel: 5.4.0-66-generic x86_64 Up: 18m Mem: 1229.6/1810.9 MiB (67.9%)
Storage: 58.24 GiB (18.4% used) Procs: 197 Shell: bash 5.0.17 inxi: 3.0.38
 

Re: micro SD cards not recognized
« Reply #9 on: March 09, 2021, 11:07:43 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1573
    Posts
  • Country: us
  • Reputation: 264
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
@adml
LL 5.x should be ok, perhaps the kernel version...
Most likely a slightly older but it does look like these Lenovo, card readers and Linux has had issues..

When in LL does lsblk show the drive attached?

You may want to also look in the bios and ensure secure boot is disabled.
LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 5.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.4 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #10 on: March 10, 2021, 11:27:13 AM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
@firenice03

Listed below is the output of lsblk, only the 64 GB internal drive is showing. Secure boot is disabled in the BIOS.

While doing some more searching about this I came across the following:

https://bugzilla.kernel.org/show_bug.cgi?id=204003

This kernel.org bug report concerns the card readers of Intel NUC PCs not being recognized and indicates that the issue seems to be kernel specific.  However, I don't believe that it's a kernel issue in my case and here's why. I booted a live USB of LL 5.2 on a Lenovo 120S 14 inch laptop and the card reader was recognized. But the card reader is not recognized on my Lenovo 100S, either on the current install, or on a live USB boot (which I just tried).

I did notice that on the USB boot on the 120S that several rtsx modules were loaded, while on both the installed, and USB boot of my 100S no rtsx modules are loaded. Would these modules not being loaded have an impact ?

output of lsblk:

NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0 58.2G  0 disk
├─mmcblk0p1  179:1    0  512M  0 part /boot/efi
└─mmcblk0p2  179:2    0 57.8G  0 part /
mmcblk0boot0 179:8    0    4M  1 disk
mmcblk0boot1 179:16   0    4M  1 disk


Last Edit: March 10, 2021, 11:57:43 AM by adml
 

Re: micro SD cards not recognized
« Reply #11 on: March 10, 2021, 04:33:33 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1573
    Posts
  • Country: us
  • Reputation: 264
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
@adml

Note here https://askubuntu.com/questions/939410/lenovo-100s-14ibr-microsd-doesnt-show
a slight difference in kernel 4.10 (broke) vs 4.8 (worked) ..

Code: [Select]
Linux TRCD-Kangaroo 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I'm running LL5.2 from an SD Card/MMC

Code: [Select]
lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0 29.1G  0 disk
├─mmcblk0p1  179:1    0  100M  0 part /boot/efi
├─mmcblk0p2  179:2    0   16M  0 part
├─mmcblk0p3  179:3    0 28.6G  0 part
└─mmcblk0p4  179:4    0  450M  0 part
mmcblk0boot0 179:8    0    4M  1 disk
mmcblk0boot1 179:16   0    4M  1 disk
mmcblk1      179:24   0 29.7G  0 disk
├─mmcblk1p1  179:25   0 27.8G  0 part /
└─mmcblk1p2  179:26   0  1.9G  0 part [SWAP]


I would use Lite Tweaks - Kernel Installer to Test Kernel 4.8 - select and install - reboot, select Advanced in Grub to change to 4.8 all ow to finish booting...
If so = :)
If not ... Can remove with Kernel Remover will need to reboot and choose another kernel prior - remover will not remove the in use kernel....

LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 5.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.4 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #12 on: March 10, 2021, 05:54:17 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
@firenice03

I'm starting to think that this laptop must be jinxed.

When I try to install 4.8.0 I get a message that there was an error downloading and installing the kernel. The message also asks if I want to view the logs. I click yes and the log window comes up, but, it is empty, there's nothing at all in the log. Have you ever heard of this occurring before ?
 

Re: micro SD cards not recognized
« Reply #13 on: March 10, 2021, 10:32:58 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1573
    Posts
  • Country: us
  • Reputation: 264
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
@adml
Not with Kernel tools - I have used multiple times...

Did you install LL5.x with UEFI enabled and SecureBoot disabled -- this would be the ideal/preferred... For 64-bit UEFI...
OR
Did you install "Legacy" where UEFI is disabled (hence legacy BIOS) ?

If secureboot is enable - the card will not be read at boot and ?maybe? be causing some grief....
I'm also seeing where the 100S may have came with a 64 bit OS 32 bit UEFI (hybrids) - again curious on install...

hhhmmmm
LL 4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 5.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.4 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: micro SD cards not recognized
« Reply #14 on: March 10, 2021, 11:04:21 PM »
 

adml

  • New to Forums
  • *
  • 35
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
@firenice03

LL 5.2 was installed on the 100S-14IBR with UEFI enabled and Secure Boot disabled.

Can you point me to where you are seeing the 64/32 information, this is the first that I've heard of it for this PC.

Interestingly, I have LL 5.2 installed on an ASUS X205TA which is a 64/32 hybrid. The installation went off without a hitch, all I needed to do was to change one setting in Rufus when copying the image to the USB drive. The card reader on the ASUS does work, however bluetooth does not work, but, that's another story...

Given the above information regarding UEFI and Secure Boot, any thoughts on what I can try next for the card reader ? Also, what do you make of me being unable to switch kernels and the log being blank ? I just tried Lite Tweaks again and the result was exactly the same.
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.4 Final today - See Release Announcements