[plug] Any kernel hackers out there...?
Kim Covil
Kim.Covil at csiro.au
Wed Mar 6 14:05:30 WST 2002
Great... :)
I'll spend some time trying to get this working tonight and tomorrow
hopefully... If I can get it basically working I have some help from
someone in the empeg community who says he can tidy it up at the end.
But as he is busy working on other stuff, and my problem is pretty
specific to my empeg I will get a full solution quicker if I can get the
basics running myself.
Cheers
Kim
PS I use the empeg for music while sitting at my desk at CSIRO so does
that count...? :)
On Wed, 2002-03-06 at 13:55, Harry McNally wrote:
> Should be an input ring buffer. The output one is for efficient interrupt driven transmit and the input one catches characters under interrupt control so they are buffered for you and not lost. Pretty standard and not unique to Linux.
>
> You will see some code in the driver that transfers characters in an ISR from the serial input register to the ring buffer. A simple idea might be to disable the interrupt and pinch the bit of code from the ISR that polls for received chars and then the bit that fetches the chars from the serial hardware. Stick that in a loop with a timer test to spin for (say) 10 milliseconds after transmit (the tuner might take longer than that to respond .. experiment). The driver source will tell you what to do. The timer code may not be as evident. This solution is untidy but not much different to sensing if hardware is present on the end of a driver I spose.
>
> HTH
> Harry
>
> ps empegs ? .. and here's me thinking you're building the next big killer product at CSIRO ;-)
--
===========================================================================
Kim Covil - CSIRO Exploration & Mining E-mail: kim.covil at csiro.au
,-_!\
PO Box 1130, Bentley, Direct: +61 8 6436 8638 /
\
Western Australia 6102 Fax: +61 8 6436 8555
*_,-._/
========================================================================
v
Please direct all personal e-mail to kimbotha at covil.com.au
More information about the plug
mailing list