Page 1 of 1

cannot find my laptop SD card reader

Posted: Sun Nov 13, 2022 8:17 am
by denial
Hi to all,

this time I have a problem with my laptop default SD card reader: it seems it is not detected at all by the system.

I only have MX linux OS, so cannot check in any other way. Never tried to read a SD card before.

Code: Select all

[CODE]System:    Kernel: 5.10.0-19-amd64 [5.10.149-2] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-19-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel, cairo-dock wm: xfwm 4.16.1 
           vt: 7 dm: LightDM 1.26.0 Distro: MX-21.2.1_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Hewlett-Packard product: HP G62 Notebook PC 
           v: 0594110000252710001020100 serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Hewlett-Packard model: 143A v: 60.3B serial: <filter> BIOS: Hewlett-Packard 
           v: F.32 date: 08/02/2010 
Battery:   ID-1: BAT0 charge: 16.6 Wh (39.0%) condition: 42.6/48.8 Wh (87.3%) volts: N/A min: 11.1 
           model: HP type: Li-ion serial: N/A status: Discharging 
CPU:       Info: Dual Core model: Intel Core i3 M 350 bits: 64 type: MT MCP arch: Nehalem 
           family: 6 model-id: 25 (37) stepping: 5 microcode: 7 cache: L2: 3 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18087 
           Speed: 1134 MHz min/max: 933/2266 MHz Core speeds (MHz): 1: 1134 2: 1206 3: 1093 
           4: 1094 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Core Processor Integrated Graphics vendor: Hewlett-Packard driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:0046 class-ID: 0300 
           Device-2: AMD Park [Mobility Radeon HD 5430/5450/5470] vendor: Hewlett-Packard 
           driver: N/A alternate: radeon bus-ID: 01:00.0 chip-ID: 1002:68e0 class-ID: 0300 
           Device-3: Acer HP Webcam-101 type: USB driver: uvcvideo bus-ID: 1-1.3:3 
           chip-ID: 5986:0149 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.16.1 driver: loaded: intel 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: LVDS1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           OpenGL: renderer: Mesa Intel HD Graphics (ILK) v: 2.1 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56 class-ID: 0403 
           Device-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] 
           vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 1002:aa68 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-19-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
           driver: r8169 v: kernel port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:8136 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Broadcom BCM4313 802.11bgn Wireless Network Adapter vendor: Hewlett-Packard 
           driver: wl v: kernel modules: bcma port: 2000 bus-ID: 03:00.0 chip-ID: 14e4:4727 
           class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 223.57 GiB used: 80.39 GiB (36.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: PNY model: CS900 240GB SSD size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> 
           rev: 0BB3 scheme: MBR 
Partition: ID-1: / raw-size: 60.15 GiB size: 58.9 GiB (97.93%) used: 2.32 GiB (3.9%) fs: ext4 
           dev: /dev/sda5 maj-min: 8:5 
           ID-2: /home raw-size: 143.91 GiB size: 140.59 GiB (97.69%) used: 64.03 GiB (45.5%) 
           fs: ext4 dev: /dev/sda8 maj-min: 8:8 
           ID-3: /usr raw-size: 15 GiB size: 14.66 GiB (97.75%) used: 14.03 GiB (95.7%) fs: ext4 
           dev: /dev/sda6 maj-min: 8:6 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 4 GiB used: 1.8 MiB (0.0%) priority: -2 
           dev: /dev/sda7 maj-min: 8:7 
Sensors:   System Temperatures: cpu: 63.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2328 lib: 1245 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           3: deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
           4: deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free
           No active apt repos in: /etc/apt/sources.list.d/kisak-ubuntu-kisak-mesa-lunar.list 
           No active apt repos in: /etc/apt/sources.list.d/langdalepl-ubuntu-gvfs-mtp-lunar.list 
           Active apt repos in: /etc/apt/sources.list.d/linuxuprising-java.list 
           1: deb http://ppa.launchpad.net/linuxuprising/java/ubuntu/ focal main
           No active apt repos in: /etc/apt/sources.list.d/linuxuprising-ubuntu-java-lunar.list 
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://nl.mxrepo.com/mx/repo/ bullseye non-free main
           2: deb http://nl.mxrepo.com/mx/testrepo/ bullseye test
           3: deb http://nl.mxrepo.com/mx/repo/ bullseye ahs
           No active apt repos in: /etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-lunar.list 
           No active apt repos in: /etc/apt/sources.list.d/ubuntu-x-swat-ubuntu-updates-lunar.list 
Info:      Processes: 225 Uptime: 35m wakeups: 7 Memory: 3.64 GiB used: 2.24 GiB (61.5%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

[/code]

Code: Select all

$ lsusb 
Bus 002 Device 003: ID 062a:4108 MosArt Semiconductor Corp. 2.4G Wireless Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 5986:0149 Acer, Inc HP Webcam-101
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)
7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
7f:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 05)
7f:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
7f:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)


Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 8:33 am
by Huckleberry Finn

