LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Weird! Not Detecting SD Card In New Camera nor Card Reader.... (https://www.linuxquestions.org/questions/linux-newbie-8/weird-not-detecting-sd-card-in-new-camera-nor-card-reader-4175643660/)

Sumguy 12-04-2018 10:05 PM

Weird! Not Detecting SD Card In New Camera nor Card Reader....
 
Hey Guise!

Running an old Crunchbang install (essentially a minimalist Debian from years ago)

Got me a gnu...err...new camera yesterday....

Connect the camera to my 'puter via USB- and it doesn't detect/mount, but if I run "lsusb" it lists the camera. If I run "blkid" or "lsblk" it doesn't show the camera.

So I took out the SD card and put it in a card reader....same deal!

Now here's where it gets weird: If I take the SD card and put it in my OLD camera, it auto mounts, and I can download my pics, etc! (So it can't be a bad card or non-compatible file system problem)

And conversely, if I put the SD card from my old camera in the card reader...it also mounts.

It is just the new SD card, whether in the card reader or in tne new camera, that isn't being detected or mounted....

HELP!

(I've been around a while, but I'm still a newb, so please be very obvious)

Review:
New card in card reader: Not detected.
New card in new camera: Not detected.
New card in old camera: Detected and auto mounts!
Old card in card reader: Detects and auto mounts.....

BW-userx 12-04-2018 10:20 PM

sometimes, if I have it plugged in then boot, then the kernel sees it then it is there after boot. it might be because it is old OS, but that is worth a try.

could be the WM/DT you're using too. xfce4 or a desktop might work. just a guess because I do not know what wm/dt you're in, I'd guess openbox if it is a crunchbang "clone". file manager too, take a look at your dmesg might need to be ran

'sudo dmesg' to see the card is mentioned in there.

Sumguy 12-04-2018 10:59 PM

BW, thanks.

I had already run dmesg- but I have no idea what the output means....

