2

My new Dell Inspiron i7559 is not recognizing any SD cards. I had installed Ubuntu Mate 15.10, and everything else (including wifi) worked fine. However, at the start, the SD card reader device was not working. The output of lspci -nnk was as follows:

06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:522a] (rev 01) 
    Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:522a] 

FIXED: I installed the latest stable kernel 4.4.1 using deb packages, and now the SD Card Reader is working, and lspci -nnk returns the following:

06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:522a] (rev 01) 
    Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:522a]
Kernel driver in use: rtsx_pci  

I hope this helps someone with this new model Dell machine!

  • @DavidFoerster, the above command simply returns a blank line. amrita@amrita-home:~$ lspci -nnk | grep -A1 'Device 522a' amrita@amrita-home:~$ – Amrita K Feb 9 '16 at 6:31
  • amrita@amrita-home:~$ lspci -nnk | grep -A1 'Device 522a' amrita@amrita-home:~$ Apologies for not using appropriate formatting in my question and comment above. – Amrita K Feb 9 '16 at 6:41
  • @DavidFoerster, edited to include the output. Thank you! – Amrita K Feb 9 '16 at 8:18
2
  1. Find your current kernel version and follow the steps of any answer to What's a simple way to recompile the kernel?. Let's go with the accepted answer for the sake of simplicity.

  2. Apply the patch mentioned in the bug report. Inside the root directory of the kernel source:

    wget -O rts522a-20150628.patch http://lkml.org/lkml/diff/2015/6/28/134/1
    patch -p1 < rts522a-20150628.patch
    
  3. Rebuild and install the kernel starting with the command make-kpgk (or make or other steps depending on the chosen build recipe).

  4. Reboot and cross your fingers.

  • I went with method 1 as apt-get source linux-image-$(uname -r) Then I input the wget command above; it downloaded the patch but returned: amrita@amrita-home:~$ patch < rts522a-20150628.patch can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig |index 6538159..614c146 100644 |--- a/drivers/mfd/Kconfig |+++ b/drivers/mfd/Kconfig -------------------------- File to patch: – Amrita K Feb 9 '16 at 10:42
  • while trying to rebuild the kernel, I realized that I should first install the latest one. Should have done that before posting. Thank you! – Amrita K Feb 9 '16 at 12:34
  • I altered it to patch -p1. I thought, that would be the default, but oh well… Can you please try again? – David Foerster Feb 9 '16 at 16:10
0

I installed the newest stable kernel (v4.4.1 wily) for 15.10. This fixed the issue, and my Realtek SD card reader is working fine.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.