Card Reader - Realtek [0bda:0129][0bda:0186] didn't properly detect the ejection of SD/MMC cards.

Bug #1176709 reported by Po-Hsu Lin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Low
Unassigned
Declined for Precise by Po-Hsu Lin

Bug Description

CID: 201209-11719 (Dell VOSTRO 2421)

With this card reader: 0bda:0129 Realtek Semiconductor Corp.

Steps:
1. Insert a MMC/SD/SDHC card.
(The file browser will pop out, an icon will appear on the launcherc, device will be mounted under /media/)
2. Remove the pre-inserted card.

Expected Results:
1. The card will be removed from the /media, the icon will disappear from the launcher, the file browser closed.
2. Open a file browser, and it's not in the devices section of the left column.

Actual Results:
1. The card will be removed from the /media, the icon will disappear from the launcher, the file browser closed.
2. It still listed in the devices section, if you click on it in the file browser, an error pops, telling you the device was not found, and the disappears from the left column of the file browser.

The reason seems to be the eject event is not being sent through dbus.
Will try update later to see if it can be solved.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-23-generic 3.5.0-23.35~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC282 Analog [ALC282 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1543 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7d10000 irq 45'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:10ec0282,10280591,00100003 HDA:80862806,80860101,00100000'
   Controls : 26
   Simple ctrls : 11
Date: Sun May 5 21:51:12 2013
HibernationDevice: RESUME=UUID=0ea57d4a-44bc-4195-b18e-1a9507a1394d
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MachineType: Dell Inc. Vostro 2421
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=84803b1a-e3a5-4c3c-adcc-fde4fa457d54 ro quiet splash initcall_debug vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1
SourcePackage: linux
StagingDrivers: rts5139
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/22/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: X10
dmi.board.vendor: Dell Inc.
dmi.board.version: X10
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrX10:bd08/22/2012:svnDellInc.:pnVostro2421:pvrNotSpecified:rvnDellInc.:rn:rvrX10:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Vostro 2421
dmi.product.version: Not Specified
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
summary: - Card Reader - Realtek [0bda:0129] didn't detect the eject of SD/MMC
+ Card Reader - Realtek [0bda:0129] didn't detect the ejection of SD/MMC
cards.
summary: - Card Reader - Realtek [0bda:0129] didn't detect the ejection of SD/MMC
- cards.
+ Card Reader - Realtek [0bda:0129] didn't properly detect the ejection of
+ SD/MMC cards.
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: Card Reader - Realtek [0bda:0129] didn't properly detect the ejection of SD/MMC cards.

Running update can't solve this problem.

Daniel Manrique (roadmr)
Changed in linux (Ubuntu):
importance: Undecided → Low
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201206-11394 Dell Inspiron N5525

tags: added: 201206-11394
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201206-11418 Inspiron N5425

tags: added: 201206-11418
Revision history for this message
Jeff Lane  (bladernr) wrote :

This is a pretty common issue with more than a few systems. I'm sure there are other bugs filed for htis as well... and Sam hit the nail on the head, it's because the card removal event isn't being properly pushed to the system, so only part of the running system is aware that the card is no longer present.

This causes some minor pain when doing certification testing (and probably will for customers or others running this test as well.)

Revision history for this message
Anthony Wong (anthonywong) wrote :

@Po-Hsu
Would it be possible for you to test a mainline kernel, such as the one in http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-rc7-saucy/. Thanks.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Anthony,
I've verified with these systems:
201207-11419 - 12.04.2 + 3.8.0-26 - FAILED
201210-11862 - 12.04.2 + 3.5.0-34 - FAILED
201209-11719 - 12.04.2 + 3.10-rc7 - FAILED
201209-11719 - 13.04 + 3.8.0-19 - PASSED
201209-11715 - 13.10 + 3.9.0-7 - PASSED
201202-10530 - 13.04 + 3.8.0-19 - PASSED

tags: added: 201207-11419
tags: added: 201210-11862
tags: added: 201209-11715
tags: added: 201202-10530
tags: added: 201210-11865
tags: added: 201210-11864
tags: added: 201210-11863
tags: added: 201210-11861
tags: added: 201209-11717
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still affecting 12.04.3 Precise (3.8 kernel)

Series nominated.

Revision history for this message
Anthony Wong (anthonywong) wrote :

According to comment #8, it has been fixed by user space in later Ubuntu releases.

Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → nobody
Po-Hsu Lin (cypressyew)
tags: added: 201303-13027
Taihsiang Ho (tai271828)
tags: added: 201305-13636
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This also affect Realtek [0bda:0186], verified on 201302-12727 with 12.04.5

summary: - Card Reader - Realtek [0bda:0129] didn't properly detect the ejection of
- SD/MMC cards.
+ Card Reader - Realtek [0bda:0129][0bda:0186] didn't properly detect the
+ ejection of SD/MMC cards.
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affecting [0bda:0139] on 201208-11587 with 12.04.5

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Precise EOL.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
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.