serial port problems

Ondra Holecek bln at deprese.net
Thu Apr 6 17:48:15 UTC 2006


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 at pci0:17:0: class=0x070002 card=0x50791409 chip=0x71681409 rev=0x01
hdr=0x00
    class    = simple comms
    subclass = UART


thanks for help
Ondra



More information about the freebsd-stable mailing list