Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Getting a Soundblaster PCI128 to work on a Ruffian machine
@ 1999-05-11  4:00 Constantine Vetoshev
  1999-05-12  4:00 ` Alex Meisel
  0 siblings, 1 reply; 3+ messages in thread
From: Constantine Vetoshev @ 1999-05-11  4:00 UTC (permalink / raw)


Greetings all,

I'm trying to get my PCI128 to work on my UX2 board with no luck so
far. I tried the kernel ES1370 driver (I checked, the chip on my card
is a 1370 not a 1371) on a 2.2.7 kernel. It's detected, and here is
the relevant dmesg snippet:

es1370: version v0.20 time 13:30:58 May 10 1999
es1370: found adapter at io 0xa800 irq 31
es1370: features: joystick off, line in, mic impedance 0

I ran MAKEDEV audio in the /dev directory to create the necessary
devices. Then I run mpg123 (or any other audio program), and I get the
error Can't open /dev/dsp! I thought it was a permissions problem, so
I tried running the program as root, but the result was a total lockup
of the system. The SysRq key stopped working and the machine
disappeared from my network.

Has anyone been able to get a PCI128 working on an Alpha machine? I'd
appreciate some advice.

Regards,
Constantine Vetoshev



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting a Soundblaster PCI128 to work on a Ruffian machine
  1999-05-12  4:00 ` Alex Meisel
@ 1999-05-12  4:00   ` donaldlf
  0 siblings, 0 replies; 3+ messages in thread
From: donaldlf @ 1999-05-12  4:00 UTC (permalink / raw)



> Try the alsa driver (http://www.alsa-project.org/). I get my PCI64
> work with this driver on my Alpha-Box.
> You additionally need a patch for mpg123!
> Just have a look at the alsa page ....

Umm no patch need for mpg123 there is a patch for the current
development relase of ALSA though.

--- kernel/seq/seq_timer.c  Mon Jan  4 14:38:53 1999
+++ sr/kernel/seq/seq_timer.c   Fri Mar  5 13:38:26 1999
@@ -116,20 +116,18 @@

                tmr = q->timer;

-               if (tmr != NULL) {
-                       if (tmr->running) {
-                               double delta_time;
+               if (tmr != NULL && tmr->running) {
+                       long delta_time;

-                               /* update timer */
-                               snd_seq_inc_real_time(&tmr->cur_time,
&period);
-                               timers_running = 1;
+                       /* update timer */
+                       snd_seq_inc_real_time(&tmr->cur_time, &period);
+                       timers_running = 1;

-                               /* calculate current tick */
-                               /* FIXME: use of floating point stuff,
illegal i
n kernel (??) */
-                               if (tmr->tempo > 0) {
-                                       delta_time =
tmr->cur_time.tv_sec - tmr-
>tempo_time.tv_sec + (1.0E-9 * (double) (tmr->cur_time.tv_nsec -
tmr->tempo_time
.tv_nsec));
-                                       tmr->cur_tick = tmr->tempo_tick
+ (tmr->
ppq * delta_time * 1.0E6 / tmr->tempo);
-                               }
+                       /* calculate current tick */
+                       if (tmr->tempo > 0) {
+                               delta_time = (tmr->cur_time.tv_sec -
+tmr->tempo_time.tv_sec) * 1000;
+                               delta_time += (tmr->cur_time.tv_nsec -
+tmr->tempo_time.tv_nsec)/1000000;
+                               tmr->cur_tick = tmr->tempo_tick +
(tmr->ppq *
+delta_time * 1000 / tmr->tempo);
                                 }
                         }
                 }


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting a Soundblaster PCI128 to work on a Ruffian machine
  1999-05-11  4:00 Getting a Soundblaster PCI128 to work on a Ruffian machine Constantine Vetoshev
@ 1999-05-12  4:00 ` Alex Meisel
  1999-05-12  4:00   ` donaldlf
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Meisel @ 1999-05-12  4:00 UTC (permalink / raw)


Constantine Vetoshev wrote:
> I'm trying to get my PCI128 to work on my UX2 board with no luck so
> far. I tried the kernel ES1370 driver (I checked, the chip on my card
> is a 1370 not a 1371) on a 2.2.7 kernel. It's detected, and here is
> the relevant dmesg snippet:
> 
> es1370: version v0.20 time 13:30:58 May 10 1999
> es1370: found adapter at io 0xa800 irq 31
> es1370: features: joystick off, line in, mic impedance 0
> 
> I ran MAKEDEV audio in the /dev directory to create the necessary
> devices. Then I run mpg123 (or any other audio program), and I get the
> error Can't open /dev/dsp! I thought it was a permissions problem, so
> I tried running the program as root, but the result was a total lockup
> of the system. The SysRq key stopped working and the machine
> disappeared from my network.
> 
> Has anyone been able to get a PCI128 working on an Alpha machine? I'd
> appreciate some advice.
> 
> Regards,
> Constantine Vetoshev
Hi!

Try the alsa driver (http://www.alsa-project.org/). I get my PCI64
work with this driver on my Alpha-Box.
You additionally need a patch for mpg123! 
Just have a look at the alsa page .... 

Cu!
	AleX



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-05-12  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-11  4:00 Getting a Soundblaster PCI128 to work on a Ruffian machine Constantine Vetoshev
1999-05-12  4:00 ` Alex Meisel
1999-05-12  4:00   ` donaldlf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox