parent
6f79f54e24
commit
2e7abae018
2 changed files with 20 additions and 0 deletions
5
srcpkgs/pinephone-base/files/90-modem-eg25.rules
Normal file
5
srcpkgs/pinephone-base/files/90-modem-eg25.rules
Normal file
|
@ -0,0 +1,5 @@
|
|||
SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="$attr{bInterfaceNumber}"
|
||||
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="01", SYMLINK+="EG25.NMEA", MODE="0660"
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="02", SYMLINK+="EG25.AT", MODE="0660"
|
||||
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="03", SYMLINK+="EG25.MODEM", MODE="0660"
|
15
srcpkgs/pinephone-base/template
Normal file
15
srcpkgs/pinephone-base/template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'pinephone-base'
|
||||
pkgname=pinephone-base
|
||||
version=0.1
|
||||
revision=1
|
||||
archs="aarch64*"
|
||||
build_style=meta
|
||||
depends="pinephone-kernel pinephone-uboot"
|
||||
short_desc="Void Linux PinePhone platform package"
|
||||
maintainer="John Sullivan <jsullivan@csumb.edu>"
|
||||
license="Public Domain"
|
||||
homepage="https://www.voidlinux.org"
|
||||
|
||||
do_install() {
|
||||
vinstall "${FILESDIR}/90-modem-eg25.rules" 644 usr/lib/udev/rules.d
|
||||
}
|
Loading…
Reference in a new issue