On 19/06/06, Fred Crowson <[EMAIL PROTECTED]> wrote:
Hi this is already fixed - the problem is that you have two audio devices that conflict the sb0 and the wss0:
An example is given at http://www.openbsd.org/i386-laptop.html for the Toshiba Tecra 8000, another example is given at http://www.crowsons.net/puters/fcm.php which is for a Toshiba Libretto.
Fred, Thank you for the help. Sound works now[1]. [1] dd if=/dev/audio of=rec.raw or dd if=/dev/sound of=rec.raw produce 0 byte size rec.raw. Tested according http://www.jp.openbsd.org/faq/faq13.html#recordaudio --- dmesg.before.disable.sb Tue Jun 20 18:05:59 2006 +++ dmesg.after.disable.sb Tue Jun 20 18:08:07 2006 @@ -9,8 +9,8 @@ using 431 buffers containing 1765376 byt mainbus0 (root) bios0 at mainbus0: AT/286+(63) BIOS, date 12/26/97, BIOS32 rev. 0 @ 0xfe95a apm0 at bios0: Power Management spec V1.2 -apm0: battery life expectancy 61% -apm0: AC on, battery charge high, charging, estimated 1:32 hours +apm0: battery life expectancy 63% +apm0: AC on, battery charge high, charging, estimated 1:40 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8e80/96 (4 entries) @@ -52,15 +52,10 @@ atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-220EA, 7.0A> SCSI0 5/cdrom removable cd0(wdc1:0:0): using BIOS timings -sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01 -midi0 at sb0: <SB MIDI UART> -audio0 at sb0 -opl0 at sb0: model OPL3 -midi1 at opl0: <SB Yamaha OPL3> -wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) -audio1 at wss0 +wss0 at isa0 port 0x530/8 irq 5 drq 1: CS4231 or AD1845 (vers 4) +audio0 at wss0 pcppi0 at isa0 port 0x61 -midi2 at pcppi0: <PC speaker> +midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 @@ -73,7 +68,7 @@ pcmcia0 at pcic0 controller 0 socket 0 pcmcia1 at pcic0 controller 0 socket 1 ne3 at pcmcia1 function 0 "BUFFALO, LPC3-CLT, R01" port 0x300/32, irq 3, address 00:07:40:19:8e:d5 pcic0: irq 9, polling enabled -biomask e945 netmask e94d ttymask fbcf +biomask ed45 netmask ed4d ttymask ffcf pctr: 586-class performance counters and user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 root on wd0a name=wss,ad1848 version= config=WSS encodings=mulaw:8,alaw:8,slinear_le:16,ulinear:8,slinear_be:16,slinear:8*,ulinear_le:16*,ulinear_be:16*,adpcm:8 properties=mmap full_duplex=0 fullduplex=0 blocksize=400 hiwat=163 lowat=122 monitor_gain=0 mode= play.rate=8000 play.channels=1 play.precision=8 play.encoding=mulaw play.gain=220 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 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=220 record.balance=32 record.port=0x1 record.avail_ports=0x5 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 inputs.mic=220,220 inputs.mic.mute=off inputs.cd=220,220 inputs.cd.mute=off inputs.dac=220,220 inputs.dac.mute=off record.record=220,220 record.record.source=mic monitor.monitor=0
HTH Fred
vladas