Subject: Re: dolphin 4079 PCI comm ports (dual serial, 1 parallel)
To: None <tech-kern@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20020411T083921@wsrcc.com>
List: tech-kern
Date: 04/11/2002 09:00:46
tls@rek.tjls.com (Thor Lancelot Simon) writes:
> I've had trouble with this option with several different 16650 cards,
> including with a card that worked with the option in one machine, but
> not in another!  Early 16650 parts were evidently quite buggy, but I'm
> not sure that explains all the driver problems.

I'm seeing a semi-stable bug with this card.  When it works I can read
data for many minutes without a drop.  Every once in a while it gets
into a different mode where great amounts of data is dropped.  Exiting
entering tip does not fix it, although exiting and waiting 30 seconds
and then restarting tip seems to sometimes work. (At another time I
had convinced myself that a "stty -f /dev/tty03 sane" while the card
was misbehaving would get it out of that mode with high probability.
That appears not to work any longer.)

Timing bug? (insufficient write/read gating on fast machines???)
observed on 1.1Ghz Athlon in an Asus A7V.

-wolfgang

These tests are a 4800 baud ascii data stream from a GPS. (The format
is called NMEA.  It is basically comma separated values with
distinctive start-of-line tokens.)

good: 

    $ tip nmea
    connected
    ,,,,,,V*21
    $GPGGA,15445,3733.456,N,12156.123,W,2,07,1.2,25.9,M,-28.0,M,0,0269*71
    $GPGSA,A,3,04,05,07,09,24,26,,29,,,,,2.7,1.2,2.4*34
    $GPGSV,2,1,08,04,52,128,45,05,19,297,42,07,49,045,46,09,49,299,45*72
    $GPGSV,2,2,08,24,28,173,42,26,13,226,41,28,23,095,30,29,16,282,42*7D
    $PGRME,2.7,M,5.2,M,5.8,M*21
    $GPGLL,3733.456,N,12156.123,W,154452,A*3A
    $PGRMZ,85,f,3*26
    $PGRMM,WGS 84*06
    $GPBOD,,T,,M,,*47
    $GPRTE,0,1,c,*36
    $PSLIB,,,K*23
    $PSLIB,,,J*22
    $GPRMC,154453,A,3733.456,N,12156.123,W,000.0,360.0,110402,015.2,E*62
    $GPRMB,A,,,,,,,,,,,,V*71
    $GPGGA,154454,3733.456,N,12156.123,W,2,07,1.2,25.7,M,-28.0,M,0,0269*79
    $GPGSA,A,3,04,05,07,09,24,26,,29,,,,,2.7,1.2,2.4*34
    $GPGSV,2,1,08,04,52,128,45,05,19,297,42,07,49,045,46,09,49,299,46*71
    $GPGSV,2,2,08,24,28,173,42,26,13,226,41,28,23,095,30,29,16,282,42*7D
    $PGRME,2.7,M,5.2,M,5.8,M*21
    $GPGLL,3733.456,N,12156.123,W,154454,A*3C
    $PGRMZ,84,f,3*27
    $PGRMM,WGS 84*06
    $GPBOD,,T,,M,,*47
    $GPRTE,0,1,c,*36

bad:

    $ tip nmea
    connected
    LIB,,23
    $$PSIB,,,,K*2
    PRMC,1J54,A,$GP3.456547121563735,W,0,N,0,360.501104000.15.2,.0,6
    $G2,0B,A,,E*6,,,,,PRM*71
    ,,,GGA,1,,V54,37$GP456,N547156.533.W,2,0,12.3,2123,M,-287,1M,0,0.6,*7A
    .0,GSA,A26904,05$GP,09,2,3,6,,29,07,,2.94,23,2.6,,,
    $GP,1.,2,1,*3904,53GSV7,44,08,19,29,123,07,05,046,48,49,50,48,,46*76,0$GPGS298,2,08B
    29,GRME,0,4,M,6.,225,73,28,21,127,00,42,15,28,093*77
		    $P,6.8,3.15
    5,WGRMZ,54,f,3*2N,PGL56.503.1,1547121A*3F
		    $P$PGRM84,GS 847

    BOD,,M,,*4$GPRTE,0c,*36$GPRMC,1,56,A,$GP3.456547121563735,W,0,N,0,360.501104000.15.2,.0,4
    $G2,0B,A,,E*6,,,,,PRM*71
    ,,,GGA,1,,V56,37$GP456,N547156.533.W,2,0,12.4,2123,M,-287,1M,0,0.6,*7F
    .0,GSA,A26904,05$GP,09,2,3,6,,29,07,,2.94,24,2.6,,,
    $GP,1.,2,1,*3E04,53GSV7,44,08,19,29,123,07,05,046,48,49,50,48,,46*76,0$GPGS298,2,08B
    29,GRME,0,4,M,6.,225,73,28,21,127,00,42,15,28,093*77
		    $P,6.8,3.15
    5,WGRMZ,56,f,3*2N,PGL56.503.1,1547121A*3D
		    $P$PGRM84,GS 847

-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/