• 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: "David A. Hoatson via Coreaudio-api" <email@hidden>
  • Date: Thu, 2 Feb 2023 14:14:10 -0800
  • Organization: Lynx Studio Technology, Inc.

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: Gagan Sidhu via Coreaudio-api <email@hidden>
References: 
 >updating PCI device name after loading driver (From: Gagan Sidhu via Coreaudio-api <email@hidden>)

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