Code: Select all

lsblk -f

Code: Select all

sudo parted -l

Code: Select all

sudo fdisk -l

Code: Select all

blkid

Code: Select all

dmesg | tail

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 8:35 am
by Huckleberry Finn
... You can also use "Disk Manager" from menu, to make it auto-mounted.

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 8:43 am
by j2mcgreg

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 8:57 am
by denial
j2mcgreg wrote: Sun Nov 13, 2022 8:43 am You also need to read this:

https://forum.mxlinux.org/viewtopic.php?t=44747
Thanks for that! I'm going to turn them off.
Huckleberry Finn wrote: Sun Nov 13, 2022 8:35 am ... You can also use "Disk Manager" from menu, to make it auto-mounted.
nothing there, only my HD partitions. I attached a pic.
Huckleberry Finn wrote: Sun Nov 13, 2022 8:33 am

Code: Select all

lsblk -f
NAME   FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                              
├─sda4                                                                           
├─sda5 ext4   1.0   rootMX21 c78d036a-8cb3-4f6a-81b2-53d43aa3d4cd   53,6G     4% /
├─sda6 ext4   1.0   user     4605f898-61ed-400f-ad7a-ce56af98645c       0    96% /usr
├─sda7 swap   1     swapMX   2547a1f2-19dd-44b9-afdf-3bcdb133ee5b                [SWAP]
└─sda8 ext4   1.0   /home    421ade54-9d4f-4150-a391-455848877834   69,3G    46% /home
sr0                                                                              

Code: Select all

sudo parted -l
Model: ATA PNY CS900 240GB (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 4      1049kB  240GB   240GB   extended
 5      2097kB  64,6GB  64,6GB  logical   ext4            boot
 6      64,6GB  80,7GB  16,1GB  logical   ext4
 7      80,7GB  85,0GB  4295MB  logical   linux-swap(v1)
 8      85,0GB  240GB   155GB   logical   ext4

Code: Select all

sudo fdisk -l
Disk /dev/sda: 223,57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: PNY CS900 240GB 
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: 0x5e45543f

Dispositivo Avvio     Start      Fine   Settori   Size Id Tipo
/dev/sda4              2048 467789823 467787776 223,1G  5 Esteso
/dev/sda5   *          4096 126138367 126134272  60,1G 83 Linux
/dev/sda6         126142464 157599743  31457280    15G 83 Linux
/dev/sda7         157601792 165990399   8388608     4G 83 Linux
/dev/sda8         165992448 467789823 301797376 143,9G 83 Linux

Code: Select all

blkid
/dev/sda5: LABEL="rootMX21" UUID="c78d036a-8cb3-4f6a-81b2-53d43aa3d4cd" BLOCK_SIZE="4096" TYPE="ext4" PTTYPE="dos" PARTUUID="5e45543f-05"
/dev/sda6: LABEL="user" UUID="4605f898-61ed-400f-ad7a-ce56af98645c" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5e45543f-06"
/dev/sda7: LABEL="swapMX" UUID="2547a1f2-19dd-44b9-afdf-3bcdb133ee5b" TYPE="swap" PARTUUID="5e45543f-07"
/dev/sda8: LABEL="/home" UUID="421ade54-9d4f-4150-a391-455848877834" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5e45543f-08"

Code: Select all

dmesg | tail
$ dmesg | tail
[ 2049.508962] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2049.510137] ata1.00: configured for UDMA/133
[ 2049.520313] sd 0:0:0:0: [sda] Starting disk
[ 2150.275523] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[ 2257.740999] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2257.743479] sd 0:0:0:0: [sda] Stopping disk
[ 2258.884237] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2258.885634] ata1.00: configured for UDMA/133
[ 2258.895952] sd 0:0:0:0: [sda] Starting disk
[ 3271.917955] r8169 0000:02:00.0 eth0: Link is Down


Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:01 am
by Huckleberry Finn
... But ... do you know if your sd card is/was healthy ?

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:09 am
by denial
no clue. I tried 2 different SD card and nothing happened.

