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


Reply
  Search this Thread
Old 11-13-2007, 06:12 PM   #1
usafitz
Member
 
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Rep: Reputation: 15
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?
 
Old 11-13-2007, 07:37 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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. ;-)
 
Old 11-13-2007, 07:39 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 11-13-2007, 08:37 PM   #4
usafitz
Member
 
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Original Poster
Rep: Reputation: 15
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?
 
Old 11-14-2007, 07:27 AM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
@ 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. ;-)
 
Old 11-14-2007, 12:46 PM   #6
usafitz
Member
 
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Original Poster
Rep: Reputation: 15
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.
 
Old 11-14-2007, 01:18 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
You might look into one of these.

http://freshmeat.net/projects/gpsd/

http://sourceforge.net/projects/gpsbabel

Good luck. ;-)
 
Old 11-14-2007, 05:52 PM   #8
usafitz
Member
 
Registered: Feb 2004
Location: Albuquerque
Distribution: Fedora 9
Posts: 46

Original Poster
Rep: Reputation: 15
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?
 
Old 11-14-2007, 07:15 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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. ;-)
 
  


Reply


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
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
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM
CF card reader - troubles finding SCISI dev it's on d33pdream Linux - Hardware 7 03-18-2003 12:48 AM
Lost Dev (flash card reader) kurnow Linux - Software 0 02-05-2003 04:25 PM


All times are GMT -5. The time now is 07:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration