: No sound with ALC260 chip
A message that is not in the archive (sent off-list or not yet received): 002001c6bbbf$ac896170$8801a8c0@dell4150
Quoted 5 lines
Quoted 3 lines
2) do:
rmmod snd-hda-intel
rmmod snd-hda-codecHave
worked( I had to enable the unload option in the kernel and rebuild alsa-driver,ieee80211,ipw2200)
Which upload option?
Quoted 8 lines
Quoted 2 lines
3) try
modprobe snd-hda-intel model=acerHave worked
Quoted 2 lines
With a bit of luck this won't give any errors. Use alsamixer and aplay (for example) to test sound and see if you get any joy.
I get a mistake when I try to start alsamixer -> alsamixer: function
snd_ctl_openfailed for default: No such device
Hmm, that would imply that the sound driver didn't find any suitable hardware. Perhaps try this again and post the last few lines of a dmesg command run immediately after the modprobe. This should tell us what the snd-hda-intel found and what it did.
In another earlier post you also mentioned seeing timeout messages in the dmesg output; do you get these all the time, or just sporadically?
Quoted 1 line
Should I try alsaconf?
Probably not at this stage. While working out precisely what is going on it's easier to stick with doing things manually. Oh yes, it might also be wise to see what is in your /etc/modules.d/alsa file and perhaps temporarily removing it; that way we know there's no potential clash between what's in that and what you try on the command line.
Quoted 2 lines
Alsaconf sais that it will change some things in
/etc/modules.d/alsa. Will it change the option "model=acer" again to default?
I suspect so, so let's leave alsaconf out of it for the moment.
Regards
jonathan
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 5 lines
Quoted 3 lines
2) do:
rmmod snd-hda-intel
rmmod snd-hda-codecHave
worked( I had to enable the unload option in the kernel and rebuild alsa-driver,ieee80211,ipw2200)
Which upload option?
-> Not upload, unload option. I need the unload module option in the kernel. Without it rmmod do not work.
Quoted 8 lines
Quoted 2 lines
3) try
modprobe snd-hda-intel model=acerHave worked
Quoted 2 lines
With a bit of luck this won't give any errors. Use alsamixer and aplay (for example) to test sound and see if you get any joy.
I get a mistake when I try to start alsamixer -> alsamixer: function
snd_ctl_openfailed for default: No such device
Hmm, that would imply that the sound driver didn't find any suitable hardware. Perhaps try this again and post the last few lines of a dmesg command run immediately after the modprobe. This should tell us what the snd-hda-intel found and what it did.
->When i look into modprobe before i modprobe the driver and modprobe him after that i can see 3 new messages:
#modprobe snd-hda-intel model=acer
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA /var/tmp/portage/alsa-driver-1.0.12_rc1-r1/work/alsa-driver-1.0.12rc1/pci/hd a/../../alsa-kernel/pci/hda/hda_intel.c:525: hda_intel: azx_get_response timeout, switching to single_cmd mode...
In another earlier post you also mentioned seeing timeout messages in the dmesg output; do you get these all the time, or just sporadically?
->They are always comming when i start alsa (you see that in the message above)
Quoted 1 line
Should I try alsaconf?
Probably not at this stage. While working out precisely what is going on it's easier to stick with doing things manually. Oh yes, it might also be wise to see what is in your /etc/modules.d/alsa file and perhaps temporarily removing it; that way we know there's no potential clash between what's in that and what you try on the command line.
->Ok, wont use alsaconf
Here is my /etc/modules.d/alsa: http://rafb.net/paste/results/Bi1ad944.html
Quoted 2 lines
Alsaconf sais that it will change some things in
/etc/modules.d/alsa. Will it change the option "model=acer" again to default?
I suspect so, so let's leave alsaconf out of it for the moment.
->Okay
Regards
jonathan
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 2 lines
Quoted 1 line
Which upload option?
Not upload, unload option. I need the unload module option in the kernel.
Ah. Sorry, I should read things more clearly before I respond.
Quoted 1 line
Without it rmmod do not work.
Correct.
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
3) try
modprobe snd-hda-intel model=acerHave worked
Quoted 2 lines
With a bit of luck this won't give any errors. Use alsamixer and aplay (for example) to test sound and see if you get any joy.
Quoted 7 lines
Quoted 2 lines
I get a mistake when I try to start alsamixer -> alsamixer: function
snd_ctl_openfailed for default: No such deviceHmm, that would imply that the sound driver didn't find any suitable hardware. Perhaps try this again and post the last few lines of a dmesg command run immediately after the modprobe. This should tell us what the snd-hda-intel found and what it did.
Quoted 10 lines
When i look into modprobe before i modprobe the driver and modprobe him after that i can see 3 new messages:
#modprobe snd-hda-intel model=acer
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA/var/tmp/portage/alsa-driver-1.0.12_rc1-r1/work/alsa-driver-1.0.12rc1/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:525:hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode...
Right. The first two appear consistent with what I see. However, I only ever see "azx_get_response timeout" messages sporadically and for me they don't seem to cause a problem. However ...
Quoted 5 lines
Quoted 2 lines
In another earlier post you also mentioned seeing timeout messages in the dmesg output; do you get these all the time, or just sporadically?
They are always comming when i start alsa (you see that in the message above)
That doesn't seem right. On the basis of these tests it would appear that Takashi's suggestion of there being a communication problem with the codec seems likely. That would also explain why nothing sound-related appears to be working. FYI the HDA architecture consists of the HDA interface itself and an attached codec chip. The above message could be indicating that while the HDA controller (for want of a better word) is found, the codec chip isn't responding or isn't repsonding properly. It is the codec chip which is responsible for the A-D and D-A conversions.
Once the snd-hda-intel module has loaded, do you see anything interesting in /proc/asound/?
Quoted 1 line
Here is my
/etc/modules.d/alsa: http://rafb.net/paste/results/Bi1ad944.html
Sorry, I never got to this email in time to see it - the above link had expired by the time I tried it.
I'm not entirely sure what to suggest at this point; to me it appears that there is a problem communicating with the codec chip which makes it difficult to make further progress. Is your laptop dual-boot? If so, does sound work correctly in the other OS? Another (extremely remote) possibility is that your laptop doesn't use an ALC260 codec but for some reason it's being misdetected as an ALC260. However, I can find no reference on the web to the codec used in the Acer c204tmi notebook, so I guess for the moment we have to assume that it really is an ALC260. It would be nice to confirm this somehow.
Regards
jonathan
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Tue, 15 Aug 2006 15:34:38 +0930 (CST),
Quoted 45 lines · Jonathan Woithe
Quoted 3 lines
Quoted 2 lines
Which upload option?
Not upload, unload option. I need the unload module option in the kernel.
Ah. Sorry, I should read things more clearly before I respond.
Quoted 1 line
Without it rmmod do not work.
Correct.
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
3) try
modprobe snd-hda-intel model=acerHave worked
Quoted 2 lines
With a bit of luck this won't give any errors. Use alsamixer and aplay (for example) to test sound and see if you get any joy.
Quoted 7 lines
Quoted 2 lines
I get a mistake when I try to start alsamixer -> alsamixer: function
snd_ctl_openfailed for default: No such deviceHmm, that would imply that the sound driver didn't find any suitable hardware. Perhaps try this again and post the last few lines of a dmesg command run immediately after the modprobe. This should tell us what the snd-hda-intel found and what it did.
Quoted 10 lines
When i look into modprobe before i modprobe the driver and modprobe him after that i can see 3 new messages:
#modprobe snd-hda-intel model=acer
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA/var/tmp/portage/alsa-driver-1.0.12_rc1-r1/work/alsa-driver-1.0.12rc1/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:525:hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode...Right. The first two appear consistent with what I see. However, I only ever see "
azx_get_responsetimeout" messages sporadically and for me they don't seem to cause a problem. However ...Quoted 5 lines
Quoted 2 lines
In another earlier post you also mentioned seeing timeout messages in the dmesg output; do you get these all the time, or just sporadically?
They are always comming when i start alsa (you see that in the message above)
Quoted 8 lines
That doesn't seem right. On the basis of these tests it would appear that Takashi's suggestion of there being a communication problem with the codec seems likely. That would also explain why nothing sound-related appears to be working. FYI the HDA architecture consists of the HDA interface itself and an attached codec chip. The above message could be indicating that while the HDA controller (for want of a better word) is found, the codec chip isn't responding or isn't repsonding properly. It is the codec chip which is responsible for the A-D and D-A conversions.
Exactly.
Lubomir, could you try the patch below? The driver will switch to polling mode if the irq mode seems not working. You'll see first a warning message if the mode is switched.
The driver will switch to single-cmd mode after it if even polling mode doesn't work, too.
Takashi
pci/hda/hda_intel.c +17 -1
@@ -332,6 +332,7 @@ struct azx {int position_fix; unsigned int initialized: 1; unsigned int single_cmd: 1; + unsigned int polling_mode: 1; };/* driver types */
@@ -518,8 +519,23 @@ static unsigned int azx_rirb_get_responsstruct azx *chip = codec->bus->private_data;int timeout =50 ; -while (chip->rirb.cmds) { +for (;;) { +if (chip->polling_mode) { +spin_lock_irq (&chip->reg_lock); +azx_update_rirb (chip); +spin_unlock_irq (&chip->reg_lock); + } +if (! chip->rirb.cmds) +break ;if (! --timeout) { +if (! chip->polling_mode) { +snd_printk (KERN_WARNING "hda_intel: " +"azx_get_response timeout, " +"switching to polling mode...\n" ); + chip->polling_mode =1 ; + timeout =50 ; +continue ; + }snd_printk (KERN_ERR "hda_intel: azx_get_response timeout, " "switching to single_cmd mode...\n" );
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 28 lines
At Tue, 15 Aug 2006 15:34:38 +0930 (CST),
Quoted 2 lines · Jonathan Woithe
Quoted 1 line
Which upload option?
Not upload, unload option. I need the unload module option in the
kernel.
Ah. Sorry, I should read things more clearly before I respond.
Quoted 1 line
Without it rmmod do not work.
Correct.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
3) try
modprobe snd-hda-intel model=acerHave worked
Quoted 1 line
With a bit of luck this won't give any errors. Use alsamixer
and
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines
Quoted 1 line
aplay (for example) to test sound and see if you get any joy.
I get a mistake when I try to start alsamixer -> alsamixer: function
snd_ctl_openfailed for default: No such deviceHmm, that would imply that the sound driver didn't find any suitable hardware. Perhaps try this again and post the last few lines of a dmesg command run immediately after the modprobe. This should tell us what the snd-hda-intel found and what it did.
Quoted 9 lines
Quoted 4 lines
When i look into modprobe before i modprobe the driver and modprobe him after that i can see 3 new messages:
#modprobe snd-hda-intel model=acer
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 10 (level,low) ->
Quoted 4 lines
IRQ 10
PCI: Setting latency timer of device 0000:00:1b.0 to 64 ALSA
/var/tmp/portage/alsa-driver-1.0.12_rc1-r1/work/alsa-driver->1.0.12rc1/pci/h d
Quoted 9 lines
Quoted 2 lines
a/../../alsa-kernel/pci/hda/hda_intel.c:525:hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode...Right. The first two appear consistent with what I see. However, I only ever see "
azx_get_responsetimeout" messages sporadically and for me they don't seem to cause a problem. However ...Quoted 2 lines
Quoted 2 lines
In another earlier post you also mentioned seeing timeout messages in the dmesg output; do you get these all the time, or just
Quoted 8 lines
sporadically?
Quoted 3 lines
They are always comming when i start alsa (you see that in the message above)
That doesn't seem right. On the basis of these tests it would appear that Takashi's suggestion of there being a communication problem with the codec seems likely. That would also explain why nothing sound-related appears
to
Quoted 8 lines
be working. FYI the HDA architecture consists of the HDA interface itself and an attached codec chip. The above message could be indicating that while the HDA controller (for want of a better word) is found, the codec chip isn't responding or isn't repsonding properly. It is the codec chip which is responsible for the A-D and D-A conversions.
Exactly.
Quoted 7 lines
Lubomir, could you try the patch below? The driver will switch to polling mode if the irq mode seems not working. You'll see first a warning message if the mode is switched.
The driver will switch to single-cmd mode after it if even polling mode doesn't work, too.Takashi
How can I install the patch? Should I add that lines manually to any configuration file? When yes, in which one?
L.Schmidt
pci/hda/hda_intel.c +13 -1
@@ -332,6 +332,7 @@ struct azx {int position_fix; unsigned int initialized: 1; unsigned int single_cmd: 1; + unsigned int polling_mode: 1; };/* driver types */
@@ -518,8 +519,23 @@ static unsigned int azx_rirb_get_respons struct azx *chip = codec->bus->private_data; int timeout = 50; -while (chip->rirb.cmds) { + for (;;) { + if (chip->polling_mode) { + spin_lock_irq(&chip->reg_lock); + azx_update_rirb(chip); + spin_unlock_irq(&chip->reg_lock); + } + if (! chip->rirb.cmds) + break; if (! --timeout) { + if (! chip->polling_mode) { + snd_printk(KERN_WARNING "hda_intel: " + "azx_get_response timeout, " + "switching to polling
mode...\n");
+ chip->polling_mode = 1;
+ timeout = 50;
+ continue;
+ }
snd_printk(KERN_ERR
"hda_intel: azx_get_response timeout, " "switching to single_cmd mode...\n");
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642