NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to turn off microphone on handheld
Nevermind, when I looked at the output from mixerctl -aw (below), I saw
inputs.record.mute & inputs.record2.mute. Setting the second one to on did
the trick. Sorry for the noise.
Jason M.
> Hello,
>
> I just purchased an mbook m1 from Korea (dmesg pasted below). Whenever I
> close the lid, I get horrible audio feedback. Could some kind soul tell me
> how I can turn the whole sound system off or, failing that, turn off the
> microphone? The mbook turns off the screen when you close the lid which
> saves power, so I'd like to be able to do that.
>
> Thanks for reading,
>
> Jason M.
This will probably help -- the output from mixerctl -a -w
inputs.reclvl=64,64 volume delta=8
inputs.reclvl.mute=off [ off on ]
inputs.record=184,184 volume delta=8
inputs.record.mute=off [ off on ]
inputs.record2=184,184 volume delta=8
inputs.record2.mute=off [ off on ]
inputs.beep=184,184 volume delta=8
inputs.beep.mute=off [ off on ]
inputs.beep2=184,184 volume delta=8
inputs.beep2.mute=off [ off on ]
outputs.master=0,0 volume delta=8
outputs.master2=0,0 volume delta=256
outputs.master2.mute=off [ off on ]
outputs.master3=0,0 volume delta=256
outputs.master3.mute=off [ off on ]
outputs.master4=248,248 volume delta=8
outputs.master5=0,0 volume delta=256
outputs.master5.mute=off [ off on ]
outputs.master6=0,0 volume delta=256
outputs.master6.mute=off [ off on ]
outputs.master7=0,0 volume delta=256
outputs.master7.mute=off [ off on ]
outputs.master8=0,0 volume delta=256
outputs.master8.mute=off [ off on ]
record.mic=0,0 volume delta=64
record.monitor=0,0 volume delta=64
record.mic2=0,0 volume delta=256
record.mic2.mute=on [ off on ]
inputs.reclvl2=0,0 volume delta=256
inputs.reclvl2.mute=off [ off on ]
inputs.beep3=0,0 volume delta=256
inputs.beep3.mute=off [ off on ]
inputs.beep4=0,0 volume delta=256
inputs.beep4.mute=off [ off on ]
inputs.record3=0,0 volume delta=256
inputs.record3.mute=off [ off on ]
outputs.dacsel=DAC00 { DAC00 }
record.source=ADC01 { ADC01 }
>
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
> The NetBSD Foundation, Inc. All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>
> NetBSD 6.99.16 (MONOLITHIC) #0: Wed Jan 16 01:09:26 UTC 2013
>
> builds%b6.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201301151650Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
> total memory = 502 MB
> avail memory = 480 MB
> timecounter: Timecounters tick every 10.000 msec
> timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> UMiDCorp M-BOOK (2UMEM039)
> mainbus0 (root)
> cpu0 at mainbus0 apid 0: Intel(R) Atom(TM) CPU Z510 @ 1.10GHz, id
> 0x106c2
> ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
> acpi0 at mainbus0: Intel ACPICA 20110623
> acpi0: X/RSDT: OemId <011310,XSDT1744,20100113>, AslId <MSFT,00000097>
> ioapic0 reenabling
> acpi0: SCI interrupting at int 9
> timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
> hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
> timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
> acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
> MCH (PNP0C01) at acpi0 not configured
> NMEM (PNP0C02) at acpi0 not configured
> attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
> pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
> pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
> pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
> midi0 at pcppi1: PC speaker
> sysbeep0 at pcppi1
> npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
> npx1: reported by CPUID; using exception 16
> RMSC (PNP0C02) at acpi0 not configured
> FWH (INT0800) at acpi0 not configured
> FWHE (PNP0C02) at acpi0 not configured
> OMSC (PNP0C02) at acpi0 not configured
> acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
> acpibat0 at acpi0 (BAT0, PNP0C0A): ACPI Battery
> acpibat0: UMID LIon non-rechargeable battery
> acpibat0: granularity: low->warn 0.001 Wh, warn->full 0.001 Wh
> PCIE (PNP0C02) at acpi0 not configured
> acpivga0 at acpi0 (GFX0): ACPI Display Adapter
> acpiout0 at acpivga0 (DD01, 0x0120): ACPI Display Output Device
> acpiout1 at acpivga0 (DD02, 0x0220): ACPI Display Output Device
> acpiout2 at acpivga0 (DD03, 0x0320): ACPI Display Output Device
> acpiout3 at acpivga0 (DD04, 0x0410): ACPI Display Output Device
> acpiout3: brightness levels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
> 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
> 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
> 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
> 93 94 95 96 97 98 99 100
> acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
> acpiout4: brightness levels: 2 8 14 27 38 49 60 70 80 90 100
> acpivga0: unknown output device acpiout4
> acpivga0: connected output devices:
> acpivga0: 0x0120 (acpiout0): VGA Analog Monitor, index 0, port 2, head
> 0, bios detect
> acpivga0: 0x0220 (acpiout1): TV/HDTV Monitor, index 0, port 2, head 0,
> bios detect
> acpivga0: 0x0320 (acpiout2): Ext. Digital Monitor, index 0, port 2, head
> 0, bios detect
> acpivga0: 0x0410 (acpiout3): Int. Digital Flat Panel, index 0, port 1,
> head 0, bios detect
> acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
> RMEM (PNP0C01) at acpi0 not configured
> acpibut1 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
> acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
> acpifan0 at acpi0 (FAN0, PNP0C0B): ACPI Fan
> acpitz0 at acpi0 (TZ01): cpu0
> acpitz0: active cooling level 0: 50.0C
> acpitz0: levels: critical 110.0 C, passive 70.0 C
> apm0 at acpi0: Power Management spec V1.2
> pckbd0 at pckbc1 (kbd slot)
> pckbc1: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc1 (aux slot)
> pckbc1: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> attimer1: attached to pcppi1
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x8100 (rev. 0x07)
> vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x8108 (rev. 0x07)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using
> wskbd0
> wsmux1: connecting to wsdisplay0
> drm at vga1 not configured
> hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
> hdaudio0: interrupting at ioapic0 pin 16
> hdafg0 at hdaudio0: Realtek ALC262
> hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
> hdafg0: ADC01 2ch: Mic In [Jack]
> hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
> audio0 at hdafg0: full duplex, playback, capture, independent
> uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x8114 (rev. 0x07)
> uhci0: interrupting at ioapic0 pin 16
> usb0 at uhci0: USB revision 1.0
> uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x8115 (rev. 0x07)
> uhci1: interrupting at ioapic0 pin 17
> usb1 at uhci1: USB revision 1.0
> uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x8116 (rev. 0x07)
> uhci2: interrupting at ioapic0 pin 18
> usb2 at uhci2: USB revision 1.0
> ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x8117 (rev. 0x07)
> ehci0: interrupting at ioapic0 pin 19
> ehci0: EHCI version 1.0
> ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
> usb3 at ehci0: USB revision 2.0
> sdhc0 at pci0 dev 30 function 0: vendor 0x8086 product 0x811c (rev. 0x07)
> sdhc0: interrupting at ioapic0 pin 16
> sdhc0: SD Host Specification 1.0, rev.255
> sdhc0: using DMA transfer
> sdmmc0 at sdhc0 slot 0
> sdhc1 at pci0 dev 30 function 1: vendor 0x8086 product 0x811d (rev. 0x07)
> sdhc1: interrupting at ioapic0 pin 17
> sdhc1: SD Host Specification 1.0, rev.255
> sdhc1: using DMA transfer
> sdmmc1 at sdhc1 slot 0
> sdhc2 at pci0 dev 30 function 2: vendor 0x8086 product 0x811e (rev. 0x07)
> sdhc2: interrupting at ioapic0 pin 18
> sdhc2: SD Host Specification 1.0, rev.255
> sdhc2: using DMA transfer
> sdmmc2 at sdhc2 slot 0
> pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x8119 (rev. 0x07)
> schide0 at pci0 dev 31 function 1: Intel SCH IDE Controller (rev. 0x07)
> schide0: bus-master DMA support present
> schide0: primary channel wired to compatibility mode
> schide0: primary channel interrupting at ioapic0 pin 14
> atabus0 at schide0 channel 0
> isa0 at pcib0
> isapnp0 at isa0 port 0x279
> isapnp0: no ISA Plug 'n Play devices found
> acpicpu0 at cpu0: ACPI CPU
> acpicpu0: C1: HLT, lat 0 us, pow 0 mW
> acpicpu0: P0: FFH, lat 10 us, pow 35000 mW, 1100 MHz
> acpicpu0: P1: FFH, lat 10 us, pow 23000 mW, 800 MHz
> acpicpu0: P2: FFH, lat 10 us, pow 16000 mW, 600 MHz
> coretemp0 at cpu0: thermal sensor, 1 C resolution
> timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> acpiacad0: AC adapter offline.
> uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr
> 1
> uhub0: 2 ports with 2 removable, self powered
> uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr
> 1
> uhub1: 2 ports with 2 removable, self powered
> uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr
> 1
> uhub2: 2 ports with 2 removable, self powered
> uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr
> 1
> uhub3: 8 ports with 8 removable, self powered
> ld0 at sdmmc1: <0x03:0x5344:SU32G:0x80:0x4000f313:0x0c6>
> ld0: 30436 MB, 7729 cyl, 128 head, 63 sec, 512 bytes/sect x 62333952
> sectors
> "Marvell, 802.11 SDIO ID: 0B, " (manufacturer 0x2df, product 0x9103,
> standard function interface code 0x7) at sdmmc0 function 1 not configured
> ld0: 4-bit width, bus clock 48.000 MHz
> urtwn0 at uhub3 port 1
> urtwn0: Realtek Wireless N USB Adapter, rev 2.00/2.00, addr 2
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 00:21:2f:3a:c3:c2
> urtwn0: 1 rx pipe, 2 tx pipes
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> ehci0: handing over full speed device on port 4 to uhci1
> wd0 at atabus0 drive 0
> wd0: <SM2231
>>
> wd0: drive supports 1-sector PIO transfers, LBA addressing
> wd0: 15280 MB, 33114 cyl, 15 head, 63 sec, 512 bytes/sect x 31293440
> sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(schide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
> (Ultra/100) (using DMA)
> Kernelized RAIDframe activated
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> ubt0 at uhub1 port 2
> ubt0: vendor 0x0a12 product 0x0001, rev 2.00/31.64, addr 2
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
> acpibat0: normal capacity on 'charge state'
> urtwn0: could not send firmware command 5
> urtwn0: could not send firmware command 5
> urtwn0: could not send firmware command 5
> urtwn0: could not send firmware command 5
> ehci_idone: ex=0xc19bf1c0 is done!
> urtwn0: detached
> urtwn0: at uhub3 port 1 (addr 2) disconnected
> urtwn0 at uhub3 port 1
> urtwn0: Realtek 802.11n WLAN Adapter, rev 2.00/2.00, addr 2
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 48:02:2a:99:ba:16
> urtwn0: 1 rx pipe, 2 tx pipes
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> urtwn0: could not send firmware command 5
> urtwn0: could not send firmware command 5
> ehci_idone: ex=0xc19bf1c0 is done!
> urtwn0: detached
> urtwn0: at uhub3 port 1 (addr 2) disconnected
> urtwn0 at uhub3 port 1
> urtwn0: Realtek 802.11n WLAN Adapter, rev 2.00/2.00, addr 2
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 48:02:2a:99:ba:16
> urtwn0: 1 rx pipe, 2 tx pipes
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> cprng kernel: WARNING pseudorandom rekeying.
> acpilid0: lid closed.
> acpilid0: lid opened.
> acpilid0: lid closed.
> acpilid0: lid opened.
>
Home |
Main Index |
Thread Index |
Old Index