SD card reader not recognized, BionicPup64

What works, and doesn't, for you. Be specific, and please include Puppy version.
Message
Author
User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

SD card reader not recognized, BionicPup64

#1 Post by gychang »

Same card using usb dongle is recognized but not the builtin SD card. Not using a microSD.

lsusb "sees" it:
...
Bus 003 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.
Bus 003 Device 003: ID 0bda:0184 Realtek Semiconductor Corp. RTS5182 Card Reader
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
...

but pmount or mount does not.

Is this the Realtek driver issue?, is there a fix?
Last edited by gychang on Mon 06 May 2019, 14:23, edited 3 times in total.
---
trying to learn puppylinux... :D
---

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

I had that problem once, after I tried to use the SD card in a cheap camera. I had to use a Windows computer to reformat the SD card to FAT32 before Puppy could see it.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#3 Post by gychang »

Flash wrote:I had that problem once, after I tried to use the SD card in a cheap camera. I had to use a Windows computer to reformat the SD card to FAT32 before Puppy could see it.
reformatted 2 different SD cards in ubuntu (no windows in house...) with fat32, fat16 and same problem...
---
trying to learn puppylinux... :D
---

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#4 Post by don570 »

The fatdog64 people recommend zeroing the card first before using gparted
It's a simple command....
Format your micro SD card as fat32 using a windows or linux formatter.
In linux I recommend you zero out the card first...

just do "dd if=/dev/zero of=/dev/<flash-drive-device-name> bs=1M count=1". After doing this Gparted will regard you flash drive as completely empty and will offer to create a new MS-DOS partition table - which you should accept.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

Another possibility is that the SD card is too new and too large for the card reader's firmware. Do you have a small (~500 MB) SD card you could try?

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#6 Post by perdido »

I wonder if the sdcard slot is functional.

You should be able to see the sdcard using the gparted partition manager in your bionicpup64.
Gparted usually resides in the menu, Menu-->System-->Gparted partition manager

.

.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#7 Post by gychang »

don570 wrote:The fatdog64 people recommend zeroing the card first before using gparted
It's a simple command....
Format your micro SD card as fat32 using a windows or linux formatter.
In linux I recommend you zero out the card first...

just do "dd if=/dev/zero of=/dev/<flash-drive-device-name> bs=1M count=1". After doing this Gparted will regard you flash drive as completely empty and will offer to create a new MS-DOS partition table - which you should accept.
thanks for the suggestions, I followed this on ubuntu but when I booted on BP64 (same PC), SD card light lit when I insert the SD and shows on lsusb, but not "seen" on mount, gparted, fdisk, and pmount...., tried with 3 different cards (2 microSD with adapter), one regular SD 500MB.

must be the driver issue??
---
trying to learn puppylinux... :D
---

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#8 Post by Makoto »

Could be a faulty or failing card.

I haven't looked in quite a while, but SD card prices are probably still somewhat cheap, so you could always pick up a new card or two (from the same brand) and see if you have the same problems with the card not being recognized.

(Then again, if there's nothing of worth on the card, it probably wouldn't hurt to simply replace it, either.)

The same applies to card readers - I think stores like Safeway, CVS, Wal-Mart, Target, etc., sell USB card readers next to their SD card stock. You can always buy a cheap one and see if it works better.
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#9 Post by gychang »

Makoto wrote:Could be a faulty or failing card.

I haven't looked in quite a while, but SD card prices are probably still somewhat cheap, so you could always pick up a new card or two (from the same brand) and see if you have the same problems with the card not being recognized.

(Then again, if there's nothing of worth on the card, it probably wouldn't hurt to simply replace it, either.)

The same applies to card readers - I think stores like Safeway, CVS, Wal-Mart, Target, etc., sell USB card readers next to their SD card stock. You can always buy a cheap one and see if it works better.
I tried 3 different cards (including 2 microSD), the card reader came with the Dell PC originally and it works well in other OS (when I had win10, and other linux, including ubuntu 19.04 now). I do have usb dongle SD reader already... but would be more convenient to get this working.
Attachments
SD-reader.jpg
(54.1 KiB) Downloaded 547 times
---
trying to learn puppylinux... :D
---

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: SD card not recognized, BionicPup64

#10 Post by sheldonisaac »

gychang (in part) wrote:Same card using usb dongle is recognized but not the builtin SD card.
Please excuse, I do not completely understand.
Might this be related to the computer you are using?

--------------
Booted BionicPup64 with pfix=ram on this Dell E6410
drwxr-xr-x 14 root root 4096 Mar 22 17:11 bionicpup64save-mar21
-rw-r--r-- 1 root root 2619177 Feb 26 19:11 initrd.gz
drwxr-xr-x 3 root root 4096 Jan 2 06:44 NewDir
-rw-r--r-- 1 root root 292466688 Feb 26 19:13 puppy_bionicpup64_8.0.sfs
-rw-r--r-- 1 root root 6189216 Feb 19 23:15 vmlinuz
-rw-r--r-- 1 root root 59727872 Feb 24 19:19 zdrv_bionicpup64_8.0.sfs
2GB SD card in USB SD card reader
Disk /dev/sdc: 1.9 GiB, 2007498752 bytes, 3920896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 63 1960447 1960385 957.2M 6 FAT16
Same card in the built-in reader of the computer.
Disk /dev/mmcblk0: 1.9 GiB, 2007498752 bytes, 3920896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 63 1960447 1960385 957.2M 6 FAT16
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

Re: SD card not recognized, BionicPup64

#11 Post by gychang »

