Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 15:47:59 -0500 (EST)
From:      Darrel <levitch@iglou.com>
To:        Milan Obuch <freebsd-stable@dino.sk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: serial card on RC2 , RC3
Message-ID:  <alpine.GSO.2.00.1312271544040.17149@shell1>
In-Reply-To: <20131227201342.08842077@zeta.dino.sk>
References:  <alpine.GSO.2.00.1312271114020.26196@shell1> <20131227181326.GA88638@in-addr.com> <alpine.GSO.2.00.1312271338250.4737@shell1> <20131227201342.08842077@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help

>>
>>>> Anyone know how to get serial cable working with StarTech "2 Port
>>>> Native Express RS232 Serial Adapter Card with 16550 UART"?  It is
>>>> part number PEX2S553.
>>>>
>>>> In my kernel I tried this:
>>>>
>>>> device puc
>>>> device sio
>>>> options COM_MULTIPORT
>>>>
>>>> in different variations.
>>>>
>>>> Also I tried in /boot/device.hints:
>>>>
>>>> hint.sio.2.flags="0x201"
>>>> hint.sio.3.flags="0x201"
>>>>
>>>> It is obviously a cheap card, but I do have one working in a msft
>>>> 7 machine.
>>>>
>>>
>>> Please post some more information about your system.  pciconf -lv
>>> and dmesg would both help developers see why the card isn't
>>> detected.  If your system has been up for a while you may be better
>>> off sending /var/run/dmesg.boot than the output of the dmesg
>>> program.
>>>
>>
>
> Hi,
>
> could you apply following patch to /usr/src/sys/dev/puc/pucdata.c and
> rebuild your kernel and/or modules? This is the first thing I would
> test, and it could even work, but no guarantee yet, naturally :)
>
> --- pucdata.c   2013-10-23 22:51:08.000000000 +0200
> +++ pucdata.c.mod       2013-12-27 20:09:36.000000000 +0100
> @@ -1094,6 +1094,12 @@
>            PUC_PORT_2P, 0x10, 4, 0,
>        },
>
> +       {   0x9710, 0x9922, 0xffff, 0,
> +           "NetMos NM9922 Dual UART",
> +           DEFAULT_RCLK,
> +           PUC_PORT_2S, 0x10, 4, 0,
> +       },
> +
>        {   0xb00c, 0x021c, 0xffff, 0,
>            "IC Book Labs Gunboat x4 Lite",
>            DEFAULT_RCLK,
>
> [ dmesg and pciconf output snipped ]
>

Hi, Milan.

Recompiled kernel with 'device ' and boot became frozen aft

puc0: <NetMos NM9922 Dual UART> port 0xdc00-0xdc07 mem 
0xfeaff000-0xfeafffff,0xfeafe000--xfeafefff irq 17 at device 0.0 on pci2

uart2: <Non-standard ns8250 class UART with FIFOS> at port 1 on puc0

Ctrl + c and Ctrl + d no response.

- boot to single user and still freezes

- guess that i should locate the old kernel

Darrel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.00.1312271544040.17149>