[opensuse-factory] no sound with kernel3.9rc2
Dear All, I hope the celebration for 12.3 release is over and you are ready to roll the factory. I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok. I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases. no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7 regards, Alin -- Without Questions there are no Answers! ______________________________________________________________________ Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________
El 15/03/13 09:52, Alin M Elena escribió:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7
regards, Alin
Sometimes, things go bad restoring asound.state at boot.. try rm /var/lib/alsa/* and reboot. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thank you Cristian, still no sound... here is the alsa-info.sh output http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559 Alin On Fri 15 Mar 2013 13:45:55 Cristian Rodríguez wrote:
El 15/03/13 09:52, Alin M Elena escribió:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7
regards, Alin
Sometimes, things go bad restoring asound.state at boot.. try rm /var/lib/alsa/* and reboot. -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Mar 15, 2013 at 1:07 PM, Alin M Elena <alinm.elena@gmail.com> wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
Alin
On Fri 15 Mar 2013 13:45:55 Cristian Rodríguez wrote:
El 15/03/13 09:52, Alin M Elena escribió:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7
regards, Alin
Looks like the same bug I had. Fix is in bugzilla. https://bugzilla.novell.com/show_bug.cgi?id=805865 summary: pulseaudio is turning down your volume. === Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 0 [0%] [-57.50dB] [on] Front Right: Playback 0 [0%] [-57.50dB] [on] === fyi: I'm not experienced looking at alsa info, so I may be misinterpreting your outputs. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Greg, I do not think is realted to that bug as I run already factory and packages shall be fixed... on top of that... the only thing I change to make the things to work is to boot a different kernel all the rest is the same. Alin On Fri 15 Mar 2013 16:12:15 Greg Freemyer wrote:
On Fri, Mar 15, 2013 at 1:07 PM, Alin M Elena <alinm.elena@gmail.com> wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
Alin
On Fri 15 Mar 2013 13:45:55 Cristian Rodríguez wrote:
El 15/03/13 09:52, Alin M Elena escribió:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72 def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b13 8b7
regards, Alin
Looks like the same bug I had. Fix is in bugzilla.
https://bugzilla.novell.com/show_bug.cgi?id=805865
summary: pulseaudio is turning down your volume.
=== Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 0 [0%] [-57.50dB] [on] Front Right: Playback 0 [0%] [-57.50dB] [on] ===
fyi: I'm not experienced looking at alsa info, so I may be misinterpreting your outputs.
Greg -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Your volume for the main speakers is set to 0%. I doubt that is a kernel issue. Did you try the commands to adjust the speaker volume from the command line? They worked for me even though the gui controls had no effect. Also, the patch only was submitted to factory a day or two ago. Is in yet? Greg Alin M Elena <alinm.elena@gmail.com> wrote:
Hi Greg,
I do not think is realted to that bug as I run already factory and packages shall be fixed... on top of that... the only thing I change to make the things to work is to boot a different kernel all the rest is the same.
Alin
On Fri, Mar 15, 2013 at 1:07 PM, Alin M Elena <alinm.elena@gmail.com> wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
Alin
On Fri 15 Mar 2013 13:45:55 Cristian Rodríguez wrote:
El 15/03/13 09:52, Alin M Elena escribió:
Dear All,
I hope the celebration for 12.3 release is over and you are
ready to
roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and
On Fri 15 Mar 2013 16:12:15 Greg Freemyer wrote: prior
everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound
http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72
def works
http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b13
8b7
regards, Alin
Looks like the same bug I had. Fix is in bugzilla.
https://bugzilla.novell.com/show_bug.cgi?id=805865
summary: pulseaudio is turning down your volume.
=== Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 0 [0%] [-57.50dB] [on] Front Right: Playback 0 [0%] [-57.50dB] [on] ===
fyi: I'm not experienced looking at alsa info, so I may be misinterpreting your outputs.
Greg
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
@ Alin M Elena, on a completely unrelated note, in that diagnostic output I note this in your dmesg ... [ 14.531959] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. I'm not certain I understand that 100% but it does appear you have a problem with sda1 with possible corrupt data. If this is a FAT 32 partition and if you have an MS-Windows partition (presumeably on sda1) you may wish to boot to that and then in a command terminal (dos window) run "chkdsk /f" (or something like that - I am pathetic with MS-Windows). Lee On 03/15/2013 06:07 PM, Alin M Elena wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
on the sda1 issue... that is my efi partition I have no traces of windows on my machine... is pure opensuse... Alin On 16 March 2013 09:15, oldcpu <oldcpu@opensuse-forums.org> wrote:
@ Alin M Elena, on a completely unrelated note, in that diagnostic output I note this in your dmesg ...
[ 14.531959] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I'm not certain I understand that 100% but it does appear you have a problem with sda1 with possible corrupt data. If this is a FAT 32 partition and if you have an MS-Windows partition (presumeably on sda1) you may wish to boot to that and then in a command terminal (dos window) run "chkdsk /f" (or something like that - I am pathetic with MS-Windows).
Lee
On 03/15/2013 06:07 PM, Alin M Elena wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
on the sound issues.. still no sound.. here there are the outputs... I still think this is a kernel issue... as the only thing I change is the kernel and I udnerstood some changes to sound handling in kernel happened in 3.9 Alin [alin@abbaton:~]: amixer -c 0 -- set Speaker playback 75% Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 96 [76%] [-9.50dB] [on] Front Right: Playback 96 [76%] [-9.50dB] [on] [alin@abbaton:~]: amixer -c 0 -- set Master playback 75% Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 96 [76%] [-15.50dB] [on] On 16 March 2013 11:00, Alin Marin Elena <alinm.elena@gmail.com> wrote:
on the sda1 issue... that is my efi partition I have no traces of windows on my machine... is pure opensuse...
Alin
On 16 March 2013 09:15, oldcpu <oldcpu@opensuse-forums.org> wrote:
@ Alin M Elena, on a completely unrelated note, in that diagnostic output I note this in your dmesg ...
[ 14.531959] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I'm not certain I understand that 100% but it does appear you have a problem with sda1 with possible corrupt data. If this is a FAT 32 partition and if you have an MS-Windows partition (presumeably on sda1) you may wish to boot to that and then in a command terminal (dos window) run "chkdsk /f" (or something like that - I am pathetic with MS-Windows).
Lee
On 03/15/2013 06:07 PM, Alin M Elena wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
To help help provide more confidence that this is a kernel-3.9rc2 issue, what was your test for sound functionality ? I note from the script: APLAY **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 0: CS4206 Analog [CS4206 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 1: CS4206 Digital [CS4206 Digital] Subdevices: 1/1 ie your sound device is either hw:0,0, or hw:0,1. Did you try test commands such as: speaker-test -c2 -t wav and/or this test aplay -vv /usr/share/sounds/alsa/test.wav or aplay -D hw:0,0 /usr/share/sounds/alsa/test.wav or aplay -D hw:0,1 /usr/share/sounds/alsa/test.wav ... or instead of /usr/share/sounds/alsa/test.wav you could use 'somefile.wav' which would be a .wav file of your choosing. Assuming none of the above work, then it its up to the sound guru's in this list to provide a way forward. Lee On 03/16/2013 12:03 PM, Alin Marin Elena wrote:
on the sound issues.. still no sound.. here there are the outputs... I still think this is a kernel issue... as the only thing I change is the kernel and I udnerstood some changes to sound handling in kernel happened in 3.9
Alin
[alin@abbaton:~]: amixer -c 0 -- set Speaker playback 75% Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 96 [76%] [-9.50dB] [on] Front Right: Playback 96 [76%] [-9.50dB] [on] [alin@abbaton:~]: amixer -c 0 -- set Master playback 75% Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 96 [76%] [-15.50dB] [on]
On 16 March 2013 11:00, Alin Marin Elena <alinm.elena@gmail.com> wrote:
on the sda1 issue... that is my efi partition I have no traces of windows on my machine... is pure opensuse...
Alin
On 16 March 2013 09:15, oldcpu <oldcpu@opensuse-forums.org> wrote:
@ Alin M Elena, on a completely unrelated note, in that diagnostic output I note this in your dmesg ...
[ 14.531959] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I'm not certain I understand that 100% but it does appear you have a problem with sda1 with possible corrupt data. If this is a FAT 32 partition and if you have an MS-Windows partition (presumeably on sda1) you may wish to boot to that and then in a command terminal (dos window) run "chkdsk /f" (or something like that - I am pathetic with MS-Windows).
Lee
On 03/15/2013 06:07 PM, Alin M Elena wrote:
Thank you Cristian,
still no sound... here is the alsa-info.sh output
http://www.alsa-project.org/db/?f=f73151ce6be2b8ef0755d3a580915f4d38896559
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
At Fri, 15 Mar 2013 12:52:39 +0000, Alin M Elena wrote:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7
This should have been fixed in 3.9-rc3 kernel. Give it a try. If still not fixed, please open a bug report on bugzilla.kernel.org. thanks, Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
thank you Takashi I will keep you posted. Alin On 18 March 2013 09:15, Takashi Iwai <tiwai@suse.de> wrote:
At Fri, 15 Mar 2013 12:52:39 +0000, Alin M Elena wrote:
Dear All,
I hope the celebration for 12.3 release is over and you are ready to roll the factory.
I was playing with kernel 3.9.rc2 form KH and I had the unpleasant surprise to find myself without sound... With 3.8.2 kernel and prior everything is ok.
I have pasted links to the alsa-info.sh outputs and attached the kernel log for both cases.
no sound http://www.alsa-project.org/db/?f=75737f80ac2a65b7b3e0a39e7cb1330335c72def works http://www.alsa-project.org/db/?f=9b80d10ef648afb39e9d87a2c57fd8d112b138b7
This should have been fixed in 3.9-rc3 kernel. Give it a try.
If still not fixed, please open a bug report on bugzilla.kernel.org.
thanks,
Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
This should have been fixed in 3.9-rc3 kernel. Give it a try.
If still not fixed, please open a bug report on bugzilla.kernel.org. Takashi, now I know I look like a noob.. but the tree I am using for kernel claims to have still rc2.. git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
can you suggest one that has rc3 or... the fix is already in this tree only the label is not yet put by Linus. Alin -- Without Questions there are no Answers! ______________________________________________________________________ Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
At Mon, 18 Mar 2013 12:26:03 +0000, Alin M Elena wrote:
This should have been fixed in 3.9-rc3 kernel. Give it a try.
If still not fixed, please open a bug report on bugzilla.kernel.org. Takashi, now I know I look like a noob.. but the tree I am using for kernel claims to have still rc2.. git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
It's linux-stable, which isn't for 3.9-rc at all. Use Linus's tree or just take 3.9-rc3 tarball. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
It's linux-stable, which isn't for 3.9-rc at all. Use Linus's tree or just take 3.9-rc3 tarball. took the tarball... build it soonI will reboot and see.
Alin -- Without Questions there are no Answers! ______________________________________________________________________ Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Takashi, I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug. regards, Alin -- Without Questions there are no Answers! ______________________________________________________________________ Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
At Mon, 18 Mar 2013 14:03:38 +0000, Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla. thanks, Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
At Mon, 18 Mar 2013 16:50:20 +0100, Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000, Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Meanwhile I think I found the culprit. Try to plug and unplug the headphone jack once after boot. Then the speaker should start working. If it's the case, the patch below should fix the issue. Takashi --- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver I forgot to update spec->gpio_data in the automute hook, so it will be overridden at the init sequence, thus the machine is still silent when no headphone jack is plugged at boot time. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/patch_cirrus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 60d08f6..0d9c58f 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec) snd_hda_gen_update_outputs(codec); if (spec->gpio_eapd_hp) { - unsigned int gpio = spec->gen.hp_jack_present ? + spec->gpio_data = spec->gen.hp_jack_present ? spec->gpio_eapd_hp : spec->gpio_eapd_speaker; snd_hda_codec_write(codec, 0x01, 0, - AC_VERB_SET_GPIO_DATA, gpio); + AC_VERB_SET_GPIO_DATA, spec->gpio_data); } } -- 1.8.2 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Takashi, Today I tested it without the headphones... I will try the trick with headphones in few minutes. regards, Alin On Mon 18 Mar 2013 16:58:17 Takashi Iwai wrote:
At Mon, 18 Mar 2013 16:50:20 +0100,
Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Meanwhile I think I found the culprit.
Try to plug and unplug the headphone jack once after boot. Then the speaker should start working.
If it's the case, the patch below should fix the issue.
Takashi
--- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
I forgot to update spec->gpio_data in the automute hook, so it will be overridden at the init sequence, thus the machine is still silent when no headphone jack is plugged at boot time.
Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/patch_cirrus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 60d08f6..0d9c58f 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec) snd_hda_gen_update_outputs(codec);
if (spec->gpio_eapd_hp) { - unsigned int gpio = spec->gen.hp_jack_present ? + spec->gpio_data = spec->gen.hp_jack_present ? spec->gpio_eapd_hp : spec->gpio_eapd_speaker; snd_hda_codec_write(codec, 0x01, 0, - AC_VERB_SET_GPIO_DATA, gpio); + AC_VERB_SET_GPIO_DATA, spec->gpio_data); } } -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Takashi you are a star... the headphone in/out brought me sound... I did not test the patch yet... now applying it.. Alin On Mon 18 Mar 2013 16:58:17 Takashi Iwai wrote:
At Mon, 18 Mar 2013 16:50:20 +0100,
Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Meanwhile I think I found the culprit.
Try to plug and unplug the headphone jack once after boot. Then the speaker should start working.
If it's the case, the patch below should fix the issue.
Takashi
--- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
I forgot to update spec->gpio_data in the automute hook, so it will be overridden at the init sequence, thus the machine is still silent when no headphone jack is plugged at boot time.
Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/patch_cirrus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 60d08f6..0d9c58f 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec) snd_hda_gen_update_outputs(codec);
if (spec->gpio_eapd_hp) { - unsigned int gpio = spec->gen.hp_jack_present ? + spec->gpio_data = spec->gen.hp_jack_present ? spec->gpio_eapd_hp : spec->gpio_eapd_speaker; snd_hda_codec_write(codec, 0x01, 0, - AC_VERB_SET_GPIO_DATA, gpio); + AC_VERB_SET_GPIO_DATA, spec->gpio_data); } } -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I can confirm the patch solves the issue. Thank you once more Takashi! Alin On Mon 18 Mar 2013 16:58:17 Takashi Iwai wrote:
At Mon, 18 Mar 2013 16:50:20 +0100,
Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Meanwhile I think I found the culprit.
Try to plug and unplug the headphone jack once after boot. Then the speaker should start working.
If it's the case, the patch below should fix the issue.
Takashi
--- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
I forgot to update spec->gpio_data in the automute hook, so it will be overridden at the init sequence, thus the machine is still silent when no headphone jack is plugged at boot time.
Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/patch_cirrus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 60d08f6..0d9c58f 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec) snd_hda_gen_update_outputs(codec);
if (spec->gpio_eapd_hp) { - unsigned int gpio = spec->gen.hp_jack_present ? + spec->gpio_data = spec->gen.hp_jack_present ? spec->gpio_eapd_hp : spec->gpio_eapd_speaker; snd_hda_codec_write(codec, 0x01, 0, - AC_VERB_SET_GPIO_DATA, gpio); + AC_VERB_SET_GPIO_DATA, spec->gpio_data); } } -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
At Mon, 18 Mar 2013 16:40:18 +0000, Alin M Elena wrote:
I can confirm the patch solves the issue. Thank you once more Takashi!
Good to hear. I'll push the fix to the upstream now. It'll be merged to 3.9-rc4. Thanks for your quick tests! Takashi
Alin
On Mon 18 Mar 2013 16:58:17 Takashi Iwai wrote:
At Mon, 18 Mar 2013 16:50:20 +0100,
Takashi Iwai wrote:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Meanwhile I think I found the culprit.
Try to plug and unplug the headphone jack once after boot. Then the speaker should start working.
If it's the case, the patch below should fix the issue.
Takashi
--- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
I forgot to update spec->gpio_data in the automute hook, so it will be overridden at the init sequence, thus the machine is still silent when no headphone jack is plugged at boot time.
Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/patch_cirrus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 60d08f6..0d9c58f 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -168,10 +168,10 @@ static void cs_automute(struct hda_codec *codec) snd_hda_gen_update_outputs(codec);
if (spec->gpio_eapd_hp) { - unsigned int gpio = spec->gen.hp_jack_present ? + spec->gpio_data = spec->gen.hp_jack_present ? spec->gpio_eapd_hp : spec->gpio_eapd_speaker; snd_hda_codec_write(codec, 0x01, 0, - AC_VERB_SET_GPIO_DATA, gpio); + AC_VERB_SET_GPIO_DATA, spec->gpio_data); } } -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath
----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 18.03.2013 16:50, schrieb Takashi Iwai:
At Mon, 18 Mar 2013 14:03:38 +0000, Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Takashi, 3.9-rc2 does no sound for me, too, but it is not an alsa problem but something about ACLs, https://bugzilla.novell.com/show_bug.cgi?id=809918 Not sure but maybe the same problem is involved here. -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Stefan, on my machine it seems I have the +... only one device is missing it... [root@abbaton:/home/alin]: l /dev/snd total 0 drwxr-xr-x 3 root root 320 Mar 19 09:25 ./ drwxr-xr-x 20 root root 3980 Mar 19 09:26 ../ drwxr-xr-x 2 root root 60 Mar 19 09:25 by-path/ crw-rw----+ 1 root audio 116, 12 Mar 19 09:25 controlC0 crw-rw----+ 1 root audio 116, 11 Mar 19 09:25 hwC0D0 crw-rw----+ 1 root audio 116, 10 Mar 19 09:25 hwC0D3 crw-rw----+ 1 root audio 116, 9 Mar 19 09:25 hwC0D4 crw-rw----+ 1 root audio 116, 8 Mar 19 09:25 hwC0D5 crw-rw----+ 1 root audio 116, 7 Mar 19 09:28 pcmC0D0c crw-rw----+ 1 root audio 116, 6 Mar 19 09:28 pcmC0D0p crw-rw----+ 1 root audio 116, 5 Mar 19 09:27 pcmC0D1p crw-rw----+ 1 root audio 116, 4 Mar 19 09:27 pcmC0D3p crw-rw----+ 1 root audio 116, 3 Mar 19 09:27 pcmC0D7p crw-rw----+ 1 root audio 116, 2 Mar 19 09:27 pcmC0D8p crw-rw----+ 1 root audio 116, 1 Mar 19 09:25 seq crw-rw----+ 1 root audio 116, 33 Mar 19 09:25 timer [root@abbaton:/home/alin]: l /dev/dri/ total 0 drwxr-xr-x 2 root root 80 Mar 19 09:25 ./ drwxr-xr-x 20 root root 3980 Mar 19 09:26 ../ crw-rw----+ 1 root video 226, 0 Mar 19 09:25 card0 crw-rw---- 1 root video 226, 64 Mar 19 09:25 controlD64 On Tue 19 Mar 2013 11:00:59 Stefan Seyfried wrote:
Am 18.03.2013 16:50, schrieb Takashi Iwai:
At Mon, 18 Mar 2013 14:03:38 +0000,
Alin M Elena wrote:
Takashi,
I have build rc3 from tar ball unfortunately no luck... still no sound... I will wait to confirm that this happens with the packages form KH when rc3 and then I may report it as a bug.
In that case, don't forget to attach alsa-info.sh outputs with --no-upload option to bugzilla.
Takashi, 3.9-rc2 does no sound for me, too, but it is not an alsa problem but something about ACLs, https://bugzilla.novell.com/show_bug.cgi?id=809918
Not sure but maybe the same problem is involved here. -- Without Questions there are no Answers!
Alin Marin ELENA Advanced Molecular Simulation Research Laboratory School of Physics, University College Dublin ---- Ardionsamblú Móilíneach Saotharlann Taighde Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath ----------------------------------------------------------------------------------- http://alin.elenaworld.net ______________________________________________________________________ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 03/18/2013 07:26 AM, Alin M Elena wrote:
This should have been fixed in 3.9-rc3 kernel. Give it a try.
If still not fixed, please open a bug report on bugzilla.kernel.org. Takashi, now I know I look like a noob.. but the tree I am using for kernel claims to have still rc2.. git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
can you suggest one that has rc3 or... the fix is already in this tree only the label is not yet put by Linus.
Alin, I suggest that you edit the file .git/config in your local repo and change the url line to url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git That way a 'git pull' will always result in the latest that Linus has committed. If your sound does not work on that, you should likely report it at linux-kernel@vger.kernel.org. I did not follow the start of this thread so I do not know if this is strictly a kernel regression, or some problem that appeared when user space changed. If the former, a bisection might be in order. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (8)
-
Alin M Elena
-
Alin Marin Elena
-
Cristian Rodríguez
-
Greg Freemyer
-
Larry Finger
-
oldcpu
-
Stefan Seyfried
-
Takashi Iwai