sheldonisaac wrote:
gychang (in part) wrote:Same card using usb dongle is recognized but not the builtin SD card.
Please excuse, I do not completely understand.
Might this be related to the computer you are using?

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 63 1960447 1960385 957.2M 6 FAT16
I should have said, SD card is not recognized if I use it in my builtin SD card reader as in the above picture (light indicator lits to confirm proper seating) but BionicPup64 does not see it. If I reboot to ubuntu on the same PC, SD card reader works fine.
---
trying to learn puppylinux... :D
---

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#12 Post by gyro »

Notice the difference between the two, one is "sdc1", the other is "mmcblk0p1". Maybe lack of, or problem with "mmc" support.
Have you looked for error messages after pluggintg in the SD card?

Code: Select all

tail /var/log/messages
gyro

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

Re: SD card not recognized, BionicPup64

#13 Post by HerrBert »

gychang wrote:lsusb "sees" it:
...
Bus 003 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.
Bus 003 Device 003: ID 0bda:0184 Realtek Semiconductor Corp. RTS5182 Card Reader
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
...
Does

Code: Select all

lsmod | grep rtsx
give any output?
If not, what gives

Code: Select all

grep RTSX_USB /boot/config-$(uname -r)
and

Code: Select all

grep MMC_REALTEK_USB /boot/config-$(uname -r)
Just guessing, but my RTS5129 is not supported by Tahr 6.0.2 and Slacko 6.3.2 Kernels too.
Last edited by HerrBert on Thu 25 Apr 2019, 17:54, edited 1 time in total.

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#14 Post by HerrBert »

Path to config may be different... writing from Slacko :oops:

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#15 Post by gychang »

same card reader gets recognized in the xenialpup64 with kernel 4.9.58, with bionicpup64 does not (kernel 4.19.23).

will changing of the kernel resolve the issue? Not sure how to do this...
---
trying to learn puppylinux... :D
---

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

SD card not recognized, BionicPup64

#16 Post by HerrBert »

HerrBert wrote:
gychang wrote:lsusb "sees" it:
...
Bus 003 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.
Bus 003 Device 003: ID 0bda:0184 Realtek Semiconductor Corp. RTS5182 Card Reader
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
...
Does

Code: Select all

lsmod | grep rtsx
give any output?
If not, what gives

Code: Select all

grep RTSX_USB /boot/config-$(uname -r)
and

Code: Select all

grep MMC_REALTEK_USB /boot/config-$(uname -r)
Just guessing, but my RTS5129 is not supported by Tahr 6.0.2 and Slacko 6.3.2 Kernels too.
Sorry to quote myself.... :oops:
Did you try any of the quoted commands?

I cannot recommend changing kernel, if you don't even know, how to do it.

If you don't know how to change kernel, this instruction would not be helpful either...

As you can see, there were no (0 - zero) replies. Seems, there is no easy way out.

About changing kernels you may ask someone else, as i don't know anything about upup kernels.

I wish you good luck (as i know how much i appreciated my puppy to 'just' work :wink: )

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

Re: SD card not recognized, BionicPup64

#17 Post by gychang »

HerrBert wrote:
HerrBert wrote:
gychang wrote:lsusb "sees" it:
...
Bus 003 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.
Bus 003 Device 003: ID 0bda:0184 Realtek Semiconductor Corp. RTS5182 Card Reader
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
...
Does

Code: Select all

lsmod | grep rtsx
give any output?
If not, what gives

Code: Select all

grep RTSX_USB /boot/config-$(uname -r)
and

Code: Select all

grep MMC_REALTEK_USB /boot/config-$(uname -r)
Just guessing, but my RTS5129 is not supported by Tahr 6.0.2 and Slacko 6.3.2 Kernels too.
I wish you good luck (as i know how much i appreciated my puppy to 'just' work :wink: )
terminal response:

---
root# lsmod | grep rtsx
root# grep RTSX_USB /boot/config-$(uname -r)
CONFIG_MISC_RTSX_USB=y
root# grep MMC_REALTEK_USB /boot/config-$(uname -r)
CONFIG_MMC_REALTEK_USB=m
root#
---
---
trying to learn puppylinux... :D
---

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#18 Post by HerrBert »

Hello gychang.
root# grep RTSX_USB /boot/config-$(uname -r)
CONFIG_MISC_RTSX_USB=y
root# grep MMC_REALTEK_USB /boot/config-$(uname -r)
CONFIG_MMC_REALTEK_USB=m
Kernel seems to be configured for using RTS card reader, so no need to change Kernel.

I don't know which modules you would need to load in bionicpup64.

On Slacko i get this output:

Code: Select all

# lsmod | grep rtsx
rtsx_usb_sdmmc         11720  0 
rtsx_usb                7093  1 rtsx_usb_sdmmc
# grep RTSX_USB /boot/config-4.4.174 
CONFIG_MFD_RTSX_USB=m
# grep MMC_REALTEK_USB /boot/config-4.4.174 
CONFIG_MMC_REALTEK_USB=m
# 
Maybe some upup experts can help.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#19 Post by gychang »

appreciate everyones input, It is now solved but not sure how...

I installed to another HD partition and now works fine, it recognizes SD card reader. It maybe that I deleted some built-in apps which may have caused the problem...
---
trying to learn puppylinux... :D
---

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#20 Post by gychang »

I thought I solved the problem by reinstalling pups. Problem remains if I boot without a SD card in the card reader (even if no files in the card). So if I boot with a SD card and remove it, and I put it back in gets re-detected. Plugging in a USB stick detects fine.

Hot plug is on as pictured. Is this a daemon problem? How do I set it up so when I plug in a SD card after a boot, it is detected?
Attachments
SD.png
(56.45 KiB) Downloaded 548 times
---
trying to learn puppylinux... :D
---

Post Reply