SD card reader not recognized, BionicPup64

What works, and doesn't, for you. Be specific, and please include Puppy version.
Message
Author
HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#21 Post by HerrBert »

Hello gychang.

Obviously modules are not loaded on boot.

I suggest to do some research on what differs when booting with and without inserted sd-card.

Therefor you should start your pc with inserted card, execute

Code: Select all

lsmod > sd-inserted
file sd-inserted should be in /root/ - copy to save place.

Reboot with removed sd-card, execute

Code: Select all

lsmod > sd-removed
If you now compare the two files, you may find different modules loaded.

The missing modules you can try to load with Boot Manager.
Open Menu -> System -> BootManager, goto tab modules, choose to add modules, in upcoming window search for the missing modules and add them to startup.

Save on exit and reboot.
Attachments
add-modules.jpg
(97.55 KiB) Downloaded 529 times

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

#22 Post by gychang »

HerrBert wrote:Hello gychang.

Obviously modules are not loaded on boot.

I suggest to do some research on what differs when booting with and without inserted sd-card.

Therefor you should start your pc with inserted card, execute

Code: Select all

lsmod > sd-inserted
file sd-inserted should be in /root/ - copy to save place.

Reboot with removed sd-card, execute

Code: Select all

lsmod > sd-removed
If you now compare the two files, you may find different modules loaded.

Save on exit and reboot.
Your comments are very clever, logical and make good sense. Unfortunately comparing 2 files several times, I find no difference (also no of loaded drivers are same)...
One way of getting around it is to use it with SD card in the slot and start that way can read and write when I need to do. Any other ideas will be welcome since booting a PC with a SD card in the slot is not norm...
Attachments
sd.png
(171.96 KiB) Downloaded 252 times
---
trying to learn puppylinux... :D
---

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#23 Post by bigpup »

since booting a PC with a SD card in the slot is not norm...
Why not?
If you have a SD card. There is no reason not to keep in in the SD card slot.
I keep one in my computers slot all the time.
It just acts as another drive to access.
Plus it is a micro SD card and that thing is easy to loose.

Check the inside of that SD card slot for dirt, bent contacts, corrosion, etc.....
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

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

#24 Post by gychang »

bigpup wrote:
since booting a PC with a SD card in the slot is not norm...
Why not?
If you have a SD card. There is no reason not to keep in in the SD card slot.
I keep one in my computers slot all the time.
It just acts as another drive to access.
Plus it is a micro SD card and that thing is easy to loose.

Check the inside of that SD card slot for dirt, bent contacts, corrosion, etc.....
only way I can access another SD card (not the one I booted with), is not to use refresh button on pmount but close and open pmount again... thanks.
---
trying to learn puppylinux... :D
---

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#25 Post by wiak »

For sdcard module loading, in a console try commands:

modprobe sdhci
modprobe sdhci-pci

wiak

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

#26 Post by gychang »

wiak wrote:For sdcard module loading, in a console try commands:

modprobe sdhci
modprobe sdhci-pci

wiak
running pmount/gparted after each command does not mount the sd card.
---
trying to learn puppylinux... :D
---

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#27 Post by wiak »

gychang wrote:
wiak wrote:For sdcard module loading, in a console try commands:

modprobe sdhci
modprobe sdhci-pci

wiak
running pmount/gparted after each command does not mount the sd card.
Could you check to see if the above modules are actually loaded after running the commands by entering:

lsmod | grep 'sdhci'

On my system I notice an extra sdhci module is also loaded: sdhci_pltfm. You could therefore maybe also try:

modprobe sdhci_pltfm

Note that sometimes the actual module is named with a hyphen and just appears in the list with an underscore, so maybe:

modprobe sdhci-pltfm

similarly with modprobe sdhci-pci or modprobe sdhci_pci

I haven't checked for the module filenames under /lib and haven't worked with sdcard mounting for ages so may be on the wrong track altogether - maybe BIOS setup related instead, but I'm admittedly just throwing guesses to the wind now.

wiak

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#28 Post by wiak »

Also, one last try, though not sure if BionicPup has following commands (I don't have BionicPup installed). Try:

Code: Select all

udevadm trigger --action=add --type=subsystems
udevadm trigger --action=add --type=devices
udevadm settle
Above is definitely just a last thought which is unlikely to succeed. Sound like your hardware isn't itself being detected unless the SD card is in it at boot time (hoping above three commands helps with that, buit out of ideas otherwise...

wiak

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

#29 Post by gychang »

wiak wrote:Also, one last try, though not sure if BionicPup has following commands (I don't have BionicPup installed). Try:

Code: Select all

udevadm trigger --action=add --type=devices
Above is definitely just a last thought which is unlikely to succeed. Sound like your hardware isn't itself being detected unless the SD card is in it at boot time.

wiak
I believe you have provided the answer!! This command "udevadm trigger --action=add --type=devices" seems to be the key.

After a normal boot (without SD card, I can then insert SD or xD card and it detects the card as long as I enter the command on the console. I have to re-enter the command each time I want access to SD, which is not ideal.

Only way I can see is to make a script and trigger keybinding but seems messy. Any further ideas will be great.
Attachments
sd.png
(40.95 KiB) Downloaded 144 times
---
trying to learn puppylinux... :D
---

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#30 Post by enrique »

@gychang
Let me start by saying I had bad experience in the forum giving advice to users on hardware issues, that requires follow terminal commands. Point is in general I am limiting my help to only users that I see genuinely ask for it. With the skill of terminal commands and smart enough to manage system config files. You started request on Mon 22 Apr 2019, 12:26 and almost a year later you still here. Sorry I did not saw your post earlier. I sent you a PM.

Post Reply