Holux Compact Flash GPS

From OESF

(Difference between revisions)
Jump to: navigation, search
m
Current revision (00:55, 11 October 2007) (edit) (undo)
(Tidy up)
 

(26 intermediate revisions not shown.)

Line 1:

Line 1:

-
[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=113 paxil online] [http://library.cshl.edu/wp/vb/member.php?u=1347 cialis] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=91 cheap hoodia] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=229 valium online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=134 buy tramadol] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=105 mp3 ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=94 jazz ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3739 ultram online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/alprazolam_413.htm alprazolam online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30334 mp3 ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2907 sprint ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30279 ultracet online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30358 midi ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1386 free mono ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=87 flexeril online] [http://wc1.worldcrossing.com/WebX/.1de609eb funny ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/monoringtones_7654.htm free mono ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2887 pharmacy online online] [http://students.hsc.unt.edu/housing/item.cfm?type=2869 order lorazepam] [http://students.hsc.unt.edu/housing/item.cfm?type=2889 cheap vigrx] [http://students.hsc.unt.edu/housing/item.cfm?type=2897 nokia ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30294 cheap prozac] [http://library.cshl.edu/wp/vb/member.php?u=1344 cheap xanax] [http://users.wpi.edu/~dance/blahdocs/uploads/phentermine_3757.htm phentermine] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=236 tracfone ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a29 tramadol online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=120 free qwest ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/clonazepam_3384.htm clonazepam online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30258 cheap vicodin] [http://students.hsc.unt.edu/housing/item.cfm?type=2858 cheap viagra] [http://library.cshl.edu/wp/vb/member.php?u=1383 free sagem ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a33 prozac online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30346 free music ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a19 free mp3 ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2857 ativan online] [http://library.cshl.edu/wp/vb/member.php?u=1355 but clonazepam] [http://wc1.worldcrossing.com/WebX/.1de609f1 cheap lortab] [http://wc1.worldcrossing.com/WebX/.1de609f8 free nokia ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30335 nextel ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/valium_6454.htm cheap valium] [http://students.hsc.unt.edu/housing/item.cfm?type=2874 ultracet online] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3710 cheap clomid] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3773 free kyocera ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1354 alprazolam online] [http://library.cshl.edu/wp/vb/member.php?u=1374 free qwest ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/soma_5561.htm cheap soma] [http://students.hsc.unt.edu/housing/item.cfm?type=2888 cheap lortab] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30237 cheap valium] [http://wc1.worldcrossing.com/WebX/.1de60a0c wellbutrin online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/cingularringtones_7013.htm cingular ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3772 midi ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a14 jazz ringtones] [http://wc1.worldcrossing.com/WebX/.1de609ff real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=125 sharp ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=235 online tenuate] [http://wc1.worldcrossing.com/WebX/.1de609ee cheap hydrocodone] [http://students.hsc.unt.edu/housing/item.cfm?type=2899 tracfone ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=196 motorola ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3711 lisinopril online] [http://students.hsc.unt.edu/housing/item.cfm?type=2890 zanaflex] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=204 ortho online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=184 hoodia online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=128 sony ericsson ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=181 free ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2864 buy clonazepam] [http://students.hsc.unt.edu/housing/item.cfm?type=2892 rivotril online] [http://library.cshl.edu/wp/vb/member.php?u=1370 tracfone ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/fioricet_2815.htm </LINK> <LINK=http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=195>mono ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=188 cheap levitra] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/tracfoneringtones_5328.htm free tracfone ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3713 tenuate online] [http://students.hsc.unt.edu/housing/item.cfm?type=2850 order phentermine] [http://wc1.worldcrossing.com/WebX/.1de60a11 diethylpropion online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30364 ericsson ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3746 cheap ambien] [http://wc1.worldcrossing.com/WebX/.1de609fb cheap ortho] [http://wc1.worldcrossing.com/WebX/.1de60a12 free ericsson ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2884 celexa online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30331 free ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 cheap tramadol] [http://students.hsc.unt.edu/housing/item.cfm?type=2859 cheap meridia] [http://students.hsc.unt.edu/housing/item.cfm?type=2870 xenical online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30307 zoloft online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/hydrocodone_3335.htm hydrocodone online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=174 cyclobenzaprine online] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3719 free nokia ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1351 adipex online] [http://students.hsc.unt.edu/housing/item.cfm?type=2909 free verizon ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=208 cheap phentermine] [http://students.hsc.unt.edu/housing/item.cfm?type=2915 free mono ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30353 mono ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a0e cheap celexa] [http://students.hsc.unt.edu/housing/item.cfm?type=2883 lipitor online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/alltelringtones_474.htm alltel ringtones] [http://wc1.worldcrossing.com/WebX/.1de609dd alltel ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/clonazepam_4321.htm clonazepam online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=148 zyban online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=119 free punk ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2871 wellbutrin online] [http://students.hsc.unt.edu/housing/item.cfm?type=2866 cheap levitra] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30298 cheap lisinopril] [http://library.cshl.edu/wp/vb/member.php?u=1352 norco online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=124 samsung ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1353 vicodin online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=135 cheap ultracet] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3700 norco] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30308 cheap lipitor] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30315 lortab online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30310 cheap tenuate] [http://users.wpi.edu/~dance/blahdocs/uploads/nextelringtones_5134.htm free nextel ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/lorazepam_17.htm lorazepam online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=199 music ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=112 cheap ortho] [http://library.cshl.edu/wp/vb/member.php?u=1361 order xenical] [http://students.hsc.unt.edu/housing/item.cfm?type=2855 buy diazepam] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=68 adipex online] [http://users.wpi.edu/~dance/blahdocs/uploads/samsungringtones_3147.htm free samsung ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/carisoprodol_7292.htm carisoprodol online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30297 cheap albuterol] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 alltel ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3702 buy paxil] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3758 buy rivotril] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30263 levitra online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=142 wellbutrin] [http://library.cshl.edu/wp/vb/member.php?u=1357 levitra online] [http://wc1.worldcrossing.com/WebX/.1de609ea free ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30314 buy pharmacy online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30240 cheap carisoprodol] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/tramadol_3245.htm buy tramadol] [http://wc1.worldcrossing.com/WebX/.1de609e6 cyclobenzaprine online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=103 free mono ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30248 cheap ativan] [http://library.cshl.edu/wp/vb/member.php?u=1385 free sony ericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a22 but phentermine] [http://students.hsc.unt.edu/housing/item.cfm?type=2901 free mp3 ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3769 sony ericsson ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=127 buy soma] [http://library.cshl.edu/wp/vb/member.php?u=1349 order viagra] [http://wc1.worldcrossing.com/WebX/.1de60a2c cheap ultram] [http://wc1.worldcrossing.com/WebX/.1de60a10 didrex online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=111 order norco] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=224 free sagem ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30345 sprint ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 cialis] [http://wc1.worldcrossing.com/WebX/.1de60a05 sprint ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=234 free sprint ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1381 free polyphonic ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2873 nexium online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=92 hydrocodone online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=226 tramadol online] [http://students.hsc.unt.edu/housing/item.cfm?type=2925 free mtv ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a34 free sony ericsson ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2921 free wwe ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=109 free nextel ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/funnyringtones_5351.htm funny ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3735 free mtv ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=227 ultracet online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=231 rivotril online] [http://wc1.worldcrossing.com/WebX/.1de60a1f cheap lisinopril] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/xanax_4637.htm cheap xanax] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30359 free wwe ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3751 buy sildenafil] [http://users.wpi.edu/~dance/blahdocs/uploads/ambien_6489.htm order ambien] [http://students.hsc.unt.edu/housing/item.cfm?type=2847 tramadol online] [http://library.cshl.edu/wp/vb/member.php?u=1345 ultram online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/ativan_9901.htm cheap ativan] [http://users.wpi.edu/~dance/blahdocs/uploads/lorazepam_3885.htm lorazepam online] [http://users.wpi.edu/~dance/blahdocs/uploads/alprazolam_3561.htm alprazolam online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=186 free jazz ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30259 alprazolam online] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/phentermine_8208.htm cheap phentermine] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 cheap lorazepam] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=138 verizon ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2912 free sagem ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/carisoprodol_1193.htm cheap carisoprodol] [http://students.hsc.unt.edu/housing/item.cfm?type=2911 cingular ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/realringtones_3783.htm free real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=96 levitra online] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3749 ultracet online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30349 free cingular ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3737 phentermine] [http://wc1.worldcrossing.com/WebX/.1de60a0b cheap vigrx] [http://wc1.worldcrossing.com/WebX/.1de60a28 cheap soma] [http://library.cshl.edu/wp/vb/member.php?u=1371 funny ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2868 cheap ambien] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=126 cheap sildenafil] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=129 free sony ringtones] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3762 free funny ringtones] [http://users.wpi.edu/~dance/blahdocs/uploads/paxil_2293.htm paxil online] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=15&tid=3755 ortho online] [http://library.cshl.edu/wp/vb/member.php?u=1360 order lorazepam] [http://users.wpi.edu/~dance/blahdocs/uploads/freeringtones_1986.htm free free ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1348 cheap ativan] [http://wc1.worldcrossing.com/WebX/.1de60a24 propecia online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30336 free qwest ringtones] [http://www.colorado.edu/studentgroups/backcountryclub/blahdocs/uploads/paxil_4058.htm cheap paxil] [http://www.ovu.edu/community/toast.asp?sub=show&action=posts&fid=5&tid=3706 buy wellbutrin] [http://library.cshl.edu/wp/vb/member.php?u=1367 cheap didrex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5
+
This Howto has been contributed by Gerald J. Normandin Jr.
 +
It was found at: http://qpegps.sourceforge.net/assets/gps_units/holux_gm_270.html
 +
 
 +
===Introduction===
 +
 
 +
The GM-270 from HOLUX Technology, Inc. is a GPS receiver for the Compact Flash port. It contains a SiRF II/Lp chipset which draws a relatively low current (< 80 mA). This sounds nice for a Zaurus PDA which has a somehow not-so-strong internal battery.
 +
In theory, the SiRF II chipset is a good promise to get the receiver working together with any Linux-operated hardware.
 +
 
 +
Further information can be found at
 +
 
 +
* http://pcmcia-cs.sourceforge.net
 +
* http://www.holux.com.tw
 +
* http://www.sirf.com
 +
 
 +
===Motivation===
 +
 
 +
Unfortunately, the GM-270 does not work out-of-the-box on a Zaurus with the original Sharp ROM. My Zaurus SL-5500G runs 2.38G which is the latest available German version at this time. If you have information about other ROMs, please let me know.
 +
 
 +
Everything looks fine at the first glance when the GM-270 is plugged into the rear CF slot. The CF card icon appears in the status bar at the bottom and the red LED at the receiver is lit. But when you try to read some data from /dev/ttyS3 which is the default terminal for CF emulated serial devices, you'll see nothing but silence. Neither gpsd nor a terminal program receives any life-sign from the GPS device.
 +
Digging deeper reveals that the serial PCMCIA driver is in trouble and complains about "Bad Vcc" in the system log:
 +
 
 +
serial_cs: RequestConfiguration: Bad Vcc
 +
 
 +
You need to activate the syslog daemon manually to see such messages (/var/log/*) in case this service is not started automatically.
 +
 
 +
1. Make sure that /etc/syslog.conf contains the line
 +
*.* /var/log/messages
 +
2. Start the syslog daemon:
 +
/etc/rc.d/init.d/syslog start
 +
 
 +
I am not an expert for PCMCIA topics but that sounds like a pretty fundamental problem in the communication between the host system and the GM-270.
 +
 
 +
 
 +
Here is some more information about the system status at this point:
 +
 
 +
# cardctl status
 +
Socket 0:
 +
3.3V 16-bit PC Card
 +
function 0: ready
 +
# cardctl config
 +
Socket 0:
 +
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
 +
 
 +
===Workaround===
 +
 
 +
Hey, we run Linux on this device - there should always be a way out :-)
 +
 
 +
I was wondering if Linux had made any progress since version 2.4.6 which is the underlying OS of the Sharp ROM. So I took the recent kernel source (linux-2.4.21-pre5) and compiled the serial_cs module on its own. The header of serial_cs.c says it's version 1.138.
 +
To make it short: replacing the original module with this new one got me the GM-270 card working properly!
 +
 
 +
Meanwhile, I have received the confirmation from the Linux PCMCIA developers that the "Bad Vcc" is a known bug when attaching mulifunction cards. The fix has not been introduced in a stable 2.4 kernel yet, it will be included in linux-2.4.21. It should be ok to use the new module together with an old kernel.
 +
 
 +
Here are the instructions:
 +
 
 +
The following is valid for the Sharp ROM 2.38G, you might observe different behaviour with a different ROM.
 +
 
 +
1. Locate a compiled serial_cs module.
 +
Either take it from here: serial_cs.o
 +
 
 +
Or compile it on your own from the Linux source:
 +
 
 +
# cd /usr/src/linux/driver/char/pcmcia
 +
# arm-linux-gcc -D'''KERNEL''' -DMODULE -c serial_cs.c
 +
 
 +
You need the GCC distribution from Sharp and might have to add some links in /opt/Embedix/tools/arm-linux-include to the asm directories in the kernel source tree.
 +
 
 +
2. Remove the original module on your Zaurus:
 +
 
 +
# cd /lib/modules/2.4.6-rmk1-np2-embedix/kernel/drivers/char/pcmcia
 +
# rm serial_cs.o
 +
Don't worry, you are only deleting a link to the file located in ROM. You can always restore this link if you want to do so.
 +
 
 +
3. Copy the new serial_cs.o to this location.
 +
 
 +
4. Unplug the GM-270 and make sure that the module is not loaded. A 'lsmod' should show no line with serial_cs. Do a 'rmmod serial_cs' if the module is still loaded.
 +
 
 +
5. Insert the GM-270. You should observe the following:
 +
* CF card icon appears in the status bar
 +
* The red LED at the GM-270 flashes once and remains inactive
 +
* The GM-270 is suspended:
 +
# cardctl status
 +
Socket 0:
 +
3.3V 16-bit PC Card suspended
 +
 
 +
* Upon resume, the red LED is lit and the card is configured properly:
 +
# cardctl resume
 +
 +
# cardctl status
 +
Socket 0:
 +
3.3V 16-bit PC Card
 +
function 0: ready, bat dead, bat low
 +
 +
# cardctl config
 +
Socket 0:
 +
Vcc 3.3V Vpp1 0.0V Vpp2 0.0V
 +
interface type is "memory and I/O"
 +
irq 35 exclusive level
 +
Speaker output is enabled
 +
function 0:
 +
config base 0x00f8
 +
option 0x41 status 0x08 pin 0x00 copy 0x00
 +
io 0xf60003f8-0xf6000407 8bit
 +
 
 +
* There are messages in the system log that announce a new serial device:
 +
ttyS03 at port 0xf6000400 (irq = 35) is a 16C950/954
 +
 
 +
6. Start your favourite GPS utility and wait for the first fix.
 +
 
 +
Serial port is /dev/ttyS3, baud rate is 4800.
 +
 
 +
Good luck!
 +
 
 +
===Other ROMs and GPS units===
 +
 
 +
I have received several reports on ROM versions other than the Sharp 2.38G. Here is a list of what has been tested so far:
 +
 
 +
OpenZaurus 3.1rc2 Requires the updated serial_cs.o module (also based on kernel 2.4.6).
 +
The card is not automatically suspended after insertion, although it's suspended after powering on the Zaurus.
 +
Jerome Marot
 +
OpenZaurus 3.2
 +
Same as OZ 3.1rc2
 +
Jerome Marot
 +
Sharp 3.10
 +
No patch required, although it is based on kernel 2.4.18.
 +
Stewart Midwinter
 +
ROM 1.20 JP
 +
for C700
 +
Patch required.
 +
Jerome Marot
 +
Familiar Linux V0.6
 +
on iPAQ H3660
 +
Requires the patch within the 2.4.18-rmk3-hh24 environment.
 +
Dennis Hurrelmann
 +
 
 +
Original Howto doc by: Arnim Läuger
 +
 
 +
[[Category:Applications]]

Current revision

This Howto has been contributed by Gerald J. Normandin Jr. It was found at: http://qpegps.sourceforge.net/assets/gps_units/holux_gm_270.html

Contents

Introduction

The GM-270 from HOLUX Technology, Inc. is a GPS receiver for the Compact Flash port. It contains a SiRF II/Lp chipset which draws a relatively low current (< 80 mA). This sounds nice for a Zaurus PDA which has a somehow not-so-strong internal battery. In theory, the SiRF II chipset is a good promise to get the receiver working together with any Linux-operated hardware.

Further information can be found at

   * http://pcmcia-cs.sourceforge.net
   * http://www.holux.com.tw
   * http://www.sirf.com

Motivation

Unfortunately, the GM-270 does not work out-of-the-box on a Zaurus with the original Sharp ROM. My Zaurus SL-5500G runs 2.38G which is the latest available German version at this time. If you have information about other ROMs, please let me know.

Everything looks fine at the first glance when the GM-270 is plugged into the rear CF slot. The CF card icon appears in the status bar at the bottom and the red LED at the receiver is lit. But when you try to read some data from /dev/ttyS3 which is the default terminal for CF emulated serial devices, you'll see nothing but silence. Neither gpsd nor a terminal program receives any life-sign from the GPS device. Digging deeper reveals that the serial PCMCIA driver is in trouble and complains about "Bad Vcc" in the system log:

serial_cs: RequestConfiguration: Bad Vcc

You need to activate the syslog daemon manually to see such messages (/var/log/*) in case this service is not started automatically.

  1. Make sure that /etc/syslog.conf contains the line
     *.*                             /var/log/messages
  2. Start the syslog daemon:
     /etc/rc.d/init.d/syslog start

I am not an expert for PCMCIA topics but that sounds like a pretty fundamental problem in the communication between the host system and the GM-270.


Here is some more information about the system status at this point:

  1. cardctl status

Socket 0:

 3.3V 16-bit PC Card
 function 0: ready
  1. cardctl config

Socket 0:

 Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V

Workaround

Hey, we run Linux on this device - there should always be a way out :-)

I was wondering if Linux had made any progress since version 2.4.6 which is the underlying OS of the Sharp ROM. So I took the recent kernel source (linux-2.4.21-pre5) and compiled the serial_cs module on its own. The header of serial_cs.c says it's version 1.138. To make it short: replacing the original module with this new one got me the GM-270 card working properly!

Meanwhile, I have received the confirmation from the Linux PCMCIA developers that the "Bad Vcc" is a known bug when attaching mulifunction cards. The fix has not been introduced in a stable 2.4 kernel yet, it will be included in linux-2.4.21. It should be ok to use the new module together with an old kernel.

Here are the instructions:

The following is valid for the Sharp ROM 2.38G, you might observe different behaviour with a different ROM.

1. Locate a compiled serial_cs module. Either take it from here: serial_cs.o

Or compile it on your own from the Linux source:

 # cd /usr/src/linux/driver/char/pcmcia
 # arm-linux-gcc -DKERNEL -DMODULE -c serial_cs.c

You need the GCC distribution from Sharp and might have to add some links in /opt/Embedix/tools/arm-linux-include to the asm directories in the kernel source tree.

2. Remove the original module on your Zaurus:

 # cd /lib/modules/2.4.6-rmk1-np2-embedix/kernel/drivers/char/pcmcia
 # rm serial_cs.o

Don't worry, you are only deleting a link to the file located in ROM. You can always restore this link if you want to do so.

3. Copy the new serial_cs.o to this location.

4. Unplug the GM-270 and make sure that the module is not loaded. A 'lsmod' should show no line with serial_cs. Do a 'rmmod serial_cs' if the module is still loaded.

5. Insert the GM-270. You should observe the following:

  • CF card icon appears in the status bar
  • The red LED at the GM-270 flashes once and remains inactive
  • The GM-270 is suspended:
 # cardctl status

Socket 0: 3.3V 16-bit PC Card suspended

  • Upon resume, the red LED is lit and the card is configured properly:
 # cardctl resume
 
 # cardctl status
Socket 0:
 3.3V 16-bit PC Card
 function 0: ready, bat dead, bat low
 
 # cardctl config
 Socket 0:
 Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
 interface type is "memory and I/O"
 irq 35 exclusive level
 Speaker output is enabled
 function 0:
 config base 0x00f8
 option 0x41 status 0x08 pin 0x00 copy 0x00
 io 0xf60003f8-0xf6000407 8bit
  • There are messages in the system log that announce a new serial device:
 ttyS03 at port 0xf6000400 (irq = 35) is a 16C950/954

6. Start your favourite GPS utility and wait for the first fix.

Serial port is /dev/ttyS3, baud rate is 4800.

Good luck!

Other ROMs and GPS units

I have received several reports on ROM versions other than the Sharp 2.38G. Here is a list of what has been tested so far:

OpenZaurus 3.1rc2 Requires the updated serial_cs.o module (also based on kernel 2.4.6). The card is not automatically suspended after insertion, although it's suspended after powering on the Zaurus. Jerome Marot OpenZaurus 3.2 Same as OZ 3.1rc2 Jerome Marot Sharp 3.10 No patch required, although it is based on kernel 2.4.18. Stewart Midwinter ROM 1.20 JP for C700 Patch required. Jerome Marot Familiar Linux V0.6 on iPAQ H3660 Requires the patch within the 2.4.18-rmk3-hh24 environment. Dennis Hurrelmann

Original Howto doc by: Arnim Läuger

Personal tools