acidanthera / bugtracker

Acidanthera Bugtracker
385 stars 45 forks source link

[Feature request] Add info about attached firmware or codec #2000

Open dreamwhite opened 2 years ago

dreamwhite commented 2 years ago

In some kexts, such as AirportItlwm and IntelBluetoothFirmware, there's an IOReg property that tells the loaded firmware.

image

It would be convenient to have the same feature on:

I know that there's no practical difference, but at least when providing an IOReg makes it very easy to obtain more info about the codec/loaded firmware very quickly

P.S. Happy Millenium bug

vit9696 commented 2 years ago

That might be useful indeed.

dreamwhite commented 2 years ago

For AppleALC it already shows the codec vendor id though, and for this reason it is fairly easy to figure it out.

Well, I don't know if I'm missing something or not but when I open HDEF properties in IORegistryExplorer I see:

My audio codec is ALC3254 aka ALC295. Where should I look?

mikebeaton commented 2 years ago

For AppleALC it already shows the codec vendor id though, and for this reason it is fairly easy to figure it out.

Well, I don't know if I'm missing something or not but when I open HDEF properties in IORegistryExplorer I see:

  • vendor-id: <86 80 00 00>
  • device-id: <71 9d 00 00>

My audio codec is ALC3254 aka ALC295. Where should I look?

Actually here and here - AudioDxe code includes the translation from known ids to strings, but I believe AppleALC does not.

dreamwhite commented 2 years ago

Thank you so much for your reply. Well yes, basically it translate the PCI IDs in a human readable format but that's not what I was looking for 😅

I mean, I still haven't found yet a way of identifying my audio codec name (ALC295) via IORegistryExplorer. Am I missing something?

mikebeaton commented 2 years ago
Screenshot 2022-05-25 at 01 17 17

The translations are still available in AudioDxe code, here and here.

The codec id 0x0255 ties back to the CodecID in the AppleALC Info.plist, in my case here (allowing for dec/hex conversion), in your case it would be 0x0295 from here.

dreamwhite commented 2 years ago

Okay thank you so much! I figured it out before reading your comment but again thank you! What about BT instead?

mikebeaton commented 2 years ago

Okay thank you so much! I figured it out before reading your comment but again thank you!

Oh. Good... :-/

What about BT instead?

Go back to @vit9696's original comment!

Andrey1970AppleLife commented 2 years ago

Снимок экрана 2022-05-26 в 23 18 07

dreamwhite commented 2 years ago

Снимок экрана 2022-05-26 в 23 18 07

Wait, what's your WiFi/BT card model? Is it natively compatible with macOS or you're using BrcmPatchRAM?

Andrey1970AppleLife commented 2 years ago

BCM943225HMB macOS 12 with BlueToolFixup.kext

dreamwhite commented 2 years ago

BCM943225HMB macOS 12 with BlueToolFixup.kext

Oh okay so without any type of BrcmFirmwareData, right?

Andrey1970AppleLife commented 2 years ago

Yes, without.

dreamwhite commented 2 years ago

Yes, without.

Oh okay, what I was asking actually is getting the firmware name when using BrcmFirmwareData 😅

dreamwhite commented 2 years ago

Yes, without.

Oh okay, what I was asking actually is getting the firmware name when using BrcmFirmwareData 😅

Hi, any update on this? Don't wanna rush on you but rather know if it'll get implemented or not

vit9696 commented 2 years ago

Well, could add, but I personally see no reason. Reopened in case anybody picks it up.