Choose style:

Author Topic: Issues with MicroSD on a Laptop  (Read 188 times)

0 Members and 1 Guest are viewing this topic.

Offline Thriceby5

  • nOOb
  • *
  • Posts: 17
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Issues with MicroSD on a Laptop
« on: December 22, 2018, 12:08:15 am »
Hello, Im a new user to the Peppermint distro and Im having some issues using micro sd cards with Peppermint.

I have a Lenovo ideapad 130s 11.6'', after fully installing Peppermint I tried using the mirco sd card slot on the laptop.
To be sure there wasn't anything going wrong with the card, I used another pc to put a funny gif on it to see if I could see the gif when I transfer the card to the laptop.
At first it recognizes the card but for some reason I cant click to see what's inside.
https://imgur.com/a/B0l3dLJ

So I took out the card, put it in a usb type A adapter and see if it would work and it did. Played the funny gif and everything.
https://imgur.com/a/QgLRv3V

Because the laptop has so little storage I plan on using the card to save music and other stuff.

The particular card is a Samsung 128GB 100MB/s (U3) MicroSD EVO Select Memory Card with Adapter (MB-ME128GA/AM)
https://www.amazon.com/Samsung-MicroSD-Adapter-MB-ME128GA-AM/dp/B06XWZWYVP/ref=pd_lpo_vtph_147_bs_t_1/132-5545555-8641921?_encoding=UTF8&psc=1&refRID=JN2K1T7AK5V41GSQ6M2K

Typing in "lspci -nnk" I get-

Code: [Select]
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:31f0] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
00:00.1 Signal processing controller [1180]: Intel Corporation Device [8086:318c] (rev 03)
00:00.3 System peripheral [0880]: Intel Corporation Device [8086:3190] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3185] (rev 03)
Subsystem: Lenovo Device [17aa:39fd]
Kernel driver in use: i915
Kernel modules: i915
00:0e.0 Audio device [0403]: Intel Corporation Device [8086:3198] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
00:0f.0 Communication controller [0780]: Intel Corporation Device [8086:319a] (rev 03)
Kernel driver in use: mei_me
Kernel modules: mei_me
00:12.0 SATA controller [0106]: Intel Corporation Device [8086:31e3] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
Kernel driver in use: ahci
Kernel modules: ahci
00:13.0 PCI bridge [0604]: Intel Corporation Device [8086:31d8] (rev f3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 PCI bridge [0604]: Intel Corporation Device [8086:31d6] (rev f3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.1 PCI bridge [0604]: Intel Corporation Device [8086:31d7] (rev f3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:15.0 USB controller [0c03]: Intel Corporation Device [8086:31a8] (rev 03)
Subsystem: Lenovo Device [17aa:3801]
Kernel driver in use: xhci_hcd
00:17.0 Signal processing controller [1180]: Intel Corporation Device [8086:31b4] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:1c.0 SD Host controller [0805]: Intel Corporation Device [8086:31cc] (rev 03)
Subsystem: Lenovo Device [17aa:3807]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:31e8] (rev 03)
Subsystem: Lenovo Device [17aa:3802]
00:1f.1 SMBus [0c05]: Intel Corporation Device [8086:31d4] (rev 03)
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]
Kernel driver in use: rtl8821ce
Kernel modules: 8821ce

Again my laptop is a ideapad 130s 11.6'', I have some experience with linux in the past, but not enough where I feel comfortable.
If you need more information about the laptop, the link below should have all the specifications.
http://psref.lenovo.com/syspool/Sys/PDF/Lenovo%20Laptops/ideapad%20130S%20(11_)/ideapad%20S130-11IGM.pdf

Thanks in advance.




Offline Lord Rodin

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Issues with MicroSD on a Laptop
« Reply #1 on: December 23, 2018, 09:31:20 am »
It says

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader

In other words your system sees it but does not know what it is - might want to have a look here

https://community.linuxmint.com/hardware/view/20695

Hope this helps

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Issues with MicroSD on a Laptop
« Reply #2 on: December 26, 2018, 03:54:06 pm »
Try this .. open a terminal and run these commands in sequence
Code: [Select]
sudo apt-get install build-essential dkms git libelf-dev
then
Code: [Select]
mkdir ~/realtek_rts5229_driver
then
Code: [Select]
cd ~/realtek_rts5229_driver
then
Code: [Select]
git clone https://github.com/Zibri/Realtek-rts5229-linux-driver.git
then
Code: [Select]
cd ~/realtek_rts5229_driver/Realtek-rts5229-linux-driver
then
Code: [Select]
make
then
Code: [Select]
sudo make install
then
Code: [Select]
sudo depmod -a
then
Code: [Select]
echo 'blacklist rtsx_pci' | sudo tee -a /etc/modprobe.d/blacklist.conf
now REBOOT.

Once rebooted, test the cardreader .. does it work now ?
« Last Edit: December 26, 2018, 03:56:15 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Thriceby5

  • nOOb
  • *
  • Posts: 17
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Issues with MicroSD on a Laptop
« Reply #3 on: January 07, 2019, 10:34:16 am »
Sorry for the late reply, Ive been away for a couple week but when I return to my laptop this week I'll try out your methods.

Offline gpfromnc

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
Re: Issues with MicroSD on a Laptop
« Reply #4 on: January 08, 2019, 04:03:25 pm »
I read with interest  PCNetSpec's answer.  I can follow what is happening until; the last line -  echo 'blacklist rtsx_pci' | sudo tee -a /etc/modprobe.d/blacklist.conf .  What does the echo 'blacklist rtsx_pci command do, please?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Issues with MicroSD on a Laptop
« Reply #5 on: January 08, 2019, 04:11:47 pm »
It appends:-

blacklist rtsx_pc

to the end of this file:-

/etc/modprobe.d/blacklist.conf

which blacklists that driver module from being loaded
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline gpfromnc

  • nOOb
  • *
  • Posts: 23
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 and 9
Re: Issues with MicroSD on a Laptop
« Reply #6 on: January 08, 2019, 04:28:32 pm »
Thank you!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Issues with MicroSD on a Laptop
« Reply #7 on: January 08, 2019, 04:31:17 pm »
No worries my mate, I'll explain whenever I can when asked :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec