o2 micro memory card reader sdhci problem

Bug #427890 reported by monochromec
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

SDHCI on Dell Vostro 1320 with Ubuntu 9.04

Kernel: 2.6.28-15-generic #49-Ubuntu SMP (x86_64)

lspci -vvnn reports:

1a:00.1 SD Host controller [0805]: O2 Micro, Inc. Device [1217:8120] (rev 01)
 Subsystem: Dell Device [1028:02bb]
 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 f6203800 (32-bit, non-prefetchable) [size=256]
 Capabilities: [a0] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [80] Express (v1) Endpoint, MSI 00
  DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
   MaxPayload 128 bytes, MaxReadReq 512 bytes
  DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
  LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <64ns, L1 <1us
   ClockPM+ Suprise- LLActRep- BwNot-
  LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
   ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
 Capabilities: [100] Virtual Channel <?>
 Capabilities: [200] Advanced Error Reporting <?>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

Built-in device is an O2 OZH24 SD/MMC host controller chip for which the Dell web site provides
a native Windows driver.

The sdhci module is loaded but doesn't recognise the hardware as no access is possible. Any thoughts?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Care to test with the latest Karmic 9.10 Alpha release. It contains a much newer 2.6.31 based kernel.

http://cdimage.ubuntu.com/releases/karmic/

If the issue remains, while still running Karmic, please run the following command which will automatically gather and attach kernel debug info to this report:

apport-collect -p linux 427890

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
monochromec (monochromec) wrote :

Hi Leann,

Thanks for the hint - unfortunately, neither kernel (32 or 64) will
boot off the CD with the image I downloaded.

As I managed to *build* a 2.6.31 kernel on my 9.04 (running 2.6.28), maybe it's worth giving this
a try without tampering with an alpha distro version. Trouble is, however, I'm still stuggling
with the finer stages of the initrdfs process when trying to install the kernel (the modules are
already in place). Newer kernels (2.6.30 and later) seem to deploy a mechanism called update-initramfs
in order to build the RAM disk for the second stage of the booting process. Unfortunately, I haven't been
able to find any valid documentation for this process on a somewhat generic Ubuntu 9.04 release - any hints or
pointers would be greatly appreciated. Once I'll have this new kernel built up & running, I can check out
the sdhci issue and report back!

Revision history for this message
monochromec (monochromec) wrote :

Ok, tried the Karmic alpha-release (6). The 64 bit version doesn't boot at all, the 32 bit version boots but doesn't detect the memory card.

I finally got the 2.6.31 kernel with sdhci to boot but unfortunately, any card inserted in the reader is not detected by the module.

Any thoughts?

Revision history for this message
monochromec (monochromec) wrote :

Hi there,

Finally managed to try it with the official Karmic release but still no
luck. It would surprise me if I'm the only one having difficulty with this
driver - any hints for a possible resolution so far?

Revision history for this message
monochromec (monochromec) wrote :

BTW: Why is this bug report still marked as "incomplete"? What's missing??

Revision history for this message
macaronii (tamrac) wrote :

So it's been a few months since the last post. Any solutions?
Currently i'm hesitating complete ( cold turkey ;) ) switch just because of this thing. The rest of my hardware is very well supported, but this makes the card reader i use very often completely useless.

I believe many Acer and other laptops use this kind of card readers (O2 Micro).

tags: added: 9.10 acer card karmic kernel laptop linux micro mmc o2 reader sd xd
Revision history for this message
monochromec (monochromec) wrote :

Nope - I didn't even get an answer regarding the "incomplete" status. Bit disappointing for a community-supported thing I think... :-(((

Revision history for this message
macaronii (tamrac) wrote :

Those two seem to be similar issues:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/323159
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/518465
(if so the bug affected user count might be even bigger)

Still, im not knowledgable enough to tell if it is the same thing or something else. I might post lspci output from LiveCD later, if i find the time.
Does SDHCI refers to USB? I think my reader is built in PCI.

The only distant solution i've stumbled upon seems to be some kind of kernel module ( tifm_7xx1) for texas instruments card readers:
http://news.softpedia.com/news/Texas-Instruments-5-in-1-Card-Reader-under-Ubuntu-Edgy-43688.shtml
But it might be completely different device and uncompatible with o2 reader.

Revision history for this message
macaronii (tamrac) wrote :

There is something for 4-in-1 reader (i have 5-in-1):
https://answers.launchpad.net/ubuntu/+question/2535

P.S. Is there a way to edit your post instead of creating a new one?
So i can update the previous one with various little bits of information that does not make much of a difference without spamming new comments.

Revision history for this message
macaronii (tamrac) wrote :

Now this is funny... since i have several times noticed with different kind of issues that users often are able to do something with live cd but not on installed linux i gave it a try. On karmic koala 9.10 i386 (LiveCD) i pop in my SD and voila! It's on my desktop with all the files on it.

So the promised lspci -v output (only the o2 items):

0d:06.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 01)
 Subsystem: Acer Incorporated [ALI] Device 013c
 Flags: bus master, stepping, slow devsel, latency 168, IRQ 22
 Memory at f4200000 (32-bit, non-prefetchable) [size=4K]
 Bus: primary=0d, secondary=0e, subordinate=11, sec-latency=176
 Memory window 0: 80000000-83fff000 (prefetchable)
 Memory window 1: 88000000-8bfff000
 I/O window 0: 00004000-000040ff
 I/O window 1: 00004400-000044ff
 16-bit legacy interface ports at 0001
 Kernel driver in use: yenta_cardbus
 Kernel modules: yenta_socket

0d:06.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02) (prog-if 01)
 Subsystem: Acer Incorporated [ALI] Device 013c
 Flags: bus master, slow devsel, latency 32, IRQ 22
 Memory at f4202000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

0d:06.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 03)
 Subsystem: Acer Incorporated [ALI] Device 013c
 Flags: slow devsel, IRQ 11
 Memory at f4201000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>

Lets see what do i get on complete install...

Revision history for this message
macaronii (tamrac) wrote :

A fresh install of 9.10 + Latest automatic update it offered and everything works perfectly. Still there was some sort of MMC warning during boot time, but it was too fast to read.

Revision history for this message
monochromec (monochromec) wrote :

No such luck here. I tried with the latest kernel (31-20 generic). The kernel module detects the device OK (according to lspci), but the driver fails to notice when a new card is inserted in the reader. Thus no directory is mounted, etc. Please let me know if more information is needed to fix this bug.

Revision history for this message
Ruben Verweij (ruben-verweij) wrote :

Still not working for me with lucid.
Lspci:
02:06.0 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
02:06.1 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
02:06.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus Accelerator
02:06.3 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
Syslog:
kernel: [15300.214871] sdhci: Secure Digital Host Controller Interface driver
kernel: [15300.214882] sdhci: Copyright(c) Pierre Ossman
Using lucid with Linux 2.6.32-22-generic #33-Ubuntu on an HP Compaq nc6000.
If any info is needed, I will provide it.

Revision history for this message
monochromec (monochromec) wrote :

Same here. Kernel 2.6.32-22 and friend (ie. sdhci-pci) doesn't make a difference.

Revision history for this message
Johnathan Morlock (johnathan-morlock) wrote :
Revision history for this message
monochromec (monochromec) wrote :

Just noticed the following interesting fact: only happens with xd-type cards, SDs are detected and accessed OK.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Benoît Merlet (trompette) wrote : Steel 'woody' at any age
Download full text (3.2 KiB)

>>> http://tusis.ru

- There is no reason to feel depressed if you, like so many other men today, have hit the rough spot of your sexual life when you cannot seem to be performing as well as you used to do. Your agitation and frustration are easily understood, and still you should know that with the modern development of worldwide pharmacological industries it is but natural that there is bound to be a solution for your own needs when it comes down to solving your erectile dysfunction problems.

- We suggest you getting erectile dysfunction drugs from our online drugstore cheaply, easily and without much to-do. You will always be taken care of and attended to with extreme care, and you will have the possibility of choosing from a wide range of erectile dysfunction products to find a solution that will best suit your particular needs.

- The whole world puts great trust in those famous diamond shaped pills, and if you are not an exception we would like to revise some basic points that speak in favor of putting your male health in the hands of those magical tablets.
Firstly, there is no need for regular therapy – those blue pills have to be taken directly before the planned sexual contact, and extra convenience shines through when you come to realize that the pills will not start working unless sufficient sexual stimulation is provided.

- Secondly, this erectile dysfunction solution is known for its extremely low adverse side effects profile, which makes it available for all age groups of patients. Besides, it really does not matter how old you are when it goes about taking erectile dysfunction pills – just make sure that you do not overdose, and they will work for you at their best!

- Finally, those fabulous pills do not only provide you with stable erection that can be maintained for as long as you need it – they also help you to achieve unheard sensitivity during the sexual act as well as make your genitals look much more sizey!

- Think of all those benefits of taking erectile dysfunction pills and the effect you can produce on your loved one – and do not hesitate to make your order and / or refills right away!

--- > http://tusis.ru < ---

 _V______C________L
 ___I_______I_______E
 _____A_______A_______V
 _______G_______L_______I
 _________R_______I_______T
 ___________A_______S_______R
 _____________________________A

   Like coffee can make your mind tuned for a day, Our male caplets can make your manhood ready for the real crazy night! We welcome you to our store and promises you to please you with lowered prices and valuable gifts regularly! Try this lovemaking madness!
-
 - - -
--------- http://tusis.ru
 - - -
-
                    ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.