|
|
|
@ -148,3 +148,22 @@ sudo uhubctl |
|
|
|
|
# switch of port |
|
|
|
|
uhubctl --action off --location 1-1.4 --ports 5 |
|
|
|
|
~~~ |
|
|
|
|
|
|
|
|
|
EEPROM |
|
|
|
|
====== |
|
|
|
|
|
|
|
|
|
the USB2517 USB hub chip gets its configuration from an EEPROM. |
|
|
|
|
to generate the configuration: |
|
|
|
|
|
|
|
|
|
~~~ |
|
|
|
|
ruby eeprom.rb |
|
|
|
|
~~~ |
|
|
|
|
|
|
|
|
|
this will create the `eeprom.bin` binary file. |
|
|
|
|
feel free to adjust the configuration in the generating script. |
|
|
|
|
|
|
|
|
|
after having soldered all the parts on the board, connect a programmer (here a MiniPRO TL866xx) on the J4 pin header to write the AT24C02 EEPROM: |
|
|
|
|
|
|
|
|
|
~~~ |
|
|
|
|
minipro --device "AT24C02@SOIC8" --write eeprom.bin -s |
|
|
|
|
~~~ |
|
|
|
|