Skip to content

Commit

Permalink
added boardnames 4X4-5000 Series and 4X4-7000 Series/D5 to module tux…
Browse files Browse the repository at this point in the history
…edobtoffsuspend
  • Loading branch information
Emohr-Tuxedo committed Feb 3, 2025
1 parent b4d6eb1 commit c682f36
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions Tomte/Presets.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,28 @@ our %DEVICES = (
kernel => '',
display => q{},
usb_device => q{},
},
'77' => {
model => ['TUXEDO Nano Pro Gen11'],
board_name => ['4X4-5000 Series'],
fix => ['tuxedobtoffsuspend'],
flavour => ['22.04', '24.04'],
pci_id => q{},
cpu => q{},
kernel => '',
display => q{},
usb_device => q{},
},
'78' => {
model => ['TUXEDO Nano Pro Gen12'],
board_name => ['4X4-7000 Series/D5'],
fix => ['tuxedobtoffsuspend'],
flavour => ['22.04', '24.04'],
pci_id => q{},
cpu => q{},
kernel => '',
display => q{},
usb_device => q{},
}
);

Expand Down
4 changes: 3 additions & 1 deletion src/tuxedo-tomte
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,9 @@ sub checkRequirements {
}
if ((($ubuntuCodename eq 'jammy') ||
($ubuntuCodename eq 'noble')) &&
($boardname =~ /4X4-8000 Series/sm)) {
(($boardname =~ /4X4-8000 Series/sm) ||
($boardname =~ /4X4-7000 Series\/D5/sm) ||
($boardname =~ /4X4-5000 Series/sm))) {
$presetModules{tuxedobtoffsuspend}{required} = 'yes';
printLog("detected $presetModules{tuxedobtoffsuspend}{name} issue", 'L1', '[INFO]');
}
Expand Down

0 comments on commit c682f36

Please sign in to comment.