From owner-freebsd-stable Fri Mar 30 17:39:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 74EC337B71E for ; Fri, 30 Mar 2001 17:39:40 -0800 (PST) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14jAMd-000IS2-00; Sat, 31 Mar 2001 02:39:39 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f2V1dcS10607; Sat, 31 Mar 2001 02:39:38 +0100 (BST) (envelope-from jcm) Date: Sat, 31 Mar 2001 02:39:38 +0100 From: j mckitrick To: Otter Cc: freebsd-stable@freebsd.org Subject: Re: sound on toshiba laptop Message-ID: <20010331023937.A10465@dogma.freebsd-uk.eu.org> References: <20010330171233.A5418@dogma.freebsd-uk.eu.org> <002001c0b977$537b4c10$1401a8c0@zoso> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <002001c0b977$537b4c10$1401a8c0@zoso>; from otterr@telocity.com on Fri, Mar 30, 2001 at 07:12:50PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 30, 2001 at 07:12:50PM -0500, Otter wrote: | pcm as a pci device or as a legacy device? how was it added in the | kernel? try | http://www.cse.ucsc.edu/~dkulp/fbsd/laptop.html I used that web page 2 years ago to get me started. Sound was tough to get working then, but at least i got it. Now it seems to have disappeared again. here is my configuration entry device pcm0 at isa? port ? irq 5 drq 1 flags 0x15 local:~> cat /dev/sndstat FreeBSD Audio Driver (newpcm) Mar 30 2001 08:26:22 Installed devices: pcm0: at io 0x530 irq 5 drq 1:5 (1p/1r channels duplex) dmesg: pcm0: at port 0x530-0x537,0x538-0x539 irq 5 drq 1 flags 0xc115 on isa0 .au files play fine: local:~> cat /etc/ppp/sorrydave.au > /dev/audio local:~> truss output: open("/etc/ppp/smoking.wav",0,027757776114) = 3 (0x3) read(0x3,0x804bd00,0x2c) = 44 (0x2c) open("/dev/dsp",1,027757776100) = 4 (0x4) ioctl(4,SNDCTL_DSP_GETBLKSIZE,0xbfbffb78) = 0 (0x0) ioctl(4,SNDCTL_DSP_SETFMT,0x804bd20) ERR#22 'Invalid argument' play: write(2,0xbfbff3d4,6) = 6 (0x6) /dev/dspwrite(2,0xbfbff404,8) = 8 (0x8) : write(2,0xbfbff3c4,2) = 2 (0x2) Invalid argument write(2,0xbfbff3c4,17) = 17 (0x11) close(4) = 0 (0x0) sigprocmask(0x1,0x2805c760,0xbfbffb88) = 0 (0x0) sigprocmask(0x3,0x2805c770,0x0) = 0 (0x0) exit(0x0) process exit, rval = 0 local:~> regular output: local:~> play /etc/ppp/smoking.wav play: /dev/dsp: Invalid argument local:~> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message