Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 15:35:39 -0800
From:      Yu-Shun Wang <yushunwa@ISI.EDU>
To:        Patrick Thomas <root@utility.clubscholarship.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: seeking _sound_ on libretto 100ct using 4.5-RELEASE
Message-ID:  <3C7EBECB.30007@isi.edu>
References:  <20020226205954.V40647-100000@utility.clubscholarship.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <OPL3-SAx (YMF719)> 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




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