Jump to content

USBWakeFixup


iCanaro

Recommended Posts

  • Support Team

Sui sistemi senza un controller incorporato funzionante, il risveglio da un dispositivo USB potrebbe non riattivare il display. È necessario premere un secondo tasto o fare clic con il mouse per riattivare il display. Questa estensione è una soluzione a questo problema creando un falso dispositivo ACPI con i parametri di riattivazione corretti.

 

Installazione
1 - Compilare e installare SSDT-USBW.dsl nell'iniezione DSDT del bootloader. Potrebbe essere necessario modificarlo per puntare al dispositivo XHC.
2 - Installa il kext.

 

 Info

 Download

  • +1 1
Link to comment
Share on other sites

  • 2 years later...
  • Support Team

Ciao , credo si riferisse al secondo metodo qui https://dortania.github.io/OpenCore-Post-Install/usb/misc/keyboard.html#method-2-create-a-fake-acpi-device

 

Tuttavia riguarderei prima , la EFI che hai postato https://www.macos86.it/topic/5421-domande-su-rallentamento-al-boot-e-strani-messaggi/?tab=comments#comment-127343

 

Sembrano applicate 2 tipi di mappatura : SSDT-UIAC.aml  ( 11 porte  presumo mappatura con Hackintool ? ) e anche UTBMap.kext  in quest ultimo invece hai 17 porte attive , invece di 15 ... limite consentito , credo che dovresti usare o l SSDT oppure i Kexts 

 

Se hai " mappato " perche' XhciPortlimit e' abilitato in Kernel Quirks ? Dovresti disabilitarlo

 

La cartella Bootstrap e' deprecata , la puoi eliminare 

 

Dovresti usare solo il kext  Realtek se la scheda di rete e' quella in firma 

Link to comment
Share on other sites

  • 2 weeks later...

Grazie @Antuneddu,

 

   io sono un po' imbranato con queste cose. Ero partito da una EFI trovata online per la mia motherboard (quindi l'SSDT-UIAC.aml era già fatto), poi però, siccome le usb non funzionavano bene, mi sono buttato nella mappatura con USBMap.kext. In seguito mi è sembrato che funzionasse.

Dovrei dunque eliminare quel SSDT?

 

XhciPortlimit è abilitato perché probabilmente lo era già nell'EFI da cui sono partito... devo toglierlo?

 

Elimino Bootstrap come mi suggerisci!

 

La scheda di rete, oltre a quella della scheda madre, è quella di MQUPIN con wireless e bluetooth.

 

Grazie mille per i consigli! Sono inesperto e vado molto a tentoni...

 

p.s. per quanto riguarda il USBWakefixup ero riuscito a farlo seguendo le guide, ma poi succede che il wake avviene correttamente con un solo tocco, ma... il mouse non si ricollega al bluetooth! Devo spegnere il bluetooth e riaccenderlo. Quindi ho tolto il fix

 

 

Edited by bipo
Link to comment
Share on other sites

  • 3 years later...

Riprendo questo thread perche' da quando ho cambiato tastiera ( utilizzo e utilizzavo  un suo dongle sia per il mouse che per la tastiera loghitech )in piu ho  aggiunto una  scheda ethernet.

In questi giorni ho questo problema (prima non succedeva mai) dovuto forse per un problema alla mia vecchia tastiera che si risvegliava abbastanza spesso per questo l'ho sostituita.

Quando  utilizzo il wake on lan ( sino a  una settimana fa funzionava egregiamente)  inviando il pacchetto "magico" il pc si risveglia non completamente.

Il monitor rimane in standby,al pc partono ventole e lucine ,  ma dopo un paio di minuti ritora  in standby , sembra quasi che aspetti un secondo impulso per risvegliarsi completamente.

Se lo risveglio invece usando la tastiera  o il mouse funziona perche do  un paio di klick.

Suggerimenti, sono su tahoe 26.3 la mappatura usb l'ho fatta e funziona bene ( o almeno credo ) non uso whategreen gia che la 6800xt mi viene riconosciuta nativamente e sul bootarg ho solo questo "revpatch=auto,sbvmm -amfipassbeta".

 

 

Link to comment
Share on other sites

  • Moderators

@Giaccazassicurati che che nel bios il supporto a S3 Sleep sia attivo

non è detto che sia colpa delle usb, hai detto che hai aggiunto una scheda Ethernet ? quale? il wake on lan, non è detto che ora funzioni

se premi il power si sveglia bene? o ha sempre il monitor in standby?

aggiungi al bootarg darkwake=0 e riprova, riavvia e resero nvram, rimanda in stop e prova il risveglio

Link to comment
Share on other sites

la mobo supporta s4 -s5

pensavo anche io alla nuova eth 10 gb , ma anche utilizzando quella integrata ( che utilizzavo sino alla settimana scorsa )si accende ma il monitor erimane in standby , poi dopo 1 minuto il  pc torna in standby pure lui.

Ho provato ad utilizzare un cavo DP invece che Hdmi ma non funziona , con il cavo DP quando carico Os si vede sino alla mela poi buio totale.

Con il tasto power funziona tutto metto in standby , se lo premo un sec di piu mi chiede se voglio spegnere o mettere in standby.

Con tastiera e mouse va una meraviglia basta premere un paio di volte e lui esce dallo standby.

Link to comment
Share on other sites

  • Moderators

se ti da ancora problemi 

apri terminale e vediamo

 pmset -g log | tail -n 20

 

oppure vedi cose che da noia al risparmio energetico

pmset -g log | grep -e "Wake from" -e "Wake Reason" | tail -n 10
 

ti dice se è la ethernet o il dongle mouse o tastiera o il bottone

Link to comment
Share on other sites

pmset -g log | tail -n 20 

 

ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 171(WindowServer): [0x0000000f0009809c] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000c05 service:AppleUserHIDEventService product:Flow2@Lofree eventType:3"  
    Timeout will fire in 600 secs Action=TimeoutActionRelease
   pid 141(apsd): [0x000000f1000b8427] 00:00:15 ApplePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com"  
    Timeout will fire in 4 secs Action=<unknown action>
   pid 141(apsd): [0x000000f1000b8429] 00:00:15 ApplePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com"  
    Timeout will fire in 4 secs Action=<unknown action>
   pid 407(sharingd): [0x00000065000183dd] 00:02:36 PreventUserIdleSystemSleep named: "Handoff"  
Kernel Assertions: 0x104=USB,MAGICWAKE
   id=509  level=255 0x100=MAGICWAKE creat=22/02/26, 18:11  mod=22/02/26, 18:14 description=en3 owner=en3
   id=512  level=255 0x4=USB creat=22/02/26, 18:16 description=com.apple.usb.externaldevice.14700000 owner=ASM107x
   id=514  level=255 0x100=MAGICWAKE creat=22/02/26, 18:17 description=en1 owner=en1
   id=515  level=255 0x4=USB creat=22/02/26, 18:17 description=com.apple.usb.externaldevice.14600000 owner=Flow2@Lofree
   id=517  level=255 0x4=USB creat=22/02/26, 18:18 description=com.apple.usb.externaldevice.14d00000 owner=ASM107x
   id=520  level=255 0x4=USB creat=22/02/26, 18:19 description=com.apple.usb.externaldevice.14500000 owner=USB Receiver
   id=525  level=255 0x100=MAGICWAKE creat=22/02/26, 18:22 description=llw0 owner=IOSkywalkNetworkBSDClient
Idle sleep preventers: IODisplayWrangler

 

 

grep -e "Wake from" -e "Wake Reason" | tail -n 10

 

2026-02-22 16:15:37 +0100 Wake                    DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)           
2026-02-22 16:53:14 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to / Using AC (Charge:0%) 46 secs   
2026-02-22 16:55:03 +0100 Wake                    Wake from Normal Sleep [CDNVA] : due to XDCI CNVW/UserActivity Assertion Using AC (Charge:0%)           
2026-02-22 17:50:53 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to PEGP PEG2 PEGP PEG3 PEGP PXSX RP02 PXSX RP05 PXSX RP06 PXSX RP07 PXSX RP08 PXSX PXSX RP10 PXSX RP11 PXSX RP12 PXSX RP13 PXSX R/Network Using AC (Charge:0%) 45 secs   
2026-02-22 17:54:21 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to XDCI CNVW/ Using AC (Charge:0%) 18 secs   
2026-02-22 17:54:39 +0100 Wake                    DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%) 148 secs  
2026-02-22 17:58:05 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to XDCI CNVW/ Using AC (Charge:0%) 9 secs    
2026-02-22 17:58:14 +0100 Wake                    DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)           
2026-02-22 18:11:40 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to XDCI CNVW/ Using AC (Charge:0%) 6 secs    
2026-02-22 18:11:46 +0100 Wake                    DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)       

 

Edited by Giaccaz
Link to comment
Share on other sites

  • Moderators

2026-02-22 17:50:53 +0100 DarkWake                DarkWake from Normal Sleep [CDN] : due to PEGP PEG2 PEGP PEG3 PEGP PXSX RP02 PXSX RP05 PXSX RP06 PXSX RP07 PXSX RP08 PXSX PXSX RP10 PXSX RP11 PXSX RP12 PXSX RP13 PXSX R/Network Using AC (Charge:0%) 45 secs   

 

la nuova scheda Ethernet (collegata a un bridge PCI RPxx), si sveglia per 45 secondi, non vede "HID Activity" non vede attività e si riaddormenta

è un insieme di cose da capire, ma stai usando anche una wifi intel? 

bisogna vedere quale la causa, potrebbe essereanche il dongle usb/bt

Link to comment
Share on other sites

allora messo su bootarg darkwake=0  peggio non si risveglia nenanche con la tastiera e mouse.

si  quella della mobo raltek 2,5 e una 10 gb su nvme marvell  e una Fenvi 919 per wifi e bluethoot

Ho provato a tenere tutte e due su sia quella da 2,5 che quella da 10 gb.

 

Screenshot2026-02-22alle18_43_55.thumb.png.653628b9dcb0824fcb057432934a1939.png

 

Anche usnado solo la integrata senza la 10 gb non funziona piu il wakeonlan come prima.

Screenshot2026-02-22alle18_46_08.thumb.png.20cd8e05de64c361e53bcde5cd2d24d8.png

 

Edited by Giaccaz
Link to comment
Share on other sites

  • Moderators

prova 1 ,disattiva a impostazioni rete la integrata e riprova

resatta nvram sempre

prova 2, Vai in Impostazioni di Sistema > Rete > Wi-Fi > Avanzate e disattiva "Riattiva per l'accesso alla rete". Lascialo attivo solo sulla scheda Ethernet principale (quella collegata al cavo).

rosetta re riprova

insomma non puoi riattivare con tutte e tre va in conflitto

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.