Skip to content

Instantly share code, notes, and snippets.

@sourcejedi
Last active December 5, 2018 20:26
Show Gist options
  • Save sourcejedi/3b93f389ee8481ada6b6ee8948ad447e to your computer and use it in GitHub Desktop.
Save sourcejedi/3b93f389ee8481ada6b6ee8948ad447e to your computer and use it in GitHub Desktop.
sysfs attributes of IBM trackpoint device, before and after unbinding the device driver
/sys/bus/serio/devices/serio2
β”œβ”€β”€ bind_mode
β”œβ”€β”€ description
β”œβ”€β”€ drvctl
β”œβ”€β”€ firmware_id
β”œβ”€β”€ id
β”‚Β Β  β”œβ”€β”€ extra
β”‚Β Β  β”œβ”€β”€ id
β”‚Β Β  β”œβ”€β”€ proto
β”‚Β Β  └── type
β”œβ”€β”€ modalias
β”œβ”€β”€ power
β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
β”‚Β Β  β”œβ”€β”€ control
β”‚Β Β  β”œβ”€β”€ runtime_active_time
β”‚Β Β  β”œβ”€β”€ runtime_status
β”‚Β Β  └── runtime_suspended_time
β”œβ”€β”€ subsystem -> ../../../../../bus/serio
└── uevent
3 directories, 15 files
/sys/bus/serio/devices/serio2
β”œβ”€β”€ bind_mode
β”œβ”€β”€ description
β”œβ”€β”€ draghys
β”œβ”€β”€ drift_time
β”œβ”€β”€ driver -> ../../../../../bus/serio/drivers/psmouse
β”œβ”€β”€ drvctl
β”œβ”€β”€ ext_dev
β”œβ”€β”€ firmware_id
β”œβ”€β”€ id
β”‚Β Β  β”œβ”€β”€ extra
β”‚Β Β  β”œβ”€β”€ id
β”‚Β Β  β”œβ”€β”€ proto
β”‚Β Β  └── type
β”œβ”€β”€ inertia
β”œβ”€β”€ input
β”‚Β Β  └── input6
β”‚Β Β  β”œβ”€β”€ capabilities
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ abs
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ev
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ff
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ key
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ led
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ msc
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rel
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ snd
β”‚Β Β  β”‚Β Β  └── sw
β”‚Β Β  β”œβ”€β”€ device -> ../../../serio2
β”‚Β Β  β”œβ”€β”€ event6
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dev
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ device -> ../../input6
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ power
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../../class/input
β”‚Β Β  β”‚Β Β  └── uevent
β”‚Β Β  β”œβ”€β”€ id
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bustype
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ product
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vendor
β”‚Β Β  β”‚Β Β  └── version
β”‚Β Β  β”œβ”€β”€ modalias
β”‚Β Β  β”œβ”€β”€ mouse1
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dev
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ device -> ../../input6
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ power
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../../class/input
β”‚Β Β  β”‚Β Β  └── uevent
β”‚Β Β  β”œβ”€β”€ name
β”‚Β Β  β”œβ”€β”€ phys
β”‚Β Β  β”œβ”€β”€ power
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
β”‚Β Β  β”œβ”€β”€ properties
β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../class/input
β”‚Β Β  β”œβ”€β”€ uevent
β”‚Β Β  └── uniq
β”œβ”€β”€ jenks
β”œβ”€β”€ mindrag
β”œβ”€β”€ modalias
β”œβ”€β”€ power
β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
β”‚Β Β  β”œβ”€β”€ control
β”‚Β Β  β”œβ”€β”€ runtime_active_time
β”‚Β Β  β”œβ”€β”€ runtime_status
β”‚Β Β  └── runtime_suspended_time
β”œβ”€β”€ press_to_select
β”œβ”€β”€ protocol
β”œβ”€β”€ rate
β”œβ”€β”€ reach
β”œβ”€β”€ resetafter
β”œβ”€β”€ resolution
β”œβ”€β”€ resync_time
β”œβ”€β”€ sensitivity
β”œβ”€β”€ skipback
β”œβ”€β”€ speed
β”œβ”€β”€ subsystem -> ../../../../../bus/serio
β”œβ”€β”€ thresh
β”œβ”€β”€ uevent
β”œβ”€β”€ upthresh
└── ztime
19 directories, 72 files
P: /devices/platform/i8042/serio1/serio2
E: DEVPATH=/devices/platform/i8042/serio1/serio2
E: MODALIAS=serio:ty05pr00id00ex00
E: SERIO_EXTRA=00
E: SERIO_ID=00
E: SERIO_PROTO=00
E: SERIO_TYPE=05
E: SUBSYSTEM=serio
P: /devices/platform/i8042/serio1/serio2
E: DEVPATH=/devices/platform/i8042/serio1/serio2
E: DRIVER=psmouse
E: MODALIAS=serio:ty05pr00id00ex00
E: SERIO_EXTRA=00
E: SERIO_ID=00
E: SERIO_PROTO=00
E: SERIO_TYPE=05
E: SUBSYSTEM=serio
--- before-unbind 2018-12-05 19:18:57.479987244 +0000
+++ after-unbind 2018-12-05 19:20:59.589668856 +0000
@@ -3,7 +3,3 @@
β”œβ”€β”€ description
-β”œβ”€β”€ draghys
-β”œβ”€β”€ drift_time
-β”œβ”€β”€ driver -> ../../../../../bus/serio/drivers/psmouse
β”œβ”€β”€ drvctl
-β”œβ”€β”€ ext_dev
β”œβ”€β”€ firmware_id
@@ -14,58 +10,2 @@
β”‚Β Β  └── type
-β”œβ”€β”€ inertia
-β”œβ”€β”€ input
-β”‚Β Β  └── input6
-β”‚Β Β  β”œβ”€β”€ capabilities
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ abs
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ev
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ff
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ key
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ led
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ msc
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rel
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ snd
-β”‚Β Β  β”‚Β Β  └── sw
-β”‚Β Β  β”œβ”€β”€ device -> ../../../serio2
-β”‚Β Β  β”œβ”€β”€ event6
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dev
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ device -> ../../input6
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ power
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
-β”‚Β Β  β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../../class/input
-β”‚Β Β  β”‚Β Β  └── uevent
-β”‚Β Β  β”œβ”€β”€ id
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bustype
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ product
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vendor
-β”‚Β Β  β”‚Β Β  └── version
-β”‚Β Β  β”œβ”€β”€ modalias
-β”‚Β Β  β”œβ”€β”€ mouse1
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dev
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ device -> ../../input6
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ power
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
-β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
-β”‚Β Β  β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../../class/input
-β”‚Β Β  β”‚Β Β  └── uevent
-β”‚Β Β  β”œβ”€β”€ name
-β”‚Β Β  β”œβ”€β”€ phys
-β”‚Β Β  β”œβ”€β”€ power
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ autosuspend_delay_ms
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ control
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_active_time
-β”‚Β Β  β”‚Β Β  β”œβ”€β”€ runtime_status
-β”‚Β Β  β”‚Β Β  └── runtime_suspended_time
-β”‚Β Β  β”œβ”€β”€ properties
-β”‚Β Β  β”œβ”€β”€ subsystem -> ../../../../../../../class/input
-β”‚Β Β  β”œβ”€β”€ uevent
-β”‚Β Β  └── uniq
-β”œβ”€β”€ jenks
-β”œβ”€β”€ mindrag
β”œβ”€β”€ modalias
@@ -77,18 +17,5 @@
β”‚Β Β  └── runtime_suspended_time
-β”œβ”€β”€ press_to_select
-β”œβ”€β”€ protocol
-β”œβ”€β”€ rate
-β”œβ”€β”€ reach
-β”œβ”€β”€ resetafter
-β”œβ”€β”€ resolution
-β”œβ”€β”€ resync_time
-β”œβ”€β”€ sensitivity
-β”œβ”€β”€ skipback
-β”œβ”€β”€ speed
β”œβ”€β”€ subsystem -> ../../../../../bus/serio
-β”œβ”€β”€ thresh
-β”œβ”€β”€ uevent
-β”œβ”€β”€ upthresh
-└── ztime
+└── uevent
-19 directories, 72 files
+3 directories, 15 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment