LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-25-2004, 07:30 PM   #1
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Rep: Reputation: 15
How to get card reader up without the card in it?


I have my USB card reader working just fine right now. it mounts and unmounts and has no problems EXCEPT that when i reboot the system without the card in it (it stays in the camera when not in use) the system does no pick it up as a file system, so it doesn't add /dev/sda1 to the list of devices. When i try to mount it, it of course says that device "sda1" does not exist. When i plug a card in the reader, it does nothing.

Question: How can i get sda1 to show up when the computer boots and there is no card in the reader?

The only way i can do it is to unplug the card reader and plug it into some other USB slot. That works but it's cumbersome. Any solutions would be very appreciated.

Thanks guys!
 
Old 12-26-2004, 02:08 AM   #2
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
It sounds like you need to add the kernel modules for usb storage or scsi to /etc/modules or /etc/modules.conf.

If the kernel does not have the required modules loaded, then it often will not recognise that a particular module is needed, and you will get the kind of errors that you are seeing.

here is a list of my /etc/modules - I have a zip100 usb drive, and a usb printer with scanner and card reader built in. all of these work 'on demand'

Code:
usb-uhci
input
usbkbd
keybdev
eepro100
es1371
parport_pc
mousedev
usb-storage
printer
NOTE: some of these modules may not be needed in your installation

enjoy!
jacks4u
 
Old 12-26-2004, 03:54 PM   #3
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Original Poster
Rep: Reputation: 15
nope, i've got all the required modules installed. It's just that if a CF card isn't physically in the plugged-in card reader when the machine boots up, it won't open the card reader as a device. As soon as i put a card in and then re-plug the reader into a different USB slot, the hotplug loads it up just fine.

Again, it's not a life-threatening situation, it's just a slight nuisance.

Thanks for any additional help.
 
Old 12-26-2004, 04:27 PM   #4
sls
Member
 
Registered: May 2004
Location: North Wales UK
Distribution: Debian Woody Sarge/Sid
Posts: 77

Rep: Reputation: 16
Hi

You can add the following line to /etc/fstab

/dev/sda1 /media/compactflash vfat rw,user,noauto 0 0

Then create the folder compactflash in /media

sls
 
Old 12-26-2004, 05:41 PM   #5
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
leiavoia:

My situation is similar... I leave my USB cable plugged into the back of the PC and disconnect the card reader from my desk end of the cable. After I boot up - there's no /dev/sda1.

Then I put the card into the reader and plug both into my cable that's already in the PC, /dev/sda1 is dynamically created by devfs and I can then mount it.

I don't have to move the USB to another port and I don't have to reboot.
 
  


Reply



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
Smart card reader (PCI) with open pgp card cracidy Linux - Hardware 0 10-24-2005 02:34 AM
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 08:25 PM
4 in 1 card reader kryptonite0110 Linux - Hardware 1 04-27-2005 01:40 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:12 AM.

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