├── .gitignore ├── LICENSE ├── README.md ├── doc ├── perfmode.txt ├── requests.txt ├── ssh-protocol.txt └── surface-dtx.txt ├── examples ├── .gitignore ├── Makefile ├── controller.c └── dtx.c ├── module ├── Makefile ├── dkms.conf ├── include │ ├── linux │ │ ├── surface_acpi_notify.h │ │ └── surface_aggregator │ │ │ ├── controller.h │ │ │ ├── device.h │ │ │ └── serial_hub.h │ └── uapi │ │ └── linux │ │ └── surface_aggregator │ │ ├── cdev.h │ │ └── dtx.h └── src │ ├── Kbuild │ ├── bus.c │ ├── bus.h │ ├── clients │ ├── Kbuild │ ├── surface_acpi_notify.c │ ├── surface_aggregator_cdev.c │ ├── surface_aggregator_hub.c │ ├── surface_aggregator_registry.c │ ├── surface_aggregator_tabletsw.c │ ├── surface_battery.c │ ├── surface_charger.c │ ├── surface_dtx.c │ ├── surface_hid.c │ ├── surface_hid_core.c │ ├── surface_hid_core.h │ ├── surface_kbd.c │ └── surface_platform_profile.c │ ├── controller.c │ ├── controller.h │ ├── core.c │ ├── ssh_msgb.h │ ├── ssh_packet_layer.c │ ├── ssh_packet_layer.h │ ├── ssh_parser.c │ ├── ssh_parser.h │ ├── ssh_request_layer.c │ ├── ssh_request_layer.h │ └── trace.h ├── patches ├── 4.19 │ ├── 0001-ACPI-Fix-buffer-integer-type-mismatch.patch │ ├── 0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch │ └── 0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch ├── 5.10 │ └── 0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch ├── 5.4 │ ├── 0001-ACPI-Fix-buffer-integer-type-mismatch.patch │ ├── 0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch │ └── 0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch └── 5.9 │ └── 0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch ├── pkg └── arch │ ├── .gitignore │ ├── PKGBUILD │ └── README.md └── scripts ├── dmesg └── dmesg_parse.py ├── irpmon └── irpmon_to_json.py ├── ssam-modprobe └── ssam ├── ctrl.py ├── dtx.py ├── events.py ├── evreg.py ├── hid.py ├── libssam.py └── tcl_dump.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/README.md -------------------------------------------------------------------------------- /doc/perfmode.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/doc/perfmode.txt -------------------------------------------------------------------------------- /doc/requests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/doc/requests.txt -------------------------------------------------------------------------------- /doc/ssh-protocol.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/doc/ssh-protocol.txt -------------------------------------------------------------------------------- /doc/surface-dtx.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/doc/surface-dtx.txt -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/examples/Makefile -------------------------------------------------------------------------------- /examples/controller.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/examples/controller.c -------------------------------------------------------------------------------- /examples/dtx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/examples/dtx.c -------------------------------------------------------------------------------- /module/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/Makefile -------------------------------------------------------------------------------- /module/dkms.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/dkms.conf -------------------------------------------------------------------------------- /module/include/linux/surface_acpi_notify.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/linux/surface_acpi_notify.h -------------------------------------------------------------------------------- /module/include/linux/surface_aggregator/controller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/linux/surface_aggregator/controller.h -------------------------------------------------------------------------------- /module/include/linux/surface_aggregator/device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/linux/surface_aggregator/device.h -------------------------------------------------------------------------------- /module/include/linux/surface_aggregator/serial_hub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/linux/surface_aggregator/serial_hub.h -------------------------------------------------------------------------------- /module/include/uapi/linux/surface_aggregator/cdev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/uapi/linux/surface_aggregator/cdev.h -------------------------------------------------------------------------------- /module/include/uapi/linux/surface_aggregator/dtx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/include/uapi/linux/surface_aggregator/dtx.h -------------------------------------------------------------------------------- /module/src/Kbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/Kbuild -------------------------------------------------------------------------------- /module/src/bus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/bus.c -------------------------------------------------------------------------------- /module/src/bus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/bus.h -------------------------------------------------------------------------------- /module/src/clients/Kbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/Kbuild -------------------------------------------------------------------------------- /module/src/clients/surface_acpi_notify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_acpi_notify.c -------------------------------------------------------------------------------- /module/src/clients/surface_aggregator_cdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_aggregator_cdev.c -------------------------------------------------------------------------------- /module/src/clients/surface_aggregator_hub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_aggregator_hub.c -------------------------------------------------------------------------------- /module/src/clients/surface_aggregator_registry.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_aggregator_registry.c -------------------------------------------------------------------------------- /module/src/clients/surface_aggregator_tabletsw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_aggregator_tabletsw.c -------------------------------------------------------------------------------- /module/src/clients/surface_battery.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_battery.c -------------------------------------------------------------------------------- /module/src/clients/surface_charger.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_charger.c -------------------------------------------------------------------------------- /module/src/clients/surface_dtx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_dtx.c -------------------------------------------------------------------------------- /module/src/clients/surface_hid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_hid.c -------------------------------------------------------------------------------- /module/src/clients/surface_hid_core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_hid_core.c -------------------------------------------------------------------------------- /module/src/clients/surface_hid_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_hid_core.h -------------------------------------------------------------------------------- /module/src/clients/surface_kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_kbd.c -------------------------------------------------------------------------------- /module/src/clients/surface_platform_profile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/clients/surface_platform_profile.c -------------------------------------------------------------------------------- /module/src/controller.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/controller.c -------------------------------------------------------------------------------- /module/src/controller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/controller.h -------------------------------------------------------------------------------- /module/src/core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/core.c -------------------------------------------------------------------------------- /module/src/ssh_msgb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_msgb.h -------------------------------------------------------------------------------- /module/src/ssh_packet_layer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_packet_layer.c -------------------------------------------------------------------------------- /module/src/ssh_packet_layer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_packet_layer.h -------------------------------------------------------------------------------- /module/src/ssh_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_parser.c -------------------------------------------------------------------------------- /module/src/ssh_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_parser.h -------------------------------------------------------------------------------- /module/src/ssh_request_layer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_request_layer.c -------------------------------------------------------------------------------- /module/src/ssh_request_layer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/ssh_request_layer.h -------------------------------------------------------------------------------- /module/src/trace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/module/src/trace.h -------------------------------------------------------------------------------- /patches/4.19/0001-ACPI-Fix-buffer-integer-type-mismatch.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/4.19/0001-ACPI-Fix-buffer-integer-type-mismatch.patch -------------------------------------------------------------------------------- /patches/4.19/0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/4.19/0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch -------------------------------------------------------------------------------- /patches/4.19/0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/4.19/0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch -------------------------------------------------------------------------------- /patches/5.10/0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/5.10/0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch -------------------------------------------------------------------------------- /patches/5.4/0001-ACPI-Fix-buffer-integer-type-mismatch.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/5.4/0001-ACPI-Fix-buffer-integer-type-mismatch.patch -------------------------------------------------------------------------------- /patches/5.4/0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/5.4/0002-serdev-Add-ACPI-devices-by-ResourceSource-field.patch -------------------------------------------------------------------------------- /patches/5.4/0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/5.4/0003-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch -------------------------------------------------------------------------------- /patches/5.9/0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/patches/5.9/0001-misc-Surface-Aggregator-Add-file2alias-support-for-S.patch -------------------------------------------------------------------------------- /pkg/arch/.gitignore: -------------------------------------------------------------------------------- 1 | pkg 2 | src 3 | source 4 | *.pkg.tar.zst 5 | -------------------------------------------------------------------------------- /pkg/arch/PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/pkg/arch/PKGBUILD -------------------------------------------------------------------------------- /pkg/arch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/pkg/arch/README.md -------------------------------------------------------------------------------- /scripts/dmesg/dmesg_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/dmesg/dmesg_parse.py -------------------------------------------------------------------------------- /scripts/irpmon/irpmon_to_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/irpmon/irpmon_to_json.py -------------------------------------------------------------------------------- /scripts/ssam-modprobe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam-modprobe -------------------------------------------------------------------------------- /scripts/ssam/ctrl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/ctrl.py -------------------------------------------------------------------------------- /scripts/ssam/dtx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/dtx.py -------------------------------------------------------------------------------- /scripts/ssam/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/events.py -------------------------------------------------------------------------------- /scripts/ssam/evreg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/evreg.py -------------------------------------------------------------------------------- /scripts/ssam/hid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/hid.py -------------------------------------------------------------------------------- /scripts/ssam/libssam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/libssam.py -------------------------------------------------------------------------------- /scripts/ssam/tcl_dump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-surface/surface-aggregator-module/HEAD/scripts/ssam/tcl_dump.py --------------------------------------------------------------------------------