mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-09 16:10:34 -04:00
hardware: Add Legion Go to board_lookup test
This commit is contained in:
parent
65ee50f841
commit
f1621ef8ec
1 changed files with 12 additions and 0 deletions
|
@ -218,6 +218,18 @@ pub mod test {
|
||||||
(DeviceType::Unknown, String::from("unknown"))
|
(DeviceType::Unknown, String::from("unknown"))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
write(crate::path(PRODUCT_NAME_PATH), "83E1\n")
|
||||||
|
.await
|
||||||
|
.expect("write");
|
||||||
|
assert_eq!(
|
||||||
|
steam_deck_variant().await.unwrap(),
|
||||||
|
SteamDeckVariant::Unknown
|
||||||
|
);
|
||||||
|
assert_eq!(
|
||||||
|
device_variant().await.unwrap(),
|
||||||
|
(DeviceType::LegionGo, String::from("83E1"))
|
||||||
|
);
|
||||||
|
|
||||||
write(crate::path(PRODUCT_NAME_PATH), "83L3\n")
|
write(crate::path(PRODUCT_NAME_PATH), "83L3\n")
|
||||||
.await
|
.await
|
||||||
.expect("write");
|
.expect("write");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue