LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-23-2019, 03:14 PM   #1
fabiolinux
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Rep: Reputation: Disabled
SD card reader (O2 micro) not working


Hello everybody,
I'm running MX-Linux on a Fujitsu Lifebook U937 (kernel 4.19.0-5-amd64).
My great issue is related to the SD card reader. It doesn't work. The BIOS is set up properly.
It looks like the card reader is not recognized. I dont see it Thunar and I can't mount the SD card.
I have googled a bit. For what i have understood it is a kernel problem, but I'm not so smart to find the best solution (I'm a newbie).
Attached Files
File Type: txt lspci_output.txt (1.6 KB, 50 views)
File Type: txt dmesg_output.txt (71.8 KB, 41 views)
 
Old 10-23-2019, 07:53 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Others may have better ideas. I had an IBM that used a bridge to bridge to get to the onboard card reader and linux didn't support it so that may be the issue.
 
Old 10-23-2019, 08:13 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
It does look like a kernel problem. I found this bug report.

https://bugzilla.kernel.org/show_bug.cgi?id=109231
 
Old 10-24-2019, 12:41 AM   #4
fabiolinux
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
This issue is reported from many years ago.
I have tested by myself that some older kernels solve the problem even if not completely, but I don't want to downgrade my system.
I can't believe that who makes the kernel didn't keep attention to this problem (many Linux users found it).
I hope in your knowledge!
HELP US!
...and pardon my poor English!
 
Old 10-24-2019, 01:39 AM   #5
fabiolinux
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
I'm not able to setup this parameter on my MX-linux:

debug_quirks2="0x4"

Who can explain me how to do that, please?
Thanks in advance
 
Old 10-24-2019, 11:28 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
fabiolinux,

You need to be very careful before proceeding with some of the mods suggested in the bug link provided by michaelk:
https://bugzilla.kernel.org/show_bug.cgi?id=109231

NB Please backup all your personal data to another drive. I do not wish to be responsible for your laptop behaving badly in the future.

A USB SD/multicard reader may be a safer alternative, unless that won’t work either. Borrow one and try it first.

If MX Linux does not have gedit installed then install it:

Code:
sudo apt install gedit
I recommend that you read that bug link very closely first.

Note that the latest contributor happydemic uses debug_quirks2="0x80000000", not 0x4 for reasons given earlier in the bug report. He is using kernel 4.18.0-22.

From my understanding, (other members please comment), you then need to run these 3 separate commands, using Copy & Paste to avoid typing errors:

Code:
sudo rmmod sdhci_pci sdhci_acpi sdhci
sudo modprobe sdhci debug_quirks2="0x80000000"
sudo modprobe sdhci_pci
To make the changes permanent, you need to modify your grub file:

Code:
sudo gedit /etc/default/grub
Then, again using Copy & Paste, replace GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
with:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash debug_quirks2=80000000"

NB If there is anything in addition to quiet splash in that line then that must be retained.

Click on Save and Close the file.

You must then update GRUB:

Code:
sudo update-grub
Reboot the laptop and keep your fingers crossed.

Last edited by beachboy2; 10-24-2019 at 11:51 AM.
 
1 members found this post helpful.
Old 10-25-2019, 12:10 PM   #7
fabiolinux
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you beachboy2.

I tried in a different way. I had installed the kernel 4.15 with Meltdown and Spectre patch. Rebooted asking grub to load that kernel and... my SD card reader was working great!
I was astonished when I saw my SD card reader working perfectly even while rebooting with the original kernel 4.19!!
I can't understand what happened...do you have any idea?

I attach the new dmesg output
Attached Files
File Type: txt dmesg_2.txt (97.3 KB, 58 views)
 
Old 10-25-2019, 01:50 PM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
fabiolinux,

I have no idea!

Glad to hear your SD card reader is working.

Please mark the thread as SOLVED via Thread Tools at the top of your original post.
 
  


Reply

Tags
cardreader, fujitsu, mmc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get 8-1 card reader to work {ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card } dbophxlip2017 Linux - Software 2 08-06-2018 11:48 AM
[SOLVED] Strange behaviour 2Gb SD then 16Gb micro SD in usb All in 1 micro card reader hdp160 Linux - Hardware 4 08-03-2015 06:06 AM
can't get 8-1 card reader to work {ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card } DBabo Linux - Software 28 12-06-2013 08:06 PM
People who call it M$ or Micro$oft or Micro$loth lowpro2k3 General 48 12-24-2007 12:19 AM
LXer: Imation 4GB Micro Hard Drive: Still Micro on the Outside, More Giga on the Inside LXer Syndicated Linux News 0 12-28-2005 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration