DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th November 2011
harishankar harishankar is offline
Port Guard
 
Join Date: Nov 2011
Posts: 31
Thanked 0 Times in 0 Posts
Default Getting Xfce4 to recognize sound card

Newbie to NetBSD here, so please excuse the somewhat novice questions.

I've installed Xfce4 and currently installing KDE 4. I am sure the sound card is detected by NetBSD, but gstreamer fails to recognize it.

This is the message that comes up when I try to access the mixer panel in Xfce.
Quote:
GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.
I am not sure how to access the sound device. There is /dev/audio, /dev/mixer.

Quote:
harishankar$ dmesg | grep audio
audio0 at azalia0: full duplex, playback, capture, independent
audio1 at pad0: half duplex, playback, capture
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by harishankar View Post
I am sure the sound card is detected by NetBSD, but gstreamer fails to recognize it.
The first thing you should check is the output of dmesg(8) for how the kernel is interpreting the hardware present. Posting the entire output here may help others identify what you are experiencing.
Quote:
I am not sure how to access the sound device. There is /dev/audio, /dev/mixer.
Familiarizing yourself with the project's documentation is essential. Section 11.5 of the NetBSD Guide will help you diagnose the situation yourself.

There is only a small number of people on this site who have direct experience with NetBSD. They may or may not join into discussion. As you explore NetBSD further, you should also read through archives of the project's mailing lists. Information on how the project segments discussion & the location of the archives can be found at the following:

http://netbsd.org/mailinglists/
Reply With Quote
  #3   (View Single Post)  
Old 13th November 2011
harishankar harishankar is offline
Port Guard
 
Join Date: Nov 2011
Posts: 31
Thanked 0 Times in 0 Posts
Default

ocicat, thanks. I have read that part of the documentation, but I couldn't figure out how to make the DE "recognize" the hardware. There is not much documentation in NetBSD about desktop usage unfortunately.

I will post the output of dmesg here.

Code:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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.1 (GENERIC) #0: Sat Nov  6 13:19:33 UTC 2010
	builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 1534 MB
avail memory = 1471 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xdf010 (22 entries)
Hewlett-Packard HP Pavilion dv6000 (GJ154PA#ACJ)   (Rev 1)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1729MHz, id 0x6f2
cpu0: Enhanced SpeedStep (1292 mV) 1733 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 1733 1600 1467 1333 1200 1067 933 800
cpu1 at mainbus0 apid 1: Intel 686-class, 1729MHz, id 0x6f2
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <HPQOEM,SLIC-MPC,06040000>, AslId < LTP,00000000>
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
acpidalb0 at acpi0 (QBTN, PNP0C32-1): Direct Application Launch Button
acpidalb1 at acpi0 (DBTN, PNP0C32-2): Direct Application Launch Button
acpidalb2 at acpi0 (MBTN, PNP0C32-3): Direct Application Launch Button
acpidalb3 at acpi0 (EBTN, PNP0C32-4): Direct Application Launch Button
acpidalb4 at acpi0 (PBTN, PNP0C32-6): Direct Application Launch Button
acpidalb5 at acpi0 (VBTN, PNP0C32-7): Direct Application Launch Button
acpidalb6 at acpi0 (TBTN, PNP0C32-8): Direct Application Launch Button
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A): ACPI Battery (Control Method)
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
WMID (PNP0C14) at acpi0 not configured
acpiec0 at acpi0 (EC0, PNP0C09-1): io 0x62,0x66
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
hpqlb0 at acpi0 (QLBD, HPQ0006): HP Quick Launch Buttons
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, SYN012B) (aux port): irq 12
acpitz0 at acpi0 (THR1): critical 110.0C passive 11.0C, passive cooling
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.3
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 0x27a0 (rev. 0x03)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x27a1 (rev. 0x03)
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 0x10de product 0x01d8 (rev. 0xa1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 22
azalia0: host: 0x8086/0x27d8 (rev. 2), HDA rev. 1.0
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x02)
ppb1: disabling notification events
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wpi0 at pci2 dev 0 function 0: vendor 0x8086 product 0x4222 (rev. 0x02)
wpi0: interrupting at ioapic0 pin 16
wpi0: MoW1, address 00:19:d2:d3:66:e8
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
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x27d2 (rev. 0x02)
ppb2: disabling notification events
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 28 function 2: vendor 0x8086 product 0x27d4 (rev. 0x02)
ppb3: disabling notification events
pci4 at ppb3 bus 5
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci4 dev 0 function 0: Intel i82573L Gigabit Ethernet, rev. 0
wm0: interrupting at ioapic0 pin 18
wm0: PCI-Express bus
wm0: 256 word (8 address bits) SPI EEPROM
wm0: Ethernet address 00:16:36:da:d8:03
makphy0 at wm0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xe2)
pci5 at ppb4 bus 7
pci5: no spaces enabled!
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x27b9 (rev. 0x02)
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 82801GB/GR IDE Controller (ICH7) (rev. 0x02)
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 0x27c5
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: AHCI revision 1.1, 4 ports, 32 command slots, features 0xc710e000
atabus1 at ahcisata0 channel 0
atabus2 at ahcisata0 channel 2
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 19
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
attimer1: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1729655460 Hz quality 3000
azalia0: codec[0]: 0x14f1/0x5045 (rev. 1.0), HDA rev. 1.0
audio0 at azalia0: full duplex, playback, capture, independent
acpiacad0: AC adapter online.
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <Optiarc DVD RW AD-7581A, 30654770 1305606Q11, BH05> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
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 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 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ahcisata0 port 0: device present, speed: 1.5Gb/s
ahcisata0 port 2: PHY offline
wd0 at atabus1 drive 0: <WDC WD1600BEVS-60RST0>
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)
uvideo0 at uhub4 port 4 configuration 1 interface 0: Sonix Technology Co., Ltd. USB 2.0 Camera, rev 2.00/2.10, addr 2
video0 at uvideo0: Sonix Technology Co., Ltd. USB 2.0 Camera, rev 2.00/2.10, addr 2
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
hpqlb0: registering on wskbd0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: vendor 0x04b3 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 - Tray Closed

acpibat0: battery info: Hewlett-Packard, LION, Primary  
set{u,g}id pid 819 (gnome-pty-helper) was invoked by uid 1000 ppid 240 (Terminal) with fd 2 closed
Reply With Quote
  #4   (View Single Post)  
Old 13th November 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by harishankar View Post
Code:
azalia0: codec[0]: 0x14f1/0x5045 (rev. 1.0), HDA rev. 1.0
audio0 at azalia0: full duplex, playback, capture, independent
So, its an azalia(4) chipset. From experience with other projects, azalia chips are wired in a multitude of ways.

My recommendation would be ensure that sound is enabled as described at the Section 11.3 of the Guide. Once you have convinced yourself that the system can generate basic sound from the tools provided by NetBSD, then move on to Xfce4-specific issues.

Secondly, I would recommend posting to the netbsd-users@ or port-i386@ mailing lists. If you do post, include the dmesg(8) output posted here, & the results of the Section 11.3 tests. This may reduce the number of iterations needed to find a solution.

Last edited by ocicat; 13th November 2011 at 03:43 AM.
Reply With Quote
  #5   (View Single Post)  
Old 13th November 2011
harishankar harishankar is offline
Port Guard
 
Join Date: Nov 2011
Posts: 31
Thanked 0 Times in 0 Posts
Default

ocicat, thanks. I will follow your advice about posting to the mailing list. The only issue is that I don't have access to my mail client on my NetBSD setup right now and that means using gmail

Nevertheless, I tried the instructions regarding the audio check. Doing
Code:
cat filename > /dev/audio
produces a noise, so definitely the audio system works.

I am going to install KDE and see if phonon works "out of the box."
Reply With Quote
  #6   (View Single Post)  
Old 13th November 2011
harishankar harishankar is offline
Port Guard
 
Join Date: Nov 2011
Posts: 31
Thanked 0 Times in 0 Posts
Default

I fixed the issue by installing the gstreamer plugin for pulse audio from pkgsrc packages.

It now detects the sound system.
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
Dell Dimension 4550 sound card problem RJPugh FreeBSD Installation and Upgrading 10 20th October 2009 12:43 PM
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM
OpenBSD xfce4 kaschei OpenBSD General 5 28th June 2009 08:45 PM
XFCE4 on 7.0 TMD3 FreeBSD Ports and Packages 3 26th July 2008 03:22 AM
k3b and k9copy do not recognize my DVD-RW device corneliu FreeBSD General 8 25th May 2008 08:06 AM


All times are GMT. The time now is 04:00 AM.


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