You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Debian packaging (DKMS) for Linux kernel drivers
Add .deb package support using DKMS to handle install, uninstall, upgrade,
and version control of Qualcomm USB kernel drivers on Debian/Ubuntu systems.
New files:
- debian/: Full Debian packaging (control, rules, changelog, maintainer scripts)
- build-deb.sh: Build script that syncs version from version.h
- dkms.conf: DKMS configuration for 4 kernel modules
Features:
- Builds qtiDevInf, qcom_usb, qcom_usbnet, qcom-serial via DKMS
- Auto-rebuilds modules on kernel updates
- Blacklists conflicting in-tree modules (qcserial, qmi_wwan, etc.)
- Detects and removes conflicting userspace drivers (deb package,
/opt/qcom/qcom_userspace, /opt/qcom/QUD, /opt/QTI/QUD, qcom-qud.service)
- Cleans up pre-existing manual installs before installation
- Installs udev rules for device permissions
- Loads modules immediately after installation
Updated:
- README.md: Added deb package as recommended Linux install method
- src/linux/README.md: Added deb package documentation
- src/linux/version.h: Version 1.0.6.1
Signed-off-by: Hang Zhang <hangz@qti.qualcomm.com>
The recommended way to install on Debian/Ubuntu systems is via the `.deb` package, which uses DKMS to automatically build kernel modules for the running kernel and handles install, uninstall, upgrade, and version control.
0 commit comments