Openmoko Bug #1953: tty setup for gps at startup -- /etc/init.d/gps-hardware

Openmoko Public Trac bugs at docs.openmoko.org
Tue Sep 2 13:27:58 CEST 2008


#1953: tty setup for gps at startup -- /etc/init.d/gps-hardware
----------------------+-----------------------------------------------------
 Reporter:  h.koenig  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  normal    |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  normal    |       Keywords:                
Blockedby:            |   Reproducible:                
 Blocking:            |  
----------------------+-----------------------------------------------------
 1) bug & fix:
 everyone has trouble with the output of "cat /dev/ttySAC1" after 1st
 startup,
 some not so clever apps might fail.
 why not set reasonable tty setting at boot time ?


 2)  further improvement/idea:
 what about using a generic /dev/symlink like /dev/gps or similar by
 default ?
 this help
 - once hardware might change and /dev/ttySAC1 is spelled differently in
 GTA3++
 - it's a single point where I can switch all gps apps/configs to use e.g.
 a BT gps receiver with "ln -sf rfcomm0 /dev/gps"


 right now I'm using this /etc/init.d/gps-hardware

 -------------------------------------------------------------------------------
 # This is a dummy file. Some machines use it to bring up integrated GPS
 # devices on demand.
 ln -sf ttySAC1 /dev/gps
 stty -echo -icrnl < /dev/gps
 -------------------------------------------------------------------------------

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1953>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list