[alsa-devel] Fedora 10 x86_64 alsa problem: Realtek ALC889A Audio Codec(ATI azalia) not detected on alsa
I wrote this on https://bugzilla.redhat.com/show_bug.cgi?id=489828 I've used the driver of kernel package. And Mr. Jaroslav Kysela replied me that I could try snapshot source. (Thx, Mr. Jaroslav Kysela. And on #alsa on Freenode, Thingol and gnubien advised me much. Thank you!) But I couldn't get sound back none of both: stable(alsa-driver-1.0.19) and snapshot (alsa-driver-1.0.19.34.g70f78.363.g0ec3b). My alsa info is on http://www.alsa-project.org/db/?f=af6a6e787d4bd5212bf766bf5d09fda1ab5e2300 I use desktop. Its mother board is GA-MA69H-S3H . The soundcard is onboard. Realtek ALC889A Audio Codec. # lspci |grep -i "multi|audio|040[0-3]" # Audio device: ATI Technologies Inc SB600 Azalia (Intel HDA) When I installed stable release of alsa-driver --with-debug=verbose , dmesg says HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:2218: chipset global capabilities = 0x4401 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:786: codec_mask = 0x8 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:788: hda_codec: no AFG or MFG node found ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:1298: hda-intel: no codecs initialized HDA Intel 0000:00:14.2: PCI INT A disabled
On Sat, Mar 14, 2009 at 7:50 PM, Emmanuel Chanel emmanuelchanel@gmail.com wrote:
I wrote this on https://bugzilla.redhat.com/show_bug.cgi?id=489828 I've used the driver of kernel package. And Mr. Jaroslav Kysela replied me that I could try snapshot source. (Thx, Mr. Jaroslav Kysela. And on #alsa on Freenode, Thingol and gnubien advised me much. Thank you!) But I couldn't get sound back none of both: stable(alsa-driver-1.0.19) and snapshot (alsa-driver-1.0.19.34.g70f78.363.g0ec3b). My alsa info is on http://www.alsa-project.org/db/?f=af6a6e787d4bd5212bf766bf5d09fda1ab5e2300 I use desktop. Its mother board is GA-MA69H-S3H . The soundcard is onboard. Realtek ALC889A Audio Codec. # lspci |grep -i "multi|audio|040[0-3]" # Audio device: ATI Technologies Inc SB600 Azalia (Intel HDA) When I installed stable release of alsa-driver --with-debug=verbose , dmesg says HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:2218: chipset global capabilities = 0x4401 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:786: codec_mask = 0x8 ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:788: hda_codec: no AFG or MFG node found ALSA /home/emmanuel/Softwares/alsa-driver-1.0.19/pci/hda/hda_intel.c:1298: hda-intel: no codecs initialized HDA Intel 0000:00:14.2: PCI INT A disabled
-- Emmanuel Chanel emmanuelchanel@gmail.com
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I'm like 99% sure that this board is working. A friend of mine had Gigabyte 690G, and I believe it was this one and it was working fully. Are you sure everything is enabled (not auto) in BIOS properly and that you have lastest BIOS?
Vedran Miletić
I'm like 99% sure that this board is working. A friend of mine had Gigabyte 690G, and I believe it was this one and it was working fully. Are you sure everything is enabled (not auto) in BIOS properly and that you have lastest BIOS?
Vedran Miletić
When I checked BIOS, onboard sound setting was "AUTO" and not Enabled. But I could listen system sound on Ubuntu 7.04 i386 Live CD. So it wouldnb't be the BIOS problem. I'm not sure that I have latest BIOS since I haven't updated BIOS or even booted Windows on it.
The problem "Fedora 10 x86_64 alsa problem: Realtek ALC889A Audio Codec(ATI azalia) not detected on alsa" seems solved. I consulted #alsa on FreeNode. And Mr. Daniel Koukola discovered the reason. He spared for 14 hours in all this evening and all this night for my problem. Thank you very, very, much, Mr. Daniel Koukola! See https://bugzilla.redhat.com/show_bug.cgi?id=489828 #17 and #18
------ [emmanuel@star1 hda]$ pwd /home/emmanuel/Softwares/alsa-driver-1.0.19/alsa-kernel/pci/hda [emmanuel@star1 hda]$ diff hda_intel.c{0,} 2215,2216c2215,2218 < if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) < pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); ---
/* if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); */ pci_set_dma_mask(pci, DMA_32BIT_MASK); pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK);
At Sun, 15 Mar 2009 14:02:36 +0900, Emmanuel Chanel wrote:
The problem "Fedora 10 x86_64 alsa problem: Realtek ALC889A Audio Codec(ATI azalia) not detected on alsa" seems solved. I consulted #alsa on FreeNode. And Mr. Daniel Koukola discovered the reason. He spared for 14 hours in all this evening and all this night for my problem. Thank you very, very, much, Mr. Daniel Koukola! See https://bugzilla.redhat.com/show_bug.cgi?id=489828 #17 and #18
Hmm, then it's a bug of AMD/ATI controller chip.
The problem is however likely only about CORB/RIRB addresses, and not about the sample buffers. So setting 32bit there couldn't be the "right" fix.
How about the patch below?
thanks,
Takashi ---
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 92a73e8..2a7b9ab 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2136,7 +2136,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, struct azx **rchip) { struct azx *chip; - int i, err; + int i, err, rirb_32bit; unsigned short gcap; static struct snd_device_ops ops = { .dev_free = azx_dev_free, @@ -2218,11 +2218,21 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, pci_set_master(pci); synchronize_irq(chip->irq);
+ /* ATI chips seems buggy about 64bit CORB/RIRB addresses */ + if (chip->driver_type == AZX_DRIVER_ATI) + rirb_32bit = 1; + else + rirb_32bit = 0; + gcap = azx_readw(chip, GCAP); snd_printdd("chipset global capabilities = 0x%x\n", gcap);
/* allow 64bit DMA address if supported by H/W */ - if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + /* Don't set 64bit DMA here for the controller buffer allocations + * on some buggy hardwares + */ + if (!rirb_32bit && + (gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK);
/* read number of streams from GCAP register instead of using @@ -2309,6 +2319,11 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, sprintf(card->longname, "%s at 0x%lx irq %i", card->shortname, chip->addr, chip->irq);
+ /* allow 64bit DMA address if supported by H/W (if not set yet) */ + if (rirb_32bit && + (gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + *rchip = chip; return 0;
At Mon, 16 Mar 2009 08:15:21 +0100, I wrote:
At Sun, 15 Mar 2009 14:02:36 +0900, Emmanuel Chanel wrote:
The problem "Fedora 10 x86_64 alsa problem: Realtek ALC889A Audio Codec(ATI azalia) not detected on alsa" seems solved. I consulted #alsa on FreeNode. And Mr. Daniel Koukola discovered the reason. He spared for 14 hours in all this evening and all this night for my problem. Thank you very, very, much, Mr. Daniel Koukola! See https://bugzilla.redhat.com/show_bug.cgi?id=489828 #17 and #18
Hmm, then it's a bug of AMD/ATI controller chip.
The problem is however likely only about CORB/RIRB addresses, and not about the sample buffers. So setting 32bit there couldn't be the "right" fix.
How about the patch below?
BTW, the very latest alsa-driver snapshot tarball is found at: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Use this for testing.
Takashi
Takashi Iwai wrote at 08:15 +0100 , 2009-03-16 (Mon)
Hmm, then it's a bug of AMD/ATI controller chip.
The problem is however likely only about CORB/RIRB addresses, and not about the sample buffers. So setting 32bit there couldn't be the "right" fix.
Yeah, he said so, too. I mistook.
How about the patch below?
I tried but it says
---- [emmanuel@star1 alsa-driver-1.0.19]$ patch -p1 < hda_intel_Takashi_Iwai_0903161.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2319. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej ----
Which version of the source shall I patch ? svn ?
On Mon, Mar 16, 2009 at 10:53 AM, Emmanuel Chanel emmanuelchanel@gmail.com wrote:
Takashi Iwai wrote at 08:15 +0100 , 2009-03-16 (Mon)
Hmm, then it's a bug of AMD/ATI controller chip.
The problem is however likely only about CORB/RIRB addresses, and not about the sample buffers. So setting 32bit there couldn't be the "right" fix.
Yeah, he said so, too. I mistook.
How about the patch below?
I tried but it says
[emmanuel@star1 alsa-driver-1.0.19]$ patch -p1 < hda_intel_Takashi_Iwai_0903161.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2319. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej
Which version of the source shall I patch ? svn ?
-- Emmanuel Chanel emmanuelchanel@gmail.com
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Always apply patches to Takashi's git tree linked above.
Vedran Miletić
At Mon, 16 Mar 2009 18:53:02 +0900, Emmanuel Chanel wrote:
Takashi Iwai wrote at 08:15 +0100 , 2009-03-16 (Mon)
Hmm, then it's a bug of AMD/ATI controller chip.
The problem is however likely only about CORB/RIRB addresses, and not about the sample buffers. So setting 32bit there couldn't be the "right" fix.
Yeah, he said so, too. I mistook.
How about the patch below?
I tried but it says
[emmanuel@star1 alsa-driver-1.0.19]$ patch -p1 < hda_intel_Takashi_Iwai_0903161.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2319. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej
Which version of the source shall I patch ? svn ?
The latest alsa-driver GIT tree is found in sound git tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
The corresponding snapshot tarball is at: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Takashi
ok. I could patch. I did $ ./configure --with-debug=verbose $ make $ su -c 'make install'
The result is below and it's not detected on alsa. Pulse's Volume Control says no hardware devices but "Null Sound Output".
[root@star1 ~]# date -R Mon, 16 Mar 2009 22:11:14 +0900 [root@star1 ~]# modprobe snd_hda_intel [root@star1 ~]# tail /var/log/messages Mar 16 22:03:50 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:924: hda_codec: no AFG or MFG node found Mar 16 22:03:50 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1297: hda-intel: no codecs initialized Mar 16 22:03:50 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A disabled Mar 16 22:11:22 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Mar 16 22:11:22 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2228: chipset global capabilities = 0x4401 Mar 16 22:11:22 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:786: codec_mask = 0x8 Mar 16 22:11:22 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK Mar 16 22:11:22 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:924: hda_codec: no AFG or MFG node found Mar 16 22:11:22 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1297: hda-intel: no codecs initialized Mar 16 22:11:22 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A disabled [root@star1 ~]# lspci |grep -i "multi|audio|040[0-3]" 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
At Mon, 16 Mar 2009 22:18:03 +0900, Emmanuel Chanel wrote:
ok. I could patch. I did $ ./configure --with-debug=verbose $ make $ su -c 'make install'
The result is below and it's not detected on alsa. Pulse's Volume Control says no hardware devices but "Null Sound Output".
Hm, how about the patch below then?
thanks,
Takashi ---
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 92a73e8..eb33e15 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2136,7 +2136,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, struct azx **rchip) { struct azx *chip; - int i, err; + int i, err, rirb_32bit; unsigned short gcap; static struct snd_device_ops ops = { .dev_free = azx_dev_free, @@ -2218,12 +2218,26 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, pci_set_master(pci); synchronize_irq(chip->irq);
+ /* ATI chips seems buggy about 64bit CORB/RIRB addresses */ + if (chip->driver_type == AZX_DRIVER_ATI) + rirb_32bit = 1; + else + rirb_32bit = 0; + gcap = azx_readw(chip, GCAP); snd_printdd("chipset global capabilities = 0x%x\n", gcap);
/* allow 64bit DMA address if supported by H/W */ - if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + /* Don't set 64bit DMA here for the controller buffer allocations + * on some buggy hardwares + */ + if (!rirb_32bit && + (gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + else { + pci_set_dma_mask(pci, DMA_32BIT_MASK); + pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK); + }
/* read number of streams from GCAP register instead of using * hardcoded value @@ -2309,6 +2323,11 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, sprintf(card->longname, "%s at 0x%lx irq %i", card->shortname, chip->addr, chip->irq);
+ /* allow 64bit DMA address if supported by H/W (if not set yet) */ + if (rirb_32bit && + (gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + *rchip = chip; return 0;
When I did tar xvf Softwares/alsa-driver-snapshot.tar.gz cd alsa-driver
I couldn't patch again... I modified my hands, though. I tried the modification. I couldn't listen any sounds. --(About patch problem) [emmanuel@star1 alsa-driver]$ patch -p1 < patch-Takashi_Iwai_0903162.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2323. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej -- The soundcard is detected on alsa but it doesn't output sound. [root@star1 ~]# cat /proc/asound/cards 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe024000 irq 16 -- -- About the test /var/log/messages [root@star1 ~]# ls /proc/asound/card0/ codec#3 id oss_mixer pcm0c pcm0p pcm1c pcm1p pcm2c [root@star1 ~]# grep 'Mar 17 00:0' /var/log/messages Mar 17 00:00:02 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A disabled Mar 17 00:01:13 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2228: chipset global capabilities = 0x4401 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:786: codec_mask = 0x8 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:2962: hda_codec: model '6stack-dig' is selected for config 1458:a002 (Gigabyte P35 DS3R) Mar 17 00:01:13 star1 kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input8 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Headphone Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Line-Out Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave PCM Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Switch, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Switch, skipped Mar 17 00:02:04 star1 acpid: client connected from 27093[0:0] Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges: Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits. Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user. Mar 17 00:02:14 star1 kernel: hda-intel: Invalid position buffer, using LPIB read method instead. Mar 17 00:02:14 star1 pulseaudio[28931]: pid.c: Daemon already running. Mar 17 00:02:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 00:02:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x5000, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0xc000, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 [root@star1 ~]# grep 'Mar 17 00:0' /var/log/messages Mar 17 00:00:02 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A disabled Mar 17 00:01:13 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2228: chipset global capabilities = 0x4401 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:786: codec_mask = 0x8 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:2962: hda_codec: model '6stack-dig' is selected for config 1458:a002 (Gigabyte P35 DS3R) Mar 17 00:01:13 star1 kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input8 Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Headphone Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Line-Out Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave PCM Playback Volume, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Switch, skipped Mar 17 00:01:13 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Switch, skipped Mar 17 00:02:04 star1 acpid: client connected from 27093[0:0] Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges: Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits. Mar 17 00:02:14 star1 pulseaudio[28904]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user. Mar 17 00:02:14 star1 kernel: hda-intel: Invalid position buffer, using LPIB read method instead. Mar 17 00:02:14 star1 pulseaudio[28931]: pid.c: Daemon already running. Mar 17 00:02:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 00:02:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:24 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:35 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4031 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:36 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x5000, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:38 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0xc000, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x11 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 00:02:39 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6
--
2009-03-16 (Mon) 14:25 +0100 Takashi Iwai wrote:
At Mon, 16 Mar 2009 22:18:03 +0900, Emmanuel Chanel wrote:
ok. I could patch. I did $ ./configure --with-debug=verbose $ make $ su -c 'make install'
The result is below and it's not detected on alsa. Pulse's Volume Control says no hardware devices but "Null Sound Output".
Hm, how about the patch below then?
thanks,
Takashi
At Tue, 17 Mar 2009 00:15:49 +0900, Emmanuel Chanel wrote:
When I did tar xvf Softwares/alsa-driver-snapshot.tar.gz cd alsa-driver
I couldn't patch again... I modified my hands, though. I tried the modification. I couldn't listen any sounds. --(About patch problem) [emmanuel@star1 alsa-driver]$ patch -p1 < patch-Takashi_Iwai_0903162.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2323. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej
% cd alsa-driver/alsa-kernel % patch -p2 < MYPATCH
-- The soundcard is detected on alsa but it doesn't output sound.
Run alsa-info.sh with --no-upload option and attach the generated file. The script is found at http://www.alsa-project.org/alsa-info.sh
Takashi
At Mon, 16 Mar 2009 16:35:32 +0100, I wrote:
At Tue, 17 Mar 2009 00:15:49 +0900, Emmanuel Chanel wrote:
When I did tar xvf Softwares/alsa-driver-snapshot.tar.gz cd alsa-driver
I couldn't patch again... I modified my hands, though. I tried the modification. I couldn't listen any sounds. --(About patch problem) [emmanuel@star1 alsa-driver]$ patch -p1 < patch-Takashi_Iwai_0903162.diff patching file sound/pci/hda/hda_intel.c Hunk #1 FAILED at 2136. Hunk #2 FAILED at 2218. Hunk #3 FAILED at 2323. 3 out of 3 hunks FAILED -- saving rejects to file sound/pci/hda/hda_intel.c.rej
% cd alsa-driver/alsa-kernel % patch -p2 < MYPATCH
-- The soundcard is detected on alsa but it doesn't output sound.
Run alsa-info.sh with --no-upload option and attach the generated file. The script is found at http://www.alsa-project.org/alsa-info.sh
Also, check whether the driver without my patch but only with your original change (force to set 32bit DMA) works together with the latest alsa-driver snapshot.
If 32bit DMA works as is, then my patch is wrong. It shouldn't set 64bit DMA after CORB/RIRB allocation.
Takashi
Failed to listen by your 2nd patch.(I couldn't succeed by patch -p2 < YourPatch again. So I modified by hand, again.) And soon later, I'll test the Daniel Koukola's change(What you call "your original change"). Picked from /var/log/messages
Mar 17 01:44:25 star1 kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2228: chipset global capabilities = 0x4401 Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:786: codec_mask = 0x8 Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1214: hda_intel: codec #3 probed OK Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:2962: hda_codec: model '6stack-dig' is selected for config 1458:a002 (Gigabyte P35 DS3R) Mar 17 01:44:25 star1 kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input11 Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Headphone Playback Volume, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Volume, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Volume, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Line-Out Playback Volume, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave PCM Playback Volume, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Speaker Playback Switch, skipped Mar 17 01:44:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1569: Cannot find slave Mono Playback Switch, skipped Mar 17 01:44:31 star1 acpid: client connected from 29185[0:0] Mar 17 01:44:44 star1 pulseaudio[30244]: pid.c: Stale PID file, overwriting. Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:44 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 01:44:45 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:44:45 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 01:44:45 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:44:45 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x7, stream=0x1, channel=0, format=0x4011 Mar 17 01:44:45 star1 pulseaudio[30272]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges: Mar 17 01:44:45 star1 pulseaudio[30272]: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits. Mar 17 01:44:45 star1 pulseaudio[30272]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user. Mar 17 01:44:45 star1 pulseaudio[30276]: pid.c: Daemon already running. Mar 17 01:44:45 star1 kernel: hda-intel: Invalid position buffer, using LPIB read method instead. Mar 17 01:44:50 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 01:44:50 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x7 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x2 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x3 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x4 Mar 17 01:44:54 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x5 Mar 17 01:44:59 star1 scim-bridge: Cleanup, done. Exitting... Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x4011 Mar 17 01:46:58 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x6, channel=0, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x6, channel=0, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x10000, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x6, channel=0, format=0x4031 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:47:19 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:47:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0x5000, format=0x4011 Mar 17 01:47:25 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x6, channel=0, format=0x4011 Mar 17 01:47:27 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:47:27 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1473: azx_pcm_prepare: bufsize=0xc000, format=0x11 Mar 17 01:47:27 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1027: hda_codec_setup_stream: NID=0x6, stream=0x6, channel=0, format=0x11 Mar 17 01:47:27 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6 Mar 17 01:47:29 star1 kernel: ALSA /home/emmanuel/Softwares/alsa-driver-090317/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:1040: hda_codec_cleanup_stream: NID=0x6
At Tue, 17 Mar 2009 01:56:26 +0900, Emmanuel Chanel wrote:
Failed to listen by your 2nd patch.(I couldn't succeed by patch -p2 < YourPatch again. So I modified by hand, again.) And soon later, I'll test the Daniel Koukola's change(What you call "your original change"). Picked from /var/log/messages
The log doesn't matter in this case... Did it work (i.e. the sound is heard)?
thanks,
Takashi
Failed to listen by your 2nd patch.(I couldn't succeed by patch -p2 < YourPatch again. So I modified by hand, again.) And soon later, I'll test the Daniel Koukola's change(What you call "your original change"). Picked from /var/log/messages
The log doesn't matter in this case... Did it work (i.e. the sound is heard)?
ok. I didn't know the log doesn't matter. As I've said "Failed to listen", the sound isn't heard.
At Tue, 17 Mar 2009 02:32:37 +0900, Emmanuel Chanel wrote:
Failed to listen by your 2nd patch.(I couldn't succeed by patch -p2 < YourPatch again. So I modified by hand, again.) And soon later, I'll test the Daniel Koukola's change(What you call "your original change"). Picked from /var/log/messages
The log doesn't matter in this case... Did it work (i.e. the sound is heard)?
ok. I didn't know the log doesn't matter. As I've said "Failed to listen", the sound isn't heard.
Hm, seems like I overlooked your comment was buried in log texts. So don't you get any working sound with the latest alsa-driver snapshot?
Takashi
Hm, seems like I overlooked your comment was buried in log texts. So don't you get any working sound with the latest alsa-driver snapshot?
Right. And I'm going to try Your patch of your mail on "Mon, 16 Mar 2009 18:37:31 +0100" If I modify Mr. Daniel Koukola's indicated part, I can listen the sound.
My result of "your original change" Attached file: alsa-info-090317-Daniel is the result of alsa-info.sh And alsa-driver-090317-Daniel-info.txt is script output. I could listen sounds with that modification.
At Tue, 17 Mar 2009 02:29:36 +0900, Emmanuel Chanel wrote:
My result of "your original change" Attached file: alsa-info-090317-Daniel is the result of alsa-info.sh And alsa-driver-090317-Daniel-info.txt is script output. I could listen sounds with that modification.
OK, then apparently the DMA buffers have to be in 32bit, too.
There might be a missing register to set 64bit DMA for ATI chipset, but right now it's safe to set 32bit DMA for them...
The below is the revised patch. Could you check whether it works?
thanks,
Takashi
--- diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 47a5833..8258a46 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2136,7 +2136,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, struct azx **rchip) { struct azx *chip; - int i, err; + int i, err, rirb_32bit; unsigned short gcap; static struct snd_device_ops ops = { .dev_free = azx_dev_free, @@ -2218,12 +2218,26 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, pci_set_master(pci); synchronize_irq(chip->irq);
+ /* ATI chips seems buggy about 64bit CORB/RIRB addresses */ + if (chip->driver_type == AZX_DRIVER_ATI) + rirb_32bit = 1; + else + rirb_32bit = 0; + gcap = azx_readw(chip, GCAP); snd_printdd("chipset global capabilities = 0x%x\n", gcap);
/* allow 64bit DMA address if supported by H/W */ - if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) - pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + if (rirb_32bit) { + if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + else + rirb_32bit = 0; + } + if (!rirb_32bit) { + pci_set_dma_mask(pci, DMA_32BIT_MASK); + pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK); + }
/* read number of streams from GCAP register instead of using * hardcoded value
Your revice on the mail below didn't work. I cannot listen the sound.
2009-03-16 (Mon) 18:37 +0100 Takashi Iwai wrote:
At Tue, 17 Mar 2009 02:29:36 +0900, Emmanuel Chanel wrote:
My result of "your original change" Attached file: alsa-info-090317-Daniel is the result of alsa-info.sh And alsa-driver-090317-Daniel-info.txt is script output. I could listen sounds with that modification.
OK, then apparently the DMA buffers have to be in 32bit, too.
There might be a missing register to set 64bit DMA for ATI chipset, but right now it's safe to set 32bit DMA for them...
The below is the revised patch. Could you check whether it works?
thanks,
Takashi
At Tue, 17 Mar 2009 03:02:58 +0900, Emmanuel Chanel wrote:
Your revice on the mail below didn't work. I cannot listen the sound.
Hm, did you really test the latest patch (the third version)? It actually does set only 32bit DMA as Daniel's change, but just after checking the controller model.
If it doesn't work, I suspect something wrong in your test or patching.
Takashi
2009-03-16 (Mon) 18:37 +0100 Takashi Iwai wrote:
At Tue, 17 Mar 2009 02:29:36 +0900, Emmanuel Chanel wrote:
My result of "your original change" Attached file: alsa-info-090317-Daniel is the result of alsa-info.sh And alsa-driver-090317-Daniel-info.txt is script output. I could listen sounds with that modification.
OK, then apparently the DMA buffers have to be in 32bit, too.
There might be a missing register to set 64bit DMA for ATI chipset, but right now it's safe to set 32bit DMA for them...
The below is the revised patch. Could you check whether it works?
thanks,
Takashi
-- Emmanuel Chanel emmanuelchanel@gmail.com
2009-03-16 (Mon) の 21:30 +0100 Takashi Iwai Wrote:
At Tue, 17 Mar 2009 03:02:58 +0900, Emmanuel Chanel wrote:
Your revice on the mail below didn't work. I cannot listen the
sound.
Hm, did you really test the latest patch (the third version)? It actually does set only 32bit DMA as Daniel's change, but just after checking the controller model.
If it doesn't work, I suspect something wrong in your test or
patching.
Takashi
Maybe. I cannot patch the third version by "patch -p1 < YourPatch", neither and I modified by hand. I don't know why I cannot patch all three. I have a problem "patch". Maybe because I haven't used that command often, I cannot "patch -p1 < YourPatch" correctly. I don't know why. Copy of your patches on mail may be wrong. Maybe it's better for me to receive the attachment of all three patched hda_intel.c ... :( I retested your 3 all patches(Actually, I modified hda_intel.c by hand , though...)
patch no. 1: Soundcard not detected. patch no. 2: Sound not work but card detected by alsa. patch no. 3: Soundcard not detected.
Daniel Koukola says on May 17 10:21:32 Daniel Koukola Emmanuel_Chanel, hi 10:33:07 Daniel Koukola Emmanuel_Chanel, can you please exchange "rirb_32bit = 1;" and "rirb_32bit = 0;" in Takashi's patch and try if it works then? 10:34:03 Daniel Koukola Emmanuel_Chanel, the first occurences of those
And I tried the exchange on all your three patches. On the test: The first and the second I couldn't listen the sound. The third I could listen the sound.
At Tue, 17 Mar 2009 14:15:36 +0900, Emmanuel Chanel wrote:
Daniel Koukola says on May 17 10:21:32 Daniel Koukola Emmanuel_Chanel, hi 10:33:07 Daniel Koukola Emmanuel_Chanel, can you please exchange "rirb_32bit = 1;" and "rirb_32bit = 0;" in Takashi's patch and try if it works then? 10:34:03 Daniel Koukola Emmanuel_Chanel, the first occurences of those
Ah, my bad. Yes, it was a wrong logic.
Anyway I applied the fixed patches now to sound git tree. Simply try the latest alsa-driver snapshot tarball without any patch: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
thanks,
Takashi
2009-03-17 (Mar) 08:50 +0100 Takashi Iwai Wrote:
Anyway I applied the fixed patches now to sound git tree. Simply try the latest alsa-driver snapshot tarball without any patch: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
I could. And I attach alsa-info.txt.
At Tue, 17 Mar 2009 20:43:16 +0900, Emmanuel Chanel wrote:
2009-03-17 (Mar) 08:50 +0100 Takashi Iwai Wrote:
Anyway I applied the fixed patches now to sound git tree. Simply try the latest alsa-driver snapshot tarball without any patch: ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
I could. And I attach alsa-info.txt.
Thanks!
Takashi
participants (3)
-
Emmanuel Chanel
-
Takashi Iwai
-
Vedran Miletić