Realtek Card Reader on HP laptop not working

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

Realtek Card Reader on HP laptop not working

Postby fumblejack on Sat Apr 26, 2014 3:34 pm

My SD card doesn't read any SD card. When I put it in, it doesn't mount, doesn't show up anywhere. I have spent the last two days trying everything that I have found on-line. I have upgraded my kernel, I have restarted multiple times, I have added lines to /etc/modules, and nothing is working. I type in:

su -l
echo 1 > /sys/bus/pci/rescan

and it still doesn't work. What else is there for me to do?

Adam
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Linux Mint is funded by ads and donations.
 

Re: Realtek Card Reader on HP laptop not working

Postby gtsfer on Sat Apr 26, 2014 5:43 pm

Is there data on it you're trying to get at? The commands you refer to worked for me, but this SD is formatted for a Kodak camera.

Can you see it with gparted (just to take a peek, not to format it)?. Other cards work for me np (such as blanks which I've formatted for a Raspberry Pi).

If I remember correctly, when I switched to Linux I had to find and upgrade the firmware on my card reader for it to work at all. That might be worth investigating.
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Realtek Card Reader on HP laptop not working

Postby fumblejack on Sat Apr 26, 2014 7:31 pm

No it doesn't appear in gparted.

I'm actually trying to format it for a pi. I can't get the Linux to see the sd card.The card reader shows up under lspci command, just never reads/notices/mounts any card that I install. I figure it's a firmware issue as well. I looked for firmware and instructions but didn't have much luck. I will try again.
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Postby JeremyB on Sat Apr 26, 2014 9:09 pm

Have you tried an external usb card reader?
JeremyB
Level 7
Level 7
 
Posts: 1717
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek Card Reader on HP laptop not working

Postby fumblejack on Sat Apr 26, 2014 9:16 pm

I haven't tried that, but it would probably work. Most of my USB devices work fine. I don't have a USB card reader though, and would like to use the onboard card reader.
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Re: Realtek Card Reader on HP laptop not working

Postby gtsfer on Sun Apr 27, 2014 11:58 am

First, find the card reader. It sounds like yours is on the PCI bus from what you posted. Just in case, run both of these commands.

Code: Select all
lsusb
lspci

Mine for instance shows up on USB as "Bus 004 Device 002: ID 0644:0200 TEAC Corp. All-In-One Multi-Card Reader CA200/B/S". So let's find the card first and see about looking for a firmware update. I am really sure I went through this little process a long time ago when formatting my first Pi SD cards. Nothing showed up no matter what until I did a FW update on Linux. I returned 2 brand new cards until I figured it out. :oops:
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Realtek Card Reader on HP laptop not working

Postby fumblejack on Sun Apr 27, 2014 1:20 pm

Code: Select all
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)


This is what shows up on the PCI bus.
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Re: Realtek Card Reader on HP laptop not working

Postby fumblejack on Sun Apr 27, 2014 2:23 pm

So I found the driver through this link http://forums.debian.net/viewtopic.php?t=100596 and the install insrtuctions are quite simple, But I am getting the following errors no matter what I do. How do I get this working? All of my linux-headers are installed.

