Thomas Sailer wrote:
> 
> Peter Hackenberg wrote:
> 
> No, that's -1 printed as unsigned 32bit quantity.

That's true! I should think before ...

> > 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...

I can clarify this a bit. While testing the modifications I must have
had some interference from the serial-module. I noticed this yesterday
evening, because I experienced a nonworking ptt again. Thus the second
line alone
                 outb(0x00 , UART_LCR(sm->hdrv.ptt_out.seriobase));
works fine (as long as you "rmmod serial" first; if not, even the first
line does not help you).

Ok, I will have another look at the source and try to add the option txd=0
(txd=1 is the default value) to the soundmodem code. Well, for consistency
reasons it should also be added to sethdlc, but that is a second step.

Peter

Reply via email to