From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: usb sd cardreader
Date: Tue, 27 Dec 2005 10:57:01 -0800 [thread overview]
Message-ID: <43B18E7D.6020504@comarre.com> (raw)
In-Reply-To: <43ADB929.7010206@nycap.rr.com>
I waited to see if someone else could give you more direct help. But I
didn't see anything on the list, so ...
My best guess is that you are accessing the card itself instead of the
filesystem on it (or even, possibly, the reader tself rather than the
card in it ... depends a bit on the reader, and I don't know the Lexar
you're using). See if trying to mount /dev/sdb1 (or possibly /dev/sdb2
or /dev/sdb3 or /dev/sdb4) gives you better success. If you try these,
also try leaving off the -t specification, or try using "-t vfat", the
filesystem usually on SD cards I am familiar with. (devusbfs is not a
filesystem type for data partitions.)
Also, the "fhash memory howto" ... at least the one I found ... focuses
on memory sticks, not card readers. Search on "linux card reader howto"
to find some other discussion more directly applicable to card readers
(though they are similar to memory sticks).
As to what device is what ... your best bet is to scan the scsi bus
rahter than guessing. I do it here with cdrecord (cdrecord --scanbus),
but if you don't have it handy, I think there is also a utility called
sg_scan, or something close to that, that you can use.
Finally, when you see ...
> when i go into /media/lexar and do a ls command i get:
> 001 002 003 devices drivers
... what are you actually seeing? In an e-mail presentation, it is hard
to tell if these entries are files, directories, or something else. For
example, can you cd into any of these things, and if you do, what do you
see there? (My guess is you cannot, that they are kin to hard disk
partitions, but I don't really know.)
PS. If you post again, please mention which kernel you mean by "the" 2.4
kernel, and whether it is the stock Debian image or one you compiled
yourself.
bob krasko wrote:
>
> i am setting up debian sarge with the 2.4 kernel.
>
> my computer has a dvd burner(dev/cdrom, ls-120 drive (dev/sda), and a
> floppy. all of which i finally set up.
>
> the usb reader i want to use is a lexar jumpdrive trio, (the sandisk
> readers are next)
>
> i have tried many things and have followed the flash memory how to in
> detail.(as well as many hours of other things from google)
>
> when trying to get the usb reader to set up, i added the following to
> fstab:
> next line under proc:
> none /proc/bus/usb usbdevfs defaults 0 0
>
> and the last line added under my ls 120 drive (dev/sda) is
>
> /dev/sdb /media/lexar usbdevfs rw,user,noauto, 0 0
>
>
> the command mount -t usbfs /dev/sdb /media/lexar mounts the device to
> the media directory in lexar.
>
> when i go into /media/lexar and do a ls command i get:
> 001 002 003 devices drivers
>
> instead of reading the files that i put on the sd card and carried over
> from my win 2000 machine. (i put a wav file, an mp3, txt, etc just to
> see how linux would read the various files.
>
> it appears that i have come to the end of my wire and really would
> appreciate some help.
>
> the how to indicates that my device is a scsi, and my ls 120 shows up as
> the first scsi device, making the next device sdb, right ???
>
> tia
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-12-27 18:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-24 21:10 usb sd cardreader bob krasko
2005-12-27 18:57 ` Ray Olszewski [this message]
2005-12-27 20:19 ` Hal MacArgle
2005-12-28 13:07 ` chuck gelm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B18E7D.6020504@comarre.com \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox