Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa-problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 80

PostPosted: Sat Sep 14, 2013 9:02 pm    Post subject: Alsa-problem Reply with quote

Hallo, i have an Mainboard P5W Hd deluxe with
Manual: RealtekALC882M audio-codec

I get no sound.and the package alsa-utils seems not to work, i have no alsa-conf in this package.
My Kernel-.config:

> Device Drivers > Sound card support > Advanced Linux Sound Architecture > PCI sound devices
only thing aktivatet: > <*> Intel HD Audio
Code:
     --- Intel HD Audio                                                                                  x x 
  x x                             (64)  Pre-allocated buffer size for HD-audio driver                                                 x x 
  x x                             [*]   Build hwdep interface for HD-audio driver                                                     x x 
  x x                             [*]     Allow dynamic codec reconfiguration                                                         .                                 
.
.
  x x                             [*]   Build Realtek HD-audio codec support                                                          x x 
  x x                             [ ]   Build Analog Device HD-audio codec support 
.
.
x x 
  x x                             -*-   Enable generic HD-audio codec parser                                                          x x 
  x x                             (0)   Default time-out for HD-audio power-save mode


lsmod :
Code:
ipv6                  240997  14
kvm_intel             116188  0
kvm                   219705  1 kvm_intel
pata_acpi               3075  0
i2c_i801                8541  0
microcode               6473  0
pcspkr                  1779  0
evdev                   8496  4
pata_jmicron            2339  2
sky2                   41424  0
uhci_hcd               18666  0
ehci_pci                3352  0
ehci_hcd               31785  1 ehci_pci
usbcore               132070  3 uhci_hcd,ehci_hcd,ehci_pci
button                  4437  0
acpi_cpufreq            6206  0
mperf                   1067  1 acpi_cpufreq
freq_table              2212  1 acpi_cpufreq
rtc_cmos                7740  0
usb_common              1496  1 usbcore
floppy                 50542  0
processor              26623  1 acpi_cpufreq
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Sat Sep 14, 2013 10:06 pm    Post subject: Reply with quote

Start at ALSA - Gentoo Wiki
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 80

PostPosted: Sun Sep 15, 2013 7:49 am    Post subject: Reply with quote

i did exacly this until the test, where i get no sound:

Code:
localhost linux-3.10.7-gentoo # /etc/init.d/alsasound start
 * WARNING: alsasound has already been started
localhost linux-3.10.7-gentoo # speaker-test -t wav -c 2

speaker-test 1.0.27.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
 0 - Front Left
 1 - Front Right
Time per period = 2.842697
 0 - Front Left

^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call





localhost linux-3.10.7-gentoo # speaker-test -t wav -c 6 -D surround51

speaker-test 1.0.27.1

Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Playback open error: -16,Device or resource busy


Last edited by Sindbad on Sat Sep 21, 2013 8:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Mon Sep 16, 2013 1:59 pm    Post subject: Reply with quote

For Error -16, Arch Linux will help us....
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 80

PostPosted: Sun Sep 22, 2013 12:25 pm    Post subject: Reply with quote

Code:
lspci | grep --color -i audio
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)

Code:
 aplay -L
null
    Discard all samples (playback) or generate zero samples (captur
e)
default:CARD=Intel
    HDA Intel, ALC882 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC882 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speake
rs
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC882 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer spe
akers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC882 Digital
    IEC958 (S/PDIF) Digital Audio Output


cat /etc/modprobe.d/alsa.conf
Code:
# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


fuser -fv /dev/snd/* /dev/dsp*
Code:

Specified filename /dev/dsp* does not exist.


so what exactly i have to do?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5655

PostPosted: Sun Sep 22, 2013 2:04 pm    Post subject: Reply with quote

That there's no /dev/dsp* shouldn't really be a problem.
Add 'aplay -l' for completeness.
Most promising is surround51, though usually it's stereo that you care about most.
'amixer' on *every* available card might give some hints too.
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 80

PostPosted: Sun Sep 22, 2013 7:58 pm    Post subject: Reply with quote

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC882 Analog [ALC882 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC882 Digital [ALC882 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


amixer:
Code:
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 26 [84%] [-7.50dB] [off]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 28 [90%] [7.50dB] [off]
  Front Right: Playback 28 [90%] [7.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]

 Front Right: 0 [0%] [0.00dB]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [off]
  Front Right: Capture 0 [0%] [-12.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [off]
  Front Right: Capture 0 [0%] [-12.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [off]
  Front Right: Capture 0 [0%] [-12.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Rear Mic'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5655

PostPosted: Mon Sep 23, 2013 5:26 am    Post subject: Reply with quote

Might or might not matter, but unmute mono too.
Back to top
View user's profile Send private message
dylan_stark
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2005
Posts: 132
Location: Belgrade, Serbia

PostPosted: Mon Sep 23, 2013 12:45 pm    Post subject: Reply with quote

I have the same problem after upgrade to alsa 1.0.27.1
Back to top
View user's profile Send private message
mrbassie
Apprentice
Apprentice


Joined: 31 May 2013
Posts: 244

PostPosted: Mon Sep 23, 2013 1:37 pm    Post subject: Reply with quote

I had no sound on my intel hd and solved it with:

Device drivers
->generic driver options
-->[*] Include in-kernel firmware blobs in kernel binary

It would work without that if alsa was built as a module but not in kernel. Worth a try?
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 80

PostPosted: Mon Sep 23, 2013 3:09 pm    Post subject: Reply with quote

I got it.
the Kernel thing is exactly, what i did in the past.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum