For a while I have weird issues with some usb devices, like mice that start to stutter and get sluggish but only briefly every now and then or more serious; external disks sometimes just disappearing and re-appearing in a loop. I noticed this does not happen with all usb ports all the time but it does happen sometimes.
I thought maybe it is a power issue when reading up on it I noticed for laptops different power values are used and not all settings are used as opposed to a desktop system. Our NUCs are in fact laptops in a box without a builtin keyboard and screen. So I tried changing these options in the ACPI patch responsible for setting it.
It seems to have gotten better but as I haven't figured out how to reproduce this consistently it is too early to say this fixes it properly but I have not run in to it for a while and it normally happen at least once every few days. The changes are minor and I will attach the new file to this post and also show the changes so you can make them yourself with MaciASL.
In the current SSDT-EC-USBX.aml we have:
"kUSBSleepPowerSupply",
0x13EC,
"kUSBSleepPortCurrentLimit",
0x0834,
"kUSBWakePowerSupply",
0x13EC,
"kUSBWakePortCurrentLimit",
0x0834
I replaced that block with:
"kUSBSleepPortCurrentLimit",
0x0BB8,
"kUSBWakePortCurrentLimit",
0x0BB8
It may not be needed to remove the PowerSupply lines but the example for laptops did not have them in there and my usb is working as it always had minus the jittering and sluggish mouse. So it should be fine and it could even cause issues leaving them in.
I have yet to try connecting a bunch of external disks and see how that goes but so far so good!
You can open the file and make the changes yourself with MaciASL or replace the file with one attached to this post.
Please report any issues and/or successes below, thank you!
SSDT-EC-USBX.aml.zip
For a while I have weird issues with some usb devices, like mice that start to stutter and get sluggish but only briefly every now and then or more serious; external disks sometimes just disappearing and re-appearing in a loop. I noticed this does not happen with all usb ports all the time but it does happen sometimes.
I thought maybe it is a power issue when reading up on it I noticed for laptops different power values are used and not all settings are used as opposed to a desktop system. Our NUCs are in fact laptops in a box without a builtin keyboard and screen. So I tried changing these options in the ACPI patch responsible for setting it.
It seems to have gotten better but as I haven't figured out how to reproduce this consistently it is too early to say this fixes it properly but I have not run in to it for a while and it normally happen at least once every few days. The changes are minor and I will attach the new file to this post and also show the changes so you can make them yourself with MaciASL.
In the current SSDT-EC-USBX.aml we have:
I replaced that block with:
It may not be needed to remove the
PowerSupplylines but the example for laptops did not have them in there and my usb is working as it always had minus the jittering and sluggish mouse. So it should be fine and it could even cause issues leaving them in.I have yet to try connecting a bunch of external disks and see how that goes but so far so good!
You can open the file and make the changes yourself with MaciASL or replace the file with one attached to this post.
Please report any issues and/or successes below, thank you!
SSDT-EC-USBX.aml.zip