Re: Laptop CD Audio

2005-06-14 Thread Raymond Lillard

Christian Jones wrote:

Hi, all.  I've been putting a laptop (Dell Inspiron 1000) through the
motions in order to submit its status to the OpenBSD i386 laptops
page.  In doing so, I've tested out a bunch of things I've never used
before, and I've hit a snag with playing audio CDs (from the raw
device, not mounting and/or ripping them).

I thought I had this one all figured out---I can play audio just fine,
but not from the CD.  Everything's unmuted and maxed out in volume in
mixerctl (below);  I haven't changed any settings in audioctl (also
below).  cdio seems to read and play just fine (status below), but I
get no actual sound.  Even DVDs play great in ogle.


What kernel version?

Where is your dmesg?

I have a Dell Latitude D810 machine.  I have exactly the same
problem, I just haven't gotten around to complaining about
it yet.

My machine has no LINE-OUT jack, only headphones.  I think
the solution may require driver modifications to handle
the new audio hardware in the latest support chip.  I have
no datasheets to even study the problem let alone try to
fix it.  Besides, I have no driver development experience
in OBSD, so I been meaning to try interest one of the regular
developers into taking a look, but haven't had the time to get a
fresh snapshot to see where things are today.  When chasing
new hardware, it is good to try a recent snapshot before
complaining.

You should post a dmesg.  I posted one back in March for
the D810.  See:
http://www.sigmasoft.com/~openbsd/archive/openbsd-misc/200503/msg00566.html

If it will help things along, I will try to install a
recent snapshot this coming weekend.

Regards,
Ray



Re: Laptop CD Audio

2005-06-13 Thread Christian Jones
On 6/12/05, Yosep Fery Wibowo [EMAIL PROTECTED] wrote:
 Better to check your soundcard BIOS setting.
 With 'trial and error' on various settings beetwen irq and/or dma usually will
 help this problem.
 
This laptop has *very* limited BIOS configuration---nothing at all for
Integrated Peripherals, Audio, or anything else which might be
even tangentially related.  No Plug  Play, interrupts, or so forth.
 It doesn't even let you disable APM or ACPI.  So no luck there, but
thanks.
CDJ

-- 
Christian Jones
[EMAIL PROTECTED]
http://www.aleph0.com/~chjones



Laptop CD Audio

2005-06-12 Thread Christian Jones
Hi, all.  I've been putting a laptop (Dell Inspiron 1000) through the
motions in order to submit its status to the OpenBSD i386 laptops
page.  In doing so, I've tested out a bunch of things I've never used
before, and I've hit a snag with playing audio CDs (from the raw
device, not mounting and/or ripping them).

I thought I had this one all figured out---I can play audio just fine,
but not from the CD.  Everything's unmuted and maxed out in volume in
mixerctl (below);  I haven't changed any settings in audioctl (also
below).  cdio seems to read and play just fine (status below), but I
get no actual sound.  Even DVDs play great in ogle.

From the FAQ and the archives I'm guessing it's the classic lack of an
audio cable from the CD-ROM to the sound card, but as this a laptop
it's not particularly easy to check such a thing---and I can't imagine
it would look like the desktop cable anyway.  Does anyone have any
advice for checking to see if this is the problem, or if anything else
might be?  Does anyone know if this lack of cable is a common
situation for (budget) laptops?  And finally, any advice other than
just ripping the music?

Thanks, as always,
CDJ
(some output follows)

$ mixerctl -a
outputs.master=255,255
outputs.master.mute=off
outputs.mono=255
outputs.mono.mute=off
outputs.mono.source=mixerout
outputs.headphones=255,255
outputs.headphones.mute=off
outputs.bass=255
outputs.treble=255
inputs.speaker=255
inputs.speaker.mute=off
inputs.phone=255
inputs.phone.mute=off
inputs.mic=255
inputs.mic.mute=off
inputs.mic.preamp=on
inputs.mic.source=mic0
inputs.line=255,255
inputs.line.mute=off
inputs.cd=255,255
inputs.cd.mute=off
inputs.video=255,255
inputs.video.mute=off
inputs.aux=255,255
inputs.aux.mute=off
inputs.dac=255,255
inputs.dac.mute=off
record.source=mic
record.volume=255,255
record.volume.mute=off
record.mic=0
record.mic.mute=off
outputs.loudness=off
outputs.spatial=off
outputs.spatial.center=0
outputs.spatial.depth=0
outputs.surround=255,255
outputs.surround.mute=off
outputs.center=255
outputs.center.mute=off
outputs.lfe=255
outputs.lfe.mute=off

$ audioctl -a
name=SiS7012 AC97
version=0xa0
config=auich0
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=9600
hiwat=6
lowat=1
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=9600
play.samples=7719552
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=255
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0

$ cdio -f cd0 status
Audio status = 17playing, current track = 1, current position = 0:21.48
Media catalog is active, number 0101002157480\^
Left volume = 255, right volume = 255