|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
4.8, 600e, & sound
I also have the 600e and have just installed Openbsd 4.8.
(from some website, I cannot remember which) The 600e has two sound cards, one pci and one isa. Under linux the alsa drivers will pick up the isa card, but under openbsd I have been completely unable to get that to work. The acpi apm driver does seem to have worked and I can shut the case and open the case and the system will come back up. Thanks guys No sound though. |
|
|||
I am splitting your message from the original thread:
http://daemonforums.com/showthread.php?p=35225 Even though this may be the same hardware, I suspect discussion on your hardware will take a different direction than the original. This site also tries to maintain simplicity in searching as a lot of members search old threads. Jumbling discussions together makes searching significantly more difficult to nearly impossible. Quote:
The output of mixerctl(1) is your next best friend. And quoting from Section 13.1: Code:
Usually the controls have a meaningful label, but sometimes one must simply try different settings to see what effect each control has. Quote:
|
|
|||
Thanks for the response. Here is the output from mixerctl
Code:
outputs.master=128,128 volume outputs.fmsynth=128,128 volume outputs.cd=128,128 volume outputs.dac=128,128 volume outputs.mic=0 volume outputs.line=0,0 volume record.source= [ mic cd line ] inputs.treble=off [ off on ] inputs.bass=on [ off on ] for the last several months, many opensource operating systems make a mistake when recognizing the sound system on the 600e The only sound I can get out of the system is that you can play music cd's. I would love to play mp3s and oggs. Last edited by ocicat; 25th November 2010 at 01:18 PM. Reason: Please use [code] / [/code] tags in the future. |
|
|||
Posting the dmesg in [code][/code] blocks will help us determine if multiple cards are indeed being detected.
|
|
|||
Code:
OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Celeron ("GenuineIntel" 686-class, 256KB L2 cache) 364 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR real mem = 66482176 (63MB) avail mem = 55533568 (52MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/20/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.2 @ 0xf6cf0 (55 entries) bios0: vendor IBM version "INET36WW" date 11/20/1999 bios0: IBM 26454AU apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd880/0x800 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9e20/112 (5 entries) pcibios0: PCI Exclusive IRQs: 11 pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc0000/0xc000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0x40000000, size 0x4000000 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2200" rev 0x20 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 "TI PCI1251 CardBus" rev 0x00: irq 11 cbb1 at pci0 dev 2 function 1 "TI PCI1251 CardBus" rev 0x00: irq 11 clcs0 at pci0 dev 6 function 0 "Cirrus Logic CS4610 SoundFusion" rev 0x01: irq 11 reset_codec: AC97 inputs slot ready timeout clcs0: AC97 write fail (DCV!=0) for add=0x26 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x00 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x00 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x00 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x00 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x02 data=0x8000 clcs0: AC97 write fail (DCV!=0) for add=0x06 data=0x8000 clcs0: AC97 write fail (DCV!=0) for add=0x20 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x04 data=0x8000 clcs0: AC97 write fail (DCV!=0) for add=0x38 data=0x8080 clcs0: AC97 write fail (DCV!=0) for add=0x36 data=0x8080 clcs0: AC97 write fail (DCV!=0) for add=0x36 data=0x8080 clcs0: AC97 write fail (DCV!=0) for add=0x36 data=0x8080 clcs0: AC97 write fail (DCV!=0) for add=0x36 data=0x8080 clcs0: AC97 write fail (DCV!=0) for add=0x08 data=0x0f0f clcs0: AC97 write fail (DCV!=0) for add=0x0a data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x0c data=0x8008 clcs0: AC97 write fail (DCV!=0) for add=0x0e data=0x8008 clcs0: AC97 write fail (DCV!=0) for add=0x0e data=0x8008 clcs0: AC97 write fail (DCV!=0) for add=0x20 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x10 data=0x8808 clcs0: AC97 write fail (DCV!=0) for add=0x12 data=0x8808 clcs0: AC97 write fail (DCV!=0) for add=0x14 data=0x8808 clcs0: AC97 write fail (DCV!=0) for add=0x16 data=0x8808 clcs0: AC97 write fail (DCV!=0) for add=0x18 data=0x8808 clcs0: AC97 write fail (DCV!=0) for add=0x1a data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x1c data=0x8000 clcs0: AC97 write fail (DCV!=0) for add=0x1e data=0x8000 clcs0: AC97 write fail (DCV!=0) for add=0x20 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x20 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x22 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x22 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x26 data=0x0000 clcs0: AC97 write fail (DCV!=0) for add=0x2a data=0x0000 clcs0: AC97 read prob. (DCV!=0) for add=0x7c clcs0: AC97 read prob. (DCV!=0) for add=0x7e clcs0: AC97 read prob. (DCV!=0) for add=0x00 ac97: codec id not read clcs0: AC97 read prob. (DCV!=0) for add=0x28 clcs0: AC97 read prob. (DCV!=0) for add=0x02 clcs0: AC97 write fail (DCV!=0) for add=0x02 data=0x0000 clcs0: AC97 read prob. (DCV!=0) for add=0x18 clcs0: AC97 write fail (DCV!=0) for add=0x18 data=0x0808 clcs0: AC97 read prob. (DCV!=0) for add=0x1c clcs0: AC97 write fail (DCV!=0) for add=0x1c data=0x0000 clcs0: AC97 read prob. (DCV!=0) for add=0x1a clcs0: AC97 write fail (DCV!=0) for add=0x1a data=0x0000 piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <HITACHI_DK239A-65B> wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, CD-ROM XM-1902B, 1717> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI iic0 at piixpm0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02 midi0 at sb0: <SB MIDI UART> audio0 at sb0 opl at sb0 not configured pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 biomask efcd netmask efcd ttymask ffdf mtrr: Pentium Pro MTRR support rl0 at cardbus0 dev 0 function 0 "D-Link DFE-690TXD" rev 0x10: irq 11, address 00:11:95:27:b2:6b rlphy0 at rl0 phy 0: RTL internal PHY softraid0 at root root on wd0a swap on wd0b dump on wd0b clcs0: firmware loaded clcs0: AC97 read prob. (DCV!=0) for add=0x02 clcs0: AC97 write fail (DCV!=0) for add=0x02 data=0x0000 clcs0: AC97 read prob. (DCV!=0) for add=0x18 clcs0: AC97 write fail (DCV!=0) for add=0x18 data=0x0808 clcs0: AC97 read prob. (DCV!=0) for add=0x12 clcs0: AC97 write fail (DCV!=0) for add=0x12 data=0x0808 audio1 at clcs0 wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 wd0a: device timeout reading fsbn 427520 of 427520-427551 (wd0 bn 427584; cn 28 tn 67 sn 3), retrying wd0: soft error (corrected) wd0(pciide0:0:0): timeout type: ata c_bcount: 16384 c_skip: 0 wd0a: device timeout writing fsbn 1675648 of 1675648-1675679 (wd0 bn 1675712; cn 110 tn 198 sn 38), retrying wd0: soft error (corrected) Code:
$ audioctl name=SoundBlaster version=3.02 config=SB_Pro encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1* properties=mmap,independent full_duplex=0 fullduplex=0 blocksize=400 hiwat=163 lowat=122 output_muted=0 monitor_gain=0 mode= play.rate=8000 play.sample_rate=8000 play.channels=1 play.precision=8 play.bps=1 play.msb=1 play.encoding=mulaw play.gain=128 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 play.block_size=400 play.errors=0 record.rate=8000 record.sample_rate=8000 record.channels=1 record.precision=8 record.bps=1 record.msb=1 record.encoding=mulaw record.gain=127 record.balance=32 record.port=0x0 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.block_size=400 record.errors=0 Last edited by ocicat; 25th November 2010 at 01:21 PM. Reason: Please use [code] / [/code] tags in the future. |
|
|||
Code:
$ mplayer 432.mp3 MPlayer SVN-r30866 (C) 2000-2010 MPlayer Team Playing 432.mp3. Audio only file format detected. Clip info: Title: 432 - War of the Worlds Artist: K7QO Album: K7QOs Code Course V3.0 Year: 2007 Comment: Genre: Unknown ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 11025 Hz, 2 ch, s16le, 16.0 kbit/4.54% (ratio: 2000->44100) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ao2: can't open sndio ao2: 11025 Hz 2 chans s16le [0x9] [AO SUN] audio_setup: your card doesn't support 2 channel, little-endian 16-bit signed int, 11025 Hz samplerate. mp3blaster doesn't work either but it doesn't give a useful error message. ------------------ Bios is up to date. Set the Quick Boot to disable. I have tried disable one or the other card during bootup ukc. Last edited by ocicat; 25th November 2010 at 01:22 PM. Reason: Please use [code] / [/code] tags in the future. |
|
|||
Code:
$ mplayer 432.mp3 MPlayer SVN-r30866 (C) 2000-2010 MPlayer Team Playing 432.mp3. Audio only file format detected. Clip info: Title: 432 - War of the Worlds Artist: K7QO Album: K7QOs Code Course V3.0 Year: 2007 Comment: Genre: Unknown ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 11025 Hz, 2 ch, s16le, 16.0 kbit/4.54% (ratio: 2000->44100) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ao2: can't open sndio ao2: 11025 Hz 2 chans s16le [0x9] [AO SUN] audio_setup: your card doesn't support 2 channel, little-endian 16-bit signed int, 11025 Hz samplerate. mp3blaster doesn't work either but it doesn't give a useful error message. ------------------ Bios is up to date. Set the Quick Boot to disable. I have tried disable one or the other card during bootup ukc. Last edited by ocicat; 25th November 2010 at 01:23 PM. Reason: Please use [code] / [/code] tags in the future. |
|
|||
Hopefully someone will modify your posts, you should really put that inside [code](HERE)[/code] blocks.. it preserves formatting and makes it possible for us to read the output without wanting to pull out our hair.
Your PCI sound card is from Cirrus Logic, it appears to have a legacy ISA fallback for SoundBlaster emulation, this was once useful for legacy DOS/Win3x applications. What was the effect of disabling either clcs(4) or sb(4) in UKC or config(8)? is there no option in the BIOS to disable this permanently? The driver for the "native" PCI chipset appears to be suffering some sort of initialization problem, but it doesn't appear to be fatal as it proceeds to attach.. unfortunately so does the conflicting ISA card. |
|
|||
Note; you also appear to be having problems with your primary hard drive.. soft corrected errors can be an issue of bad IDE cables, but it's typically a sign of a failing drive (..remapping sectors).
Also consider disabling apm, this will allow acpi to work.. it probably won't be of much benefit on an older system, but it can't hurt to try. |
|
|||
Sorry about the formatting I will remember that for the future.
----- What was the effect of disabling either clcs(4) or sb(4) in UKC or config(8)? is there no option in the BIOS to disable this permanently? ------ Well, nothing I have done has resulted in either sound card getting recognized by one of the programs I would like to use; mplayer, mp3blaster, morseplayer. It looks like mixerctl and audioctl see some kind of sound card but that hasn't done much for me. Its odd that audio cd's work but mplayer doesn't. Interesting linux info. I got the card to work on suse 8.2 using alsa. http://www.thinkwiki.org/wiki/CS4239 As for the soft error, I assumed that had something to do with the suspend-resume, since the dmesg was run just after I closed and opened the case. |
|
|||
It's not odd for audio CD's, typically they have a direct line from the drive to the sound card.. the firmware in the drive is capable of playing the CD itself.
The cdio(1) utility in base can send this command, or extract the raw tracks which can be sent to the audio(4) device. Once you disable either of the sound cards, it will take precedence, this will allow mixerctl/audictl to work without manually specifying the target device. If mplayer fails to work (..errors vs silence) then it may indeed need special handling in a driver, if it's silent it may just be muted. In that Wiki, it seems they have a native driver that works over the ISA interface.. vs the PCI "native" interface, OpenBSD has no driver for ISA cirrus cards. Last edited by BSDfan666; 24th November 2010 at 10:45 PM. |
|
|||
There is no way to disable either of the sound cards in the bios, unfortunately, and disabling one or the other of them using ukc had no real effect. In that, the programs I use could not recognize the active card.
If OpenBSD has no ISA cirrus driver, then this all may be for naught. Hate to reinstall linux or windows on this machine. Maybe I can live without sound, heh? Oh well, one of the speakers is blown anyways, and when you are typing your hands cover the speaker, so you get a wah-wah effect on anything coming out of it. Unless someone can work some magic, I am going to have to suffer in silence. thanks |
|
|||
Well, you can report the problem to the mailing lists if you want a more decisive answer, but before abandoning OpenBSD entirely, think of a possible alternative solution.
This system has a USB 1.0 controller, you could find a USB sound card (..speakers/headphones), these are generally supported by the uaudio(4) driver. Would that be possible? or is buying additional hardware out of the question? |
|
|||
At this point, money is real tight, but I will keep that as an option. Besides until I get more ram and a bigger hard drive on this system, a sound card is lower on the priority list.
I run openbsd on other systems, have done so since 2.9, not an expert but I like it so. Trust me, openbsd must be pretty special to get this 'unix hater' to use nix as much as I do now. Why is it taking several minutes for the 'submit reply' process to finish? Just asking. Thanks for your time. |
|
|||
One last thing. In an attempt to get as much info up there as possible.
This is for the isa card. Code:
$ audioctl -f /dev/audio0 name=SoundBlaster version=3.02 config=SB_Pro encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1* properties=mmap,independent full_duplex=0 fullduplex=0 blocksize=400 hiwat=163 lowat=122 output_muted=0 monitor_gain=0 mode= play.rate=8000 play.sample_rate=8000 play.channels=1 play.precision=8 play.bps=1 play.msb=1 play.encoding=mulaw play.gain=128 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 play.block_size=400 play.errors=0 record.rate=8000 record.sample_rate=8000 record.channels=1 record.precision=8 record.bps=1 record.msb=1 record.encoding=mulaw record.gain=127 record.balance=32 record.port=0x0 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 Code:
$ audioctl -f /dev/audio1 name=CS4280 version= config=cs4280 encodings=ulinear:8:1:1,mulaw:8:1:1*,alaw:8:1:1*,slinear:8:1:1,slinear_le:16:2:1,ulinear_le:16:2:1,slinear_be:16:2:1,ulinear_be:16:2:1 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=8192 hiwat=8 lowat=6 output_muted=0 monitor_gain=0 mode=play play.rate=48000 play.sample_rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=255 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=1 play.active=0 play.buffer_size=65536 play.block_size=8192 play.errors=0 record.rate=48000 record.sample_rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=191 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=1 record.active=0 record.buffer_size=65536 record.block_size=8192 record.errors=0 ecord.block_size=400 record.errors=0 |
|
|||
My recommendation would be to submit a problem report detailing a much information as possible. Guidelines on filing reports can be found at the following:
http://www.openbsd.org/report.html If you submit a report, be thorough. The developers have no crystal ball, nor do they most likely have your hardware, but perhaps they can glean enough from your description & recounting of experimentation in order to help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with sound | guitarscn | OpenBSD General | 2 | 6th November 2010 07:01 PM |
Installing OpenBSD on Thinkpad 600e | sacman08 | OpenBSD Installation and Upgrading | 7 | 30th September 2010 12:13 AM |
no sound | phill | OpenBSD General | 4 | 28th October 2009 04:23 PM |
Recording sound with external sound card | backrow | OpenBSD General | 5 | 21st August 2009 08:17 PM |
USB Sound? | FreeMan | OpenBSD General | 16 | 7th May 2008 06:09 AM |