From owner-freebsd-mobile Thu Feb 28 15:35:47 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id 23AA937B417 for ; Thu, 28 Feb 2002 15:35:41 -0800 (PST) Received: from isi.edu (kffz9k6pfdi16usz@hic.isi.edu [128.9.160.180]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g1SNZe029286; Thu, 28 Feb 2002 15:35:40 -0800 (PST) Message-ID: <3C7EBECB.30007@isi.edu> Date: Thu, 28 Feb 2002 15:35:39 -0800 From: Yu-Shun Wang User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020209 X-Accept-Language: en-us MIME-Version: 1.0 To: Patrick Thomas Cc: freebsd-mobile@freebsd.org Subject: Re: seeking _sound_ on libretto 100ct using 4.5-RELEASE References: <20020226205954.V40647-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, The following line in kernel config works for my Libretto 110CT: device pcm0 at isa? irq 5 drq 1 flags 0x15 I got that from pcm(5). Cheers, yushun. Patrick Thomas wrote: > I cannot for the life of me get sound to work on a toshiba libretto 100ct > running FreeBSD 4.5-RELEASE. I am simply trying to get `mpg123` to play a > mp3 file, and I have not been successful. > > I have this in my kernel config: > > device pcm0 at isa? port 0x530 irq 5 drq 1 flags 0xc100 > > And I have not created any devices using MAKEDEV, since pcm is not in the > MAKEDEV script (so I can't make it even if I wanted to). Also I can `sh > MAKEDEV snd0` all day successfully, but the snd0 file never actually gets > created. > > cat /dev/sndstat tells me: > > FreeBSD Audio Driver (newpcm) Feb 26 ... > Installed Devices: > pcm0: at io 0x530 irq 5 drq 1 (1p/1r/0v channels) > > Finally, dmesg tells me that pcm0 is at irq 5, drq 1, etc. > > ----- > > mpg123 some_song.mp3 results in: > > /dev/dsp: Device busy > (repeated two more times) > /dev/audio: Device busy > > I try again, and this time I am told: /kernel: pcm0: play interrupt > timeout, channel dead > > I try again and I am told: > > /dev/dsp: Device busy > audio: Device busy > esd: Esound daemon already running or stale UNIX socket /root/.esd/socket > This socket already exists indicating esd is already running > > > Please note that I do not have a /root/.esd directory, in fact I have a > /root/esd_auth directory. I tried creating a /root/.esd directory, and I > seem to get fewer errors - sometimes mpg123 runs without > complaining...BUT, I still don't get any sound ... > > I know the speakers work because I hear my pcmcia beeps at boot. > > > Any suggestions appreciated - I know a lot of people out there use toshiba > librettos...someone must be successfully using sound... > > thanks, > > PT > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message