Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.bullseye pinebook-pro-debian-installer.edit/etc/apt/preferences.bullseye
- --- pinebook-pro-debian-installer.orig/etc/apt/preferences.bullseye 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.bullseye 2020-02-01 16:28:09.294115000 -0800
- @@ -0,0 +1,7 @@
- +Package: *
- +Pin: release a=unstable
- +Pin-Priority: 3
- +
- +Package: *
- +Pin: release a=experimental
- +Pin-Priority: 2
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.buster pinebook-pro-debian-installer.edit/etc/apt/preferences.buster
- --- pinebook-pro-debian-installer.orig/etc/apt/preferences.buster 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.buster 2020-02-01 16:28:13.804107000 -0800
- @@ -0,0 +1,11 @@
- +Package: *
- +Pin: release a=testing
- +Pin-Priority: 4
- +
- +Package: *
- +Pin: release a=unstable
- +Pin-Priority: 3
- +
- +Package: *
- +Pin: release a=experimental
- +Pin-Priority: 2
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.sid pinebook-pro-debian-installer.edit/etc/apt/preferences.sid
- --- pinebook-pro-debian-installer.orig/etc/apt/preferences.sid 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.sid 2020-01-31 14:28:13.253789000 -0800
- @@ -0,0 +1,3 @@
- +Package: *
- +Pin: release a=experimental
- +Pin-Priority: 2
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list pinebook-pro-debian-installer.edit/etc/apt/sources.list
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list 1969-12-31 16:00:00.000000000 -0800
- @@ -1,6 +0,0 @@
- -deb http://deb.debian.org/debian bullseye main
- -# deb-src http://deb.debian.org/debian bullseye main
- -deb http://deb.debian.org/debian bullseye-updates main
- -# deb-src http://deb.debian.org/debian bullseye-updates main
- -deb http://security.debian.org/debian-security bullseye-security/updates main
- -# deb-src http://security.debian.org/debian-security bullseye-security/updates main
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.bullseye pinebook-pro-debian-installer.edit/etc/apt/sources.list.bullseye
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.bullseye 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.bullseye 2020-01-31 19:03:38.587507000 -0800
- @@ -0,0 +1,14 @@
- +deb http://deb.debian.org/debian bullseye main
- +deb-src http://deb.debian.org/debian bullseye main
- +
- +deb http://deb.debian.org/debian bullseye-updates main
- +deb-src http://deb.debian.org/debian bullseye-updates main
- +
- +deb http://security.debian.org/debian-security bullseye-security/updates main
- +deb-src http://security.debian.org/debian-security bullseye-security/updates main
- +
- +#deb http://deb.debian.org/debian unstable main
- +#deb-src http://deb.debian.org/debian unstable main
- +
- +#deb http://deb.debian.org/debian experimental main
- +#deb-src http://deb.debian.org/debian experimental main
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.buster pinebook-pro-debian-installer.edit/etc/apt/sources.list.buster
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.buster 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.buster 2020-01-31 19:03:50.467503000 -0800
- @@ -0,0 +1,26 @@
- +deb http://deb.debian.org/debian buster main
- +deb-src http://deb.debian.org/debian buster main
- +
- +deb http://deb.debian.org/debian-security/ buster/updates main
- +deb-src http://deb.debian.org/debian-security/ buster/updates main
- +
- +deb http://deb.debian.org/debian buster-updates main
- +deb-src http://deb.debian.org/debian buster-updates main
- +
- +#deb http://deb.debian.org/debian buster-backports main
- +#deb-src http://deb.debian.org/debian buster-backports main
- +
- +#deb http://deb.debian.org/debian bullseye main
- +#deb-src http://deb.debian.org/debian bullseye main
- +
- +#deb http://deb.debian.org/debian-security/ bullseye/updates main
- +#deb-src http://deb.debian.org/debian-security/ bullseye/updates main
- +
- +#deb http://deb.debian.org/debian bullseye-updates main
- +#deb-src http://deb.debian.org/debian bullseye-updates main
- +
- +#deb http://deb.debian.org/debian unstable main
- +#deb-src http://deb.debian.org/debian unstable main
- +
- +#deb http://deb.debian.org/debian experimental main
- +#deb-src http://deb.debian.org/debian experimental main
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list 1969-12-31 16:00:00.000000000 -0800
- @@ -1 +0,0 @@
- -deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.bullseye pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.bullseye
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.bullseye 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.bullseye 2020-01-31 14:30:20.203827000 -0800
- @@ -0,0 +1,2 @@
- +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
- +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.buster pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.buster
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.buster 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.buster 2020-01-31 17:30:27.905843000 -0800
- @@ -0,0 +1,2 @@
- +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
- +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.sid pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.sid
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.sid 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.sid 2020-01-31 14:30:44.240046000 -0800
- @@ -0,0 +1,2 @@
- +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Unstable ./
- +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Unstable ./
- diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.sid pinebook-pro-debian-installer.edit/etc/apt/sources.list.sid
- --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.sid 1969-12-31 16:00:00.000000000 -0800
- +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.sid 2020-02-01 16:28:45.544046000 -0800
- @@ -0,0 +1,5 @@
- +deb http://deb.debian.org/debian unstable main
- +deb-src http://deb.debian.org/debian unstable main
- +
- +#deb http://deb.debian.org/debian experimental main
- +#deb-src http://deb.debian.org/debian experimental main
- diff -uNr pinebook-pro-debian-installer.orig/etc/crypttab.template pinebook-pro-debian-installer.edit/etc/crypttab.template
- --- pinebook-pro-debian-installer.orig/etc/crypttab.template 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/etc/crypttab.template 2020-02-01 16:26:43.494205000 -0800
- @@ -1,2 +1,3 @@
- # <target name> <source device> <key file> <options>
- ${BLKNAME}-RootFS PARTLABEL=${BLKNAME}-RootFS none luks,discard
- +${BLKNAME}-Home PARTLABEL=${BLKNAME}-Home none luks,discard
- diff -uNr pinebook-pro-debian-installer.orig/etc/fstab.crypt.template pinebook-pro-debian-installer.edit/etc/fstab.crypt.template
- --- pinebook-pro-debian-installer.orig/etc/fstab.crypt.template 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/etc/fstab.crypt.template 2020-02-01 16:27:33.144166000 -0800
- @@ -1,4 +1,5 @@
- PARTLABEL=${BLKNAME}-EFI /boot/efi vfat defaults,discard,relatime 0 0
- PARTLABEL=${BLKNAME}-Boot /boot ext4 defaults,discard,relatime 0 0
- -LABEL=${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
- +/dev/mapper/${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
- +/dev/mapper/${BLKNAME}-Home /home ext4 defaults,discard,relatime 0 0
- /swapfile swap swap defaults 0 0
- diff -uNr pinebook-pro-debian-installer.orig/etc/fstab.template pinebook-pro-debian-installer.edit/etc/fstab.template
- --- pinebook-pro-debian-installer.orig/etc/fstab.template 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/etc/fstab.template 2020-02-01 16:27:35.424164000 -0800
- @@ -1,4 +1,5 @@
- PARTLABEL=${BLKNAME}-EFI /boot/efi vfat defaults,discard,relatime 0 0
- PARTLABEL=${BLKNAME}-Boot /boot ext4 defaults,discard,relatime 0 0
- -PARTLABEL=${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
- +/dev/mapper/${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
- +/dev/mapper/${BLKNAME}-Home /home ext4 defaults,discard,relatime 0 0
- /swapfile swap swap defaults 0 0
- diff -uNr pinebook-pro-debian-installer.orig/.gitmodules pinebook-pro-debian-installer.edit/.gitmodules
- --- pinebook-pro-debian-installer.orig/.gitmodules 2020-02-01 16:46:40.059019682 -0800
- +++ pinebook-pro-debian-installer.edit/.gitmodules 2020-02-01 16:17:27.657977000 -0800
- @@ -5,3 +5,9 @@
- [submodule "firmware"]
- path = firmware
- url = https://gitlab.manjaro.org/tsys/pinebook-firmware.git
- +[submodule "ap6256-firmware"]
- + path = ap6256-firmware
- + url = https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware.git
- +[submodule "pinebookpro-post-install"]
- + path = pinebookpro-post-install
- + url = https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install.git
- diff -uNr pinebook-pro-debian-installer.orig/gpt.sfdisk.template pinebook-pro-debian-installer.edit/gpt.sfdisk.template
- --- pinebook-pro-debian-installer.orig/gpt.sfdisk.template 2020-02-01 16:46:40.069019621 -0800
- +++ pinebook-pro-debian-installer.edit/gpt.sfdisk.template 2020-01-31 15:23:13.351983000 -0800
- @@ -7,4 +7,5 @@
- /dev/mmcblk1p3 : start= 24576, size= 8192, type=8DA63339-0007-60C0-C436-083AC8230908, name="${BLKNAME}-TrustedFirmware-A", attrs="RequiredPartition"
- /dev/mmcblk1p4 : start= 32768, size= 409600, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, name="${BLKNAME}-EFI"
- /dev/mmcblk1p5 : start= 442368, size= 1024000, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-Boot", attrs="LegacyBIOSBootable"
- -/dev/mmcblk1p6 : start= 1466368, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-RootFS"
- +/dev/mmcblk1p6 : start= 1466368, size= 51200000, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-RootFS"
- +/dev/mmcblk1p7 : start= 52666368, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-Home"
- diff -uNr pinebook-pro-debian-installer.orig/install-debian pinebook-pro-debian-installer.edit/install-debian
- --- pinebook-pro-debian-installer.orig/install-debian 2020-02-01 16:46:40.069019621 -0800
- +++ pinebook-pro-debian-installer.edit/install-debian 2020-02-01 16:34:37.382839000 -0800
- @@ -1,3 +1,4 @@
- +
- #!/bin/bash
- #
- @@ -78,10 +79,14 @@
- if [ -z "$CRYPT" ]
- then
- sudo mkfs.ext4 -FL ${BLKNAME}-RootFS ${PARTITION}6
- + sudo mkfs.ext4 -FL ${BLKNAME}-Home ${PARTITION}7
- else
- sudo cryptsetup luksFormat ${PARTITION}6
- sudo cryptsetup open ${PARTITION}6 ${BLKNAME}-RootFS
- sudo mkfs.ext4 -FL ${BLKNAME}-RootFS /dev/mapper/${BLKNAME}-RootFS
- + sudo cryptsetup luksFormat ${PARTITION}7
- + sudo cryptsetup open ${PARTITION}7 ${BLKNAME}-Home
- + sudo mkfs.ext4 -FL ${BLKNAME}-RootFS /dev/mapper/${BLKNAME}-Home
- fi
- }
- @@ -96,11 +101,17 @@
- sudo mount ${PARTITION}5 ${SYSIMAGE}/boot
- sudo mkdir -p ${SYSIMAGE}/boot/efi
- sudo mount ${PARTITION}4 ${SYSIMAGE}/boot/efi
- + sudo mkdir -p ${SYSIMAGE}/home
- + sudo mount ${PARTITION}7 ${SYSIMAGE}/home
- else
- mkdir -p ${SYSIMAGE}
- [ ! -e /dev/mapper/${BLKNAME}-RootFS ] \
- && sudo cryptsetup open ${PARTITION}6 ${BLKNAME}-RootFS
- + [ ! -e /dev/mapper/${BLKNAME}-Home ] \
- + && sudo cryptsetup open ${PARTITION}7 ${BLKNAME}-Home
- sudo mount /dev/mapper/${BLKNAME}-RootFS ${SYSIMAGE}
- + sudo mkdir -p ${SYSIMAGE}/home
- + sudo mount /dev/mapper/${BLKNAME}-Home ${SYSIMAGE}/home
- sudo mkdir -p ${SYSIMAGE}/boot
- sudo mount ${PARTITION}5 ${SYSIMAGE}/boot
- sudo mkdir -p ${SYSIMAGE}/boot/efi
- @@ -127,13 +138,14 @@
- fi
- sudo tar -C ${SYSIMAGE} -xf debootstrap-${ARCH}.tar.gz
- - sudo fallocate -l 2g ${SYSIMAGE}/swapfile
- + sudo fallocate -l 4G ${SYSIMAGE}/swapfile
- sudo chmod 600 ${SYSIMAGE}/swapfile
- sudo mkswap ${SYSIMAGE}/swapfile
- build_from_template etc/fstab
- sudo install etc/fstab ${SYSIMAGE}/etc/fstab
- sudo install etc/tmpfiles.d/* ${SYSIMAGE}/etc/tmpfiles.d
- - sudo install etc/apt/sources.list ${SYSIMAGE}/etc/apt/sources.list
- + sudo install etc/apt/sources.list.${DEBRELEASE} ${SYSIMAGE}/etc/apt/sources.list
- + sudo install etc/apt/preferences.${DEBRELEASE} ${SYSIMAGE}/etc/apt/preferences
- if [ ! -z "$CRYPT" ]
- then
- @@ -154,7 +166,7 @@
- sudo debootstrap \
- --arch=${ARCH} \
- --include ca-certificates,console-setup,cryptsetup-initramfs,initramfs-tools,locales,keyboard-configuration,network-manager,sudo,u-boot-menu,gnupg,plymouth,plymouth-themes \
- - bullseye ${SYSIMAGE}
- + ${DEBRELEASE} ${SYSIMAGE}
- sudo tar -C ${SYSIMAGE} -cf - . | pigz -9c > debootstrap-${ARCH}.tar.gz
- }
- @@ -183,11 +195,10 @@
- cat etc/default/u-boot.append | sudo tee -a ${SYSIMAGE}/etc/default/u-boot > /dev/null
- cat etc/initramfs-tools/modules.append | sudo tee -a ${SYSIMAGE}/etc/initramfs-tools/modules > /dev/null
- sudo install etc/initramfs-tools/conf.d/* ${SYSIMAGE}/etc/initramfs-tools/conf.d/
- - sudo install etc/apt/sources.list.d/kernel-obs.list ${SYSIMAGE}/etc/apt/sources.list.d/
- + sudo install etc/apt/sources.list.d/kernel-obs.list.${DEBRELEASE} ${SYSIMAGE}/etc/apt/sources.list.d/kernel-obs.list
- sudo install etc/apt/trusted.gpg.d/* ${SYSIMAGE}/etc/apt/trusted.gpg.d/
- sudo install etc/kernel/postinst.d/* ${SYSIMAGE}/etc/kernel/postinst.d/
- - sudo mkdir -p ${SYSIMAGE}/var/lib/alsa/
- - sudo install var/lib/alsa/asound.state ${SYSIMAGE}/var/lib/alsa/asound.state
- +
- on_target dpkg --add-architecture arm64
- on_target apt-get update
- on_target apt-get install -y linux-image-pinebookpro-arm64
- @@ -197,19 +208,28 @@
- printf '\n\n>>>> Installed additional firmware files\n\n'
- sudo mkdir -p ${SYSIMAGE}/lib/firmware/{brcm,rockchip}
- + sudo mkdir -p ${SYSIMAGE}/var/lib/alsa/
- sudo cp -a firmware/brcm/* ${SYSIMAGE}/lib/firmware/brcm/
- + sudo cp -a firmware/ap6256-firmware/* ${SYSIMAGE}/lib/firmware/brcm/
- sudo cp -a firmware/rockchip/* ${SYSIMAGE}/lib/firmware/rockchip/
- + sudo cp -a firmware/pinebookpro-post-install/asound.state ${SYSIMAGE}/var/lib/alsa/asound.state
- }
- do_configure () {
- printf '\n\n>>>> Basic configuration\n\n'
- + printf '\n\n Enter Root Password\n\n'
- + on_target passwd root
- +
- + printf '\n\n Create New User\n\n'
- +
- if [ -z $DRYRUN ]
- then
- - read -p "About to create main user, please enter username: " NEWUSER
- + read -p "Enter new username: " NEWUSER
- else
- NEWUSER=dryrunuser
- fi
- +
- on_target adduser --add_extra_groups $NEWUSER
- on_target adduser $NEWUSER sudo
- @@ -226,7 +246,7 @@
- do_umount () {
- printf '\n\n>>>> umount\n\n'
- - for i in boot/efi boot dev proc sys
- + for i in boot/efi boot dev proc sys home
- do
- sudo umount ${SYSIMAGE}/$i && true
- done
- @@ -234,7 +254,8 @@
- if [ ! -z "$CRYPT" ]
- then
- - sudo cryptsetup close /dev/mapper/${BLKNAME}-RootFS && true
- + sudo cryptsetup close /dev/mapper/${BLKNAME}-RootFS &&
- + sudo cryptsetup close /dev/mapper/${BLKNAME}-Home && true
- fi
- }
- @@ -279,6 +300,8 @@
- do_tasksel
- }
- +# DEBRELEASE options=buster,bullseye,sid
- +DEBRELEASE=bullseye
- ARCH=arm64
- SYSIMAGE="${PWD}/sysimage"
- MMCBLK="$(readlink -f /dev/disk/by-path/platform-fe320000.dwmmc)"
- diff -uNr pinebook-pro-debian-installer.orig/var/lib/alsa/asound.state pinebook-pro-debian-installer.edit/var/lib/alsa/asound.state
- --- pinebook-pro-debian-installer.orig/var/lib/alsa/asound.state 2020-02-01 16:46:40.069019621 -0800
- +++ pinebook-pro-debian-installer.edit/var/lib/alsa/asound.state 1969-12-31 16:00:00.000000000 -0800
- @@ -1,984 +0,0 @@
- -state.rkes8316spksoun {
- - control.1 {
- - iface MIXER
- - name 'Headphone Playback Volume'
- - value.0 1
- - value.1 1
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 3'
- - dbmin -4800
- - dbmax 0
- - dbvalue.0 -2400
- - dbvalue.1 -2400
- - }
- - }
- - control.2 {
- - iface MIXER
- - name 'Headphone Mixer Volume'
- - value.0 0
- - value.1 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 11'
- - dbmin -1200
- - dbmax 0
- - dbvalue.0 -1200
- - dbvalue.1 -1200
- - }
- - }
- - control.3 {
- - iface MIXER
- - name 'Playback Polarity'
- - value Normal
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 Normal
- - item.1 'R Invert'
- - item.2 'L Invert'
- - item.3 'L + R Invert'
- - }
- - }
- - control.4 {
- - iface MIXER
- - name 'DAC Playback Volume'
- - value.0 152
- - value.1 152
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 192'
- - dbmin -9999999
- - dbmax 0
- - dbvalue.0 -2000
- - dbvalue.1 -2000
- - }
- - }
- - control.5 {
- - iface MIXER
- - name 'DAC Soft Ramp Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.6 {
- - iface MIXER
- - name 'DAC Soft Ramp Rate'
- - value 4
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 4'
- - }
- - }
- - control.7 {
- - iface MIXER
- - name 'DAC Notch Filter Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.8 {
- - iface MIXER
- - name 'DAC Double Fs Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.9 {
- - iface MIXER
- - name 'DAC Stereo Enhancement'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 7'
- - }
- - }
- - control.10 {
- - iface MIXER
- - name 'DAC Mono Mix Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.11 {
- - iface MIXER
- - name 'Capture Polarity'
- - value Normal
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 Normal
- - item.1 Invert
- - }
- - }
- - control.12 {
- - iface MIXER
- - name 'Mic Boost Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.13 {
- - iface MIXER
- - name 'ADC Capture Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 192'
- - dbmin -9999999
- - dbmax 0
- - dbvalue.0 -9999999
- - }
- - }
- - control.14 {
- - iface MIXER
- - name 'ADC PGA Gain Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.15 {
- - iface MIXER
- - name 'ADC Soft Ramp Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.16 {
- - iface MIXER
- - name 'ADC Double Fs Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.17 {
- - iface MIXER
- - name 'ALC Capture Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.18 {
- - iface MIXER
- - name 'ALC Capture Max Volume'
- - value 28
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 28'
- - dbmin -650
- - dbmax 3550
- - dbvalue.0 3550
- - }
- - }
- - control.19 {
- - iface MIXER
- - name 'ALC Capture Min Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 28'
- - dbmin -1200
- - dbmax 3000
- - dbvalue.0 -1200
- - }
- - }
- - control.20 {
- - iface MIXER
- - name 'ALC Capture Target Volume'
- - value 11
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - dbmin -1650
- - dbmax -150
- - dbvalue.0 0
- - }
- - }
- - control.21 {
- - iface MIXER
- - name 'ALC Capture Hold Time'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.22 {
- - iface MIXER
- - name 'ALC Capture Decay Time'
- - value 3
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.23 {
- - iface MIXER
- - name 'ALC Capture Attack Time'
- - value 2
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.24 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.25 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Threshold'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 31'
- - }
- - }
- - control.26 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Type'
- - value 'Constant PGA Gain'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'Constant PGA Gain'
- - item.1 'Mute ADC Output'
- - }
- - }
- - control.27 {
- - iface MIXER
- - name 'Differential Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin1-rin1 with 20db Boost'
- - item.3 'lin2-rin2 with 20db Boost'
- - }
- - }
- - control.28 {
- - iface MIXER
- - name 'Digital Mic Mux'
- - value 'dmic disable'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'dmic disable'
- - item.1 'dmic data at high level'
- - item.2 'dmic data at low level'
- - }
- - }
- - control.29 {
- - iface MIXER
- - name 'DAC Source Mux'
- - value 'LDATA TO LDAC, RDATA TO RDAC'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'LDATA TO LDAC, RDATA TO RDAC'
- - item.1 'LDATA TO LDAC, LDATA TO RDAC'
- - item.2 'RDATA TO LDAC, RDATA TO RDAC'
- - item.3 'RDATA TO LDAC, LDATA TO RDAC'
- - }
- - }
- - control.30 {
- - iface MIXER
- - name 'Left Headphone Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin-rin with Boost'
- - item.3 'lin-rin with Boost and PGA'
- - }
- - }
- - control.31 {
- - iface MIXER
- - name 'Right Headphone Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin-rin with Boost'
- - item.3 'lin-rin with Boost and PGA'
- - }
- - }
- - control.32 {
- - iface MIXER
- - name 'Left Headphone Mixer LLIN Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.33 {
- - iface MIXER
- - name 'Left Headphone Mixer Left DAC Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.34 {
- - iface MIXER
- - name 'Right Headphone Mixer RLIN Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.35 {
- - iface MIXER
- - name 'Right Headphone Mixer Right DAC Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- -}
- -state.rockchipes8316c {
- - control.1 {
- - iface CARD
- - name 'Headphones Jack'
- - value true
- - comment {
- - access read
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.2 {
- - iface MIXER
- - name 'Headphone Playback Volume'
- - value.0 3
- - value.1 3
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 3'
- - dbmin -4800
- - dbmax 0
- - dbvalue.0 0
- - dbvalue.1 0
- - }
- - }
- - control.3 {
- - iface MIXER
- - name 'Headphone Mixer Volume'
- - value.0 0
- - value.1 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 11'
- - dbmin -1200
- - dbmax 0
- - dbvalue.0 -1200
- - dbvalue.1 -1200
- - }
- - }
- - control.4 {
- - iface MIXER
- - name 'Playback Polarity'
- - value Normal
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 Normal
- - item.1 'R Invert'
- - item.2 'L Invert'
- - item.3 'L + R Invert'
- - }
- - }
- - control.5 {
- - iface MIXER
- - name 'DAC Playback Volume'
- - value.0 152
- - value.1 152
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 192'
- - dbmin -9999999
- - dbmax 0
- - dbvalue.0 -2000
- - dbvalue.1 -2000
- - }
- - }
- - control.6 {
- - iface MIXER
- - name 'DAC Soft Ramp Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.7 {
- - iface MIXER
- - name 'DAC Soft Ramp Rate'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 4'
- - }
- - }
- - control.8 {
- - iface MIXER
- - name 'DAC Notch Filter Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.9 {
- - iface MIXER
- - name 'DAC Double Fs Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.10 {
- - iface MIXER
- - name 'DAC Stereo Enhancement'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 7'
- - }
- - }
- - control.11 {
- - iface MIXER
- - name 'DAC Mono Mix Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.12 {
- - iface MIXER
- - name 'Capture Polarity'
- - value Normal
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 Normal
- - item.1 Invert
- - }
- - }
- - control.13 {
- - iface MIXER
- - name 'Mic Boost Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.14 {
- - iface MIXER
- - name 'ADC Capture Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 192'
- - dbmin -9999999
- - dbmax 0
- - dbvalue.0 -9999999
- - }
- - }
- - control.15 {
- - iface MIXER
- - name 'ADC PGA Gain Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.16 {
- - iface MIXER
- - name 'ADC Soft Ramp Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.17 {
- - iface MIXER
- - name 'ADC Double Fs Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.18 {
- - iface MIXER
- - name 'ALC Capture Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.19 {
- - iface MIXER
- - name 'ALC Capture Max Volume'
- - value 28
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 28'
- - dbmin -650
- - dbmax 3550
- - dbvalue.0 3550
- - }
- - }
- - control.20 {
- - iface MIXER
- - name 'ALC Capture Min Volume'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 28'
- - dbmin -1200
- - dbmax 3000
- - dbvalue.0 -1200
- - }
- - }
- - control.21 {
- - iface MIXER
- - name 'ALC Capture Target Volume'
- - value 11
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - dbmin -1650
- - dbmax -150
- - dbvalue.0 0
- - }
- - }
- - control.22 {
- - iface MIXER
- - name 'ALC Capture Hold Time'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.23 {
- - iface MIXER
- - name 'ALC Capture Decay Time'
- - value 3
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.24 {
- - iface MIXER
- - name 'ALC Capture Attack Time'
- - value 2
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 10'
- - }
- - }
- - control.25 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.26 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Threshold'
- - value 0
- - comment {
- - access 'read write'
- - type INTEGER
- - count 1
- - range '0 - 31'
- - }
- - }
- - control.27 {
- - iface MIXER
- - name 'ALC Capture Noise Gate Type'
- - value 'Constant PGA Gain'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'Constant PGA Gain'
- - item.1 'Mute ADC Output'
- - }
- - }
- - control.28 {
- - iface MIXER
- - name 'Differential Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin1-rin1 with 20db Boost'
- - item.3 'lin2-rin2 with 20db Boost'
- - }
- - }
- - control.29 {
- - iface MIXER
- - name 'Digital Mic Mux'
- - value 'dmic disable'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'dmic disable'
- - item.1 'dmic data at high level'
- - item.2 'dmic data at low level'
- - }
- - }
- - control.30 {
- - iface MIXER
- - name 'DAC Source Mux'
- - value 'LDATA TO LDAC, RDATA TO RDAC'
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 'LDATA TO LDAC, RDATA TO RDAC'
- - item.1 'LDATA TO LDAC, LDATA TO RDAC'
- - item.2 'RDATA TO LDAC, RDATA TO RDAC'
- - item.3 'RDATA TO LDAC, LDATA TO RDAC'
- - }
- - }
- - control.31 {
- - iface MIXER
- - name 'Left Headphone Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin-rin with Boost'
- - item.3 'lin-rin with Boost and PGA'
- - }
- - }
- - control.32 {
- - iface MIXER
- - name 'Right Headphone Mux'
- - value lin1-rin1
- - comment {
- - access 'read write'
- - type ENUMERATED
- - count 1
- - item.0 lin1-rin1
- - item.1 lin2-rin2
- - item.2 'lin-rin with Boost'
- - item.3 'lin-rin with Boost and PGA'
- - }
- - }
- - control.33 {
- - iface MIXER
- - name 'Left Headphone Mixer LLIN Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.34 {
- - iface MIXER
- - name 'Left Headphone Mixer Left DAC Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.35 {
- - iface MIXER
- - name 'Right Headphone Mixer RLIN Switch'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.36 {
- - iface MIXER
- - name 'Right Headphone Mixer Right DAC Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- -}
- -state.UA1EX {
- - control.1 {
- - iface PCM
- - name 'Playback Channel Map'
- - value.0 0
- - value.1 0
- - comment {
- - access read
- - type INTEGER
- - count 2
- - range '0 - 36'
- - }
- - }
- - control.2 {
- - iface PCM
- - name 'Capture Channel Map'
- - value.0 0
- - value.1 0
- - comment {
- - access read
- - type INTEGER
- - count 2
- - range '0 - 36'
- - }
- - }
- - control.3 {
- - iface CARD
- - name 'Keep Interface'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- -}
- -state.UZ2315H {
- - control.1 {
- - iface PCM
- - name 'Capture Channel Map'
- - value.0 0
- - value.1 0
- - comment {
- - access read
- - type INTEGER
- - count 2
- - range '0 - 36'
- - }
- - }
- - control.2 {
- - iface PCM
- - name 'Playback Channel Map'
- - value.0 0
- - value.1 0
- - comment {
- - access read
- - type INTEGER
- - count 2
- - range '0 - 36'
- - }
- - }
- - control.3 {
- - iface MIXER
- - name 'Headset Capture Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.4 {
- - iface MIXER
- - name 'Headset Capture Volume'
- - value.0 35
- - value.1 35
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 35'
- - dbmin -3000
- - dbmax 500
- - dbvalue.0 500
- - dbvalue.1 500
- - }
- - }
- - control.5 {
- - iface MIXER
- - name 'Auto Gain Control'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.6 {
- - iface MIXER
- - name 'PCM Playback Switch'
- - value true
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- - control.7 {
- - iface MIXER
- - name 'PCM Playback Volume'
- - value.0 54
- - value.1 54
- - comment {
- - access 'read write'
- - type INTEGER
- - count 2
- - range '0 - 79'
- - dbmin -7400
- - dbmax 500
- - dbvalue.0 -2000
- - dbvalue.1 -2000
- - }
- - }
- - control.8 {
- - iface CARD
- - name 'Keep Interface'
- - value false
- - comment {
- - access 'read write'
- - type BOOLEAN
- - count 1
- - }
- - }
- -}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement