LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 07-14-2006, 03:51 AM   #1
peterrus
LQ Newbie
 
Registered: Jul 2006
Location: in my bunker in holland
Distribution: slackware
Posts: 6

Rep: Reputation: 0
card reader almost working, just need a bit more help


hello,

i have a chieftec cardreader and i managed to get it working under slackware, the problem was: only the CF slot was working, while the SM, MS and SD/MMC slots werent even detected. so after a bit of searching and some help on irc i managed to get it working, the other slots wherent detected because their LUNS wherent scanned. so i added them manually with the following command:

Code:
echo >/proc/scsi/scsi "scsi add-single-device 4 0 0 1"
echo >/proc/scsi/scsi "scsi add-single-device 4 0 0 2"
echo >/proc/scsi/scsi "scsi add-single-device 4 0 0 3"
after that all worked fine, now i want to enter this command every time i start slackware. i could just add it to rc.local or rc.modules. but this doesn't really work i've seen.

i use slackware 10.2 with a 2.6.13 testing kernel. so i have for example a rc.modules and a rc.modules-2.6.13.

how to fix this?

ps: it is important that this "driver" is loaded before the fstab entries get mounted because for example sdd1 is the SD card, but if there was a flash drive present at boot time, the flash drive would become sdd1, which would mess up my nice gnome disk mounter toolbar thingy. then the flash drive would be mounted as /mnt/cardreader/SD which is not what i want of course.
 
Old 07-14-2006, 06:41 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by peterrus
ps: it is important that this "driver" is loaded before the fstab entries get mounted because for example sdd1 is the SD card, but if there was a flash drive present at boot time, the flash drive would become sdd1, which would mess up my nice gnome disk mounter toolbar thingy. then the flash drive would be mounted as /mnt/cardreader/SD which is not what i want of course.
You might need to add this to your rc.sysinit file (or whatever the first script is as configured in inittab). Since this is somewhat distro specific (and I am not familiar with slackware), I am going to tag this post with slackware.

Before you attempt this, I would make sure you have some kind of a rescue disk (live CD, etc, not just the rescue floppy) available, because if you hose this (and we all have!) you might not be able to boot your system at all, even as single user.
 
  


Reply

Tags
cardreader, echo, lun, slackware


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
How to make working 9 in 1 memory card reader ? nicofo Linux - Hardware 4 12-02-2005 12:38 PM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 02:02 PM
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 09:25 PM
How do I get an ene card reader working with Suse 9.3? dorism Linux - Hardware 0 07-18-2005 02:44 PM
NETGEAR WG311 wireless card not working with FEDORA CORE3 64 bit mahasiswa Linux - Wireless Networking 1 12-09-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:01 PM.

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