You are not logged in.
Pages: 1
Devuan can read an older SD card in my laptop's internal SD card reader. But when I try an SDHC I card it does "see" it, sudo fdisk -l does not list it. I've tried a lot of modprobe commands recommended on forums but nothing has worked. Maybe the reader...my laptop is too old, but I'd like to try. The only mention of it on my system seems to be when I run $ sudo dmesg | grep sdhci. Any ideas or need more info please let me know.
$ lspci | grep Ricoh
02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 03)
02:06.3 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 20)
02:06.5 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 10)
02:06.6 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 10)
$ lsmod |egrep 'mmc|sdhci|ricoh'
sdhci_pci 28672 0
sdhci 40960 1 sdhci_pci
mmc_core 118784 2 sdhci,sdhci_pci
The $ sudo dmesg | grep sdhci output is very long so I'll give a representative snip:
...snip
[ 1360.851234] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1360.851238] sdhci: Sys addr: 0x00000000 | Version: 0x00000400
[ 1360.851242] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 1360.851245] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1360.851250] sdhci: Present: 0x010f0000 | Host ctl: 0x00000001
[ 1360.851253] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 1360.851257] sdhci: Wake-up: 0x00000000 | Clock: 0x00008007
[ 1360.851261] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 1360.851264] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[ 1360.851268] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1360.851272] sdhci: Caps: 0x018021a1 | Caps_1: 0x00000000
[ 1360.851275] sdhci: Cmd: 0x00000502 | Max curr: 0x00000040
[ 1360.851278] sdhci: Host ctl2: 0x00000000
[ 1360.851279] sdhci: ===========================================
[ 1360.863067] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1360.863071] sdhci: Sys addr: 0x00000000 | Version: 0x00000400
[ 1360.863075] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 1360.863078] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1360.863082] sdhci: Present: 0x010f0000 | Host ctl: 0x00000001
[ 1360.863086] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 1360.863090] sdhci: Wake-up: 0x00000000 | Clock: 0x00008007
[ 1360.863093] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 1360.863097] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[ 1360.863101] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1360.863104] sdhci: Caps: 0x018021a1 | Caps_1: 0x00000000
[ 1360.863108] sdhci: Cmd: 0x00000102 | Max curr: 0x00000040
[ 1360.863111] sdhci: Host ctl2: 0x00000000
[ 1360.863112] sdhci: ===========================================
[ 1360.864180] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
[ 1361.911189] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1361.911193] sdhci: Sys addr: 0x00000000 | Version: 0x00000400
[ 1361.911197] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 1361.911201] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1361.911204] sdhci: Present: 0x010f0000 | Host ctl: 0x00000001
[ 1361.911208] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 1361.911212] sdhci: Wake-up: 0x00000000 | Clock: 0x00008007
[ 1361.911216] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 1361.911219] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[ 1361.911223] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1361.911227] sdhci: Caps: 0x018021a1 | Caps_1: 0x00000000
[ 1361.911231] sdhci: Cmd: 0x00000502 | Max curr: 0x00000040
[ 1361.911234] sdhci: Host ctl2: 0x00000000
[ 1361.911235] sdhci: ===========================================
[ 1361.924936] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 1361.924940] sdhci: Sys addr: 0x00000000 | Version: 0x00000400
[ 1361.924945] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 1361.924948] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 1361.924952] sdhci: Present: 0x010f0000 | Host ctl: 0x00000001
[ 1361.924956] sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 1361.924960] sdhci: Wake-up: 0x00000000 | Clock: 0x00008007
[ 1361.924963] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[ 1361.924967] sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
[ 1361.924971] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 1361.924976] sdhci: Caps: 0x018021a1 | Caps_1: 0x00000000
[ 1361.924979] sdhci: Cmd: 0x00000102 | Max curr: 0x00000040
[ 1361.924982] sdhci: Host ctl2: 0x00000000
[ 1361.924984] sdhci: ===========================================
[ 1361.926061] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
[ 1370.794217] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
[ 1371.849731] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
...snip
Offline
Going through SD stuff myself for 1st time. I am using an SDHC (the tiny thing) with an SD adapter.
I am not having any problems with HC itself, if that helps. My hardware is a newer laptop as well as an old Windows 7 era asus netbook. No problem with SDHC on either. Log files dont reveal much, kern.log entry after insertion:
Jun 18 19:53:43 acer kernel: [ 2056.801914] mmc0: new high speed SDHC card at address 1234
Jun 18 19:53:43 acer kernel: [ 2056.829643] mmcblk0: mmc0:1234 SA04G 3.64 GiB
Jun 18 19:53:43 acer kernel: [ 2056.831028] mmcblk0: p1
fdisk:
Disk /dev/mmcblk0: 3.7 GiB, 3904897024 bytes, 7626752 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 * 2048 7626751 7624704 3.7G c W95 FAT32 (LBA)
Sorry can help with actual problem, just wanted to report SDHC works here. Devuan Beowulf.
Last edited by dxrobertson (2019-06-19 00:22:12)
Offline
Suddenly today it worked.
Offline
Pages: 1