Code: Select all
dad-laptop rts5229 # make
cp -f ./define.release ./define.h
make -C /lib/modules/3.14.1-031401-generic/build/ SUBDIRS=/home/adam/rts5229 modules
make[1]: Entering directory `/usr/src/linux-headers-3.14.1-031401-generic'
  CC [M]  /home/adam/rts5229/rtsx.o
/home/adam/rts5229/rtsx.c:266:2: error: unknown field ‘proc_info’ specified in initializer
/home/adam/rts5229/rtsx.c:266:2: warning: initialization from incompatible pointer type [enabled by default]
/home/adam/rts5229/rtsx.c:266:2: warning: (near initialization for ‘rtsx_host_template.proc_dir’) [enabled by default]
/home/adam/rts5229/rtsx.c:914:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
/home/adam/rts5229/rtsx.c:1069:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
/home/adam/rts5229/rtsx.c:1094:11: error: ‘rtsx_probe’ undeclared here (not in a function)
/home/adam/rts5229/rtsx.c:1095:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
/home/adam/rts5229/rtsx.c:1095:24: error: ‘rtsx_remove’ undeclared here (not in a function)
/home/adam/rts5229/rtsx.c:262:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
/home/adam/rts5229/rtsx.c:476:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
/home/adam/rts5229/rtsx.c:585:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
/home/adam/rts5229/rtsx.c:739:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
/home/adam/rts5229/rtsx.c:775:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
/home/adam/rts5229/rtsx.c:785:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
/home/adam/rts5229/rtsx.c:810:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[2]: *** [/home/adam/rts5229/rtsx.o] Error 1
make[1]: *** [_module_/home/adam/rts5229] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.14.1-031401-generic'
make: *** [default] Error 2
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Re: Realtek Card Reader on HP laptop not working

Postby gtsfer on Sun Apr 27, 2014 2:26 pm

This is along the lines of what you need to do to do to get that card reader working. http://www.amazon.com/Passport-Portable ... hard+drive

Take a look at it, if you need help I'll try and delve back into my memory more. What kind of PC/laptop are you working with there? Can you post this as well (if your get stuck that is, it's not easy if you do it first time).

Code: Select all
inxi -Fx
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Realtek Card Reader on HP laptop not working

Postby gtsfer on Sun Apr 27, 2014 4:29 pm

Wait, let's back up a bit. It was firmware for the card. Not the driver. I have to look again. It was a year ago, but I'm sure it was the firmware. (aka updating the ROM chip in the card itself, like a BIOS update). Sorry, been out for a few hours doing Sunday stuff.
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Realtek Card Reader on HP laptop not working

Postby fumblejack on Mon Apr 28, 2014 10:57 am

Code: Select all
adam@dad-laptop ~ $ inxi -Fx
System:    Host: dad-laptop Kernel: 3.14.1-031401-generic x86_64 (64 bit, gcc: 4.6.3)
           Desktop: N/A Distro: Linux Mint 15 Olivia
Machine:   System: Hewlett-Packard product: HP 2000 Notebook PC version: 088A120000305910000620100
           Mobo: Hewlett-Packard model: 188B version: KBC Version 69.14 Bios: Insyde version: F.22 date: 10/25/2012
CPU:       Dual core AMD E1-1200 APU with Radeon HD Graphics (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 sse4a ssse3 svm) bmips: 5589.82
           Clock Speeds: 1: 777.00 MHz 2: 777.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 7310] bus-ID: 00:01.0
           X.Org: 1.13.3 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
           GLX Renderer: Gallium 0.4 on AMD PALM GLX Version: 3.0 Mesa 9.1.7 Direct Rendering: Yes
Audio:     Card-1: Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2
           Card-2: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture ver: k3.14.1-031401-generic
Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
           driver: r8169 ver: 2.3LK-NAPI port: 2000 bus-ID: 03:00.0
           IF: eth0 state: down mac: 74:46:a0:cb:5c:ed
           Card-2: Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 07:00.0
           IF: wlan0 state: up mac: 2c:d0:5a:56:e9:ea
Drives:    HDD Total Size: 320.1GB (31.3% used) 1: id: /dev/sda model: WDC_WD3200BPVT size: 320.1GB
Partition: ID: / size: 193G used: 94G (52%) fs: ext4 ID: swap-1 size: 3.87GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 181 Uptime: 1:06 Memory: 920.2/3551.6MB Runlevel: 2 Gcc sys: 4.7.3 Client: Shell inxi: 1.8.4
adam@dad-laptop ~ $
fumblejack
Level 1
Level 1
 
Posts: 45
Joined: Thu Jun 25, 2009 9:36 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 22 guests