DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th December 2009
yakebao yakebao is offline
New User
 
Join Date: Dec 2009
Posts: 5
Thanked 0 Times in 0 Posts
Cool There is some troble in my netbsd's audio

I installed NetBSD 5.0.1/AMD64, but when I play mp3 files there is no sound.
I have seached the internet , but no useful information found...
Please help me, and tell me how to use or set for audio/sound.

Thanks a lot!

Code:
#dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.0.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009
	builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 3071 MB
avail memory = 2961 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xf2874 (25 entries)
Hewlett-Packard HP Compaq 6520s (F.0B)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1995MHz, id 0x6fd
cpu0: Enhanced SpeedStep (1420 mV) 2200 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 2200 2000 1800 1600 1400 1200
cpu1 at mainbus0 apid 1: Intel 686-class, 1995MHz, id 0x6fd
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <HPQOEM,SLIC-MPC,00000001>, AslId <HP  ,00000001>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpiec0 at acpi0 (C006, PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
attimer1 at acpi0 (C240, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pcppi1 at acpi0 (C241, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
hpet0 at acpi0 (C243, PNP0103)
hpet0: mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
pckbc1 at acpi0 (C247, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (C248, SYN013E): aux port
pckbc2: irq 12
hpqlb0 at acpi0 (C24B, HPQ0006): HP Quick Launch Buttons
acpibat0 at acpi0 (C1E9, PNP0C0A-1): ACPI Battery (Control Method)
acpibat0: battery info: Hewlett-Packard, LIon, Primary 00094 2007/10/26
acpiacad0 at acpi0 (C1E8, ACPI0003): ACPI AC Adapter
acpibut0 at acpi0 (C263, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (C1ED, PNP0C0D): ACPI Lid Switch
acpidalb0 at acpi0 (C1EB, PNP0C32-1): Direct Application Launch Button
C261 (PNP0C14) at acpi0 not configured
C36B (PNP0C0B) at acpi0 not configured
C36C (PNP0C0B) at acpi0 not configured
C36D (PNP0C0B) at acpi0 not configured
C36E (PNP0C0B) at acpi0 not configured
C36F (PNP0C0B) at acpi0 not configured
C370 (PNP0C0B) at acpi0 not configured
C371 (PNP0C0B) at acpi0 not configured
C372 (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (TZ2): active cooling level 0: 105.0C active cooling level 1: 70.0C active cooling level 2: 60.0C critical 110.0C
acpitz1 at acpi0 (TZ3): critical 108.0C passive 20.0C, passive cooling
acpitz2 at acpi0 (TZ4): critical 110.0C, passive cooling
acpitz3 at acpi0 (TZ0): active cooling level 0: 80.0C active cooling level 1: 72.0C active cooling level 2: 62.0C active cooling level 3: 50.0C active cooling level 4: 35.0C
acpitz4 at acpi0 (TZ1): critical 108.0C passive 33.0C, passive cooling
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Palm detect, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
pchb0: vendor 0x8086 product 0x2a00 (rev. 0x0c)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2a01 (rev. 0x0c)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x7196 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
wm0 at pci0 dev 25 function 0: Intel i82801H IFE (GT) LAN Controller, rev. 3
wm0: interrupting at ioapic0 pin 22
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 00:1a:4b:89:cf:6c
inphy0 at wm0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2834 (rev. 0x03)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2835 (rev. 0x03)
uhci1: interrupting at ioapic0 pin 17
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x283a (rev. 0x03)
ehci0: interrupting at ioapic0 pin 18
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16
azalia0: host: 0x8086/0x284b (rev. 3), HDA rev. 1.0
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x283f (rev. 0x03)
pci2 at ppb1 bus 8
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x2841 (rev. 0x03)
pci3 at ppb2 bus 16
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
wpi0 at pci3 dev 0 function 0: vendor 0x8086 product 0x4222 (rev. 0x02)
wpi0: interrupting at ioapic0 pin 17
wpi0: RoW, address 00:1c:bf:6d:25:b8
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ppb3 at pci0 dev 28 function 4: vendor 0x8086 product 0x2847 (rev. 0x03)
ppb3: disabling notification events
pci4 at ppb3 bus 40
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2830 (rev. 0x03)
uhci2: interrupting at ioapic0 pin 20
usb3 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2831 (rev. 0x03)
uhci3: interrupting at ioapic0 pin 21
usb4 at uhci3: USB revision 1.0
uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2832 (rev. 0x03)
uhci4: interrupting at ioapic0 pin 18
usb5 at uhci4: USB revision 1.0
ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x2836 (rev. 0x03)
ehci1: interrupting at ioapic0 pin 20
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
usb6 at ehci1: USB revision 2.0
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xf3)
pci5 at ppb4 bus 2
pci5: i/o space, memory space enabled
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x2815 (rev. 0x03)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801HBM IDE Controller (ICH8M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2829
ahcisata0: interrupting at ioapic0 pin 17
ahcisata0: AHCI revision 1.1, 3 ports, 32 command slots, features 0xef20e080
atabus1 at ahcisata0 channel 0
isa0 at ichlpcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1995149300 Hz quality 3000
acpiacad0: AC adapter online.
azalia0: codec[0]: Analog Devices AD1981HD (rev. 2.0), HDA rev. 1.0
azalia0: codec[1]: 0x11c1/0x1040 (rev. 2.0), HDA rev. 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, independent
atapibus0 at atabus0: 2 targets
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 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-C10N, , 1.03> cdrom removable
cd0: 32-bit data port
uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhub5 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
uhub6 at usb6: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0: <Hitachi HTS542516K9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
hpqlb0: registering on wskbd0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub3 port 2 configuration 1 interface 0
uhidev0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
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)
cd0(piixide0:0:0):  Check Condition on CDB: 0x35 00 00 00 00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Medium Not Present

set{u,g}id pid 522 (gnome-pty-helper) was invoked by uid 1005 ppid 425 (gnome-terminal) with fd 2 closed




Code:
#audioctl -a
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*,slinear_le:32,slinear_be:32*,ulinear_le:32*,ulinear_be:32*
properties=full_duplex,independent
full_duplex=1
fullduplex=1
blocksize=4096
hiwat=16
lowat=12
monitor_gain=0
mode=play,record
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=120
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=65536
play.samples=515813376
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=1
play.buffer_size=65536
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x4
record.seek=0
record.samples=515809280
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=1
record.active=1
record.buffer_size=65536
record.errors=0

Code:
# mixerctl -a
outputs.spdif.source=os
outputs.lineout.source=dac
outputs.lineout.mute=off
outputs.lineout=124,124
record.lineout=85,85
outputs.lineout.dir=output
outputs.lineout.boost=off
outputs.lineout.eapd=off
outputs.headphones.src=dac
outputs.headphones.mute=off
outputs.headphones=124,124
outputs.headphones.boost=off
outputs.mono.mute=off
outputs.mono=124
record.mic=85,85
outputs.linein.source=dac
outputs.linein.mute=off
outputs.linein=124,124
record.linein=85,85
outputs.linein.dir=output
outputs.mono.source=dac
inputs.beep.source=digitalbeep
inputs.beep.mute=off
inputs.beep=119
inputs.dac.mute=off
inputs.dac=120,120
inputs.mic.mute=off
inputs.mic=120,120
inputs.linein.mute=off
inputs.linein=120,120
record.source=mixedmic
record.mute=off
record.master=119,119
outputs.mic2.source=dac
outputs.mic2.mute=off
outputs.mic2=124,124
record.mic2=85,85
outputs.mic2.dir=output
inputs.lineout.mute=off
inputs.lineout=120,120
inputs.aux.mute=off
inputs.aux=120,120
inputs.mic2.mute=off
inputs.mic2=120,120
inputs.cd.mute=off
inputs.cd=120,120
record.mixedmic.mute1=off
record.mixedmic.mute2=off
playback.mode=analog


That's all.

Last edited by J65nko; 13th December 2009 at 12:47 AM. Reason: Code tags added
Reply With Quote
 

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
OpenBSD 4.6/4.5, Kaffeine and audio Squishy OpenBSD General 1 3rd November 2009 10:07 PM
netbsd 5 and intel hda audio support jaideep_jdof NetBSD General 5 18th September 2009 05:50 PM
macmini audio gosha OpenBSD General 15 14th January 2009 02:43 AM
Audio & Headphones JMJ_coder General Hardware 3 10th November 2008 05:21 PM
Audio Chat for Solaris? whispersGhost Solaris 9 19th June 2008 12:09 AM


All times are GMT. The time now is 04:02 PM.


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