Peter Hackenberg wrote:
> But I noticed a strange message in /var/log/messages (see below). There
> might be an uninitialized variable in the soundmodem driver.
No, that's -1 printed as unsigned 32bit quantity.
> Furthermore I would like to have a feature added to the soundmodem-module.
> I'm using a "homemade" pr-tranceiver (the t7f, which has been described in
> the cq-dl 10-11/1998) which frequencies are programmed by TxD and RxD of the
> serial interface.
> Therefore I don't like the default behaviour of the soundmodem to toggle
> RTS _and_ TxD simultaniously (to indicate PTT). To toggle _only_ RTS
> would be very fine. Maybe this feature can be added by an option to
> the soundmodem-module.
>
> Empirically I found that replacing
> outb(0x40 & (-ptt), UART_LCR(sm->hdrv.ptt_out.seriobase));
> with
> outb(0x40 , UART_LCR(sm->hdrv.ptt_out.seriobase));
> outb(0x00 , UART_LCR(sm->hdrv.ptt_out.seriobase));
Looks strange. Anyway, download the 16550 datasheet eg. from
www.national.com and submit a clean patch to make toggling
txd an option...
Tom