You are not logged in.

#1 2013-03-26 15:19:13

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

[SOLVED] *jmicron* SD card is recognised only if inserted on boot

Hello, I just want to share what I discovered a few minutes ago about a jmicron pcie controller/module that is essentially used to read removable memory card such as SDs, MMC, Memory Stick etc.

Here is part of the lspci -vnn output as root:

05:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392] (rev 30)
	Subsystem: Dell Device [1028:04b7]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d7400000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [a4] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel driver in use: sdhci-pci

05:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391] (rev 30) (prog-if 01)
	Subsystem: Dell Device [1028:04b7]
	Flags: fast devsel, IRQ 16
	Memory at d7400100 (32-bit, non-prefetchable) [size=256]
	Capabilities: [a4] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-

05:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2393] (rev 30)
	Subsystem: Dell Device [1028:04b7]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d7400200 (32-bit, non-prefetchable) [size=256]
	Capabilities: [a4] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel driver in use: jmb38x_ms

05:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2394] (rev 30)
	Subsystem: Dell Device [1028:04b7]
	Flags: fast devsel, IRQ 255
	Memory at d7400300 (32-bit, non-prefetchable) [disabled] [size=256]
	Capabilities: [a4] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [94] MSI: Enable- Count=1/1 Maskable- 64bit-

Its the same output as if I had the SD card inserted upon boot, or insert it and then issue the following command as root, both cases in order to make the controller to work:

echo 1 > /sys/bus/pci/rescan

Before no matter what I tried didn't do anything. I tried to force load the appropriate module, force pciehp, module options rules etc. Only thing I didn't try was a udev rule, don't know if I can gain something from that.


Proud Arch Linux user since 2007.

Offline

#2 2013-03-26 17:11:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] *jmicron* SD card is recognised only if inserted on boot

you should add this to the wiki. Forum threads have a way of getting lost over time.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-03-26 17:25:14

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: [SOLVED] *jmicron* SD card is recognised only if inserted on boot

You 're right but I don't know If I can add this info in an existing article or a new one because its only a few lines...


Proud Arch Linux user since 2007.

Offline

#4 2013-03-26 17:40:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] *jmicron* SD card is recognised only if inserted on boot

add it to the most relevant page.... if there is no relevant page creating a new one is acceptable. In this case however, I am sure there is a page which deals with SD cards and you can add it there.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2013-03-26 22:09:29

don_crissti
Member
Registered: 2009-03-17
Posts: 35

Re: [SOLVED] *jmicron* SD card is recognised only if inserted on boot

Inxsible wrote:

you should add this to the wiki. Forum threads have a way of getting lost over time.

It was already added to the wiki quite some time ago and it still IS in the wiki ... 1, 2 etc...

Last edited by don_crissti (2013-03-26 22:10:32)

Offline

#6 2013-03-26 22:13:48

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: [SOLVED] *jmicron* SD card is recognised only if inserted on boot

Alright! Didn't see that, probably I didn't search properly!


Proud Arch Linux user since 2007.

Offline

Board footer

Powered by FluxBB