Openmoko Bug #2215: distros using fso-gsm0710muxd will not register

Openmoko Public Trac bugs at docs.openmoko.org
Sat Jan 24 01:55:25 CET 2009


#2215: distros using fso-gsm0710muxd will not register
-----------------------------+----------------------------------------------
 Reporter:  BillK            |          Owner:  openmoko-kernel      
     Type:  defect           |         Status:  new                  
 Priority:  normal           |      Milestone:  FSO                  
Component:  System Software  |        Version:                       
 Severity:  normal           |       Keywords:  gsm0710muxd GSM modem
 Haspatch:  0                |      Blockedby:                       
Estimated:                   |    Patchreview:                       
 Blocking:                   |   Reproducible:  always               
-----------------------------+----------------------------------------------

Comment(by BillK):

 Spent a couple of hours yesterday (23/01/2009) with Paul Furtser on IRC
 going through this:
 found that the GSM uart settings on the bad GTA02 are different to the
 working one.

 Defaults before the serial port open are very different - but probably
 irrelevant - 9600 baud instead of 115200 and other settings are not the
 same.

 After the port is open the differences are:
 stty -a -F /dev/ttySAC0 on the good FR after the port is opened:
 debian-gta02:~/devel/gsm0710muxd/src# stty -a -F /dev/ttySAC0
 speed 115200 baud; '''rows 0; columns 0; line = 0''';
 intr = <undef>; quit = <undef>; erase = ^?; kill = ^U; eof = ^D; eol =
 <undef>; eol2 = <undef>;
 '''swtch = <undef>;''' start = <undef>; stop = <undef>; susp = <undef>;
 rprnt = ^R;
 werase = ^W; lnext = ^V;
 flush = ^O; min = 0; time = 5;
 -parenb -parodd cs8 -hupcl -cstopb cread clocal crtscts
 ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
 -ixoff -iuclc -ixany -imaxbel
 -iutf8
 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
 vt0
 ff0
 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
 -echoprt -echoctl -echoke
 debian-gta02:~/devel/gsm0710muxd/src#


 On the bad GTA02, the same command gives (differences in bold):
 speed 115200 baud; '''rows 24; columns 80;'''
 intr = <undef>; quit = <undef>; erase = ^?; kill = ^U; eof = ^D; eol =
 <undef>; eol2 = <undef>; start = <undef>; stop = <undef>; susp = <undef>;
 rprnt = ^R; werase = ^W;
 lnext = ^V; flush = ^O; min = 0; time = 5;
 -parenb -parodd cs8 -hupcl -cstopb cread clocal crtscts
 ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
 -ixoff -iuclc -ixany -imaxbel
 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
 vt0
 ff0
 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
 -echoprt -echoctl -echoke


 Tests were done with/without the SIM and SD card, using the SHR-lite
 distro, but the results are the same under 2008.12, with the SIM and SD
 card present.

 The bad uart appears to be running in a terminal mode (24 rowsx80cols) and
 does not have the line discipline option.  There is also a "swtch" setting
 on the good uart that isnt on the bad one.

 So perhaps the mux needs some changes to deal with the differently setup
 mux??

 BillK

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2215#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list