RE: updating PCI device name after loading driver
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