SD Card Reader won't work.

Questions about hardware and drivers
Forum rules
Before you post please read this

SD Card Reader won't work.

Postby freak0 on Fri Jan 27, 2012 12:25 pm

Hi, my new Ultrabook Acer Aspire S3 works fine with LMDE64, except the Realtek card reader.
http://www.linlap.com/wiki/acer+aspire+s3?&#comment_a306e451d18a4c447b2c3383d1bf5945

Nothing happening when i plug an SD card inside.

No new Entry in syslog.
lspci is useless (it's an internal usb2 sdcard reader).
lsusb said that is a realtek.

Some web information gave me the model "Acer Aspire S3 Ultrabook: 2-in-1 SD card reader PCB with Realtek RTS5179 USB Card Reader Controller" (http://www.techrepublic.com/photos/cracking-open-acer-aspire-s3-ultrabook/6333841?seq=26)

I've found this but i don't know how to make it work : http://c-cpp.r3dcode.com/folders/linux-kernel/3/2-rc2/drivers/staging/rts5139

Did someone can help ?
"L'art naît de contrainte, vit de lutte, meurt de liberté." André Gide
User avatar
freak0
Level 1
Level 1
 
Posts: 9
Joined: Thu Jan 26, 2012 9:00 am

Linux Mint is funded by ads and donations.
 

Re: SD Card Reader won't work.

Postby doktornotor on Fri Jan 27, 2012 12:38 pm

freak0 wrote:I've found this but i don't know how to make it work : http://c-cpp.r3dcode.com/folders/linux-kernel/3/2-rc2/drivers/staging/rts5139


Code: Select all
$ sudo modinfo rts5139 && uname -a
filename:       /lib/modules/3.2.0-1.dmz.6-liquorix-amd64/kernel/drivers/staging/rts5139/rts5139.ko
version:        v1.04
license:        GPL
description:    Realtek RTS5139/29 USB card reader driver
srcversion:     21459CB566C30418471E6A4
alias:          usb:v0BDAp0129d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp0139d*dc*dsc*dp*ic*isc*ip*
depends:        scsi_mod
staging:        Y
intree:         Y
vermagic:       3.2.0-1.dmz.6-liquorix-amd64 SMP preempt mod_unload modversions
parm:           auto_delink_en:enable auto delink (int)
parm:           ss_en:enable selective suspend (int)
parm:           ss_delay:seconds to delay before entering selective suspend (int)
parm:           needs_remote_wakeup:ss state needs remote wakeup supported (int)
Linux joybook 3.2.0-1.dmz.6-liquorix-amd64 #1 ZEN SMP PREEMPT Mon Jan 23 18:43:37 CST 2012 x86_64 GNU/Linux


You can get the kernel by adding the following to /etc/apt/sources.list:

Code: Select all
deb http://liquorix.net/debian sid main future


and running

Code: Select all
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFF4F272FB2CD80
sudo apt-get update
sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64


Alternatively, you can compile your own kernel with staging drivers and CONFIG_RTS5139 enabled. :P
doktornotor
Level 4
Level 4
 
Posts: 212
Joined: Mon Jan 23, 2012 6:28 pm

Request rts5139 in standard Mint/Debian kernel

Postby petaramesh on Sun Apr 22, 2012 5:07 am

Up !

Toshiba Satellite L735 also has a card-reader that uses the rts5139 module. So it looks like this module is becoming commonly needed.

Ubuntu Oneiric and Precise default kernels include this module, so that's great, and Ubuntu based Mint 12 as well.

Installing the Liquorix kernel as shown above solved my problem in Mint/Debian, but I would request this module be included in standard Mint/Debian kernel.

TIA :)
petaramesh
Level 1
Level 1
 
Posts: 8
Joined: Thu Dec 29, 2011 4:49 am

Re: SD Card Reader won't work.

Postby halfnote5 on Tue May 15, 2012 3:55 pm

Try this:

Insert the SD card (or any SD card) before booting the machine.

The SD card - and any you choose to insert afterwards should work. This isn't a solution, so much as a workaround.

I was trying to figure it out myself, but left it alone when I found a "good enough" alternative. :oops: I'm going to have to try Liquorix.
halfnote5
Level 1
Level 1
 
Posts: 38
Joined: Tue Feb 01, 2011 10:28 am

Re: SD Card Reader won't work.

Postby petaramesh on Tue May 15, 2012 5:30 pm

Nope. This reader needs the rts5139 module. This module is not part of the default kernel that ships with LMDE. Period.
petaramesh
Level 1
Level 1
 
Posts: 8
Joined: Thu Dec 29, 2011 4:49 am

Re: SD Card Reader won't work.

Postby Flemur on Fri Jan 04, 2013 2:51 pm

halfnote5 wrote:Insert the SD card (or any SD card) before booting the machine.


That helped here; sd cards used to work fine, but they'd started not showing up after the first "eject" or "unmount".
(thunar has 'unmount' and 'eject' and pcmanfm just has 'eject') Going to try 'sync' then just pulling the card w/o 'eject', etc.

I had similar problems with Arch; it still acts very strangely with both pcmanfm and thunar (bogus error msgs, infinity spinning timer, lists files on previous SD card after it's removed or sometimes with new card inserted, etc), but they always show up and eventually work on Arch, using an entry in fstab - which doesn't work in Mint.
Mint 16/Xfce/fluxbox, Manjaro/fluxbox, LMDE/MATE
User avatar
Flemur
Level 5
Level 5
 
Posts: 588
Joined: Mon Aug 20, 2012 9:41 pm

Re: SD Card Reader won't work.

Postby petaramesh on Fri Jan 04, 2013 3:21 pm

It's worth noting that the 3.5 kernel that comes with Ubuntu 12.10 and Mint 14 Nadia solves all problems this card reader had in previous versions. Alas LMDE still uses a much older 3.2 Debian kernel...
petaramesh
Level 1
Level 1
 
Posts: 8
Joined: Thu Dec 29, 2011 4:49 am

Re: SD Card Reader won't work.

Postby Flemur on Sat Jan 05, 2013 2:46 pm

I compiled the 3.7.1 kernel with RTS5179 enabled and nothing changed.

What I did figure out is: if I run "sync" from a term before pulling the card, but NEVER "eject" or "unmount" the SD card, everything works fine: I can reinsert the card, it appears auto-magically and it works, rather than disappearing until next reboot after using "eject" or "unmount".
Mint 16/Xfce/fluxbox, Manjaro/fluxbox, LMDE/MATE
User avatar
Flemur
Level 5
Level 5
 
Posts: 588
Joined: Mon Aug 20, 2012 9:41 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 1 guest