Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


Closed Thread
  Search this Thread
Old 08-23-2005, 09:21 PM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
multi mem card reader doesnt detect newly inserted cards

I have an Internal Memory Card Reader. Model Trust CR-3300.

The card reader has 4 different slots, i use 2 of them.
One slot for SD (secure digital) memory cards, one for SM (Smart Media) Memory cards,
and 2 more i dont use.

When the drivers are modprobed, the kernel reports the addition of 4 scsi devices.


But when i insert a memory card, for example SD card into the slot (/dev/sdd)
the card is not detected. and cannot to used.

"cat /proc/partitons" shows only my hard disks.

HOWEVER, if i insert the card BEFORE loading the drivers, then aswell as the 4 scsi controllers being registed, the kernel also makes note of a 512 meg card, and attaches it to /dev/sdd1.

"cat /proc/partitons" shows
major minor #blocks name

8 49 500203 sdd1
and i can mount the card as /dev/sdd1.

This is very annoying,
i have to keep loading, and unloading the drivers every time i want to use, or switch over a memory card.

EDIT: ive found i can make the kernel probe the device for new cards with the "hdparm -z /dev/sdd" command. It makes the kernel re-load partiton tables.

This command also uptades the data shown in /proc/partitons.

But this is still very annoying, it means i need to become root, anter root password, an run hdparm EVERY TIME i need ot switch a card.

There are only 2 solutions i can think of, both are messy...

1) make hdparm suid root, so i can quickly add cards with a shortcut applet in KDE.
(this is very un0-secure to give un-privilaged users access to hdparm)

2) make a boot script that runs loops forever, running hdparm -z /dev/sdd, and hdparm -z /dev/sdb, every 2 seconds.

Does anyone have a better idea ???

Ive tested the device in windows, the activity light blinks every half second.

in linux he activity light doesnt blink when the device is idle, however it does blink when i run the hdparm command.

so it seems windows is useing my hdparm on a loop method.

i suppose running 4 disks off a single usb connection means the device hs lost its ability to hot-plug ???


Old 08-24-2005, 03:51 PM   #2
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Closed per request. Please continue here -- J.W.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
usb multi card reader doesnt detect newly inserted cards qwijibow Linux - Hardware 5 10-11-2005 10:17 PM
usb multi card reader doesnt detect newly inserted cards qwijibow Linux - Hardware 1 08-24-2005 03:50 PM
How do you change card# of multi multi-media cards. Nichole_knc Slackware 3 12-01-2004 12:49 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM
How do you detect a newly self installed eithernet card? godzilla_roar20 Linux - Newbie 5 07-19-2004 12:47 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration