/etc/modprobe.d/50-sound.conf Permission denied as root ? please help no sound

please i just installed opensuse12.1 on my mac pro and sound its not working , everything looks normal but no sound , my hardware sound is 82801Jl (ICH10 family ) HD audio controller

Permission to /etc/modprobe.d/50-sound.conf is highly unlikely to be denied as root.

What desktop are you using ? KDE or Gnome ? How are you opening an editor with root permissions ?

For example, if your editor was ‘leafpad’, in KDE you would type:


kdesu leafpad

and in Gnome you would type:


gnomesu leafpad

i am using KDE and my sound its mot working

i just run that code and this came out
Password:
linux-oaju:/home/galvaosuse # kdesu leafpad
kdesu(7970)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application ‘kdesu’ crashing…
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-linux-oaju/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi directly
drkonqi(7971)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
linux-oaju:/home/galvaosuse #

Do you even have ‘leafpad’ installed ? In KDE it is NOT installed by default.

Don’t blindly follow an example, but try to apply some sense to it.

If ‘kwrite’ is the application you using then the command would be:


kdesu kwrite 

Please, to avoid my wasting your time, and my time, can you please advise :
(1) how much you know about GNU/Linux in general, and
(2) how much you know about openSUSE in general.

Please do NOT take this as a criticism, but I am asking because my previous reply assumed a specific level of knowledge,and I’m thinking that’s not there, ergo you may need more basic advise.

just run that code and this came out
Password:
linux-oaju:/home/galvaosuse # kdesu leafpad
kdesu(7970)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch) 

That’s because you tried to execute the command as root. You issue ‘kdesu…’ as a regular user.

yes i am new with opensuse and i can get sound to work on it , any idea ?

ok i did now as regular user and thats the rigth code but what i was trying to do did not work

Yes, I think you need to start over and do some reading first:

SDB:Audio troubleshooting - openSUSE

Further to deano_ferrai’s suggestion, may I propose you look at our multimedia stickie here: http://forums.opensuse.org/english/get-technical-help-here/multimedia/309430-welcome-multimedia-sub-area.html

… and in particular, if you wish some more specific help, as opposed to having to read document after document (where I understand that can be VERY frustrating), please provide the information from running the diagnostic script /usr/sbin/alsainfo.sh as documented in that stickie, and I will copy the salient points below for you …

Take a look at the quoted section below, and in particular there are images illustrating HOW to run /usr/sbin/alsa-info.sh

====== from multimedia stickie =======

If you have a problem getting your sound card to work, please go here:
SDB:AudioTroubleshooting - openSUSE

Note users of openSUSE-11.4 and newer (where pulse audio is enabled by default) who have audio problems should consider installing “pavucontrol” and then run “pavucontrol” and use it to select one’s sound device and control the volume/muting.

For ALL openSUSE users, if that that does not help you get your basic sound working, please post in this “multimedia” sub-forum, providing in your post the following information per the quoted instructions below:

/usr/sbin/alsa-info.sh 

and select the SHARE/UPLOAD option and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL/website-address that gives. Just the URL/website-address. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
.
Note if for some reason that gives you no website/url/address then run it with the no-upload option:

/usr/sbin/alsa-info.sh --no-upload

and post the file /etc/alsa-info.txt it creates to Pastebin.comand press SUBMIT on that site and again post here the URL/website-address it provides.

.
… some clarification on running the script “alsa-info.sh” … when you run:

/usr/sbin/alsa-info.sh 

you should get something like this (if it asks for an update, select NO):
http://thumbnails33.imagebam.com/9280/a5973e92794041.jpg](ImageBam)

followed by this (select the SHARE/UPLOAD option):
http://thumbnails30.imagebam.com/9280/5e84f992794044.jpg](http://www.imagebam.com/image/5e84f992794044)

followed by this (its quickest if you simply select ‘NO’ to seeing the output - you will see it on the web page) :
http://thumbnails32.imagebam.com/9280/214da092794048.jpg](ImageBam)

followed by this (where in RED is the URL).
http://thumbnails23.imagebam.com/9280/d9858092794051.jpg](ImageBam)

Just post the URL you get (similar to the RED URL in my example, but yours will be different).

Again, if you can not get that, then run this with the no upload option:

/usr/sbin/alsa-info.sh --no-upload
which will create the file /tmp/alsa-info.txt. Copy that file and paste it on [Pastebin.com](http://pastebin.com) and press submit. That will give you a URL address. Please post that URL here.
 

Also provide the following:

  • in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
  • in a terminal, or xterm, or konsole, type: uname -a #and post output here
  • for openSUSE-11.1 or earlier, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/sound #and post output here
  • for openSUSE-11.2 or newer, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here

There is also guidance for new users here, in setting up their multimedia: Multi-media and Restricted Format Installation Guide

sorry to take so long to reply , but i did all these instruction for the link (SDB:Audio troubleshooting - openSUSE) and nothing new hapend , i had tested the pavucontrol before and its shows that i have sound like the sound bar moving on pavucontrol but no sound on speakers or output , but here is the link with my sound info http://www.alsa-project.org/db/?f=ef71b3eaa408b59ef8d27f206d5e5eed41f6ee45

thanks for your atention , i dont want to get another linux becuse i like opensuse i have ubuntu on my laptop but its not even close to suse

The first thing wrong I note is your mixer settings:


Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 **[0%]** -64.00dB] [on]
  Front Right: Playback 0 **[0%]** -64.00dB] [on]

and this setting which I do not understand not knowing you Apple hardware:


Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line-Out Speaker'
  Item0: '**Line-Out Speaker**'

where it appears your PC is set to put sound through a line out jack, and not integrated speakers.

I also note this a 64-bit openSUSE-12.1 with the 3.1.9-1.4-desktop kernel on an Apple MacPro4,1 which has an ALC889A hardware audio codec. I also note that upon boot (in the dmesg) there was difficulty in determining the alsa configuration to apply (from the dmesg):


   16.350142] hda_codec: ALC889A: SKU not ready 0x400000f0

   16.355455] ALSA patch_realtek.c:1291 realtek: No valid SSID, checking pincfg 0x400000f0 for NID 0x1d
   16.355459] ALSA patch_realtek.c:1374 realtek: Enable default setup for auto mode as fallback

and for the ALC889 (similar to 889A) there are many model options that can be applied to force the alsa driver into a specific configuration upon boot, where this is the list from the HD-Audio-Models.txt file documentation that is on your PC and my PC:


ALC882/883/885/888/889
======================
  3stack-dig	3-jack with SPDIF I/O
  6stack-dig	6-jack digital with SPDIF I/O
  arima		Arima W820Di1
  targa		Targa T8, MSI-1049 T8
  asus-a7j	ASUS A7J
  asus-a7m	ASUS A7M
  macpro	MacPro support
  mb5		Macbook 5,1
  macmini3	Macmini 3,1
  mba21		Macbook Air 2,1
  mbp3		Macbook Pro rev3
  imac24	iMac 24'' with jack detection
  imac91	iMac 9,1
  w2jc		ASUS W2JC
  3stack-2ch-dig	3-jack with SPDIF I/O (ALC883)
  alc883-6stack-dig	6-jack digital with SPDIF I/O (ALC883)
  3stack-6ch    3-jack 6-channel
  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
  6stack-dig-demo  6-jack digital for Intel demo board
  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
  acer-aspire	Acer Aspire 9810
  acer-aspire-4930g Acer Aspire 4930G
  acer-aspire-6530g Acer Aspire 6530G
  acer-aspire-7730g Acer Aspire 7730G
  acer-aspire-8930g Acer Aspire 8930G
  medion	Medion Laptops
  targa-dig	Targa/MSI
  targa-2ch-dig	Targa/MSI with 2-channel
  targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
  lenovo-101e	Lenovo 101E
  lenovo-nb0763	Lenovo NB0763
  lenovo-ms7195-dig Lenovo MS7195
  lenovo-sky	Lenovo Sky
  haier-w66	Haier W66
  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
  6stack-dell	Dell machines with 6stack (Inspiron 530)
  mitac		Mitac 8252D
  clevo-m540r	Clevo M540R (6ch + digital)
  clevo-m720	Clevo M720 laptop series
  fujitsu-pi2515 Fujitsu AMILO Pi2515
  fujitsu-xa3530 Fujitsu AMILO XA3530
  3stack-6ch-intel Intel DG33* boards
  intel-alc889a	Intel IbexPeak with ALC889A
  intel-x58	Intel DX58 with ALC889
  asus-p5q	ASUS P5Q-EM boards
  mb31		MacBook 3,1
  sony-vaio-tt  Sony VAIO TT
  auto		auto-config reading BIOS (default)

but before we spend time on that, please look at your mixer settings !

hi i do swich to integrated speakers when i test it and both doent work but it hapend that i left it on lineuot , about to force alsa driver ,how can i do that ? i am cheking my mixer again to make shore , thanks

Sorry - I don’t understand your post.