Skip to content

Commit f6e636e

Browse files
committed
Update USB ID
1 parent fa3e4c4 commit f6e636e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/daemon/server.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ impl<R: Read, W: Write> DaemonServer<R, W> {
6060
match HidApi::new() {
6161
Ok(api) => for info in api.device_list() {
6262
match (info.vendor_id(), info.product_id()) {
63-
(0x1776, 0x1776) => match info.interface_number() {
63+
// System76 launch_1
64+
(0x3384, 0x0001) => match info.interface_number() {
6465
//TODO: better way to determine this
6566
1 => match info.open_device(&api) {
6667
Ok(device) => {
@@ -258,4 +259,4 @@ impl<R: Read, W: Write> Daemon for DaemonServer<R, W> {
258259
self.running.set(false);
259260
Ok(())
260261
}
261-
}
262+
}

0 commit comments

Comments
 (0)