Jump to content
70 posts in this topic

Recommended Posts

Guest 5T33Z0

@miliuco Uing ACPI to map USB ports is the most apppropriate way to doi it. Once you get USB port mapping right in ACPI you will never ever have any issues again with USB – in any macOS version! And I have actually written a guide about it. 

 

https://github.com/5T33Z0/OC-Little-Translated/tree/main/03_USB_Fixes/ACPI_Mapping_USB_Ports

Edited by 5T33Z0
Link to comment
https://www.insanelymac.com/forum/topic/352311-mapping-usb-ports-discussions/
Share on other sites

Thank you @5T33Z0 and @MaLd0n

I have bookmarked OC_Litte_Translated as an important site for our community, a lot of well-written information not always easy to find.

And what about Mald0n whose ACPI language skills are very very great.

I promise to study the 533Z0 guide but I think it is still beyond my understanding 🙂

 

Edited by miliuco
Guest 5T33Z0
19 hours ago, miliuco said:

Believe me I've read it but with my mouth open and my mind stuck 😀

 

Imagine how i felt trying to create a layout-id – and the guide – at the same time Btw, it is done and working working. Only took me about a month for both… Waiting for approval of the PR for the new Layout I created. Anyway, back to topic:

 

1. Use the USBTool method (esp. Option 1 since it's SMBIOS-independant) if your overwhelmed by the ACPI approach: https://github.com/5T33Z0/OC-Little-Translated/tree/main/03_USB_Fixes#method-1-mapping-usb-ports-with-tools

2. Number one reason for sleep/wake issues on systems with internal BT/Wifi cards: USB port for BT/WiFi being configured as an external port.

 

@5T33Z0

At last!!! I have only been about 3 hours until I got the custom ACPI table with my USB port map.


As I already have a previously generated port map, I have followed option 1 of your instructions.

 

It is really very well explained but I also tell you that it must be done with time and paying attention to everything that is done.


I'll tell you some things:

  • the original table (SSDT6.aml on my system) is not dropped if I don't type the correct length in config.plist, I say this because in your text you have the length at 0
  • in the ports I remove for macOS, I made a mistake copying as is the code from your site for the _PLD method (in Else >> Return) until I realized that I have to leave the code that has my own table
  • with this map all the ports are configured as USB3, even the internal ones, but the Fenvi Bluetooth adapter connected to an internal USB2 port works fine, is it necessary to change those internal ports to Internal instead of USB3 (I don't see the option in your text) or do I leave it like that?

Thank you very much for your effort, really is an excellent work, I did not think I would be able to carry it out.

 

@eSaF Go!!! 😀

 

Edited by miliuco
Guest 5T33Z0
3 hours ago, miliuco said:

I'll tell you some things:

  • the original table (SSDT6.aml on my system) is not dropped if I don't type the correct length in config.plist, I say this because in your text you have the length at 0
  • in the ports I remove for macOS, I made a mistake copying as is the code from your site for the _PLD method (in Else >> Return) until I realized that I have to leave the code that has my own table
  • with this map all the ports are configured as USB3, even the internal ones, but the Fenvi Bluetooth adapter connected to an internal USB2 port works fine, is it necessary to change those internal ports to Internal instead of USB3 (I don't see the option in your text) or do I leave it like that?

Thank you very much for your effort, really is an excellent work, I did not think I would be able to carry it out.

 

  Reveal hidden contents

ports.png.c3a707fe8a80eadb6d950a1aab946495.png

 

 

Congrats!

  • About Dropping dropping USB Table: For me it works by OEM Table ID alone. But I'll make a Note
  • I have listed all the relevant types of ports in a table in the guide - even the one required for BT: 852350756_Bildschirmfoto2022-06-24um18_00_49.thumb.png.69b7d9ac815b5ada062fac04dc6f0ace.png

 

You should fix the Internal ports for Bluetooth in your table. Otherwise this can cause Sleep/Wake issues.

Edited by 5T33Z0

@5T33Z0

Thank you again.

I've put

Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
			{
				Return (GUPC (0xFF, 0xFF))
			}

instead of 

Method (_UPC, 0, NotSerialized)  // _UPC: USB Port Capabilities
			{
				Return (GUPC (0xFF, 0x03))
			}

And the internal ports are shown now as Internal. This completes the job for now 🙂

 

I'll try ports and sleep and comment.

 

Spoiler

1832597654_15puertos.png.99aa4f45d1286207d1acdaf58f7ce2a6.png

 

Edited by miliuco
3 minutes ago, 5T33Z0 said:

@antuneddu Can't just throw any other method  and variable in the mix that's not defined in the table. Gengkis method is his method. This method is the ACPI compliant method.

Yes of course I just meant that the connectors for the USB2 have not been defined or am I wrong? Whatever the method used

@antuneddu 

If I remember well, Hackintool app and USBMap.command methods set 03 for USB2 and USB2/USB3 ports. In fact, my USBPorts.kext and USBMap.kext used for 2 years have 03 in both port types. Even UTBMap.kext from USBToolBox also have only 03 and Internal. @5T33Z0 guide goes also in this direction.

  • Confused 1
7 hours ago, miliuco said:

@antuneddu

I've never heard of @gengik84 method. I'm curious, where can I read about it?

 

EDIT: found it in your macos86.it forum, right?

 

But don't worry ... I don't want to create confusion go on like this 👍

 

 

 

.... just to say that this too is based on acpi method

183873171_Schermata2022-06-24alle22_40_58.thumb.png.8cd426a0015c663aa15e01273aab8a3d.png

 

  • Like 1

@antuneddu

I see. It seems that there are different ways to map USB ports with the ACPI method. Actually the code is similar because the concept is almost the same.

That difference that you say when configuring the pure USB2 as 00 or as 03 is the one that can generate doubts.

Of course, following @5T33Z0 guide everything seems to work fine, including sleep.

In my system there is only one connector that is imo 255 but it could be also 00. It is an internal USB2 hub that services a group of 4 external rear black USB2 ports. In the ACPI table it is shown as a single HS13 port so it seems more logical to me to set 255 (this is the value I set when following @5T33Z0 guide). I have tried setting 00 on that HS13 connector and I really don't see any difference, everything seems to work just as well.

 

Edited by miliuco

The source for the methods is the motherboard ACPI is not mald, geng, etc. Is just duplicating one OEM method(GUPC in this case) and applying connectors type. If u have a basic ACPI knowledge u know. All credits for it is for Piker Alpha HERE and previous chipsets like 7, 8, 9, X79, x99 HERE.  This method of mapping has existed for many, many years and is not my credit or gengik or texem or 5t33z0. Think about it before wrong words. We stole method GUPC from intel and apply the Piker ofc. lol

Some correct words

nIxV7mF.png

 

Talking about stolen? Let's check on the net. Gotta love the internet…

https://www.insanelymac.com/forum/topic/321434-help-correct-dsdt-gigabayte-h97-d3h/#comment-2372715

The first repo is HERE and all from this guy stolen from there with no credits to the king, master chief, etc. and this guy is from which country? we know who is pjalm's "friends" and have many many others like script for chameleon activate partition too in clover topic, etc

We've got a long history of love and hate lol

 

Keep up the good discussion. Enjoy!

 

Just one question.. If people use this way(a real vanilla way) why not one real vanilla way with full DSDT patch? Sounds incomplete to me only USB vanilla way. 😀

The topic has been cleared.

@miliucofor what? lies is lies ever. If people like lies and intrigue go to "paradise" on discord. Talking about a subject without knowledge always causes problems. We know what people talking there.😆

 

Just focus on topic. off topic or spam is deleted, this is a bad practice.

@MaLd0n Hi

In the guide I wrote some time ago (2018 years) there are listed all the credits maybe you haven't seen this but it doesn't matter. :)

Discovery of Piker Alpha but he hadn't defined the connectors, at the time it was not a required thing.

I added to this method  the definition for usb connector type, obviously based on ACPIC documentation.

Without ACPICA no one would ever have done anything :hysterical:

11 hours ago, MaLd0n said:

The first repo is HERE 

You know that you wrote the guide later, this is because an Italian user, who is also present on this forum, came to your forum and you saw the work ... SSDT modified .... etc I remember you initially criticized me for this method, just see a few posts here on Insanely / Italian where you did it. You criticized me saying "it doesn't work" and obviously it didn't work if you don't drop the original OEM table

 You wrote your guide at Octorber 2019 but have do some time before... it's one simple example:https://www.insanelymac.com/forum/topic/336515-mojave-usb-30-gigabyte-z370-aorus-gaming-wifi-rev-1/page/2/#comment-2648418 but there are others both here and on my forum

 

About P.Jalm :

Sir do you still have a grudge for that? I just said his patches worked fine. From there you said that he stole them from you but I can't know what happened between you, do you understand? These are your things, things from many years ago and I cannot judge...I hope you understand this. 

I wasn't there at the time, I can only believe one or another based on what he says

If you want to clarify more with me feel free to write me in PM 🙂

However, I believe that after years it would be better to stop this hatred.

hackintosh is a passion but it is not life.

Having i said that, in the end... in this bad time for everyone I can only wish you all the best.

Peace & Love 😘;)

 

×
×
  • Create New...