Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-13-2007, 06:12 PM
|
#1
|
Member
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46
Rep:
|
Question about /dev (CF Card Reader)
Hey all. Thanks again for your help. I'm trying to use a compact flash drive to pass data from a compact flash GPS receiver. Using FC7, when I mount the card reader, it mounts two new /dev entries called "sdc" and "sg3". When I put the GPS CF in there, those go away and I think it's because it can't write to the device.
when I insert a CF storage card, it mounts under /media/disk. So I obviously need to mount the GPS CF card as a read only.
questions:
1. the CF storage card mounts automatically. What would the commands be to mount those if it wasn't automatic (pmount?)?
2. what command can I use to mount the GPS as a read only?
|
|
|
11-13-2007, 07:37 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Hi usafitz, This should work.
Code:
mount -t vfat -o ro /dev/sdc1 /mnt/your/mount/point
There is more info on cf card readers here.
Good luck. ;-)
|
|
|
11-13-2007, 07:39 PM
|
#3
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
You can't "mount" a GPS, it isn't a storage device. You need to find out of there are drivers that support this device specifically. It is using the Compact Flash form factor and pinout, but it isn't a standard CF card in the traditional sense (like SDIO cards).
I'm not even sure that you can do it with a USB card reader. I have Compact Flash WiFi cards, and they only work on my laptop when they are placed in a PCMCIA adapter.
|
|
|
11-13-2007, 08:37 PM
|
#4
|
Member
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46
Original Poster
Rep:
|
Yep MS3FGX, looks like you're right. Here's what I get with the command:
[root@localhost dev]# mount -t vfat -o ro /dev/sdc /mnt/GPS
mount: /dev/sdc is not a valid block device
although that is exactly what I was looking for Peacedog. Thanks for the info.
I have some sort of express port instead of a PCMCIA slot, is that going to work the same way in linux?
|
|
|
11-14-2007, 07:27 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
@ MS3FGX, That's a nice catch, I saw "cf card" and "mount" and the rest of the post was blah, blah, blah. ;-)
@ usafitz, What type of GPS is it? There are a couple of projects for Garmin devices.
http://sourceforge.net/projects/garmin-gps/
http://pygarmin.sourceforge.net/
My apologies for not reading the post thoroughly. ;-)
|
|
|
11-14-2007, 12:46 PM
|
#6
|
Member
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46
Original Poster
Rep:
|
It's a Haicom HI-305III. It's a pretty sweet piece of hardware. I bought it because it goes perfectly with my Toshiba pocket PC but now figured it would be a fun project to try to get it to work with kismet and what not. Thanks for the references.
|
|
|
11-14-2007, 01:18 PM
|
#7
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
|
|
|
11-14-2007, 05:52 PM
|
#8
|
Member
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46
Original Poster
Rep:
|
These were great references, Peacedog. I read all of them but didn't have any progress. But that's alright, I'm gunna keep at it. I'm actually learning a lot from it, which is the point of the whole exercise
Another option that I have is to run a cable from the firewire port. Do you have any experience with these? what /dev/? could I look for to read from the firewire port?
|
|
|
11-14-2007, 07:15 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Firewire devices show up on the scsi bus just like usb, i.e. sdX, etc. I've no idea if there are any compatible modules for the firewire subsystem and gps devices. You may find something useful here.
Good luck. ;-)
|
|
|
All times are GMT -5. The time now is 02:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|