You have 2 separate problems:

1/ RTL: the later versions of RTL use channel 2 of the 8254 internally,
so it can't be used for the sound example on a 486.

2/ RTAI: Depending on what PC you have, the TICK_PERIOD may be too fast
and cause the machine to hang, to solve this I set the DIVISOR to 1.  I
can get this to work on a 486DX-33 if I set the following in
sound/rt_process.c (this should solve your RTAI problem).

//#define ONESHOT

#define TIMER_TO_CPU 3 // < 0 || > 1 to maintain a symmetric processed
timer.

//#define DIVISOR 10
#define DIVISOR 1

#define TICK_PERIOD ((125000 + DIVISOR/2)/DIVISOR)


NOTE: I always use periodic mode on 486's as otherwise anything that you
do on the machine that could cause a 'beep' on the speaker (e.g
backspace at the command prompt) will cause the machine to hang, this is
a known and documented limitation.

Regards, Stuart.



Der Herr Hofr.at wrote:
> 
> Hi !
> 
>  I guess I have a problem understanding the 8254 timer chip , maby sombody
>  could explain this ....
>  The old sound examples from 9H worked on my 486 the new ones did not , the
>  difference is that the new sound.o uses the second counter on the 8254 .
> 
>  I have problems getting RTAI 0.8 (infact also 0.6 and 0.5 ) running on a
>  486 . is it posible that the 8254 on this old box simply only has ONE
>  counter on that chip , and that the problem is due to RTAI using the second
>  counter in rtai.c and in many other places.
>  how can I find out what exactly I have in this box ( I can probably open it
>  up , but then again I would like to find out what the linux kernel will see
>  not what I can find on the motherboard...)
>


--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to