LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   no sound on any apps skype rhythm box etc (https://www.linuxquestions.org/questions/linux-newbie-8/no-sound-on-any-apps-skype-rhythm-box-etc-874506/)

kamelyanproject@gmail.co 04-12-2011 12:33 AM

no sound on any apps skype rhythm box etc
 
no sound input or output

ubuntu 11.04

Re: HOWTO: PulseAudio Fixes & System-Wide Equalizer Support

damo@damo-HP-Pavilion-dv7-Notebook-PC:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: core-rtclock.c: Timer slack is set to 50 us.
D: core-util.c: RealtimeKit worked.
I: core-util.c: Successfully gained nice level -11.
I: main.c: This is PulseAudio 0.9.21-63-gd3efa-dirty
D: main.c: Compilation host: i686-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O3 -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: main.c: Running on host: Linux i686 2.6.35-28-generic-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011
D: main.c: Found 2 CPUs.
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: no
D: main.c: Running in valgrind mode: no
D: main.c: Running in VM: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is ba7716074992340f68c5140000000007.
I: main.c: Session ID is ba7716074992340f68c5140000000007-1302485562.759307-1573744398.
I: main.c: Using runtime directory /home/damo/.pulse/ba7716074992340f68c5140000000007-runtime.
I: main.c: Using state directory /home/damo/.pulse.
I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules.
I: main.c: Running in system mode: no
E: pid.c: Daemon already running.
E: main.c: pa_pid_file_create() failed.
damo@damo-HP-Pavilion-dv7-Notebook-PC:~$*

damo@damo-HP-Pavilion-dv7-Notebook-PC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

hp dv7

thanx

markackerman8@gmail. 04-18-2011 03:23 PM

I don't know if this is applicable but for my HDMI and My Brothers to work with an Nvidia card we had to do this weird configuration to tell Ubuntu where to find the device. Here is my notes; I hope it helps.

You will notice that aplay -l, shows 4 sub devices, the first thing you need to ensure is that none of the 4 devices are muted, you can do this using alsamixer (where the number after c is the card number of the NVidia audio shown by aplay -l):
$ alsamixer -c1
Now you just need to unmute the S/PDIF devices for HDA NVidia in alsamixer by pressing m for any that show MM so they end up as 00, figure out which one works, and add a line to a file. Try the following and substitute 1,3 with 1,7 1,8 or 1,9 until you find which works:

Code:
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
Mine is 1,9 so I added a line to /etc/pulse/default.pa after alsa-sink line:

Code:
#load-module module-alsa-sink
load-module module-alsa-sink device=hw:1,9
Reboot. The only odd thing it that in the Output tab of Sound Preferences you will need to select the HDA NVidia device that does NOT say HDMI to get HDMI sound. The speaker test in Sound Preferences will not work, but if you play Rythmbox, etc. you should be able to switch sound output on the fly.


All times are GMT -5. The time now is 02:08 PM.