Page 1 of 2

SD card reader not recognized, BionicPup64

Posted: Mon 22 Apr 2019, 16:26
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?

Posted: Tue 23 Apr 2019, 00:19
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.

Posted: Tue 23 Apr 2019, 15:06
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...

Posted: Tue 23 Apr 2019, 16:58
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.

Posted: Wed 24 Apr 2019, 03:57
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?

Posted: Wed 24 Apr 2019, 04:51
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

.

.

Posted: Wed 24 Apr 2019, 06:20
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??

Posted: Wed 24 Apr 2019, 11:17
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.

Posted: Wed 24 Apr 2019, 12:54
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.

Re: SD card not recognized, BionicPup64

Posted: Wed 24 Apr 2019, 13:10
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

Re: SD card not recognized, BionicPup64

Posted: Wed 24 Apr 2019, 17:56
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.

Posted: Wed 24 Apr 2019, 19:44
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

Re: SD card not recognized, BionicPup64

Posted: Thu 25 Apr 2019, 16:13
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.

Posted: Thu 25 Apr 2019, 16:19
by HerrBert
Path to config may be different... writing from Slacko :oops:

Posted: Sat 04 May 2019, 13:18
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...

SD card not recognized, BionicPup64

Posted: Sat 04 May 2019, 18:01
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: )

Re: SD card not recognized, BionicPup64

Posted: Sat 04 May 2019, 22:48
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#
---

Posted: Sun 05 May 2019, 11:12
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.

Posted: Sun 05 May 2019, 14:04
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...

Posted: Mon 06 May 2019, 14:36
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?