UNSUBSCRIBE

> On Feb 2, 2023, at 6:28 PM, [email protected] wrote:
> 
> Send Coreaudio-api mailing list submissions to
>    [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.apple.com/mailman/listinfo/coreaudio-api
> or, via email, send a message with subject or body 'help' to
>    [email protected]
> 
> You can reach the person managing the list at
>    [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Coreaudio-api digest..."
> 
> 
> Today's Topics:
> 
>   1. RE: updating PCI device name after loading driver
>      (David A. Hoatson)
>   2. Re: updating PCI device name after loading driver (brianw)
>   3. Re: updating PCI device name after loading driver (Gagan Sidhu)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 2 Feb 2023 14:23:36 -0800
> From: "David A. Hoatson" <[email protected]>
> To: "'Gagan Sidhu'" <[email protected]>, "'Gagan Sidhu via Coreaudio-api'"
>    <[email protected]>
> Subject: RE: updating PCI device name after loading driver
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
> 
> Glad that worked for you.  I?m fairly certain Apple doesn?t document this 
> anywhere.  
> 
> 
> 
> Thank you,
> 
> David A. Hoatson
> 
> 
> 
> 
> 
> From: Gagan Sidhu via Coreaudio-api <[email protected]> 
> Sent: Thursday, February 2, 2023 2:19 PM
> To: Gagan Sidhu via Coreaudio-api <[email protected]>
> Subject: Re: updating PCI device name after loading driver
> 
> 
> 
> you sir, mr hoatson, are the fucking MAN.
> 
> 
> 
> THANK YOU. this was driving me NUTS!
> 
> 
> 
> 
> 
> Thanks,
> 
> Gagan
> 
> 
> 
> "I am telling you if there is a God, when I get to heaven I?m not stopping to 
> be interviewed. I am heading straight in. I have earned my place in heaven. 
> It?s not even close? - Michael Bloomberg
> 
> 
> 
> On Feb 2, 2023, at 3:14 PM, David A. Hoatson <[email protected] 
> <mailto:[email protected]> > wrote:
> 
> 
> 
> A KEXT for a PCI device sets the name with:
> 
> 
> 
> IORegistryEntry *pRegEntry = getParentEntry(gIOServicePlane);
> 
> pRegEntry->setProperty( "model", OSData::withBytes( pszModel, 
> strlen(pszModel)+1 ) );
> 
> 
> 
> Hopefully this helps.
> 
> 
> 
> Thank you,
> 
> David A. Hoatson
> 
> 
> 
> 
> 
> 
> From: Gagan Sidhu via Coreaudio-api <[email protected] 
> <mailto:[email protected]> > 
> Sent: Thursday, February 2, 2023 2:05 PM
> To: Gagan Sidhu via Coreaudio-api <[email protected] 
> <mailto:[email protected]> >
> Subject: updating PCI device name after loading driver
> 
> 
> 
> hello again all,
> 
> 
> 
> not sure if i reported that i got IOAudioSelector working and so now i have 
> this baby firin? on all cylinders.
> 
> 
> 
> gotta use HALLab if i want to adjust the headphone jack impedance settings, 
> but that?s really not a big deal.
> 
> 
> 
> among the last bits i?d like to deal with is renaming the PCI device.
> 
> 
> 
> i?ve tried:
> 
> 
> 
> setName
> 
> setShortName
> 
> setDeviceName
> 
> setDeviceShortName
> 
> 
> 
> in the IOAudioDevice object and none of these will update the device name in 
> system report.
> 
> 
> 
> 
> 
> anyone got tips on how to fix this? 
> 
> 
> 
> 
> 
> Thanks,
> Gagan
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.apple.com/mailman/private/coreaudio-api/attachments/20230202/c53ab5d5/attachment.htm>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 02 Feb 2023 17:04:36 -0800
> From: brianw <[email protected]>
> To: Gagan Sidhu <[email protected]>
> Cc: Gagan Sidhu via Coreaudio-api <[email protected]>
> Subject: Re: updating PCI device name after loading driver
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=utf-8
> 
> Looks like you got an answer to your other questions, so congrats on the 
> successes.
> 
> Meanwhile, I'm curious about the headphone jack impedance settings. Is this a 
> standard property that is not presented by AudioMIDISetup.app? ... or is it a 
> custom property that is visible in HALLab only because HALLab shows all 
> properties? ... or something else I haven't thought of?
> 
> Glad to see this list active and documenting solutions.
> 
> Brian
> 
>> On Feb 2, 2023, at 2:05 PM, Gagan Sidhu wrote:
>> gotta use HALLab if i want to adjust the headphone jack impedance settings, 
>> but that?s really not a big deal.
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 2 Feb 2023 19:26:33 -0700
> From: Gagan Sidhu <[email protected]>
> To: Gagan Sidhu via Coreaudio-api <[email protected]>
> Subject: Re: updating PCI device name after loading driver
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
> 
> hello brian,
> 
> the headphone impedance to which i refer is a unique property of the xonar 
> essence ST(X) cards.
> 
> per Clemens Ladisch, the windows driver allows users to select one of four 
> values (-32, -24, -12, 0) that can increase the volume output of the jack.
> 
> these values act as offsets when you?re changing the master volume.
> 
> in terms of why HALLab is necessary for this: well at this time the master 
> volume already has an output selector that allows us to choose either speaker 
> out, back headphone jack, or front headphone jack.
>    -so i can?t add another selector to the ?all channels? property
>        -so what i do is i get a little clever and attach another 
> audioselector, but this time to the frontleft channel ID and that way i can 
> choose my impedance value without disturbing my master output?s volume or 
> selected output.
> 
> here?s a gif i made. i hope it fits this time.
> 
> 
> Thanks,
> Gagan
> 
>> On Feb 2, 2023, at 6:04 PM, brianw <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Looks like you got an answer to your other questions, so congrats on the 
>> successes.
>> 
>> Meanwhile, I'm curious about the headphone jack impedance settings. Is this 
>> a standard property that is not presented by AudioMIDISetup.app? ... or is 
>> it a custom property that is visible in HALLab only because HALLab shows all 
>> properties? ... or something else I haven't thought of?
>> 
>> Glad to see this list active and documenting solutions.
>> 
>> Brian
>> 
>>> On Feb 2, 2023, at 2:05 PM, Gagan Sidhu wrote:
>>> gotta use HALLab if i want to adjust the headphone jack impedance settings, 
>>> but that?s really not a big deal.
>> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.apple.com/mailman/private/coreaudio-api/attachments/20230202/5b8e0f4f/attachment.htm>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ezgif.com-optimize(1).gif
> Type: image/gif
> Size: 205155 bytes
> Desc: not available
> URL: 
> <https://lists.apple.com/mailman/private/coreaudio-api/attachments/20230202/5b8e0f4f/attachment.gif>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Coreaudio-api mailing list
> [email protected]
> https://lists.apple.com/mailman/listinfo/coreaudio-api
> 
> 
> ------------------------------
> 
> End of Coreaudio-api Digest, Vol 20, Issue 23
> *********************************************
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to