On Tue, Oct 13, 2009 at 09:04:17PM +0300, Antti Harri wrote: > Hi, > > my cmedia sound card broke down, so I started using the > integrated sound device (auvia(4)). I'm able to play > music just fine however I cannot change the volume at > all. Is the hardware just crappy or is the driver > buggy?
probably crappy hardware. at least, the mixer interface for ac97 codecs is all the same. I mean, all ac97 drivers use the same mixer code (dev/ic/ac97*). so, pretty unlikely the driver code is that buggy, unless everyone else is having problems and not reporting them. > I can work around the problem with my speakers own > volume control, but my headphones don't have any > and the output is too loud.. > > >From the mixerctl knobs that I've tried, only inputs.aux.mute > seemed to actually do something. > > OpenBSD 4.6-current (GENERIC) #285: Sat Oct 10 21:36:56 MDT 2009 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: AMD Athlon(tm) XP 2200+ ("AuthenticAMD" 686-class, 256KB L2 cache) > 1.81 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > real mem = 804810752 (767MB) > avail mem = 771366912 (735MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 09/05/03, BIOS32 rev. 0 @ 0xfdaf0, > SMBIOS rev. 2.3 @ 0xf0630 (22 entries) > bios0: vendor American Megatrends Inc. version "Version 07.00T" date > 04/02/01 > bios0: MSI MS-6590 > apm0 at bios0: Power Management spec V1.2 > apm0: AC on, battery charge unknown > acpi at bios0 function 0x0 not configured > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fb0/240 (13 entries) > pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00) > pcibios0: PCI bus #1 is the last bus > bios0: ROM list: 0xc0000/0xf600 0xcfe00/0x4400! 0xd4600/0x1800 > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 > viaagp0 at pchb0: v3 > agp0 at viaagp0: aperture at 0xe0000000, size 0xf000000 > ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 vendor "ATI", unknown product 0x9505 rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > re0 at pci0 dev 8 function 0 "Realtek 8169" rev 0x10: RTL8110S (0x0400), > irq 10, address 00:50:fc:f6:78:80 > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 > bge0 at pci0 dev 11 function 0 "Broadcom BCM5788" rev 0x03, BCM5705 A3 > (0x3003): irq 10, address 00:0c:76:3e:6d:c4 > brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2 > pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA > pciide0: using irq 11 for native-PCI interrupt > wd0 at pciide0 channel 0 drive 0: <ST3250824AS> > wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, > channel 0 configured to compatibility, channel 1 configured to compatibility > pciide1: channel 0 disabled (no drives) > atapiscsi0 at pciide1 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, DVDR PX-708A, 1.08> ATAPI 5/cdrom > removable > cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 > uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11 > uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11 > uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 10 > uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 10 > ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 10 > ehci0: timed out waiting for BIOS > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 > viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 > iic0 at viapm0 > iic0: addr 0x1b 06=f4 08=03 09=03 0b=fc 0c=0a 0d=0a 0e=f4 0f=07 10=0c 11=03 > 12=04 14=55 15=55 17=ff 18=ff 1c=02 20=fc 22=07 26=30 29=ff words 00=00ff > 01=00ff 02=00ff 03=00ff 04=00ff 05=00ff 06=f4ff 07=00ff > iic0: addr 0x2f 04=00 06=0b 07=00 0c=00 0d=07 0e=84 0f=00 10=c0 11=10 12=00 > 13=60 14=14 15=62 16=01 17=06 words 00=ffff 01=ffff 02=ffff 03=ffff 04=00ff > 05=ffff 06=0bff 07=00ff > spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC3200CL3.0 > spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2100CL2.5 > spdmem2 at iic0 addr 0x52: 256MB DDR SDRAM non-parity PC3200CL3.0 > auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 10 > ac97: codec id 0x434d4961 (C-Media Electronics CMI9739) > audio0 at auvia0 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > usb4 at uhci3: USB revision 1.0 > uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > isa0 at mainbus0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pmsi0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pmsi0 mux 0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12 > lm1 at wbsio0 port 0x290/8: W83697HF > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > biomask ef67 netmask ef67 ttymask ffff > mtrr: Pentium Pro MTRR support > uhidev0 at uhub3 port 2 configuration 1 interface 0 "BTC USB Multimedia > Keyboard" rev 1.10/1.30 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 modifier keys, 6 key codes > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > uhidev1 at uhub3 port 2 configuration 1 interface 1 "BTC USB Multimedia > Keyboard" rev 1.10/1.30 addr 2 > uhidev1: iclass 3/0, 3 report ids > uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 > uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0 > uhid2 at uhidev1 reportid 3: input=3, output=0, feature=4 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > > outputs.master=151,151 > outputs.master.mute=off > outputs.mono=255 > outputs.mono.mute=on > outputs.mono.source=mixerout > outputs.surround=255,255 > outputs.surround.mute=on > outputs.center=255 > outputs.center.mute=on > outputs.lfe=255 > outputs.lfe.mute=on > inputs.spkr=15 > inputs.spkr.mute=off > inputs.phone=191 > inputs.phone.mute=on > inputs.mic=7 > inputs.mic.mute=on > inputs.mic.preamp=off > inputs.mic.source=mic0 > inputs.line=191,191 > inputs.line.mute=on > inputs.cd=191,191 > inputs.cd.mute=off > inputs.video=191,191 > inputs.video.mute=on > inputs.aux=191,191 > inputs.aux.mute=on > inputs.dac=191,191 > inputs.dac.mute=off > record.source=mic > record.volume=255,255 > record.volume.mute=off > outputs.extamp=off > outputs.spdif=off > > -- > Antti Harri > -- [email protected] SDF Public Access UNIX System - http://sdf.lonestar.org

