From owner-freebsd-mobile Wed Dec 9 12:59:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26509 for freebsd-mobile-outgoing; Wed, 9 Dec 1998 12:59:36 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from fnord.ir.bbn.com (FNORD.IR.BBN.COM [192.1.100.210]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA26501 for ; Wed, 9 Dec 1998 12:59:34 -0800 (PST) (envelope-from gdt@ir.bbn.com) Received: (qmail 16612 invoked by uid 10853); 9 Dec 1998 20:59:24 -0000 To: Warner Losh Cc: mobile@FreeBSD.ORG Subject: Re: Libretto Sound References: <199812040556.WAA38657@harmony.village.org> From: Greg Troxel Date: 09 Dec 1998 15:59:22 -0500 In-Reply-To: Warner Losh's message of Thu, 03 Dec 1998 22:56:52 -0700 Message-ID: Lines: 40 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After seeing notes on the list, I tried sound on a Libretto 70CT. I am running 2.2.6 plus KAME plus ALTQ plus CODA plus local hacks. After some lossage, I did the following and got it to work: In windows, changed IRQ setting to 11 (was 5). I presume this wrote to the hardware to change what it used, but this was fairly opaque. device pcm0 at isa? port 0x530 tty irq 11 drq 1 flags 0x0 vector pcmintr I found that with the irq and drq not filled in, the system crashed on accessing /dev/sound0. With it set to 5, which is what windows seemed to have had the hardware set to, sound worked but the pcmcia slot didn't ("driver allocation failed"). I then noticed that pcic0 was at irq5: pcm0 at 0x530 irq 11 drq 1 flags 0xa200 on isa mss_attach 0 at 0x530 irq 11 dma 1:1 flags 0xa200 PC-Card Intel 82365 (5 mem & 2 I/O windows) pcic: controller irq 5 I changed the config line to irq15, which seemed free. Then a pcmcia card worked and sound semiworked (sound out, but no interrupts apparently). Then, I tried changing the irq to 11, and all seems ok. (with 'cat file.ulaw > /dev/audio0'). I tried vat and got sorry don't know how to deal with this card Before I dig further, does anyone have clues? Does vat simply not have code for the new drivers, and should I try the voxware driver (as sb16, or mss, or what?)? If anyone could mail me a working kernel config line for the voxware driver for a Libretto, I'd appreciate it. Greg Troxel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message