Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 13:01:48 +0200 (CEST)
From:      Marc van Woerkom <van.woerkom@netcologne.de>
To:        hodeleri@seattleu.edu
Cc:        obrien@NUXI.com, freebsd-current@FreeBSD.ORG
Subject:   Re: No sound (Ensoniq Audio PCI 1370)
Message-ID:  <199905221101.NAA01071@oranje.my.domain>
In-Reply-To: <3741237F.F528C8FA@seattleu.edu> (message from Eric Hodel on Tue, 18 May 1999 01:23:27 -0700)
References:  <199905151958.VAA14199@oranje.my.domain> <Pine.BSF.4.05.9905161813240.1047-100000@arnold.neland.dk> <19990517105543.B47978@nuxi.com> <3741237F.F528C8FA@seattleu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> I just use:
> 
> device pcm0
> 
> and no more, since I only have a PCI card. 

So you reasoned something like 

    This card has nothing to do with ISA, let the PCI routines figure out
    the parameters by themselves

Joachim's Ensoniq driver was the first extension of Luigi's underlying
pcm driver for ISA cards towards PCI. 

Looks like bus issues are not arranged 100%:

On my 

    FreeBSD 4.0-CURRENT #10: Fri May 21 19:50:23 CEST 1999

system I changed CONFIG to

    #device pcm0 at isa? port ? irq 10 drq 1 flags 0x0
    device pcm0 at nexus? 

and got this messages after reboot

    es0: <AudioPCI ES1370> irq 11 at device 15.0 on pci0
    pcm0: using I/O space register mapping at 0x6400

    pcm1: unit not configured, perhaps you want pcm0 ?

and indeed 

    marc@oranje$ cat /dev/sndstat
    FreeBSD Audio Driver (981002) May 21 1999 19:50:06
    Installed devices:
    pcm0: <ENSONIQ AudioPCI> at 0x6400 irq 0 dma 0:0

the card is recognized by Luigi's driver.


Compare this to what pcm(4) says:

     device pcm0 ...

     your first PnP audio card will be unit #1, i.e. it will be accessible as
     /dev/audio1, /dev/dsp1, etc.  Many application default to using /dev/au-
     dio, so you can create symlinks from /dev/audio etc to the correct device
     entries as follows:

     cd /dev
     rm audio dsp dspW mixer
     ./MAKEDEV snd1
     ln -s audio1 audio
     ln -s dsp1 dsp
     ln -s dspW1 dspW
     ln -s mixer1 mixer

(note: the links are laid by MAKEDEV already)

instead I had to use unit #0 via 

    ./MAKEDEV snd0

and this way it works OK right now although I think it was not meant to.


Regards,
Marc


 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905221101.NAA01071>