You are correct, my WM is Openbox. (Not a Crunchbang clone I'm using...it's actually the last release of the old Crunchbang, from when it was still extant- I don't tend to update things very often... :D )

I just can't understand why it would function with one SD card...but not another...unless the other is in a particular device...and then it works....

roy_lt_69 12-05-2018 01:05 AM

Have you tried booting from a USB flash drive with a newer distro on it?
As for the SD cards, there are different sizes of SD cards, like SDSC, SDHC, SDXC, SDUC, etc, so it is possible the older distro or hardware does not know about all of them, especially the newer ones!
That would be my guess.

BW-userx 12-05-2018 06:40 AM

there is that I forget what it was called, but a type of format that some used as well, that needed a driver to be installed to read that format.

michaelk 12-05-2018 09:45 AM

Quote:

Review:
New card in card reader: Not detected.
New card in new camera: Not detected.
New card in old camera: Detected and auto mounts!
Old card in card reader: Detects and auto mounts.....
Many cameras use the Media Transport Protocol (MTP) and not as a mass storage device i.e. as a USB drive. Might be easier to just use the card reader with your Crunchbag system.

The camera manual should indicate what type of cards and filesystems it supports. Cameras typically have a built in utility to format the card and would suggest doing that. There is no standard filesystem that the SD card manufacture must adhere to so typically based on size it could be FAT32 < 32GB and exFAT if greater but could also be NTFS.

You should be able to determine the filesystem of the new SD card even though it does not mount but as stated if the card reader is really old it might not be capable of reading them.

Drakeo 12-05-2018 09:50 AM

lsusb= /dev/sd-your-usb
mkdir /mnt/myusb
mount /dev/sd-your-usb /mnt/myusb

Sumguy 12-05-2018 10:00 AM

Quote:

Originally Posted by roy_lt_69 (Post 5933424)
Have you tried booting from a USB flash drive with a newer distro on it?
As for the SD cards, there are different sizes of SD cards, like SDSC, SDHC, SDXC, SDUC, etc, so it is possible the older distro or hardware does not know about all of them, especially the newer ones!
That would be my guess.

Quote:

Originally Posted by BW-userx (Post 5933504)
there is that I forget what it was called, but a type of format that some used as well, that needed a driver to be installed to read that format.

Hmmm.... I don't imagine those things could be the issue, since, if I put the SD card in question (A 16GB SanDisk) in my old camera and connect it to the 'puter, it works just fine- as do all my other USB mass storage devices....

So for now, I have to hold onto my old camera- as putting the card in it and connecting it to 'puter, is the only way I have of downloading the pics from the new camera.

Sumguy 12-05-2018 10:08 AM

Quote:

Originally Posted by michaelk (Post 5933576)
Many cameras use the Media Transport Protocol (MTP) and not as a mass storage device i.e. as a USB drive. Might be easier to just use the card reader with your Crunchbag system.

The camera manual should indicate what type of cards and filesystems it supports. Cameras typically have a built in utility to format the card and would suggest doing that. There is no standard filesystem that the SD card manufacture must adhere to so typically based on size it could be FAT32 < 32GB and exFAT if greater but could also be NTFS.

You should be able to determine the filesystem of the new SD card even though it does not mount but as stated if the card reader is really old it might not be capable of reading them.

This sounds plausible. Only thing I don't "get" is why the card (indeed formatted by the new camera) is recognized and mounted by the computer when it's in my old camera. I stick it in the old camera, then I can download the pics on the card which I took with the new camera- but the same card in a card reader...nada. (But a different card in the card reader works...)

Sumguy 12-05-2018 10:22 AM

Quote:

Originally Posted by Drakeo (Post 5933580)
lsusb= /dev/sd-your-usb
mkdir /mnt/myusb
mount /dev/sd-your-usb /mnt/myusb

Here's the output of lsusb with the card in the reader:

Code:

bob@crunchbang2:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer

It sees the card reader....

Here's the output of lsblk:

Code:

bob@crunchbang2:~$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0 149.1G  0 disk
├─sda1  8:1    0  72.7G  0 part /
├─sda2  8:2    0    1K  0 part
├─sda4  8:4    0  18.7G  0 part
├─sda5  8:5    0  55.9G  0 part
└─sda6  8:6    0  1.8G  0 part
sr0    11:0    1  1024M  0 rom 
sdb      8:16  1    2T  0 disk

I'm assuming "sdb" is the reader- but apparently, it's not seeing the card in it, 'cause if I try to mount sdb, it says no such device exists..... [Well, that's what it did yesterday, NOW it says I must specify the filesystem type. I'll try and determine that as per MichaelK's advice, and give it a try...)

Drakeo 12-05-2018 10:33 AM

it is not detected son. open terminal type as root "I have no use for sudo I own my system" unplug it then plug it in and type "dmesg" now read for your device.

michaelk 12-05-2018 10:33 AM

Quote:

Only thing I don't "get" is why the card (indeed formatted by the new camera) is recognized and mounted by the computer when it's in my old camera.
If I understand what you posted, the old camera is mounted as a mass storage device i.e USB drive but the new camera I am guessing is using the MTP protocol which needs libmtp and fuse to mount and look like a regular filesystem.

Your reader might be to old for the new cards too.

Drakeo 12-05-2018 10:35 AM

sdb is a 2 terabyte drive so no.

Drakeo 12-05-2018 10:37 AM

Quote:

Originally Posted by michaelk (Post 5933605)
If I understand what you posted, the old camera is mounted as a mass storage device i.e USB drive but the new camera I am guessing is using the MTP protocol which needs libmtp and fuse to mount and look like a regular filesystem.

Your reader might be to old for the new cards too.

guessing the user is new to the device system of linux. and read between lines. baby steps.

Drakeo 12-05-2018 10:40 AM

sorry is crunch bang a debian flavor then add sudo


All times are GMT -5. The time now is 06:10 AM.