Re: [alsa-devel] No sound with nVidia Corporation MCP79 High Definition Audio (rev b1) (Macbook Pro 5, 5)
A quick google shows that the vendor ID is Cirrus Logic. The Boot Camp driver set does include installers for Cirrus audio cards. I don't have Windows installed on here, so I can't check to see if it is indeed the Cirrus drivers that get installed. What can be done to facilitate the implementation of this codec?
Sean
At Mon, 29 Jun 2009 16:04:06 -0600, Sean Burke wrote:
A quick google shows that the vendor ID is Cirrus Logic. The Boot Camp driver set does include installers for Cirrus audio cards. I don't have Windows installed on here, so I can't check to see if it is indeed the Cirrus drivers that get installed. What can be done to facilitate the implementation of this codec?
I guess it's CS4206 codec. CS4207 has a different id.
If it doesn't use any vendor-specific verbs, the implementation wouldn't be too difficult.
Takashi
so i tried to find some information in OS X and after a while i stumbled upon a document "Info.plist", to which i was pointed by OS X's build-in hardware info-utility, somehwere in /System/Library/Extensions/AppleHDA.kext/....
http://nopaste.org/p/aRCCwdDXqb
also some information right out of the apple tool, eventhough i don't think that it's worth anything: Intel High Definition Audio: Device ID: 0x10DECB79 Audio ID: 77 Available Devices: Headphone: Connection: Combo Speaker: Connection: Internal Line In: Connection: Combo Internal Microphone: Connection: Internal S/P-DIF Out: Connection: Combo External Microphone: Connection: Combo
On Tuesday 30 June 2009 07:58:17 Takashi Iwai wrote:
At Mon, 29 Jun 2009 16:04:06 -0600,
Sean Burke wrote:
A quick google shows that the vendor ID is Cirrus Logic. The Boot Camp driver set does include installers for Cirrus audio cards. I don't have Windows installed on here, so I can't check to see if it is indeed the Cirrus drivers that get installed. What can be done to facilitate the implementation of this codec?
I guess it's CS4206 codec. CS4207 has a different id.
out of the Info.plist: <string>Cirrus Logic CS4206</string> <key>CodecID</key>
so again: if i can, i'd love to help.
thanks a lot
At Wed, 1 Jul 2009 17:00:42 +0200, Andreas Nüßlein wrote:
so i tried to find some information in OS X and after a while i stumbled upon a document "Info.plist", to which i was pointed by OS X's build-in hardware info-utility, somehwere in /System/Library/Extensions/AppleHDA.kext/....
http://nopaste.org/p/aRCCwdDXqb
also some information right out of the apple tool, eventhough i don't think that it's worth anything: Intel High Definition Audio: Device ID: 0x10DECB79
This is likely a different chip.
On Tuesday 30 June 2009 07:58:17 Takashi Iwai wrote:
At Mon, 29 Jun 2009 16:04:06 -0600,
Sean Burke wrote:
A quick google shows that the vendor ID is Cirrus Logic. The Boot Camp driver set does include installers for Cirrus audio cards. I don't have Windows installed on here, so I can't check to see if it is indeed the Cirrus drivers that get installed. What can be done to facilitate the implementation of this codec?
I guess it's CS4206 codec. CS4207 has a different id.
out of the Info.plist: <string>Cirrus Logic CS4206</string> <key>CodecID</key>
And that's it.
so again: if i can, i'd love to help.
I created the support for for Cirrus Logic chips (cs420x only). It's included in sound-unstable tree. Grab the alsa-driver-unstable snapshot from ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
Let me know if it works or not.
Also, prepare to install hda-verb program. I'd like to confirm the behavior of the codec, and I'll ask it later once after the driver works somehow.
thanks,
Takashi
wow thanks a lot! =)
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-uns table-snapshot.tar.gz
Let me know if it works or not.
sadly: no.. well the chip gets recognized now: $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
and alsamixer also shows a bunch of channels now as well as "Card: HDA NVidia Chip: Cirrus Logic CS4206"
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
i also aplay -Dfoo file.wav again, where foo = default,front,surround40,.... , but i always get: aplay: main:608: audio open error: Invalid argument
Also, prepare to install hda-verb program. I'd like to confirm the behavior of the codec, and I'll ask it later once after the driver works somehow.
installing hda-verb and waiting for orders ;)
thanks a lot
nutz
At Thu, 2 Jul 2009 12:54:47 +0200, Andreas Nüßlein wrote:
wow thanks a lot! =)
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-uns table-snapshot.tar.gz
Let me know if it works or not.
sadly: no.. well the chip gets recognized now: $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
and alsamixer also shows a bunch of channels now as well as "Card: HDA NVidia Chip: Cirrus Logic CS4206"
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
Please run alsa-info.sh with --no-upload option, and attach the generated file.
thanks,
Takashi
At Thu, 2 Jul 2009 12:54:47 +0200, Andreas Nüßlein wrote:
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
i also aplay -Dfoo file.wav again, where foo = default,front,surround40,.... , but i always get: aplay: main:608: audio open error: Invalid argument
The error is strange. Did you build with --enable-dynamic-minors configure option?
Otherwise the codec registers look OK.
Takashi
On Thursday 02 July 2009 15:15:34 you wrote:
At Thu, 2 Jul 2009 12:54:47 +0200,
Andreas Nüßlein wrote:
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
i also aplay -Dfoo file.wav again, where foo = default,front,surround40,.... , but i always get: aplay: main:608: audio open error: Invalid argument
The error is strange. Did you build with --enable-dynamic-minors configure option?
Otherwise the codec registers look OK.
hmmm.. well whenever i really build this manually ( ./configure --with- cards=hda-intel && make && sudo make install) i can't load the modules, because i get: [ 1526.091642] snd: Unknown symbol unregister_sound_special [ 1526.092374] snd: Unknown symbol register_sound_special_device
however when i edited the gentoo-ebuild to use your snapshot, i'm able to compile and load the driver but get said error.
do you have an idea why i'm getting this Unknown symbol -error? should i build alsa-headers myself as well? right now that's built via gentoo-ebuild.
i'll try to copy the ebuild instructions, step by step until i get it running manually.
At Thu, 2 Jul 2009 19:37:43 +0200, Andreas Nüßlein wrote:
On Thursday 02 July 2009 15:15:34 you wrote:
At Thu, 2 Jul 2009 12:54:47 +0200,
Andreas Nüßlein wrote:
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
i also aplay -Dfoo file.wav again, where foo = default,front,surround40,.... , but i always get: aplay: main:608: audio open error: Invalid argument
The error is strange. Did you build with --enable-dynamic-minors configure option?
Otherwise the codec registers look OK.
hmmm.. well whenever i really build this manually ( ./configure --with- cards=hda-intel && make && sudo make install) i can't load the modules, because i get: [ 1526.091642] snd: Unknown symbol unregister_sound_special [ 1526.092374] snd: Unknown symbol register_sound_special_device
You should use ./configure --with-debug=full --enable-dynamic-minors \ --with-moddir=updates
however when i edited the gentoo-ebuild to use your snapshot, i'm able to compile and load the driver but get said error.
do you have an idea why i'm getting this Unknown symbol -error? should i build alsa-headers myself as well? right now that's built via gentoo-ebuild.
I have no idea a about gentoo.
Takashi
On Friday 03 July 2009 07:37:59 you wrote:
At Thu, 2 Jul 2009 19:37:43 +0200,
Andreas Nüßlein wrote:
On Thursday 02 July 2009 15:15:34 you wrote:
At Thu, 2 Jul 2009 12:54:47 +0200,
Andreas Nüßlein wrote:
but i can't get any sound eventhough all channels are unmuted and turned up to 100.
i also aplay -Dfoo file.wav again, where foo = default,front,surround40,.... , but i always get: aplay: main:608: audio open error: Invalid argument
The error is strange. Did you build with --enable-dynamic-minors configure option?
Otherwise the codec registers look OK.
hmmm.. well whenever i really build this manually ( ./configure --with- cards=hda-intel && make && sudo make install) i can't load the modules, because i get: [ 1526.091642] snd: Unknown symbol unregister_sound_special [ 1526.092374] snd: Unknown symbol register_sound_special_device
so i finally figured out, the problem with "Unknown symbol unregister_sound_special": the ebuild always used "--without-oss". as soon as i applied that to my manual ./configure i was able to load the modules. however now dmesg throws some errors - i attached them to this mail. i'm a little confused why there's still my build-dir in the errors,
At Fri, 3 Jul 2009 13:25:06 +0200, Andreas Nüßlein wrote:
[30518.015451] HDA Intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 23 (level, low) -> IRQ 23 [30518.015513] HDA Intel 0000:00:08.0: setting latency timer to 64 [30518.176350] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3844: autoconfig: line_outs=1 (0xa/0x0/0x0/0x0/0x0) [30518.176366] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3848: speaker_outs=1 (0xb/0x0/0x0/0x0/0x0) [30518.176379] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3852: hp_outs=1 (0x9/0x0/0x0/0x0/0x0) [30518.176391] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3853: mono: mono_out=0x0 [30518.176401] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3856: dig-out=0x10/0x15 [30518.176411] ALSA /home/nutz/tmp/alsa/alsa-driver-unstable/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:3864: inputs: mic=0xd, fmic=0x0, line=0xc, fline=0x0, cd=0x0, aux=0x0
Now yours looks different from others. In your earlier one, it was two line-outs (they are speakers, though). Now it's one line-out and speaker...
Could you give alsa-info.sh output?
Takashi
participants (3)
-
Andreas Nüßlein
-
Sean Burke
-
Takashi Iwai