You are not logged in.
Pages: 1
I got a fairly recent laptop I bought at a Pawn shop and I wiped out Windows 8 and did a fresh install of Arch. However I have been configuring my sound and read on another forum that some ASUS soundcards stop functioning. Has anybody experenced problems with ASUS Lapttops cause I think I configured me sound correctly. I loaded the sound modules and I do speaker test it shows stats but no sound.
$ systool -v -m snd
Module = "snd"
Attributes:
coresize = "58893"
initsize = "0"
initstate = "live"
refcnt = "9"
taint = ""
uevent = <store method only>
Parameters:
cards_limit = "1"
major = "116"
slots = "snd_hda_codec_via,snd_hda_codec_hdmi,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
Sections:
.bss = "0xffffffffa031cf80"
.data = "0xffffffffa031ca40"
.exit.text = "0xffffffffa031aabc"
.gnu.linkonce.this_module= "0xffffffffa031cd20"
.init.text = "0xffffffffa0322000"
.note.gnu.build-id = "0xffffffffa031ab8c"
.rodata = "0xffffffffa031b280"
.rodata.str1.1 = "0xffffffffa031b7d8"
.rodata.str1.8 = "0xffffffffa031bc30"
.smp_locks = "0xffffffffa031b7b8"
.strtab = "0xffffffffa0326418"
.symtab = "0xffffffffa03222d8"
.text = "0xffffffffa0312000"
__kcrctab = "0xffffffffa031b030"
__kcrctab_gpl = "0xffffffffa031b248"
__ksymtab_gpl = "0xffffffffa031afe0"
__ksymtab_strings = "0xffffffffa031bf0a"
__ksymtab = "0xffffffffa031abb0"
__mcount_loc = "0xffffffffa031c500"
__param = "0xffffffffa031c4a0"
Any thoughts?
Offline
Use alsamixer and make sure all audio chanels are unmuted.
R
Offline
I did do that that has nothing to do with it. I am still trying to diagnose the problem and find out why ASUS Laptops kinda suck. Or there must be something I didn't do I'll post some more code.
#vim /etc/modprobe.d/alsa-base.conf
options snd slots=snd_hda_codec_via,snd_hda_codec_hdmi
options snd_hda_codec_via=0
options snd_hda_codec_hdmi=1
Offline
I sort of figured out the problem it's a bug in the ASUS sound module where someone plugs in there headphones and when they pull them out the jack still recognizes them still as plugged in.I found some code for WIN7 that you have to apply to the registry but that doesn't help me with Linux, and figuring out the right debugging code for the module in Linux might be a little difficult to most users who aren't to indepth with coding.I plan on learning more about in depth coding as time goes on but its a matter of placing some code in the sound module(s) somewhere but I have yet to find what that code is on the web. I'll stay posted till I find a solution.If I find the solution I will post the code for the sound module debugging.
Offline
Actually I made a mistake its not a defective module but it could be, all the eqipment in my laptop is new. The laptop I bought at the pawn shop is fairly recent. Then again from the research I have done ASUS has had some defective hardware, I guess. Anyway this link in google describes my sound card http://www.google.com/cse?cx=partner-pu … e=UTF-8&q=[VT1802&sa=Search#gsc.tab=0&gsc.q=VT1802 and general parameter debugging for the alsa conf something or other file.
Offline
Hi I need to know the commands for setting my proc/asound folder to its default state I tryed removing and installing the alsa packages again but my /proc/asound folder remains messed up. this my /proc/asound/
$ ls /proc/asound
card0 cards Generic hwdep oss seq version
card1 devices Generic_1 modules pcm timers
When I was doing some commands I forgot which I messed up the default settings for my sound card. Also I need to do some extra configuration for my sound because its a fairly new card and theres no detection of the hardware. These are some more stats.
lsmod | grep '^snd' | column -t
snd_hda_codec_via 19791 1
snd_hda_codec_hdmi 29298 1
snd_hda_intel 35816 0
snd_hda_codec 145704 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep 6364 1 snd_hda_codec
snd_pcm 76860 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7330 2 snd_pcm,snd_hda_intel
snd_timer 18687 1 snd_pcm
snd 58893 7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: VT1802 Analog [VT1802 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
and I do this:
$ speaker-test -c 2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
$cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfeb44000 irq 46
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfeb40000 irq 16
Here I got the same card with 2 instances.
If anybody has any ideas on how I can rest my /proc/asound folder please let me know also what other additional configuration I might need.
Offline
I think /proc gets recreated at boot so ...
Offline
Not an installation issue. I think I shall move it to the newbie subforum
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
This might be sufficient:
modprobe -r snd-hda-intel
sleep 1
modprobe snd-hda-intel
Offline
I tryed shutting down the processes in systemd with systemctl stop and such removed mods and loaded them back up and started the systemd daemon for the soundcards again and my /proc/asound folder is still messed. I still don't know after I reset the folder to its default perameters how to install the soundcards correctly for ALSA. My card is fairly recent and not covered correctly under alsa. It's a matter of me having to find the right internet research for alsa configurations and do a little debugging. This mite be a long process. If anybody has any more ideas then that would be very helpful. Thanks.
Offline
You might want to read the link in my signature. In my not so humble opinion, you are barking up the wrong tree. The /proc folder is not a real folder. It is tied to the kernel, changes dynamically, and reflects the current state of the system. Nothing you do in there is of use.
So, rather than leap to conclusions, tell us specifically what is wrong or what it is you want to have happen. It is likely a problem with a configuration file -- a file that will likely belong in /etc.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
After you read the link in ewallers signature, please take a minute to learn how to use code blocks (then it would be nice if you fixed your first post).
After that, read this again https://bbs.archlinux.org/viewtopic.php … 6#p1286776
Offline
It's a matter of me having to find the right internet research for alsa configurations and do a little debugging.
I don't know exactly what you are looking for, but alsa is (IMHO) one of the best documented projects out there:
http://www.alsa-project.org/main/index.php/Main_Page
http://alsa.opensrc.org/Main_Page
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Sorry about that. I wiki'd the Arch site for "Forum" and I read it thurally. So what I did was edit my /etc/modprobe.d/alsa-base.conf to look like this:
options snd slots=snd_hda_codec_via,snd_hda_codec_hdmi
options snd_hda_codec_via index=1
options snd_hda_codec_hdmi index=0
I have defined my sound modules but I still am clueless about where to go from here. I am still showing errors:
# speaker-test -c 2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory
I still get the same answers, I guess I will have to delve deeper into something I did earlier to mess up my /proc/asound and I still need to figure out the correct configuration for my soundcard.
Offline
I failed to realize that my soundcard requires alsa and Pulse Audio the title of my thread is poorly noobish even though I consider myself a moderate grade linux user. I would request a mod to change the name of the thread to something more aklong the lines of "Newer cards require Pulse Audio along with Alsa".This is more output to why my soundcard is not working:
My sound devices:
# lspci | egrep -i 'audio|multimedia'
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [Radeon HD 6250/6310]
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
That is my soundcards in my laptop.
This is some more stats: Complete list of Sound Modules:
$ lsmod|grep '^snd'|column -t
snd_hda_codec_via 19791 1
snd_hda_codec_hdmi 29298 1
snd_hda_intel 35816 0
snd_hda_codec 145704 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep 6364 1 snd_hda_codec
snd_pcm 76860 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7330 2 snd_pcm,snd_hda_intel
snd_timer 18687 1 snd_pcm
snd 58893 7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
I installed Pulse Audio I heard on another thread that Alsa won't work on some newer cards without Pulse Audio so hear are my errors:
$ speaker-test -c 2
speaker-test 1.0.27.1
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
So now that brings me to Pulse: For the /etc/asound.conf file where I attempt to correct the dmix error:
$ less /etc/asound.conf
pcm.!default {
type plug
slave.pcm "dmix:0,1"
}
So now I try PulseAudio Start:
$ pulseaudio --start
E: [autospawn] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lock
That brings me to another thread I found with a file setting the parameter for autospawn to yes but it was at yes however:
vim /etc/pulse/client.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.
; default-sink =
; default-source =
; default-server =
; default-dbus-server =
autospawn=no
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog
; cookie-file =
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; auto-connect-localhost = no
; auto-connect-display = no
Therefore Autospawn is set to yes, howwever I need to brush up on code and figure out what to do with the other parameters.
And finally this is my errors for pulseaudio:
pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 4.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.9.5-1-ARCH #1 SMP PREEMPT Sat Jun 8 09:22:45 CEST 2013
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is b905e6ae9ff34bc5af714ee60b610309.
I: [pulseaudio] main.c: Session ID is 1.
E: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
Can someone help as to where to go from here? I shouldn't blame my deficiencies on the hardware. However I am not to indepth in coding as I would like to be but I am getting there. If anybody has any ideas I would very much appriciate it. Thanks.
Offline
I failed to realize that my soundcard requires alsa and Pulse Audio the title of my thread is poorly noobish even though I consider myself a moderate grade linux user. I would request a mod to change the name of the thread to something more aklong the lines of "Newer cards require Pulse Audio along with Alsa".This is more output to why my soundcard is not working:
My sound devices:
# lspci | egrep -i 'audio|multimedia'
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [Radeon HD 6250/6310]
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
That is my soundcards in my laptop.
This is some more stats: Complete list of Sound Modules:
$ lsmod|grep '^snd'|column -t
snd_hda_codec_via 19791 1
snd_hda_codec_hdmi 29298 1
snd_hda_intel 35816 0
snd_hda_codec 145704 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep 6364 1 snd_hda_codec
snd_pcm 76860 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7330 2 snd_pcm,snd_hda_intel
snd_timer 18687 1 snd_pcm
snd 58893 7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
I installed Pulse Audio I heard on another thread that Alsa won't work on some newer cards without Pulse Audio so hear are my errors:
$ speaker-test -c 2
speaker-test 1.0.27.1
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
So now that brings me to Pulse: For the /etc/asound.conf file where I attempt to correct the dmix error:
$ less /etc/asound.conf
pcm.!default {
type plug
slave.pcm "dmix:0,1"
}
So now I try PulseAudio Start:
$ pulseaudio --start
E: [autospawn] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [pulseaudio] main.c: Failed to acquire autospawn lock
That brings me to another thread I found with a file setting the parameter for autospawn to yes but it was at yes however:
vim /etc/pulse/client.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.
; default-sink =
; default-source =
; default-server =
; default-dbus-server =
autospawn=no
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog
; cookie-file =
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; auto-connect-localhost = no
; auto-connect-display = no
Therefore Autospawn is set to yes, howwever I need to brush up on code and figure out what to do with the other parameters.
And finally this is my errors for pulseaudio:
pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 4.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.9.5-1-ARCH #1 SMP PREEMPT Sat Jun 8 09:22:45 CEST 2013
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is b905e6ae9ff34bc5af714ee60b610309.
I: [pulseaudio] main.c: Session ID is 1.
E: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/0/pulse): Permission denied
Can someone help as to where to go from here? I shouldn't blame my deficiencies on the hardware. However I am not to indepth in coding as I would like to be but I am getting there. If anybody has any ideas I would very much appriciate it. Thanks.
Offline
@useraddition You have 2 threads running for what is essentially the same issue. We do not accept cross-posting here, and while it doesn't seems you deliberately cross-posted, the threads are converging to be dealing with the same issue.
https://bbs.archlinux.org/viewtopic.php … 7#p1289757
I have locked the other thread, please let me know if you would like it merged with this thread.
EDIT:
I would request a mod to change the name of the thread to something more aklong the lines of "Newer cards require Pulse Audio along with Alsa".
For future reference, you are able to edit your original post and change the title yourself.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Merging the 2 threads at request of OP.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I tryed to access the bug tracker account using flyspray and I didn't know how to use flyspray. Any event I fixed the issue with the Sound Issue on Asus Laptops. I downgraded the Kernel to 3.4 and I did dmesg and I found a parameter known as asus_wmi and I placed this code in the /etc/modprobe.d/alsa-base.conf :
options snd-hda-intel model=asus_wmi
Please note this your bug tracking services and other forum thread I started.
Offline
Solved
Offline
The thread you're talking about is here: https://bbs.archlinux.org/viewtopic.php?id=164742
Please remember to properly mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
These don't make sense after merging.
No idea what the problem with the bugtracker is. You need to create an account first as it's separate from the forum (and the wiki and the AUR).
Last edited by karol (2013-07-11 21:05:37)
Offline
Not an Installation issue.
Merging.
Offline
Pages: 1