SDHC not recognized Mint 7 solved

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

SDHC not recognized Mint 7 solved

Postby fastfr8r on Sat Jun 06, 2009 10:43 am

Running Mint 7 on a Dell Mini; doesn't appear to recognize the SDHC card. Worked on installation with Mint 6, also recognized on the live USB before the install. Help?
fastfr8r
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 06, 2009 10:38 am

Linux Mint is funded by ads and donations.
 

Re: SDHC not recognized Mint 7

Postby Husse on Sun Jun 07, 2009 1:42 pm

You have to tell us more facts.
We need to know a bit about all your hardware.
Run " lspci " in a terminal and post here (to avoid misunderstanding - the first character is a minor L and you copy by marking with the mouse and then right click)
Some wifi and possibly built in sound can be connected to USB even if they are internal - if you suspect you have one of these run " lsusb " in a terminal.
Also tell us if this is using mint4win or not, quite important
This is a standard answer so it may not be fully applicable to your situation
Is the card reader integrated?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SDHC not recognized Mint 7

Postby fastfr8r on Sun Jun 07, 2009 3:21 pm

Husse, thanks for the reply; below is the output for "lspci".

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
02:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller
02:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

I believe the JMicron entries refer to the SD card reader and yes, it is integral. Not running Mint4Win. Not sure I understand the USB reference but here's the output to "lsusb":

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Thanks for any thoughts...
fastfr8r
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 06, 2009 10:38 am

Re: SDHC not recognized Mint 7

Postby Husse on Sun Jun 07, 2009 5:06 pm

About USB - I have found several wifi cards connected to USB even if they were internal....
Run
Code: Select all
lspci -vvnn

And post the sections for Jmicron
Jmicron is not fun.... (even in Windows :))
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SDHC not recognized Mint 7

Postby fastfr8r on Sun Jun 07, 2009 9:47 pm

Output for "lspci -vvnn":

02:00.0 System peripheral [0880]: JMicron Technologies, Inc. SD/MMC Host Controller [197b:2382]
Subsystem: Dell Device [1028:02b0]
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 16
Region 0: Memory at f0100000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 50000000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

02:00.2 SD Host controller [0805]: JMicron Technologies, Inc. Standard SD Host Controller [197b:2381] (prog-if 01)
Subsystem: Dell Device [1028:02b0]
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 16
Region 0: Memory at f0100400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel modules: sdhci-pci

02:00.3 System peripheral [0880]: JMicron Technologies, Inc. MS Host Controller [197b:2383]
Subsystem: Dell Device [1028:02b0]
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 7
Region 0: Memory at f0100800 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
fastfr8r
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 06, 2009 10:38 am

Re: SDHC not recognized Mint 7

Postby Husse on Mon Jun 08, 2009 6:52 am

No kernel modules for the last one?
Run the live CD or Felicia and run the lspci -vvnn there and see if there's a kernel module for the 02:00.3 one
If yes that's the problem and I don't really know what to do - but that's for later
If there is none let's try something - and I can tell you there seems to be problems with this controller
In a terminal a couple of commands
Code: Select all
echo "options sdhci debug_quirks=1" | sudo tee /etc/modprobe.d/sdhc.conf

Code: Select all
echo "options pciehp pciehp_force=1" | sudo tee /etc/modprobe.d/pciehp.conf

This creates two files with the above content
Code: Select all
echo "pciehp" | sudo tee -a /etc/modules

This adds (because of the -a switch) to /etc/modules
Its important that the commands are executed exactly as above so copy them to the terminal (you have to right click to paste in the terminal, but as you have copied from it you know that)
This is for Gloria only and it is a solution for Intrepid/Felicia that I have adjusted
I can't tell if it works or not but it is easy to revoke - just put sudo rm in front of the two paths to files in modprobe.d and then edit /etc/modules as root
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SDHC not recognized Mint 7

Postby fastfr8r on Mon Jun 08, 2009 8:59 pm

Husse,
Success :) , the fix works and thanks for all your effort!
fastfr8r
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 06, 2009 10:38 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 14 guests