Page 1 of 1
[SOLVED] SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Mar 28, 2017 8:41 am
by MX-16_fan
Hi everyone,
I installed MX-16 on a DELL 3150 but the
built-in card reader doesn't work. It worked fine in the past with some other older Linux distribution, so this is a
regression.
This seems to be a problem that has something to do with the kernel and/or its parameters (see
https://bugzilla.kernel.org/show_bug.cgi?id=109231#c3,
https://bugs.launchpad.net/ubuntu/+sour ... ug/1523178).
I can get it running when I do this as a workaround:
Code: Select all
sudo rmmod sdhci_pci sdhci_acpi
sudo rmmod sdhci
sudo modprobe sdhci debug_quirks2="0x10000"
sudo modprobe sdhci_pci
I
tried to add this workaround permanently to Grub using the Grub Customizer GUI, my kernel parameters in the Grub Customizer GUI now reading
zswap.zpool=zsmalloc BOOT_IMAGE=/antiX/vmlinuz quiet debug_quirks2=0x10000
Unfortunately this doesn't do the job. I don't know why.
Maybe you want to put this bug in the tracker, plus inform upstream about this from an "MX-16 perspective"?
The machine runs an Intel N3540 processor.
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Mar 28, 2017 11:39 am
by v3g4n
Please post the contents of /etc/default/grub.
Also, is it safe to assume that you ran update-grub after you made those changes?
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Mar 28, 2017 9:07 pm
by rokytnji.1
Laptop specs for readers of this thread
http://www.notebookcheck.net/Dell-Latit ... 442.0.html
Edit: booted up my Dell E4310 whose card reader works. But I use AntiX.
Code: Select all
$ inxi -Fxz
System: Host: biker Kernel: 4.10.1-antix.1-686-smp-pae i686 (32 bit gcc: 4.9.3) Desktop: IceWM 1.3.8
Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine: Device: laptop System: Dell product: Latitude E4310 v: 0001
Mobo: Dell model: 0T6M8G v: A01 BIOS: Dell v: A03 date: 07/08/2010
Battery BAT0: charge: 44.0 Wh 109.4% condition: 40.2/44.0 Wh (91%)
model: Samsung SDI DELL RM6618A status: Full
CPU: Dual core Intel Core i5 M 520 (-HT-MCP-) cache: 3072 KB
flags: (lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9576
clock speeds: max: 2400 MHz 1: 1333 MHz 2: 1333 MHz 3: 1866 MHz 4: 1866 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Display Server: X.Org 1.16.4 drivers: intel (unloaded: modesetting,fbdev,vesa)
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Ironlake Mobile x86/MMX/SSE2
GLX Version: 2.1 Mesa 10.3.2 Direct Rendering: Yes
Audio: Card Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.10.1-antix.1-686-smp-pae
Network: Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 6040 bus-ID: 00:19.0
IF: eth0 state: down mac: <filter>
Card-2: Intel Centrino Advanced-N 6200 driver: iwlwifi bus-ID: 02:00.0
IF: wlan0 state: up mac: <filter>
Drives: HDD Total Size: 60.0GB (43.4% used)
ID-1: /dev/sda model: KINGSTON_SV300S3 size: 60.0GB
Partition: ID-1: / size: 7.6G used: 4.1G (57%) fs: ext3 dev: /dev/sda2
ID-2: /home size: 48G used: 21G (46%) fs: ext3 dev: /dev/sda1
Sensors: System Temperatures: cpu: 61.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 183 Uptime: 32 min Memory: 438.6/8026.6MB Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
Client: Shell (bash 4.3.301) inxi: 2.3.8
Code: Select all
harry@biker:~
$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER=false
GRUB_BACKGROUND=/usr/share/wallpaper/back.jpg
harry@biker:~
Plug in a old Kodak camera 128MB SD card card to test. SpaceFM automounts it for me.
Code: Select all
sudo fdisk -l
<snip>
Disk /dev/mmcblk0: 123 MB, 123379200 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 16 128488 b FAT32
You'll see in my inxi readout. I run a 60 gig SSD hard drive like your Dell does <yours is just bigger capacity than mine>
All my kernels which pick up my card reader slot are
Code: Select all
$ dpkg --list | grep linux-image
ii linux-image-4.10.1-antix.1-686-smp-pae 4.10.1-antix.1-686-smp-pae-3 i386 Linux kernel, version 4.10.1-antix.1-686-smp-pae
rc linux-image-4.2.1-antix.2-686-pae 4.2.1-antix.2-686-pae-7 i386 Linux kernel, version 4.2.1-antix.2-686-pae
ii linux-image-4.8.1-antix.1-686-smp-pae 4.8.1-antix.1-686-smp-pae-2 i386 Linux kernel, version 4.8.1-antix.1-686-smp-pae
Yeah. I know. Comparing apples and pineapples. But I figure the info don't hurt none. Since it is my effort wasted. Not yours.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Mar 28, 2017 9:29 pm
by Stevo
Since it seems to be a kernel bug, which kernel are you running? Have you tried any other kernels to see if the bug persists with those?
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Wed Mar 29, 2017 11:58 am
by JLS727
I have a Dell Latitude 3160 which is like the 3150 except it has touch screen capability. On my machine it exhibits the same error on startup, but the sd card reader will still read an SD card that is 32 gb or smaller only. Since I normally use a 128 gb card it won't read that which is inconvenient and I hope newer kernels will allow it to recognize larger SD Cards. In case you're wondering, I dual boot with Windows 10 and the 128 gb card works fine with Windows 10, just not linux. I have tried other linux kernels up to and including 4.8 and they don't help. I was hoping that 4.10 or 4.11 would do the trick.

Thanks.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Thu Mar 30, 2017 7:10 am
by MX-16_fan
@v3g4n:
v3g4n wrote:Please post the contents of /etc/default/grub.
There you go:
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`lsb_release -d -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="zswap.zpool=zsmalloc BOOT_IMAGE=/antiX/vmlinuz quiet debug_quirks2=0x10000"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER="false"
GRUB_BACKGROUND="/usr/local/share/backgrounds/MX16/grub/maine-sunrise-grub.png"
#GRUB_DISABLE_LINUX_RECOVERY="true"
v3g4n wrote:Also, is it safe to assume that you ran update-grub after you made those changes?
Yes.
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Thu Mar 30, 2017 7:15 am
by MX-16_fan
@Stevo:
Stevo wrote:Since it seems to be a kernel bug, which kernel are you running?
Linux 4.7.0-0.bpo.1-amd64 (x86_64).
Stevo wrote:Have you tried any other kernels to see if the bug persists with those?
No. For security reasons I tend to stick to the newest standard kernel. I did, however, read somewhere that regressions concerning a card reader from this manufacturer came with 4.x.
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 10:39 am
by JLS727
Yesterday I installed the latest kernel from the test repo using MX Tools on my Latitude 3160. My computer would not even boot. It just kept giving errors due to SD card reader when trying to startup. I had to boot into the old kernel, which works except it does not recognize my sd card reader with an sd card larger than 32 gig. I finally was able to remove the new kernel by using synaptic and updating my grub menu. I was very surprised that a much newer kernel would work so badly on my hardware.

Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 1:09 pm
by cpoakes
Since you have a working set of
rmmod and
modprobe commands, you can use
/etc/modprobe.d configuration to automatically blacklist the removed modules and add the probed modules at boot. Arch (as usual) provides excellent documentation for
configuring Kernel Modules.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 1:57 pm
by MX-16_fan
@cpoakes:
cpoakes wrote:Since you have a working set of
rmmod and
modprobe commands, you can use
/etc/modprobe.d configuration to automatically blacklist the removed modules and add the probed modules at boot. Arch (as usual) provides excellent documentation for
configuring Kernel Modules.
Thanks a lot for the hint. Would you think a non-quirks solution will be available (again) any time soon? Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 3:05 pm
by Stevo
Yes, you add whatever parameters you want the module to run with in some sort of .conf file, not in GRUB.
JLS727, was that "latest kernel" the Liquorix or the antiX one? And if you were running a proprietary AMD or Nvidia video driver, a 41.0 kernel currently requires the version of that from our test repository. You can also do a boot to an earlier kernel from the Advanced section of the GRUB boot menu if necessary, no need to remove it first if things still can't be fixed.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 8:03 pm
by JLS727
The latest kernel was the Liquorix one 4-10-11. I was afraid to try the Antix kernel. I am running an intel cpu and video driver. I did boot from the advanced section grub. That was how I was able to get back into MX-16 and make changes. I just wanted the primary kernel in grub to be the one that I use. I dual boot with windows 10 pro. For some reason, the linux kernels out there do not recognize my sd card reader and throw errors during boot. Some kernels boot anyone and some just keep throwing errors and do not boot - not sure why. I was a distro hopper and now have settled on MX-16 as it is the best in my view. The stock kernel in MX-16 actually works well other than the card reader issue, but I realize that is not a fault of MX-16 but the kernel. Hopefully, this issue will be eventually solved. Thanks to everyone at MX-16 for all the work they do on this great disto.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri May 05, 2017 8:20 pm
by Stevo
There may be a fixed driver out there in the Net someplace--does lsusb or lspci show the hardware for the reader?
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 6:55 am
by anticapitalista
JLS727 wrote:I was afraid to try the Antix kernel. ..
Why the fear? It won't eat your data, just keep your working one just in case it does not work (well) for your box.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 11:14 am
by JLS727
lspci does show the sd card reader. lsusb does not show it.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 11:20 am
by Jerry3904
It would be helpful if you could copy and paste the output (just for the card reader) for this command
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 11:32 am
by JLS727
See below:
Code: Select all
$ lspci -vv
00:00.0 Host bridge: Intel Corporation Device 2280 (rev 35)
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 35) (prog-if 00 [VGA controller])
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 119
Region 0: Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 80000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
00:0b.0 Signal processing controller: Intel Corporation Device 22dc (rev 35)
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 118
Region 0: Memory at 91516000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: proc_thermal
00:13.0 SATA controller: Intel Corporation Device 22a3 (rev 35) (prog-if 01 [AHCI 1.0])
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 117
Region 4: I/O ports at f060 [size=32]
Region 5: Memory at 91515000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
00:14.0 USB controller: Intel Corporation Device 22b5 (rev 35) (prog-if 30 [XHCI])
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 116
Region 0: Memory at 91500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:1a.0 Encryption controller: Intel Corporation Device 2298 (rev 35)
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 91100000 (32-bit, non-prefetchable) [size=1M]
Region 1: Memory at 91000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
00:1b.0 Audio device: Intel Corporation Device 2284 (rev 35)
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 121
Region 0: Memory at 91510000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Device 22c8 (rev 35) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 91600000-917fffff
Prefetchable memory behind bridge: 0000000091800000-00000000919fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Device 22ca (rev 35) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 91400000-914fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Device 22cc (rev 35) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: 91300000-913fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Device 22ce (rev 35) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: 91200000-912fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 229c (rev 35)
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
00:1f.3 SMBus: Intel Corporation Device 2292 (rev 35)
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 18
Region 0: Memory at 91514000 (32-bit, non-prefetchable) [size=32]
Region 4: I/O ports at f040 [size=32]
Capabilities: <access denied>
Kernel driver in use: i801_smbus
02:00.0 SD Host controller: O2 Micro, Inc. Device 8620 (rev 01) (prog-if 01)
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 91401000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at 91400000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 120
Region 0: Memory at 91300000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Dell Device 06a8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 115
Region 0: I/O ports at e000 [size=256]
Region 2: Memory at 91204000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at 91200000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 12:12 pm
by Jerry3904
lspci does show the sd card reader
Sorry, but I don't see it there. Which is it?
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 12:39 pm
by kmathern
Sorry, but I don't see it there. Which is it?
I think this is it
Code: Select all
02:00.0 SD Host controller: O2 Micro, Inc. Device 8620 (rev 01) (prog-if 01)
Subsystem: Dell Device 06a8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 91401000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at 91400000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 12:54 pm
by Jerry3904
Thanks. There does seem to be a way to make it work on a more modern kernel, see the detailed treatment here:
http://www.0xf8.org/2016/01/workaround- ... ion-4-1-8/
The workaround appears to be to run this code as root:
Code: Select all
rmmod sdhci sdhci_pci sdhci_acpi
modprobe sdhci debug_quirks2="0x10000"
modprobe sdhci_pci
But this is really out of my league, so hopefully someone else can help.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 12:59 pm
by JLS727
I have tried that work around, but it doesn't work on my computer. Thanks for the suggestion.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat May 06, 2017 1:42 pm
by Stevo
For the original poster, this
link says to rebuild the initramfs once the conf file with the quirk parameter is created:
Back in 2010, he also used a different quirk for the 02 Micro card reader and the kernel for that time:
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Thu May 11, 2017 1:46 pm
by MX-16_fan
@Stevo:
Stevo wrote:For the original poster, this
link says to rebuild the initramfs once the conf file with the quirk parameter is created:
Back in 2010, he also used a different quirk for the 02 Micro card reader and the kernel for that time:
Thanks a lot for the hint, Stevo. I have to work on a different machine right now but I'll get back to the DELL concerning the SDXC issue as soon as my tasks on the other machine are finished.
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Mon May 22, 2017 7:42 am
by mihail_bc
works fine on my 6430 latitude.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat Aug 05, 2017 3:03 pm
by MX-16_fan
@JLS727:
JLS727 wrote:Yesterday I installed the latest kernel from the test repo using MX Tools on my Latitude 3160. My computer would not even boot. It just kept giving errors due to SD card reader when trying to startup. I had to boot into the old kernel, which works except it does not recognize my sd card reader with an sd card larger than 32 gig. I finally was able to remove the new kernel by using synaptic and updating my grub menu. I was very surprised that a much newer kernel would work so badly on my hardware.

Same experience here. In the meantime I tested all newer Liquorix kernels available by now (I think the newest was 4.12). Still got an error message on booting up, concerning the card reader ("unknown").Plus with some kernels the whole system froze after a while. I wouldn't have thought that newer kernels work so badly either.
Greetings, and have a nice weekend, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat Aug 05, 2017 3:09 pm
by MX-16_fan
@all:
Just noticed that strangely enough Ubuntu seems to support all O2 Micro SD card readers out of the box:
https://certification.ubuntu.com/catalo ... 17%3A8520/. Any guesses about how they managed to get it running?
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sat Aug 05, 2017 3:51 pm
by Jerry3904
Based on Stretch?
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sun Aug 06, 2017 7:30 am
by MX-16_fan
@Jerry3904:
Jerry3904 wrote:Based on Stretch?
I'm not sure. Ubuntu 17.04 employs a 4.11 kernel, so this is no way newer than what is available in the MX-16 Test Repo. What do you think?
Greetings, and have a nice Sunday, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sun Aug 06, 2017 2:21 pm
by MX-16_fan
DOUBLE ENTRY - SORRY. PLEASE DELETE. THANK YOU.
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Sun Aug 06, 2017 2:28 pm
by MX-16_fan
@Stevo, @all:
Stevo wrote:For the original poster, this
link says to rebuild the initramfs once the conf file with the quirk parameter is created:
Back in 2010, he also used a different quirk for the 02 Micro card reader and the kernel for that time:
Thanks! To sum up, here's what I'll
try out:
* Go to /etc/modprobe.d/, and
create a file named "sd-card-fix.conf" there:
Code: Select all
sudo leafpad /etc/modprobe.d/sd-card-fix.conf
*
Put the following line into that file: options sdhci debug_quirks2="0x10000" (instead of the frequently recommended "0x04", cf.
https://bugzilla.kernel.org/show_bug.cgi?id=109231#c3).
*
Save it.
*
Rebuild the initramfs:
*
Reboot.
I'll
report on the results.
Greetings, Joe
Re: SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Mon Aug 07, 2017 4:04 am
by MX-16_fan
@Stevo, @Jerry3904, @all:
MX-16_fan wrote:
(...) To sum up, here's what I'll
try out:
* Go to /etc/modprobe.d/, and
create a file named "sd-card-fix.conf" there:
Code: Select all
sudo leafpad /etc/modprobe.d/sd-card-fix.conf
*
Put the following line into that file: options sdhci debug_quirks2="0x10000" (instead of the frequently recommended "0x04", cf.
https://bugzilla.kernel.org/show_bug.cgi?id=109231#c3).
*
Save it.
*
Rebuild the initramfs:
*
Reboot.
(...)
O.k., this
works fine. mihail_bc wrote in his above posting that this works for him, too, so I am marking this "SOLVED".
Btw. it seems that actually
fixing this kernel bug has troublesome implications, so the many owners of this card reader will probably be dependent on this workaround for quite some time. Let's hope that the kernel developers will produce a real fix in the future.
A
big thank-you to all of you, and have a nice week, Joe
Re: [SOLVED] SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri Aug 11, 2017 1:08 pm
by JLS727
For whatever it is worth, none of these "fixes" work with my Dell Latitude 3160. As before, it will recognize an SD card 32 gig or smaller but nothing larger even with any of these work arounds.

Re: [SOLVED] SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Fri Aug 18, 2017 4:24 pm
by MX-16_fan
@JLS727:
JLS727 wrote:For whatever it is worth, none of these "fixes" work with my Dell Latitude 3160. As before, it will recognize an SD card 32 gig or smaller but nothing larger even with any of these work arounds.

Sorry to hear that. Does the DELL 3160 have
exactly the same card reader as the 3150? If not, maybe it would make sense to open a separate thread for that.
Greetings, Joe
Re: [SOLVED] SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Nov 28, 2017 4:27 pm
by JLS727
In case anyone else has a Dell 3160 I finally figured out how to make linux recognize the sd card reader. Following the info above you need to change to the following:
sdhci debug_quirks2="0x65536"
Then the sd card reader works.
Re: [SOLVED] SD card reader doesn't work (MX-16 on DELL Latitude 3150)
Posted: Tue Nov 28, 2017 8:23 pm
by MX-16_fan
@JLS727:
JLS727 wrote:In case anyone else has a Dell 3160 I finally figured out how to make linux recognize the sd card reader. Following the info above you need to change to the following:
sdhci debug_quirks2="0x65536"
Then the sd card reader works.
Cool, congratulations!
Hope that MX-17 will even support it out-of-the-box.
Greetings, Joe