You are not logged in.

#1 2014-06-08 09:22:57

willardthor
Member
Registered: 2013-05-16
Posts: 18

[solved] SD card in my card reader does not appear as a device

Greetings.

I have an Asus EEE 1015PEM netbook, which has a built-in card reader.

I found some old SD cards that I am trying to get files from. When I insert them into the SD card reader in my netbook, the SD card does not appear as a device, and thus, I cannot mount it.

sh-4.3$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2	/dev/sda3
sh-4.3$ lsusb
Bus 001 Device 002: ID 13d3:5702 IMC Networks UVC VGA Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 13d3:3315 IMC Networks Bluetooth module
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
sh-4.3$ # insert card
sh-4.3$ sleep 10
sh-4.3$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2	/dev/sda3
sh-4.3$ lsusb
Bus 001 Device 002: ID 13d3:5702 IMC Networks UVC VGA Webcam
Bus 001 Device 010: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 13d3:3315 IMC Networks Bluetooth module
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Come to think of it, I am not sure I ever tried my SD card reader since I installed Arch on the machine (the machine was running Ubuntu before that, and there, inserting an SD card would trigger some automount magic).

You guys know what I can do to access the files on my SD cards?

Cheers,
Willard.

Last edited by willardthor (2014-06-08 17:13:35)

Offline

#2 2014-06-08 09:42:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] SD card in my card reader does not appear as a device

What is the output of dmesg after inserting the card?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-06-08 10:48:39

willardthor
Member
Registered: 2013-05-16
Posts: 18

Re: [solved] SD card in my card reader does not appear as a device

jasonwryan wrote:

What is the output of dmesg after inserting the card?

sh-4.3$ # insert card
sh-4.3$ sleep 10
sh-4.3$ dmesg # only new entries shown
[138680.426304] usb 1-5: new high-speed USB device number 11 using ehci-pci
sh-4.3$ # remove card
sh-4.3$ sleep 10
sh-4.3$ dmesg # only new entries shown
[138831.457800] usb 1-5: USB disconnect, device number 11

Offline

#4 2014-06-08 11:07:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [solved] SD card in my card reader does not appear as a device

And

uname -a
pacman -Qs linux

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-06-08 13:39:18

willardthor
Member
Registered: 2013-05-16
Posts: 18

Re: [solved] SD card in my card reader does not appear as a device

Trilby wrote:

And

uname -a
pacman -Qs linux
sh-4.3$ uname -a
Linux fenrir 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
sh-4.3$ pacman -Qs linux
local/alsa-lib 1.0.27.2-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.0.27.2-1
    An alternative implementation of Linux sound support
local/archlinux-keyring 20140220-1
    Arch Linux PGP keyring
local/aura-bin 1.2.3.4-1
    A secure package manager for Arch Linux and the AUR written in Haskell - Prebuilt binary
local/iptables 1.4.21-1
    Linux kernel packet control tool
local/keyutils 1.5.9-1
    Linux Key Management Utilities
local/kmod 17-1
    Linux kernel module handling
local/lib32-alsa-lib 1.0.27.2-1
    An alternative implementation of Linux sound support (32 bit)
local/lib32-libxshmfence 1.1-1
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-util-linux 2.24.1-1
    Miscellaneous system utilities for Linux (32-bit)
local/lib32-v4l-utils 1.0.1-1
    Userspace tools and conversion library for Video 4 Linux (32-bit)
local/libimobiledevice 1.1.6-1
    Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libiodbc 3.52.9-1
    Independent Open DataBase Connectivity for Linux
local/libutil-linux 2.24.2-1 (base base-devel)
    util-linux runtime libraries
local/libva 1.3.1-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.1-1
    a library that exposes a event API on top of Linux futexes
local/linux 3.14.5-1 (base)
    The Linux kernel and modules
local/linux-api-headers 3.14.1-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20140316.dec41bc-1
    Firmware files for Linux
local/lirc-utils 1:0.9.0-71
    Linux Infrared Remote Control utils
local/man-pages 3.68-1 (base)
    Linux man pages
local/mdadm 3.3-2 (base)
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/mplayer 37051-2
    Media player for Linux
local/pacman-mirrorlist 20140531-1
    Arch Linux mirror list for use by pacman
local/pipelight 1:0.2.7-1
    A browser plugin which allows one to use Windows only plugins inside Linux browser
local/syslinux 6.03pre12-3
    Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE
local/util-linux 2.24.2-1 (base base-devel)
    Miscellaneous system utilities for Linux
local/v4l-utils 1.0.1-1
    Userspace tools and conversion library for Video 4 Linux

Offline

#6 2014-06-08 13:47:55

Tarqi
Member
From: Ixtlan
Registered: 2012-11-27
Posts: 180
Website

Re: [solved] SD card in my card reader does not appear as a device

The device is usally called mmc?, not sd??. See dmesg | grep mmc if your device is beeing recognized.

Last edited by Tarqi (2014-06-08 14:59:11)


Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse

Offline

#7 2014-06-08 14:10:11

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [solved] SD card in my card reader does not appear as a device

I used my eee 1215b to get some files of an sd card quite a while ago. I don't remember all the details but I found out what to mount by looking at the output of

ls -l /dev/disk/by-label

If your sd card has no label you may explore the contents of /dev/disk until you find the desired device (that always worked for me so far).

Offline

#8 2014-06-08 15:00:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [solved] SD card in my card reader does not appear as a device

sh-4.3$ uname -a
Linux fenrir 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
sh-4.3$ pacman -Qs linux
local/linux 3.14.5-1 (base)

Reboot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2014-06-08 16:00:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] SD card in my card reader does not appear as a device

@Trilby, I would ask to have them do pacman -Q linux or pacman -Qi linux.  Since you know the package name, there is really no reason to have them run the search.

@willarddthor, besides needing to reboot so that the modules in /usr/lib/modules match the running kernel version, some card readers show up as /dev/mmcblk*.

Offline

#10 2014-06-08 17:13:02

willardthor
Member
Registered: 2013-05-16
Posts: 18

Re: [solved] SD card in my card reader does not appear as a device

Trilby wrote:
sh-4.3$ uname -a
Linux fenrir 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
sh-4.3$ pacman -Qs linux
local/linux 3.14.5-1 (base)

Reboot.

God dammit, I keep forgetting that. That worked. Thanks a bunch, Trilby!

Tarqi wrote:

The device is usally called mmc?, not sd??. See dmesg | grep mmc if your device is beeing recognized.

Good point; the following would then have more definitely demonstrated that no device shows up.

sh-4.3$ ls /dev | wc -l
150
sh-4.3$ # insert card
sh-4.3$ sleep 10
sh-4.3$ ls /dev | wc -l
150
Tarqi and WonderWoofy wrote:

[...]mmc[...]

Thanks for pointing that out. Mine showed up as an sd, though.

sh-4.3$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2	/dev/sda3
sh-4.3$ # insert card
sh-4.3$ sleep 10
sh-4.3$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2	/dev/sda3  /dev/sdb  /dev/sdb1

Offline

#11 2014-06-08 17:48:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] SD card in my card reader does not appear as a device

Because the card reader is itself a usb device, as per lsusb in your first post.

Offline

#12 2014-06-08 21:04:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] SD card in my card reader does not appear as a device

WonderWoofy wrote:

@Trilby, I would ask to have them do pacman -Q linux or pacman -Qi linux.  Since you know the package name, there is really no reason to have them run the search.

There are other kernels, like linux-ck or linux-lts.

pacman -Qs linux | grep local/linux

helps to narrow things down a bit.

Offline

Board footer

Powered by FluxBB