• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: updating PCI device name after loading driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updating PCI device name after loading driver


  • Subject: Re: updating PCI device name after loading driver
  • From: Gagan Sidhu via Coreaudio-api <email@hidden>
  • Date: Thu, 2 Feb 2023 15:19:09 -0700

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@hidden> 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@hidden> 
Sent: Thursday, February 2, 2023 2:05 PM
To: Gagan Sidhu via Coreaudio-api <email@hidden>
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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: updating PCI device name after loading driver
      • From: "David A. Hoatson via Coreaudio-api" <email@hidden>
References: 
 >updating PCI device name after loading driver (From: Gagan Sidhu via Coreaudio-api <email@hidden>)
 >RE: updating PCI device name after loading driver (From: "David A. Hoatson via Coreaudio-api" <email@hidden>)

  • Prev by Date: RE: updating PCI device name after loading driver
  • Next by Date: RE: updating PCI device name after loading driver
  • Previous by thread: RE: updating PCI device name after loading driver
  • Next by thread: RE: updating PCI device name after loading driver
  • Index(es):
    • Date
    • Thread