Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 21:34:59 -0700
From:      Michael Collette <metrol@earthlink.net>
To:        freebsd_mail@yahoo.com
Cc:        FreeBSD <freebsd-mobile@FreeBSD.org>
Subject:   Re: Armada 7800 Sound Config
Message-ID:  <20010906043501.5510037B405@hub.freebsd.org>
In-Reply-To: <200109051940100710.02CBE16C@smtp.mail.yahoo.com>
References:  <20010906013250.65F7B37B407@hub.freebsd.org> <200109051940100710.02CBE16C@smtp.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg,

  That thar was a fine couple of thoughts.  The final setting I had in my 
kernel config, for those that might read this in the archives later, was as 
follows...

options   PNPBIOS
device    pcm0 at isa? irq 5 drq 1 flags 0x10

  What is kinda wild is that the only app that I can get sound from is XMMS 
at this point.  KDE's Arts server just produces a lot of static, and waveplay 
just hangs.  I was mostly looking to get XMMS working anyway, so I'm a happy 
camper.  It even sounds good with headphones on! :)

On Wednesday 05 September 2001 07:40 pm, Greg Smith wrote:
> Michael,
>
> A couple thoughts:
>
> Try putting the sbc device in your kernel.  Here is the dmesg from my
> Winbook FX:
>
> sbc0: <ESS ES1878> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5
> drq 1,3 on isa0
> pcm0: <ESS 18xx DSP> on sbc0
> pcm0: ESS1878 detected
> pcm: setmap 3000, 1000; 0xc346f000 -> 3000
> pcm: setmap 4000, 1000; 0xc3470000 -> 4000
>
> You might also try:
>
> options PNPBIOS
>
> which helps with some sound cards.  I think you should only need sbc or
> PNPBIOS.  In fact, I would try PNPBIOS first, with just device pcm as
> you have now.  It may give you some other odd things in your boot, but
> it could help.
>
> Also, if you have two drqs, you get the second one with flags 0x1#,
> where # is the second drq.
>
> I know this is random thoughts, but hopefully it helps a little.
>
> Greg
>
> -----Original Message-----
>
> >Running a Compaq Armada 7800 here and I'm trying to figure out the
> >magical
> >mix of settings to put into my kernel config for sound.  I haven't had
>
> any
>
> >luck with my playing with it to date, so I thought I'd toss what all I
> >know
> >of it here and see if anyone might have a workable device line for me.
>
> From the BIOS config:
> >-----------------------------------------------------------------------
>
> ------
>
> > ESS Control Interface
> > - Input/Output range 0x0250 - 0x0257
> >
> > ESS 1879 Plug and Play AudioDrive
> > - Interrupt request number 5
> > - DMA Channel 1
> > - DMA Channel 0
> > - Input/Output range 0x0220 - 0x022F
> > - Input/Output range 0x0388 - 0x038B
> > - Input/Output range 0x0330 - 0x0331
> >-----------------------------------------------------------------------
>
> ------
>
> >Some info from a Compaq white paper on install Linux on this box.  I
> >realize
> >that the bulk of this stuff doesn't really apply to FreeBSD directly,
>
> but
>
> >I
> >was hoping that this info might help someone to translate this into
>
> what
>
> >all
> >I need to do.
> >-----------------------------------------------------------------------
>
> ------
>
> >Sound Configuration:
> > 1. Write down what the audio resources are from Computer Setup
> > 2. Boot Linux and log in as root
> > 3. If you did not install the OSS package from Series pay1 then do so
> >    now with yast
> > 4. cd to /tmp/ossLinux-3.7.1z the directory name will be different if
> >    you installed a different OSS version
> > 5. Read the INSTALL file!!!!
> > 6. Execute ./ossLinux.runme the ./ is required
> > 7. It give a choice of four different location to uncompress the
>
> files
>
> >    to. Pick one.
> > 8. It will then prompt to autodetect. Choose Autodetect
> > 9. It should find Generic ESS ES1688. OSS does come with an ESS1879
> >    driver but this is only for ISA PnP cards, not embedded versions
>
> of
>
> >    the 1879.
> >10. Next, choose manual configuration
> >11. Use your Computer Setup information to choose the card settings.
> >    For example, the BIOS defaults are I/O=0x220, IRQ5, DMA1,
>
> MPU=0x330.
>
> >The
> >    ESS1879 uses two DMA channels, you want to use DMA1, or whatever
>
> the
>
> >2nd
> >    DMA channel is set to.
> >12. Select Save and Exit.
> >13. cd to /opt/oss
> >14. Execute ./soundon
> >15. If you installed the sample wav files test the driver by using the
>
> oss
>
> >    play utility, i.e. play /usr/share/sounds/wav/zuluchnt.wav
> >16. Execute aumix and adjust the volumes with the arrow keys, make
>
> sure the
>
> >    mic is very low.
> >17. Execute ./savemixer mixer.map The current mixer settings will be
> >    saved and used when the driver loads.
> >-----------------------------------------------------------------------
>
> ------
>
> >  One of my attempts at this was the following line...
> >
> >device    pcm0 at isa? irq 5 drq 1 flags 0x0
> >
> >  And as you might imagine, this doesn't work.  Lastly, I'm not seeing
> >this
> >device showing up in dmesg at all.  Not sure where to take this from
>
> here,
>
> >and hoping someone here might.  From my looking around it seems that
>
> this
>
> >question has been asked before, though no real resolution was posted.
> >
> >http://www.freebsd.org/cgi/getmsg.cgi?fetch=203802+0+/usr/local/www/db/
>
> text/2000/freebsd-mobile/20000806.freebsd-mobile
>
> >Later on,
> >--
> >"Outside of a dog, a book is man's best friend. Inside of a dog, it's
>
> too
>
> >dark to read."
> > - Groucho Marx
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-mobile" in the body of the message
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

-- 
"Outside of a dog, a book is man's best friend. Inside of a dog, it's too 
dark to read."
 - Groucho Marx

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




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