Re: ES1370 Sound problems

1999-06-11 Thread Luigi Rizzo
> I currently re-added my es1370-based Ensoniq soundcard to my FreeBSD 3.2
> system with the hope of getting Luigi's sound driver working with it.  I
> added the following line to my kernel:

> So, that looks promising.  However, when I try to play a sound file or
> even cat a file to /dev/audio, I get nothing.  Trying to play an mp3 with
> mpg123, I get the following:
> 
> Can't reset audio!
> Can't reset audio!

first, you might miss symlinks from /dev/dsp->/dev/dsp1 and so on. the
cure for the latter is

cd /dev
./MAKEDEV snd1

first, the volumes default to zero which is not helpful. try

mixer pcm 100

and see if something now comes out

cheers
luigi
---+-
  Luigi RIZZO, lu...@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)

  http://www.iet.unipi.it/~luigi/ngc99/
  First International Workshop on Networked Group Communication  
---+-


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



Re: ES1370 Sound problems

1999-06-11 Thread Joe Clarke
I upped the volume to 100, but I am still getting the same errors.  Is
there anything else I should try?  I should also mention that when I cat a
file to /dev/audio or /dev/dsp, it immediately returns.  It looks like the
audio devices are nulls.  All the symlinks are correct and snd1 has been
built.  My Vibra16 in my other machine works just find as pcm1.

Joe Clarke

-- 
Joe Clarke, CE |  |
Customer Support Engineer|  |
Phone: (919) 472-2867   ..:|::|:..
Email: jcla...@cisco.com c i s c o  S y s t e m s




On Fri, 11 Jun 1999, Luigi Rizzo wrote:

> > I currently re-added my es1370-based Ensoniq soundcard to my FreeBSD 3.2
> > system with the hope of getting Luigi's sound driver working with it.  I
> > added the following line to my kernel:
> 
> > So, that looks promising.  However, when I try to play a sound file or
> > even cat a file to /dev/audio, I get nothing.  Trying to play an mp3 with
> > mpg123, I get the following:
> > 
> > Can't reset audio!
> > Can't reset audio!
> 
> first, you might miss symlinks from /dev/dsp->/dev/dsp1 and so on. the
> cure for the latter is
> 
>   cd /dev
>   ./MAKEDEV snd1
> 
> first, the volumes default to zero which is not helpful. try
> 
>   mixer pcm 100
> 
> and see if something now comes out
> 
>   cheers
>   luigi
> ---+-
>   Luigi RIZZO, lu...@iet.unipi.it  . Dip. di Ing. dell'Informazione
>   http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
>   TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)
> 
> http://www.iet.unipi.it/~luigi/ngc99/
>   First International Workshop on Networked Group Communication  
> ---+-
> 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



Re: ES1370 Sound problems

1999-06-11 Thread Christian Weisgerber
Joe Clarke  wrote:

> I currently re-added my es1370-based Ensoniq soundcard to my FreeBSD 3.2
> system with the hope of getting Luigi's sound driver working with it.
> 
> es1:  rev 0x00 int a irq 10 on pci0.15.0
  ^^^
> pcm1: using I/O space register mapping at 0x1800

At least with 4.0-CURRENT that's a problem. You need to patch
sys/pci/es1370.c, ca. line 150, in struct es_pci_driver. Replace "es"
by "pcm". I then get

pcm0:  irq 15 at device 9.0 on pci0
pcm0: using I/O space register mapping at 0xe400

on boot-up, and the card is made available correctly.

> Trying to play an mp3 with mpg123, I get the following:
> 
> Can't reset audio!
> Can't reset audio!

I get these too, but they don't seem to have any effect. mpg123 works
fine.

-- 
Christian "naddy" Weisgerber  na...@mips.rhein-neckar.de
carpe librum: books 'n' reviews http://www.carpe.com/buch/>



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message