?
Thank you for information.
yangrong wrote:
> Please try "#define AUDIOHDC_GPIO_DIRECT 0xf0" in audohd.h file to
> disable it to test it again.
I've confirmed with modified audiohd.h (use onnv_126), but the same result...
and headphone port doesn't work X-(
BTW,
Example of linux kernel. search: cs4206
http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.31/git-update22.patch
I do not have the ability to understand this...sorry
Garrett D'Amore wrote:
> Sounds like a problem we need to look into. Staying on top of all the
> laptop variations here is troublesome. And its worse with Apple because
> Apple laptops tend to use GPIOs in "non-standard" ways that we don't
> have documentation for.
agree.
MacBook is composed of various "Non-standard".
However, it is thought that overlooking as choices is very regrettable...
Thanks,
- Kazuyuki Sato
yangrong wrote:
> Hi Garrett, the GPIO is enabled by default in audiohd now.
>
> Please try "#define AUDIOHDC_GPIO_DIRECT 0xf0" in audohd.h file to
> disable it to test it again.
>
> Regards,
> Yangrong
>
>
> 2009-10-29 12:12, Garrett D'Amore :
>> Sounds like a problem we need to look into. Staying on top of all the
>> laptop variations here is troublesome. And its worse with Apple because
>> Apple laptops tend to use GPIOs in "non-standard" ways that we don't
>> have documentation for. That said, hopefully we'll get a chance to
>> figure it out soon.
>>
>> - Garrett
>>
>> Kazuyuki Sato wrote:
>>
>>> Hi,
>>>
>>> I bought New MacBook Pro ?15-inch Mid 2009).
>>> SXCE b125 was installed, that looks like MacBook 13-inch Late 2008 (MCP79)
>>> :-)
>>>
>>> but, The problem found it to audio device!!!
>>>
>>> New MacBook Pro (15-inch mid2009) has Cirrus Logic CS4206 HD Audio device.
>>>
>>> - audiohd driver attached to pci10de,ac0.
>>> - audio device node is made.
>>> - sound is not output by the internal speaker.
>>>
>>> However, the sound is output from the headphone port.(no distortion noise
>>> :-)
>>>
>>> Thanks in advance for your help...
>>>
>>> Thanks,
>>> - Kazuyuki Sato
>>>
>>>
>>>
>>> --
>>> # smbios | grep -i mac
>>> Product: MacBookPro5,3
>>> Family: MacBook Pro
>>> Product: Mac-F22587C8
>>> Version: Mac-F22587C8
>>>
>>> # cat /dev/sndstat
>>> SunOS Audio Framework
>>>
>>> Audio Devices:
>>> 0: audiohd#0 NVIDIA HD Audio, MCP79 (DUPLEX)
>>>
>>> Mixers:
>>> 0: audiohd#0 NVIDIA HD Audio, MCP79
>>> Unknown HD codec: 0x10134206
>>>
>>>
>>> # mixerctl -v
>>> Device: /dev/sound/audiohd:0mixer
>>> Name = audiohd#0
>>> Config = NVIDIA HD Audio (MCP79)
>>> HW Info = Unknown HD codec: 0x10134206
>>>
>>>
>>> # mixerctl -C
>>> DEVICE CONTROL VALUE POSSIBLE
>>> audiohd#0 volume 96 0-100
>>> audiohd#0 speaker 84:84 0-100:0-100
>>> audiohd#0 headphones 75:75 0-100:0-100
>>> audiohd#0 front 100:100 0-100:0-100
>>> audiohd#0 line-in 50:50 0-100:0-100
>>> audiohd#0 mic 50:50 0-100:0-100
>>> audiohd#0 record-source mic line-in,mic
>>>
>>> -- dmesg
>>> Oct 28 05:15:02 macbookpro pcplusmp: [ID 805372 kern.info] pcplusmp:
>>> pciclass,0403 (audiohd) instance 0 irq 0x16 vector 0x8a ioapic 0x1 int
>>> in 0x16 is bound to cpu 0
>>> Oct 28 05:15:02 macbookpro npe: [ID 236367 kern.info] PCI Express-device:
>>> pci10de,cb79 at 8, audiohd0
>>> Oct 28 05:15:02 macbookpro genunix: [ID 936769 kern.info] audiohd0 is /pci
>>> at 0,0/pci10de,cb79 at 8
>>> --
>>>
>>> -- scanpci
>>> pci bus 0x0000 cardnum 0x08 function 0x00: vendor 0x10de device 0x0ac0
>>> nVidia Corporation MCP79 High Definition Audio
>>> CardVendor 0x10de card 0xcb79 (nVidia Corporation, Card unknown)
>>> STATUS 0x00b0 COMMAND 0x0006
>>> CLASS 0x04 0x03 0x00 REVISION 0xb1
>>> BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00
>>> BASE0 0xe7480000 SIZE 16384 MEM
>>> BASEROM 0x00000000 addr 0x00000000
>>> MAX_LAT 0x05 MIN_GNT 0x02 INT_PIN 0x01 INT_LINE 0x0f
>>> --
>>>
>>> -- prtconf -vD
>>>
>>> pci10de,cb79, instance #0 (driver name: audiohd)
>>> System software properties:
>>> name='play-interrupts' type=int items=1
>>> value=000000af
>>> name='record-interrupts' type=int items=1
>>> value=000000af
>>> name='audiohd_beep' type=int items=1
>>> value=00000001
>>> name='msi_enable' type=int items=1
>>> value=00000001
>>> Driver properties:
>>> name='fm-errcb-capable' type=boolean dev=none
>>> name='fm-ereport-capable' type=boolean dev=none
>>> name='ddi-no-autodetach' type=int items=1 dev=none
>>> value=00000001
>>> Hardware properties:
>>> name='acpi-namespace' type=string items=1
>>> value='\_SB_.PCI0.HDEF'
>>> name='assigned-addresses' type=int items=5
>>> value=82004010.00000000.e7480000.00000000.00004000
>>> name='reg' type=int items=10
>>>
>>> value=00004000.00000000.00000000.00000000.00000000.02004010.00000000.00000000.00000000.00004000
>>> name='compatible' type=string items=7
>>> value='pci10de,ac0.10de.cb79.b1' +
>>> 'pci10de,ac0.10de.cb79' + 'pci10de,cb79' + 'pci10de,ac0.b1' + 'pci10de,ac0'
>>> + 'pciclass,040300' + 'pciclass,0403'
>>> name='model' type=string items=1
>>> value='Mixed Mode device'
>>> name='power-consumption' type=int items=2
>>> value=00000001.00000001
>>> name='66mhz-capable' type=boolean
>>> name='fast-back-to-back' type=boolean
>>> name='devsel-speed' type=int items=1
>>> value=00000000
>>> name='interrupts' type=int items=1
>>> value=00000001
>>> name='max-latency' type=int items=1
>>> value=00000005
>>> name='min-grant' type=int items=1
>>> value=00000002
>>> name='subsystem-vendor-id' type=int items=1
>>> value=000010de
>>> name='subsystem-id' type=int items=1
>>> value=0000cb79
>>> name='unit-address' type=string items=1
>>> value='8'
>>> name='class-code' type=int items=1
>>> value=00040300
>>> name='revision-id' type=int items=1
>>> value=000000b1
>>> name='vendor-id' type=int items=1
>>> value=000010de
>>> name='device-id' type=int items=1
>>> value=00000ac0
>>> Device Minor Nodes:
>>> dev=(214,0)
>>> dev_path=/pci at 0,0/pci10de,cb79 at 8:sound,mixer0
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/audiohd:0mixer
>>> dev=(214,1)
>>> dev_path=/pci at 0,0/pci10de,cb79 at 8:sound,dsp0
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/audiohd:0dsp
>>> dev=(214,3)
>>> dev_path=/pci at 0,0/pci10de,cb79 at 8:sound,audio0
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/audiohd:0
>>> dev=(214,4)
>>> dev_path=/pci at 0,0/pci10de,cb79 at 8:sound,audioctl0
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/audiohd:0ctl
>>> --
>>> _______________________________________________
>>> opensound-discuss mailing list
>>> opensound-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/opensound-discuss
>>>
>>>
>> _______________________________________________
>> opensound-discuss mailing list
>> opensound-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/opensound-discuss
>>
>