Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2006 18:58:06 +0200
From:      Ondra Holecek <bln@deprese.net>
To:        freebsd-current@freebsd.org
Subject:   serial port problems
Message-ID:  <4435489E.9060105@deprese.net>

next in thread | raw e-mail | index | archive | help
hello,

i have got PCI card with two RS-232 connectors (made by Sunix) and I
managed to add record into pucdata.c to see it in my system.

the problem is that i can only read from port but cannot send any
- if i connect it with other computer (B), everything what i write on
B's terminal I can see on Sunix card (A), but nothing what i write on  A
can be seen on B.

speeds are the same, and tested for 2400, 4800, 9600, 14400, 19200,
28800, 38400, 57600, 115200.


what i added to pucdata.c:
        {   "Sunix XXX",
            {   0x1409, 0x7168, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
                { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
            },
        },

pciconf -lv:

puc0@pci0:17:0: class=0x070002 card=0x50791409 chip=0x71681409 rev=0x01
hdr=0x00
    class    = simple comms
    subclass = UART


thanks for help
Ondra



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4435489E.9060105>