About my SD card reader...no clue as well because I never used it before.

Given your question, I assume it is not found in anyway by the system, regardless any driver issue, right?

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:12 am
by Eadwine Rose
Do you have another separate card reader to try?

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:16 am
by Huckleberry Finn
I wish they were micro cards, you could simply try (also format if needed) using the phone.

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:26 am
by Huckleberry Finn
Just to see the device info you could try dmidecode :

For all:

Code: Select all

sudo dmidecode
For those only that might be related:

Code: Select all

sudo dmidecode -t 9

Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 9:41 am
by denial
Huckleberry Finn wrote: Sun Nov 13, 2022 9:26 am Just to see the device info you could try dmidecode :

For all:

Code: Select all

sudo dmidecode
For those only that might be related:

Code: Select all

sudo dmidecode -t 9

Code: Select all

$ sudo dmidecode -t 9
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0004, DMI type 9, 17 bytes
System Slot Information
	Designation: J5C1
	Type: x16 PCI Express x16
	Current Usage: Available
	Length: Other
	ID: 0
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x0005, DMI type 9, 17 bytes
System Slot Information
	Designation: J6C1
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 0
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x0006, DMI type 9, 17 bytes
System Slot Information
	Designation: J6C2
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 1
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x0007, DMI type 9, 17 bytes
System Slot Information
	Designation: J6D2
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 2
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x0008, DMI type 9, 17 bytes
System Slot Information
	Designation: J7C1
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 3
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x0009, DMI type 9, 17 bytes
System Slot Information
	Designation: J7D2
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 4
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x000A, DMI type 9, 17 bytes
System Slot Information
	Designation: J8C2
	Type: x16 PCI Express x16
	Current Usage: Available
	Length: Other
	ID: 1
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7

Handle 0x000B, DMI type 9, 17 bytes
System Slot Information
	Designation: J8C1
	Type: x1 PCI Express x1
	Current Usage: Available
	Length: Other
	ID: 5
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported
	Bus Address: 0000:00:1f.7


Re: canoot find my laptop SD card reader

Posted: Sun Nov 13, 2022 2:04 pm
by Earl57
Hardware discovery/configuration log can be read by running dmesg. It has been my go-to when in similar situations.

Re: canoot find my laptop SD card reader  [Solved]

Posted: Sun Nov 13, 2022 2:05 pm
by Huckleberry Finn
Our dmidecode outputs are very similar with my other HP , they are ok , however on my both HPs ; with lspci it shows "SD Host controller" ...

i.e.

Code: Select all

06:06.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

Code: Select all

04:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
Also from Menu : "System Profiler and Benchmark" => Devices -> "PCI Devices" ..

same info is present..


But .. since your lspci doesn't show anything related to such a controller ... maybe there's something loose inside...