DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st November 2008
GullibleJones GullibleJones is offline
Port Guard
 
Join Date: Sep 2008
Posts: 13
Default Can't turn off laptop speaker

My Intel HDA (ALC883) works fine with OpenBSD, but for one problem: the laptop speakers won't shut up, and there doesn't seem to be any channel or switch to control them. How can I turn them off? Are there options I can pass to the kernel or something?
Reply With Quote
  #2   (View Single Post)  
Old 21st November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

This is vague, but there is work going in -CURRENT on azalia(4).. if you were following the mailing lists you would have known about this.

http://marc.info/?l=openbsd-tech&r=1&b=200811&w=2

One relevant topic would be this..

Now, another option (if you don't want to follow -CURRENT, which is kinda advisable with laptops..) is to simply lower the volume levels with mixerctl(8).

In the future, please post as much information as you can... a dmesg.. mixerctl output.. etc.
Reply With Quote
  #3   (View Single Post)  
Old 22nd November 2008
GullibleJones GullibleJones is offline
Port Guard
 
Join Date: Sep 2008
Posts: 13
Default

Lowering the volume levels doesn't work, the output level from my speakers remains constant.

This is my dmesg output:

Code:
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M CPU 520 @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 526540800 (502MB)
avail mem = 500682752 (477MB)
User Kernel Config
UKC> disable acpi
429 acpi0 disabled
UKC> enable apm
330 apm0 already enabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/04/07, BIOS32 rev. 0 @ 0xfd460, SMBIOS rev. 2.4 @ 0xdf810 (34 entries)
bios0: vendor Acer version "v1.3508" date 06/04/07
bios0: Acer, inc. Aspire 3680
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd460/0xba0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #11 is the last bus
bios0: ROM list: 0xc0000/0xea00! 0xdf800/0x800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc0000000, size 0x10000000
drm at vga1 unsupported
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 10
azalia0: codec[s]: Realtek ALC883, AT&T/Lucent/0x3026, using Realtek ALC883
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: irq 11
pci1 at ppb0 bus 2
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8038" rev 0x14, Yukon-2 FE (0x1): irq 11
msk0 at mskc0 port A: address 00:1b:24:06:bd:5f
eephy0 at msk0 phy 0: Marvell 88E3082 10/100 PHY, rev. 3
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: irq 11
pci2 at ppb1 bus 3
ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:19:7e:1e:5e:35
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: irq 10
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: irq 10
pci4 at ppb3 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 10
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 10
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 10
cbb0 at pci5 dev 9 function 0 "TI PCIXX12 CardBus" rev 0x00: irq 10
"TI PCIXX12 Multimedia Card Reader" rev 0x00 at pci5 dev 9 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 11 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541680J9SA00>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <Slimtype, DVD C DS24CZP, PA11> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: irq 10
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask effd netmask effd ttymask ffff
mtrr: Pentium Pro MTRR support
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech USB Trackball" rev 1.10/14.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons
wsmouse1 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
and mixerctl:

Code:
outputs.master=120,120
outputs.master.mute=off
inputs.mic.mute=off
inputs.mic=120,120
inputs.mic2.mute=off
inputs.mic2=120,120
inputs.line.mute=off
inputs.line=120,120
inputs.cd.mute=off
inputs.cd=120,120
inputs.speaker.mute=off
inputs.speaker=120
outputs.master.boost=off
outputs.headphones.mute=off
outputs.headphones.boost=off
inputs.front.dac.mute=off
inputs.front.mixer.mute=off
outputs.surround=120,120
outputs.surround.mute=off
outputs.surround.boost=off
inputs.surround.dac.mut=off
inputs.surround.mixer.m=off
outputs.clfe=120,120
outputs.clfe.mute=off
outputs.clfe.boost=off
inputs.clfe.dac.mute=off
inputs.clfe.mixer.mute=off
outputs.side=120,120
outputs.side.mute=off
outputs.side.boost=off
inputs.side.dac.mute=off
inputs.side.mixer.mute=off
record.volume.mute=off
record.volume=120,120
record.source=
record.source2.mute=off
record.volume2=120,120
record.source2=line
inputs.usingdac=analog
record.usingadc=analog
If binary updates are available, I may decide to track Current.
Reply With Quote
  #4   (View Single Post)  
Old 22nd November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

This is most likely a bug, do you mean your speakers are constantly producing an audio noise immediately when OpenBSD boots? or is the noise noticeable before that happens?

It could be either a hardware problem, or a driver problem... out of curiosities sake, try the following:

1) Set outputs.master.mute to on.
2) Use the UKC or config(8) and try disabling pcppi(4) or azalia(4), either could be causing this audio problem.
3) Boot and install a recent snapshot from a local mirror..

If nothing works, considering filing a bug report.. instructions are available here.
Reply With Quote
  #5   (View Single Post)  
Old 22nd November 2008
GullibleJones GullibleJones is offline
Port Guard
 
Join Date: Sep 2008
Posts: 13
Default

Quote:
Originally Posted by BSDfan666 View Post
This is most likely a bug, do you mean your speakers are constantly producing an audio noise immediately when OpenBSD boots? or is the noise noticeable before that happens?

It could be either a hardware problem, or a driver problem... out of curiosities sake, try the following:

1) Set outputs.master.mute to on.
2) Use the UKC or config(8) and try disabling pcppi(4) or azalia(4), either could be causing this audio problem.
3) Boot and install a recent snapshot from a local mirror..

If nothing works, considering filing a bug report.. instructions are available here.
No noise, just normal sound output - if I play an MP3, for instance, it plays on my speakers as well as my headphones - but changing the volume of the various channels does not change the volume of the speakers' output.

(Said volume sounds roughly the same as that of the system beep, actually. Maybe if I turned off the system beep that would get rid of it?)
Reply With Quote
  #6   (View Single Post)  
Old 22nd November 2008
GullibleJones GullibleJones is offline
Port Guard
 
Join Date: Sep 2008
Posts: 13
Default

Ah, got it... outputs.surround.mute: off should have been on.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time for a New Laptop harold FreeBSD General 4 5th October 2009 05:56 AM
How to turn drives off after a period of time? drhowarddrfine FreeBSD General 9 3rd May 2009 12:05 PM
Laptop lid problem rex FreeBSD General 10 12th November 2008 02:07 PM
Turn off daylight savings adjust?? biscuits FreeBSD General 3 24th October 2008 05:26 AM
laptop cw_ FreeBSD General 21 14th August 2008 02:48 AM


All times are GMT. The time now is 09:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick