mirror of
https://github.com/AndrewX192/lenovo-sa120-fanspeed-utility
synced 2025-12-06 01:23:19 +00:00
Check in /dev/bsg/*
Arch Linux doesn't load sg by default, and it does load bsg
This commit is contained in:
@@ -14,7 +14,7 @@ except ImportError:
|
||||
|
||||
from subprocess import check_output, Popen, PIPE, STDOUT, CalledProcessError
|
||||
|
||||
devices_to_check = ['/dev/sg*', '/dev/ses*']
|
||||
devices_to_check = ['/dev/sg*', '/dev/ses*', '/dev/bsg/*']
|
||||
|
||||
|
||||
def usage():
|
||||
|
||||
Reference in New Issue
Block a user