Skip to content

Commit 2bec7ce

Browse files
authored
Update device path to match Linux kernel versions 5.15.94 and 6.1.12
1 parent 6783b94 commit 2bec7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shuttlepro.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ main (int argc, char **argv)
343343
// Try to find a suitable device. The following glob pattern should
344344
// hopefully cover all existing versions.
345345
glob_t globbuf;
346-
if (glob ("/dev/input/by-id/usb-*Shuttle*-event-if*",
346+
if (glob ("/dev/input/by-id/usb-*Shuttle*-event-*",
347347
0, NULL, &globbuf))
348348
{
349349
errf ("%s: found no suitable shuttle device", argv[0]);

0 commit comments

Comments
 (0)