Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bonw15-b #435

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add bonw15-b
Signed-off-by: Tim Crawford <tcrawford@system76.com>
crawfxrd committed Jul 19, 2024

Verified

This commit was signed with the committer’s verified signature.
crawfxrd Tim Crawford
commit 1eab3b754e59cc5380e0c33dbf4671a9daf0b366
2 changes: 2 additions & 0 deletions src/graphics.rs
Original file line number Diff line number Diff line change
@@ -99,6 +99,7 @@ const EXTERNAL_DISPLAY_REQUIRES_NVIDIA: &[&str] = &[
"addw3",
"addw4",
"bonw15",
"bonw15-b",
"gaze14",
"gaze15",
"gaze16-3050",
@@ -524,6 +525,7 @@ impl Graphics {
fs::read_to_string("/sys/class/dmi/id/product_version").unwrap_or_default();
match (dmi_vendor.trim(), dmi_model.trim()) {
("System76", "bonw15") => true,
("System76", "bonw15-b") => true,
_ => false,
}
};
2 changes: 1 addition & 1 deletion src/hotplug/mod.rs
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ impl HotPlugDetect {
],
}),
}),
"bonw15" => Ok(Self {
"bonw15" | "bonw15-b" => Ok(Self {
integrated: Integrated::Intel(Intel {
sideband: Sideband::new(0xE000_0000)?,
port: 0x6E,
2 changes: 1 addition & 1 deletion src/runtime_pm.rs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ pub fn runtime_pm_quirks() -> io::Result<()> {
let model = fs::read_to_string("/sys/class/dmi/id/product_version")?;

match (vendor.trim(), model.trim()) {
("System76", "bonw15") => {
("System76", "bonw15") | ("System76", "bonw15-b") => {
for dev in PciDevice::all()? {
match (dev.vendor()?, dev.device()?) {
(0x8086, 0x1138) => {