No cardreader support for O2 Micro, Inc. Device [1217:8520]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Medium
|
Adam Lee | |||
Saucy |
Medium
|
Adam Lee | |||
Trusty |
High
|
Unassigned | |||
linux (Ubuntu) |
Medium
|
Adam Lee | |||
Precise |
Undecided
|
Unassigned | |||
Saucy |
Undecided
|
Unassigned | |||
Trusty |
Medium
|
Adam Lee | |||
linux-lts-raring (Ubuntu) |
High
|
Unassigned | |||
Precise |
Undecided
|
Unassigned | |||
Saucy |
Undecided
|
Unassigned | |||
Trusty |
High
|
Unassigned | |||
linux-lts-saucy (Ubuntu) |
High
|
Unassigned | |||
Precise |
Undecided
|
Unassigned | |||
Saucy |
Undecided
|
Unassigned | |||
Trusty |
High
|
Unassigned |
Bug Description
Open this bug to trace device driver for O2 Micro, Inc. Device [1217:8520].
We have seen this cardreader on some laptops, but most BIOS missed its special init, it's better to do that init in kernel.
The support doesn't show up in mainline or mmc-next yet.
Patch submitted upstream: http://
Changed in hwe-next: | |
assignee: | nobody → Adam Lee (adam8157) |
importance: | Undecided → Medium |
tags: | added: blocks-hwcert-enablement |
Changed in hwe-next: | |
status: | New → Incomplete |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Adam Lee (adam8157) wrote : | #2 |
Had a "How to submit patches" tech talk with O2Micro engineers, they submitted their first version but rejected, maintainer suggest they wrote a new module instead of adding ~200 lines into general module.
By now, their patch v2 is waiting for review.
Po-Hsu Lin (cypressyew) wrote : | #3 |
Affecting 201307-14017 Dell Latitude E5440
tags: | added: 201307-14017 blocks-hwcert taipei-lab |
VS.Breider (vs-breider) wrote : | #4 |
I can confirm this bug on my Dell Latitude E6540 using kubuntu 13.10.
Po-Hsu Lin (cypressyew) wrote : | #5 |
Affecting 201307-13941 Dell Latitude E5440
tags: | added: 201307-13941 |
Adam Lee (adam8157) wrote : | #6 |
With O2Micro's permission, I did some modification and resubmitted the patch to mmc-next.
bengtan (bengtan) wrote : | #7 |
Also affects Dell Latitude e7440 with Ubuntu 12.04.03 ... 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Thank you.
bengtan (bengtan) wrote : | #8 |
And a list of other notebooks which are likely to also be affected:
http://
Begs the question ... how can these systems be listed as certified by Ubuntu if part of the hardware obviously doesn't work?
Adam Lee (adam8157) wrote : | #9 |
Hi, @bengtan
1, we deliver drivers in OEM projects, out of kernel.
2, this bug can be fixed by BIOS too.
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Adam Lee (adam8157) wrote : | #10 |
in mmc-next now, waiting next week's merge window.
Adam Lee (adam8157) wrote : | #12 |
remove raring branch since it's almost eol, no enough time.
no longer affects: | hwe-next/raring |
bengtan (bengtan) wrote : | #13 |
I agree that 13.04 is reaching EOL.
However, the EOL for the Raring HWE Stack is April 2017 because it's in 12.04.3, yes?
bengtan (bengtan) wrote : | #14 |
"The natural support duration for the 13.04 Raring Ringtail release is now 9 months. We will however commit to supporting the Raring HWE stack in 12.04 from the time of the 12.04.3 point release until the 14.04.1 time frame. "
Quoted from https:/
Adam Lee (adam8157) wrote : | #15 |
Thanks for reminding, @bengtan
Changed in linux-lts-raring (Ubuntu): | |
status: | New → Confirmed |
Changed in linux-lts-raring (Ubuntu): | |
importance: | Undecided → High |
Anthony Wong (anthonywong) wrote : | #16 |
Patches were pushed to mmc-next for 3.14.
Adam Lee (adam8157) wrote : | #17 |
patchset for trusty, saucy and lts-raring are submitted to kernel-team maillist.
Adam Lee (adam8157) wrote : | #18 |
FYI, commits in mainline:
522624f97ee2268
01acf6917aed934
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Precise): | |
status: | New → Invalid |
Changed in linux (Ubuntu Saucy): | |
status: | New → Fix Committed |
Changed in linux-lts-raring (Ubuntu Precise): | |
status: | New → Fix Committed |
Changed in linux-lts-raring (Ubuntu Saucy): | |
status: | New → Invalid |
Changed in linux-lts-raring (Ubuntu Trusty): | |
status: | Confirmed → Invalid |
Changed in linux-lts-saucy (Ubuntu Precise): | |
status: | New → In Progress |
Changed in linux-lts-saucy (Ubuntu Saucy): | |
status: | New → Invalid |
Changed in linux-lts-saucy (Ubuntu Trusty): | |
status: | New → Invalid |
Changed in linux-lts-saucy (Ubuntu): | |
importance: | Undecided → High |
Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package linux - 3.13.0-6.23
---------------
linux (3.13.0-6.23) trusty; urgency=low
[ Andy Whitcroft ]
* [Config] fix up architecture for linux-tools
linux (3.13.0-6.22) trusty; urgency=low
[ Andy Whitcroft ]
* [Packaging] limit linux-udebs-
* [Config] powerpc -- disable perf to fix FTBFS
* [Config] ppc64el -- fix up missing udebs
linux (3.13.0-6.21) trusty; urgency=low
[ Andy Fleming ]
* SAUCE: net: Add support for handling queueing in hardware
* SAUCE: of_mdio: Add of_phy_attach function
* SAUCE: phylib: Add generic 10G driver
* SAUCE: phylib: Support attaching to gen10g_driver
* SAUCE: phylib: Add Clause 45 read/write functions
[ Andy Whitcroft ]
* SAUCE: fix fmd headers
* [Packaging] lowlatency -- merge out of tree flavours
* SAUCE: allow IRQs to be irq-threaded by default via config
* [Config]: enable CONFIG_
* [Config] powerpc -- fix up Build-depends:
* Release Tracking Bug
- LP: #1273747
[ Ben Collins ]
* SAUCE: PPC: PCI: Fix pcibios_
ptr/64-bit rsrcs
* SAUCE: Revert "phy: vitesse make vsc824x_add_skew static"
* SAUCE: Fixup freescale usb phy driver to work on ppc64
* SAUCE: xgmac_mdio: Silence read errors
* SAUCE: Provide booke stub for kvmppc_
* SAUCE: Fix stack overflow on ppc32
* SAUCE: Use resource_size_t instead of long for PCI resource address
* SAUCE: net/phy: Export function for use by dpaa_eth
* [Packaging] powerpc -- merge out of tree powerpc arch
[ Bjorn Helgaas ]
* SAUCE: Revert "EISA: Log device resources in dmesg"
- LP: #1251816
* SAUCE: Revert "EISA: Initialize device before its resources"
- LP: #1251816
[ Emil Medve ]
* SAUCE: phylib: Minimum hack to get the generic 10G PHY driver to work
with 10G "fixed-link"s
[ Kumar Gala ]
* SAUCE: fsl_qbman: Add drivers for Freescale DPAA Qman & Bman
* SAUCE: fsl_pme2: Add support for DPAA PME
* SAUCE: fmd: FMD14 integration
* SAUCE: dpaa_eth: Ethernet driver for Freescale QorIQ DPA Architecture
* SAUCE: powerpc/85xx: Add DPAA/networking support for CoreNet
[ Madalin Bucur ]
* SAUCE: net/flow: remove sleeping and deferral mechanism from
flow_
* SAUCE: net/phy: abort genphy_read_status when link changes during speed
and duplex reading
[ Stefan Bader ]
* [Config] move some VMWare related modules into main package
- LP: #1271669
[ Tim Gardner ]
* [Config] Add r815x to nic-modules
- LP: #1273735
* [Config] CONFIG_
- LP: #239479
[ Upstream Kernel Changes ]
* mmc: sdhci-pci: break out definitions to header file
- LP: #1239938
* mmc: sdhci-pci: add support of O2Micro/BayHubTech SD hosts
- LP: #1239938
* powerpc/book3e: rename interrupt_
* powerpc/book3e: support CONFIG_RELOCATABLE
* book3e/kexec/kdump: enable kexec for kernel
* book3e/kexec/kdump: create a 1:1 TLB mapping
* book3e/kexec/kdump: introduce a kexec kernel flag
* book3e/kexec/kdump: implement ppc64 kexec specfic
* book3e/...
Changed in linux (Ubuntu Trusty): | |
status: | Fix Committed → Fix Released |
bengtan (bengtan) wrote : | #20 |
Hi,
I recently installed a linux kernel update, but it doesn't look like it's fixed this issue. I'm on 12.04.3 LTS with Raring LTS (I think):
Linux MXC-062 3.8.0-35-generic #52~precise1-Ubuntu SMP Thu Jan 30 17:24:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Has it been released for this "stream" of the kernel yet? I don't quite understand the subtleties of the different kernel projects on launchpad.
Thanks.
Adam Lee (adam8157) wrote : | #21 |
@bengtan
check linux-lts-raring's precise stream, not released yet by now.
bengtan (bengtan) wrote : | #22 |
@Adam Lee: Understood. Thanks.
Chih-Hsyuan Ho (chih) wrote : | #23 |
I installed the 3.13.0-6.23 (https:/
tags: | added: 201304-13408 |
tags: | added: 201306-13688 |
Brad Figg (brad-figg) wrote : | #24 |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
tags: | added: verification-needed-saucy |
Changed in linux-lts-saucy (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Adam Lee (adam8157) wrote : | #25 |
verified with saucy 3.11.0-18, positive
tags: |
added: verification-done-saucy removed: verification-needed-saucy |
Adam Lee (adam8157) wrote : | #26 |
verified with lts-raring 3.8.0-37, positive too
Adam Lee (adam8157) wrote : | #27 |
#25 and #26 are tested on ThinkPad W540
Launchpad Janitor (janitor) wrote : | #28 |
This bug was fixed in the package linux-lts-raring - 3.8.0-37.
---------------
linux-lts-raring (3.8.0-
[ Joseph Salisbury ]
* Release Tracking Bug
- LP: #1282210
[ Upstream Kernel Changes ]
* Revert "of/address: Handle #address-cells > 2 specially"
- LP: #1278969
* ath9k_htc: properly set MAC address and BSSID mask
- LP: #1252422
- CVE-2013-4579
* aacraid: prevent invalid pointer dereference
- LP: #1256083
- CVE-2013-6380
* net: clamp ->msg_namelen instead of returning an error
- LP: #1269053
* mmc: sdhci-pci: break out definitions to header file
- LP: #1239938
* mmc: sdhci-pci: add support of O2Micro/BayHubTech SD hosts
- LP: #1239938
* SELinux: Fix kernel BUG on empty security contexts.
- CVE-2014-1874
* xfs: add capability check to free eofblocks ioctl
- LP: #1278969
* staging: vt6656: [BUG] Fix for TX USB resets from vendors driver.
- LP: #1278969
* net: Fix "ip rule delete table 256"
- LP: #1278969
* ipv6: use rt6_get_dflt_router to get default router in rt6_route_rcv
- LP: #1278969
* random32: fix off-by-one in seeding requirement
- LP: #1278969
* bonding: don't permit to use ARP monitoring in 802.3ad mode
- LP: #1278969
* usbnet: fix status interrupt urb handling
- LP: #1278969
* 6lowpan: Uncompression of traffic class field was incorrect
- LP: #1278969
* tuntap: limit head length of skb allocated
- LP: #1278969
* macvtap: limit head length of skb allocated
- LP: #1278969
* tcp: tsq: restore minimal amount of queueing
- LP: #1278969
* bonding: fix two race conditions in bond_store_
- LP: #1278969
* net-tcp: fix panic in tcp_fastopen_
- LP: #1278969
* isdnloop: use strlcpy() instead of strcpy()
- LP: #1278969
* connector: improved unaligned access error fix
- LP: #1278969
* ipv4: fix possible seqlock deadlock
- LP: #1278969
* inet: prevent leakage of uninitialized memory to user in recv syscalls
- LP: #1278969
* net: rework recvmsg handler msg_name and msg_namelen logic
- LP: #1278969
* net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct
sockaddr_
- LP: #1278969
* inet: fix addr_len/
functions
- LP: #1278969
* ipv6: fix leaking uninitialized port number of offender sockaddr
- LP: #1278969
* ip6_output: fragment outgoing reassembled skb properly
- LP: #1278969
* xfrm: Release dst if this dst is improper for vti tunnel
- LP: #1278969
* atm: idt77252: fix dev refcnt leak
- LP: #1278969
* tcp: don't update snd_nxt, when a socket is switched from repair mode
- LP: #1278969
* ipv4: fix race in concurrent ip_route_
- LP: #1278969
* net: core: Always propagate flag changes to interfaces
- LP: #1278969
* bridge: flush br's address entry in fdb when remove the bridge dev
- LP: #1278969
* packet: fix use after free race in send path when dev is released
- LP: #1278969
* af_packet: block BH in prb_shutdown_
- LP: #1278969
...
Changed in linux-lts-raring (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #30 |
This bug was fixed in the package linux-lts-saucy - 3.11.0-
---------------
linux-lts-saucy (3.11.0-
[ Brad Figg ]
* Release Tracking Bug
- LP: #1281894
[ Bjorn Helgaas ]
* SAUCE: Revert "EISA: Log device resources in dmesg"
- LP: #1251816
* SAUCE: Revert "EISA: Initialize device before its resources"
- LP: #1251816
[ Upstream Kernel Changes ]
* Revert "ip6tnl: fix use after free of fb_tnl_dev"
- LP: #1279399
* mmc: sdhci-pci: break out definitions to header file
- LP: #1239938
* mmc: sdhci-pci: add support of O2Micro/BayHubTech SD hosts
- LP: #1239938
* kexec: add sysctl to disable kexec_load
- LP: #1259570
* SELinux: Fix kernel BUG on empty security contexts.
- CVE-2014-1874
* br: fix use of ->rx_handler_data in code executed on non-rx_handler
path
- LP: #1279399
* arc_emac: fix potential use after free
- LP: #1279399
* ipv4: fix tunneled VM traffic over hw VXLAN/GRE GSO NIC
- LP: #1279399
* sfc: Add length checks to efx_xmit_
efx_
- LP: #1279399
* sfc: PTP: Moderate log message on event queue overflow
- LP: #1279399
* sfc: Rate-limit log message for PTP packets without a matching
timestamp event
- LP: #1279399
* sfc: Stop/re-start PTP when stopping/starting the datapath.
- LP: #1279399
* sfc: Maintain current frequency adjustment when applying a time offset
- LP: #1279399
* dm thin: switch to read-only mode if metadata space is exhausted
- LP: #1279399
* dm thin: always fallback the pool mode if commit fails
- LP: #1279399
* mm: memcg: fix race condition between memcg teardown and swapin
- LP: #1279399
* ARM: dts: exynos5250: Fix MDMA0 clock number
- LP: #1279399
* ARM: shmobile: kzm9g: Fix coherent DMA mask
- LP: #1279399
* ARM: shmobile: armadillo: Fix coherent DMA mask
- LP: #1279399
* ARM: shmobile: mackerel: Fix coherent DMA mask
- LP: #1279399
* clk: samsung: exynos4: Correct SRC_MFC register
- LP: #1279399
* clk: samsung: exynos5250: Add CLK_IGNORE_UNUSED flag for the sysreg
clock
- LP: #1279399
* clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks
- LP: #1279399
* [SCSI] sd: Reduce buffer size for vpd request
- LP: #1279399
* netfilter: nf_nat: fix access to uninitialized buffer in IRC NAT helper
- LP: #1279399
* writeback: Fix data corruption on NFS
- LP: #1279399
* drm/i915: fix DDI PLLs HW state readout code
- LP: #1279399
* drm/i915: Don't grab crtc mutexes in intel_modeset_
- LP: #1279399
* md/raid5: Fix possible confusion when multiple write errors occur.
- LP: #1279399
* md/raid10: fix two bugs in handling of known-bad-blocks.
- LP: #1279399
* md/raid10: fix bug when raid10 recovery fails to recover a block.
- LP: #1279399
* md: fix problem when adding device to read-only array with bitmap.
- LP: #1279399
* hwmon: (coretemp) Fix truncated name of alarm attributes
- LP: #1279399
* nilfs2: fix segctor bug that causes file system corruption
- LP: #1279399
* mm: fix crash when using XFS on l...
Changed in linux-lts-saucy (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #31 |
This bug was fixed in the package linux - 3.11.0-18.32
---------------
linux (3.11.0-18.32) saucy; urgency=low
[ Brad Figg ]
* Release Tracking Bug
- LP: #1281764
[ Bjorn Helgaas ]
* SAUCE: Revert "EISA: Log device resources in dmesg"
- LP: #1251816
* SAUCE: Revert "EISA: Initialize device before its resources"
- LP: #1251816
[ Upstream Kernel Changes ]
* Revert "ip6tnl: fix use after free of fb_tnl_dev"
- LP: #1279399
* mmc: sdhci-pci: break out definitions to header file
- LP: #1239938
* mmc: sdhci-pci: add support of O2Micro/BayHubTech SD hosts
- LP: #1239938
* kexec: add sysctl to disable kexec_load
- LP: #1259570
* SELinux: Fix kernel BUG on empty security contexts.
- CVE-2014-1874
* br: fix use of ->rx_handler_data in code executed on non-rx_handler
path
- LP: #1279399
* arc_emac: fix potential use after free
- LP: #1279399
* ipv4: fix tunneled VM traffic over hw VXLAN/GRE GSO NIC
- LP: #1279399
* sfc: Add length checks to efx_xmit_
efx_
- LP: #1279399
* sfc: PTP: Moderate log message on event queue overflow
- LP: #1279399
* sfc: Rate-limit log message for PTP packets without a matching
timestamp event
- LP: #1279399
* sfc: Stop/re-start PTP when stopping/starting the datapath.
- LP: #1279399
* sfc: Maintain current frequency adjustment when applying a time offset
- LP: #1279399
* dm thin: switch to read-only mode if metadata space is exhausted
- LP: #1279399
* dm thin: always fallback the pool mode if commit fails
- LP: #1279399
* mm: memcg: fix race condition between memcg teardown and swapin
- LP: #1279399
* ARM: dts: exynos5250: Fix MDMA0 clock number
- LP: #1279399
* ARM: shmobile: kzm9g: Fix coherent DMA mask
- LP: #1279399
* ARM: shmobile: armadillo: Fix coherent DMA mask
- LP: #1279399
* ARM: shmobile: mackerel: Fix coherent DMA mask
- LP: #1279399
* clk: samsung: exynos4: Correct SRC_MFC register
- LP: #1279399
* clk: samsung: exynos5250: Add CLK_IGNORE_UNUSED flag for the sysreg
clock
- LP: #1279399
* clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks
- LP: #1279399
* [SCSI] sd: Reduce buffer size for vpd request
- LP: #1279399
* netfilter: nf_nat: fix access to uninitialized buffer in IRC NAT helper
- LP: #1279399
* writeback: Fix data corruption on NFS
- LP: #1279399
* drm/i915: fix DDI PLLs HW state readout code
- LP: #1279399
* drm/i915: Don't grab crtc mutexes in intel_modeset_
- LP: #1279399
* md/raid5: Fix possible confusion when multiple write errors occur.
- LP: #1279399
* md/raid10: fix two bugs in handling of known-bad-blocks.
- LP: #1279399
* md/raid10: fix bug when raid10 recovery fails to recover a block.
- LP: #1279399
* md: fix problem when adding device to read-only array with bitmap.
- LP: #1279399
* hwmon: (coretemp) Fix truncated name of alarm attributes
- LP: #1279399
* nilfs2: fix segctor bug that causes file system corruption
- LP: #1279399
* mm: fix crash when using XFS on loopback
- LP: #1279399
* vfs: In d...
Changed in linux (Ubuntu Saucy): | |
status: | Fix Committed → Fix Released |
status: | Fix Committed → Fix Released |
bengtan (bengtan) wrote : | #33 |
Hi,
I've just updated the kernel. Works now, and issue resolved for me.
Platform:
Dell e7440
Linux MXC-062 3.8.0-37-generic #53~precise1-Ubuntu SMP Wed Feb 19 21:37:54 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thank you.
tags: | added: 201306-13679 |
Taihsiang Ho (taihsiangho) wrote : | #34 |
Dell Latitude E6540(CID 201306-13679) tested on linux-lts-saucy (3.11.0-
the cardreader works now.
But for some of mmc cards it could not work normally, this issue was filed as the bug report LP: #1296598
tags: | added: verification-done-lts-saucy |
Rob (benssonrob) wrote : | #35 |
On a Latitude E6440 I get:
[ 1.149244] mmc0: Unknown controller version (3). You may experience problems.
06:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
Ubuntu 14.10
Is that normal?
Taihsiang Ho (taihsiangho) wrote : | #36 |
@Rob, may you please paste your "lspci -nn" output here?
Adam Lee (adam8157) wrote : | #37 |
@Rob, that output is OK. Please report bug if you find the "experience problems", thanks.
Set to incomplete, waiting the driver shows up in mainline.