Skip to content

Commit

Permalink
power-meter
Browse files Browse the repository at this point in the history
  • Loading branch information
Czichy committed Dec 7, 2024
1 parent f57b3b2 commit afc9412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hosts/HL-1-MRZ-HOST-01/guests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# USB pass-through for power meter
services.udev.extraRules = ''
# Lesekopf - Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_015ACA59
SUBSYSTEM=="usb", ATTRS{serial}=="015ACA59", ATTRS{product}=="CP2104_USB_to_UART_Bridge_Controller", GROUP="kvm", NAME="lesekopf0"
SUBSYSTEM=="tty", ATTRS{serial}=="015ACA59", ATTRS{model}=="CP2104_USB_to_UART_Bridge_Controller", GROUP="kvm", NAME="lesekopf0"
'';
tensorfiles.services.microvm = {
enable = true;
Expand Down
2 changes: 1 addition & 1 deletion hosts/HL-1-MRZ-HOST-01/guests/powermeter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Lesekopf - Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_015ACA59
{
bus = "usb";
path = "serial=015ACA59,product=CP2104_USB_to_UART_Bridge_Controller";
path = "serial=015ACA59,model=CP2104_USB_to_UART_Bridge_Controller";
}
];
# microvm.shares = [
Expand Down

0 comments on commit afc9412

Please sign in to comment.