Advertisement
xmixahlx

danielt debian installer patch 1

Feb 2nd, 2020
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.03 KB | None | 0 0
  1. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.bullseye pinebook-pro-debian-installer.edit/etc/apt/preferences.bullseye
  2. --- pinebook-pro-debian-installer.orig/etc/apt/preferences.bullseye 1969-12-31 16:00:00.000000000 -0800
  3. +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.bullseye 2020-02-01 16:28:09.294115000 -0800
  4. @@ -0,0 +1,7 @@
  5. +Package: *
  6. +Pin: release a=unstable
  7. +Pin-Priority: 3
  8. +
  9. +Package: *
  10. +Pin: release a=experimental
  11. +Pin-Priority: 2
  12. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.buster pinebook-pro-debian-installer.edit/etc/apt/preferences.buster
  13. --- pinebook-pro-debian-installer.orig/etc/apt/preferences.buster 1969-12-31 16:00:00.000000000 -0800
  14. +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.buster 2020-02-01 16:28:13.804107000 -0800
  15. @@ -0,0 +1,11 @@
  16. +Package: *
  17. +Pin: release a=testing
  18. +Pin-Priority: 4
  19. +
  20. +Package: *
  21. +Pin: release a=unstable
  22. +Pin-Priority: 3
  23. +
  24. +Package: *
  25. +Pin: release a=experimental
  26. +Pin-Priority: 2
  27. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/preferences.sid pinebook-pro-debian-installer.edit/etc/apt/preferences.sid
  28. --- pinebook-pro-debian-installer.orig/etc/apt/preferences.sid 1969-12-31 16:00:00.000000000 -0800
  29. +++ pinebook-pro-debian-installer.edit/etc/apt/preferences.sid 2020-01-31 14:28:13.253789000 -0800
  30. @@ -0,0 +1,3 @@
  31. +Package: *
  32. +Pin: release a=experimental
  33. +Pin-Priority: 2
  34. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list pinebook-pro-debian-installer.edit/etc/apt/sources.list
  35. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list 2020-02-01 16:46:40.059019682 -0800
  36. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list 1969-12-31 16:00:00.000000000 -0800
  37. @@ -1,6 +0,0 @@
  38. -deb http://deb.debian.org/debian bullseye main
  39. -# deb-src http://deb.debian.org/debian bullseye main
  40. -deb http://deb.debian.org/debian bullseye-updates main
  41. -# deb-src http://deb.debian.org/debian bullseye-updates main
  42. -deb http://security.debian.org/debian-security bullseye-security/updates main
  43. -# deb-src http://security.debian.org/debian-security bullseye-security/updates main
  44. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.bullseye pinebook-pro-debian-installer.edit/etc/apt/sources.list.bullseye
  45. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.bullseye 1969-12-31 16:00:00.000000000 -0800
  46. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.bullseye 2020-01-31 19:03:38.587507000 -0800
  47. @@ -0,0 +1,14 @@
  48. +deb http://deb.debian.org/debian bullseye main
  49. +deb-src http://deb.debian.org/debian bullseye main
  50. +
  51. +deb http://deb.debian.org/debian bullseye-updates main
  52. +deb-src http://deb.debian.org/debian bullseye-updates main
  53. +
  54. +deb http://security.debian.org/debian-security bullseye-security/updates main
  55. +deb-src http://security.debian.org/debian-security bullseye-security/updates main
  56. +
  57. +#deb http://deb.debian.org/debian unstable main
  58. +#deb-src http://deb.debian.org/debian unstable main
  59. +
  60. +#deb http://deb.debian.org/debian experimental main
  61. +#deb-src http://deb.debian.org/debian experimental main
  62. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.buster pinebook-pro-debian-installer.edit/etc/apt/sources.list.buster
  63. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.buster 1969-12-31 16:00:00.000000000 -0800
  64. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.buster 2020-01-31 19:03:50.467503000 -0800
  65. @@ -0,0 +1,26 @@
  66. +deb http://deb.debian.org/debian buster main
  67. +deb-src http://deb.debian.org/debian buster main
  68. +
  69. +deb http://deb.debian.org/debian-security/ buster/updates main
  70. +deb-src http://deb.debian.org/debian-security/ buster/updates main
  71. +
  72. +deb http://deb.debian.org/debian buster-updates main
  73. +deb-src http://deb.debian.org/debian buster-updates main
  74. +
  75. +#deb http://deb.debian.org/debian buster-backports main
  76. +#deb-src http://deb.debian.org/debian buster-backports main
  77. +
  78. +#deb http://deb.debian.org/debian bullseye main
  79. +#deb-src http://deb.debian.org/debian bullseye main
  80. +
  81. +#deb http://deb.debian.org/debian-security/ bullseye/updates main
  82. +#deb-src http://deb.debian.org/debian-security/ bullseye/updates main
  83. +
  84. +#deb http://deb.debian.org/debian bullseye-updates main
  85. +#deb-src http://deb.debian.org/debian bullseye-updates main
  86. +
  87. +#deb http://deb.debian.org/debian unstable main
  88. +#deb-src http://deb.debian.org/debian unstable main
  89. +
  90. +#deb http://deb.debian.org/debian experimental main
  91. +#deb-src http://deb.debian.org/debian experimental main
  92. 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
  93. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list 2020-02-01 16:46:40.059019682 -0800
  94. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list 1969-12-31 16:00:00.000000000 -0800
  95. @@ -1 +0,0 @@
  96. -deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
  97. 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
  98. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.bullseye 1969-12-31 16:00:00.000000000 -0800
  99. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.bullseye 2020-01-31 14:30:20.203827000 -0800
  100. @@ -0,0 +1,2 @@
  101. +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
  102. +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
  103. 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
  104. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.buster 1969-12-31 16:00:00.000000000 -0800
  105. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.buster 2020-01-31 17:30:27.905843000 -0800
  106. @@ -0,0 +1,2 @@
  107. +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
  108. +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Testing ./
  109. 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
  110. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.d/kernel-obs.list.sid 1969-12-31 16:00:00.000000000 -0800
  111. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.d/kernel-obs.list.sid 2020-01-31 14:30:44.240046000 -0800
  112. @@ -0,0 +1,2 @@
  113. +deb http://download.opensuse.org/repositories/home:/danielthompson/Debian_Unstable ./
  114. +deb-src http://download.opensuse.org/repositories/home:/danielthompson/Debian_Unstable ./
  115. diff -uNr pinebook-pro-debian-installer.orig/etc/apt/sources.list.sid pinebook-pro-debian-installer.edit/etc/apt/sources.list.sid
  116. --- pinebook-pro-debian-installer.orig/etc/apt/sources.list.sid 1969-12-31 16:00:00.000000000 -0800
  117. +++ pinebook-pro-debian-installer.edit/etc/apt/sources.list.sid 2020-02-01 16:28:45.544046000 -0800
  118. @@ -0,0 +1,5 @@
  119. +deb http://deb.debian.org/debian unstable main
  120. +deb-src http://deb.debian.org/debian unstable main
  121. +
  122. +#deb http://deb.debian.org/debian experimental main
  123. +#deb-src http://deb.debian.org/debian experimental main
  124. diff -uNr pinebook-pro-debian-installer.orig/etc/crypttab.template pinebook-pro-debian-installer.edit/etc/crypttab.template
  125. --- pinebook-pro-debian-installer.orig/etc/crypttab.template 2020-02-01 16:46:40.059019682 -0800
  126. +++ pinebook-pro-debian-installer.edit/etc/crypttab.template 2020-02-01 16:26:43.494205000 -0800
  127. @@ -1,2 +1,3 @@
  128. # <target name> <source device> <key file> <options>
  129. ${BLKNAME}-RootFS PARTLABEL=${BLKNAME}-RootFS none luks,discard
  130. +${BLKNAME}-Home PARTLABEL=${BLKNAME}-Home none luks,discard
  131. diff -uNr pinebook-pro-debian-installer.orig/etc/fstab.crypt.template pinebook-pro-debian-installer.edit/etc/fstab.crypt.template
  132. --- pinebook-pro-debian-installer.orig/etc/fstab.crypt.template 2020-02-01 16:46:40.059019682 -0800
  133. +++ pinebook-pro-debian-installer.edit/etc/fstab.crypt.template 2020-02-01 16:27:33.144166000 -0800
  134. @@ -1,4 +1,5 @@
  135. PARTLABEL=${BLKNAME}-EFI /boot/efi vfat defaults,discard,relatime 0 0
  136. PARTLABEL=${BLKNAME}-Boot /boot ext4 defaults,discard,relatime 0 0
  137. -LABEL=${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
  138. +/dev/mapper/${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
  139. +/dev/mapper/${BLKNAME}-Home /home ext4 defaults,discard,relatime 0 0
  140. /swapfile swap swap defaults 0 0
  141. diff -uNr pinebook-pro-debian-installer.orig/etc/fstab.template pinebook-pro-debian-installer.edit/etc/fstab.template
  142. --- pinebook-pro-debian-installer.orig/etc/fstab.template 2020-02-01 16:46:40.059019682 -0800
  143. +++ pinebook-pro-debian-installer.edit/etc/fstab.template 2020-02-01 16:27:35.424164000 -0800
  144. @@ -1,4 +1,5 @@
  145. PARTLABEL=${BLKNAME}-EFI /boot/efi vfat defaults,discard,relatime 0 0
  146. PARTLABEL=${BLKNAME}-Boot /boot ext4 defaults,discard,relatime 0 0
  147. -PARTLABEL=${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
  148. +/dev/mapper/${BLKNAME}-RootFS / ext4 defaults,discard,relatime 0 0
  149. +/dev/mapper/${BLKNAME}-Home /home ext4 defaults,discard,relatime 0 0
  150. /swapfile swap swap defaults 0 0
  151. diff -uNr pinebook-pro-debian-installer.orig/.gitmodules pinebook-pro-debian-installer.edit/.gitmodules
  152. --- pinebook-pro-debian-installer.orig/.gitmodules 2020-02-01 16:46:40.059019682 -0800
  153. +++ pinebook-pro-debian-installer.edit/.gitmodules 2020-02-01 16:17:27.657977000 -0800
  154. @@ -5,3 +5,9 @@
  155. [submodule "firmware"]
  156. path = firmware
  157. url = https://gitlab.manjaro.org/tsys/pinebook-firmware.git
  158. +[submodule "ap6256-firmware"]
  159. + path = ap6256-firmware
  160. + url = https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware.git
  161. +[submodule "pinebookpro-post-install"]
  162. + path = pinebookpro-post-install
  163. + url = https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install.git
  164. diff -uNr pinebook-pro-debian-installer.orig/gpt.sfdisk.template pinebook-pro-debian-installer.edit/gpt.sfdisk.template
  165. --- pinebook-pro-debian-installer.orig/gpt.sfdisk.template 2020-02-01 16:46:40.069019621 -0800
  166. +++ pinebook-pro-debian-installer.edit/gpt.sfdisk.template 2020-01-31 15:23:13.351983000 -0800
  167. @@ -7,4 +7,5 @@
  168. /dev/mmcblk1p3 : start= 24576, size= 8192, type=8DA63339-0007-60C0-C436-083AC8230908, name="${BLKNAME}-TrustedFirmware-A", attrs="RequiredPartition"
  169. /dev/mmcblk1p4 : start= 32768, size= 409600, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, name="${BLKNAME}-EFI"
  170. /dev/mmcblk1p5 : start= 442368, size= 1024000, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-Boot", attrs="LegacyBIOSBootable"
  171. -/dev/mmcblk1p6 : start= 1466368, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-RootFS"
  172. +/dev/mmcblk1p6 : start= 1466368, size= 51200000, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-RootFS"
  173. +/dev/mmcblk1p7 : start= 52666368, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="${BLKNAME}-Home"
  174. diff -uNr pinebook-pro-debian-installer.orig/install-debian pinebook-pro-debian-installer.edit/install-debian
  175. --- pinebook-pro-debian-installer.orig/install-debian 2020-02-01 16:46:40.069019621 -0800
  176. +++ pinebook-pro-debian-installer.edit/install-debian 2020-02-01 16:34:37.382839000 -0800
  177. @@ -1,3 +1,4 @@
  178. +
  179. #!/bin/bash
  180.  
  181. #
  182. @@ -78,10 +79,14 @@
  183. if [ -z "$CRYPT" ]
  184. then
  185. sudo mkfs.ext4 -FL ${BLKNAME}-RootFS ${PARTITION}6
  186. + sudo mkfs.ext4 -FL ${BLKNAME}-Home ${PARTITION}7
  187. else
  188. sudo cryptsetup luksFormat ${PARTITION}6
  189. sudo cryptsetup open ${PARTITION}6 ${BLKNAME}-RootFS
  190. sudo mkfs.ext4 -FL ${BLKNAME}-RootFS /dev/mapper/${BLKNAME}-RootFS
  191. + sudo cryptsetup luksFormat ${PARTITION}7
  192. + sudo cryptsetup open ${PARTITION}7 ${BLKNAME}-Home
  193. + sudo mkfs.ext4 -FL ${BLKNAME}-RootFS /dev/mapper/${BLKNAME}-Home
  194. fi
  195. }
  196.  
  197. @@ -96,11 +101,17 @@
  198. sudo mount ${PARTITION}5 ${SYSIMAGE}/boot
  199. sudo mkdir -p ${SYSIMAGE}/boot/efi
  200. sudo mount ${PARTITION}4 ${SYSIMAGE}/boot/efi
  201. + sudo mkdir -p ${SYSIMAGE}/home
  202. + sudo mount ${PARTITION}7 ${SYSIMAGE}/home
  203. else
  204. mkdir -p ${SYSIMAGE}
  205. [ ! -e /dev/mapper/${BLKNAME}-RootFS ] \
  206. && sudo cryptsetup open ${PARTITION}6 ${BLKNAME}-RootFS
  207. + [ ! -e /dev/mapper/${BLKNAME}-Home ] \
  208. + && sudo cryptsetup open ${PARTITION}7 ${BLKNAME}-Home
  209. sudo mount /dev/mapper/${BLKNAME}-RootFS ${SYSIMAGE}
  210. + sudo mkdir -p ${SYSIMAGE}/home
  211. + sudo mount /dev/mapper/${BLKNAME}-Home ${SYSIMAGE}/home
  212. sudo mkdir -p ${SYSIMAGE}/boot
  213. sudo mount ${PARTITION}5 ${SYSIMAGE}/boot
  214. sudo mkdir -p ${SYSIMAGE}/boot/efi
  215. @@ -127,13 +138,14 @@
  216. fi
  217.  
  218. sudo tar -C ${SYSIMAGE} -xf debootstrap-${ARCH}.tar.gz
  219. - sudo fallocate -l 2g ${SYSIMAGE}/swapfile
  220. + sudo fallocate -l 4G ${SYSIMAGE}/swapfile
  221. sudo chmod 600 ${SYSIMAGE}/swapfile
  222. sudo mkswap ${SYSIMAGE}/swapfile
  223. build_from_template etc/fstab
  224. sudo install etc/fstab ${SYSIMAGE}/etc/fstab
  225. sudo install etc/tmpfiles.d/* ${SYSIMAGE}/etc/tmpfiles.d
  226. - sudo install etc/apt/sources.list ${SYSIMAGE}/etc/apt/sources.list
  227. + sudo install etc/apt/sources.list.${DEBRELEASE} ${SYSIMAGE}/etc/apt/sources.list
  228. + sudo install etc/apt/preferences.${DEBRELEASE} ${SYSIMAGE}/etc/apt/preferences
  229.  
  230. if [ ! -z "$CRYPT" ]
  231. then
  232. @@ -154,7 +166,7 @@
  233. sudo debootstrap \
  234. --arch=${ARCH} \
  235. --include ca-certificates,console-setup,cryptsetup-initramfs,initramfs-tools,locales,keyboard-configuration,network-manager,sudo,u-boot-menu,gnupg,plymouth,plymouth-themes \
  236. - bullseye ${SYSIMAGE}
  237. + ${DEBRELEASE} ${SYSIMAGE}
  238. sudo tar -C ${SYSIMAGE} -cf - . | pigz -9c > debootstrap-${ARCH}.tar.gz
  239. }
  240.  
  241. @@ -183,11 +195,10 @@
  242. cat etc/default/u-boot.append | sudo tee -a ${SYSIMAGE}/etc/default/u-boot > /dev/null
  243. cat etc/initramfs-tools/modules.append | sudo tee -a ${SYSIMAGE}/etc/initramfs-tools/modules > /dev/null
  244. sudo install etc/initramfs-tools/conf.d/* ${SYSIMAGE}/etc/initramfs-tools/conf.d/
  245. - sudo install etc/apt/sources.list.d/kernel-obs.list ${SYSIMAGE}/etc/apt/sources.list.d/
  246. + sudo install etc/apt/sources.list.d/kernel-obs.list.${DEBRELEASE} ${SYSIMAGE}/etc/apt/sources.list.d/kernel-obs.list
  247. sudo install etc/apt/trusted.gpg.d/* ${SYSIMAGE}/etc/apt/trusted.gpg.d/
  248. sudo install etc/kernel/postinst.d/* ${SYSIMAGE}/etc/kernel/postinst.d/
  249. - sudo mkdir -p ${SYSIMAGE}/var/lib/alsa/
  250. - sudo install var/lib/alsa/asound.state ${SYSIMAGE}/var/lib/alsa/asound.state
  251. +
  252. on_target dpkg --add-architecture arm64
  253. on_target apt-get update
  254. on_target apt-get install -y linux-image-pinebookpro-arm64
  255. @@ -197,19 +208,28 @@
  256. printf '\n\n>>>> Installed additional firmware files\n\n'
  257.  
  258. sudo mkdir -p ${SYSIMAGE}/lib/firmware/{brcm,rockchip}
  259. + sudo mkdir -p ${SYSIMAGE}/var/lib/alsa/
  260. sudo cp -a firmware/brcm/* ${SYSIMAGE}/lib/firmware/brcm/
  261. + sudo cp -a firmware/ap6256-firmware/* ${SYSIMAGE}/lib/firmware/brcm/
  262. sudo cp -a firmware/rockchip/* ${SYSIMAGE}/lib/firmware/rockchip/
  263. + sudo cp -a firmware/pinebookpro-post-install/asound.state ${SYSIMAGE}/var/lib/alsa/asound.state
  264. }
  265.  
  266. do_configure () {
  267. printf '\n\n>>>> Basic configuration\n\n'
  268.  
  269. + printf '\n\n Enter Root Password\n\n'
  270. + on_target passwd root
  271. +
  272. + printf '\n\n Create New User\n\n'
  273. +
  274. if [ -z $DRYRUN ]
  275. then
  276. - read -p "About to create main user, please enter username: " NEWUSER
  277. + read -p "Enter new username: " NEWUSER
  278. else
  279. NEWUSER=dryrunuser
  280. fi
  281. +
  282. on_target adduser --add_extra_groups $NEWUSER
  283. on_target adduser $NEWUSER sudo
  284.  
  285. @@ -226,7 +246,7 @@
  286. do_umount () {
  287. printf '\n\n>>>> umount\n\n'
  288.  
  289. - for i in boot/efi boot dev proc sys
  290. + for i in boot/efi boot dev proc sys home
  291. do
  292. sudo umount ${SYSIMAGE}/$i && true
  293. done
  294. @@ -234,7 +254,8 @@
  295.  
  296. if [ ! -z "$CRYPT" ]
  297. then
  298. - sudo cryptsetup close /dev/mapper/${BLKNAME}-RootFS && true
  299. + sudo cryptsetup close /dev/mapper/${BLKNAME}-RootFS &&
  300. + sudo cryptsetup close /dev/mapper/${BLKNAME}-Home && true
  301. fi
  302. }
  303.  
  304. @@ -279,6 +300,8 @@
  305. do_tasksel
  306. }
  307.  
  308. +# DEBRELEASE options=buster,bullseye,sid
  309. +DEBRELEASE=bullseye
  310. ARCH=arm64
  311. SYSIMAGE="${PWD}/sysimage"
  312. MMCBLK="$(readlink -f /dev/disk/by-path/platform-fe320000.dwmmc)"
  313. diff -uNr pinebook-pro-debian-installer.orig/var/lib/alsa/asound.state pinebook-pro-debian-installer.edit/var/lib/alsa/asound.state
  314. --- pinebook-pro-debian-installer.orig/var/lib/alsa/asound.state 2020-02-01 16:46:40.069019621 -0800
  315. +++ pinebook-pro-debian-installer.edit/var/lib/alsa/asound.state 1969-12-31 16:00:00.000000000 -0800
  316. @@ -1,984 +0,0 @@
  317. -state.rkes8316spksoun {
  318. - control.1 {
  319. - iface MIXER
  320. - name 'Headphone Playback Volume'
  321. - value.0 1
  322. - value.1 1
  323. - comment {
  324. - access 'read write'
  325. - type INTEGER
  326. - count 2
  327. - range '0 - 3'
  328. - dbmin -4800
  329. - dbmax 0
  330. - dbvalue.0 -2400
  331. - dbvalue.1 -2400
  332. - }
  333. - }
  334. - control.2 {
  335. - iface MIXER
  336. - name 'Headphone Mixer Volume'
  337. - value.0 0
  338. - value.1 0
  339. - comment {
  340. - access 'read write'
  341. - type INTEGER
  342. - count 2
  343. - range '0 - 11'
  344. - dbmin -1200
  345. - dbmax 0
  346. - dbvalue.0 -1200
  347. - dbvalue.1 -1200
  348. - }
  349. - }
  350. - control.3 {
  351. - iface MIXER
  352. - name 'Playback Polarity'
  353. - value Normal
  354. - comment {
  355. - access 'read write'
  356. - type ENUMERATED
  357. - count 1
  358. - item.0 Normal
  359. - item.1 'R Invert'
  360. - item.2 'L Invert'
  361. - item.3 'L + R Invert'
  362. - }
  363. - }
  364. - control.4 {
  365. - iface MIXER
  366. - name 'DAC Playback Volume'
  367. - value.0 152
  368. - value.1 152
  369. - comment {
  370. - access 'read write'
  371. - type INTEGER
  372. - count 2
  373. - range '0 - 192'
  374. - dbmin -9999999
  375. - dbmax 0
  376. - dbvalue.0 -2000
  377. - dbvalue.1 -2000
  378. - }
  379. - }
  380. - control.5 {
  381. - iface MIXER
  382. - name 'DAC Soft Ramp Switch'
  383. - value false
  384. - comment {
  385. - access 'read write'
  386. - type BOOLEAN
  387. - count 1
  388. - }
  389. - }
  390. - control.6 {
  391. - iface MIXER
  392. - name 'DAC Soft Ramp Rate'
  393. - value 4
  394. - comment {
  395. - access 'read write'
  396. - type INTEGER
  397. - count 1
  398. - range '0 - 4'
  399. - }
  400. - }
  401. - control.7 {
  402. - iface MIXER
  403. - name 'DAC Notch Filter Switch'
  404. - value false
  405. - comment {
  406. - access 'read write'
  407. - type BOOLEAN
  408. - count 1
  409. - }
  410. - }
  411. - control.8 {
  412. - iface MIXER
  413. - name 'DAC Double Fs Switch'
  414. - value false
  415. - comment {
  416. - access 'read write'
  417. - type BOOLEAN
  418. - count 1
  419. - }
  420. - }
  421. - control.9 {
  422. - iface MIXER
  423. - name 'DAC Stereo Enhancement'
  424. - value 0
  425. - comment {
  426. - access 'read write'
  427. - type INTEGER
  428. - count 1
  429. - range '0 - 7'
  430. - }
  431. - }
  432. - control.10 {
  433. - iface MIXER
  434. - name 'DAC Mono Mix Switch'
  435. - value false
  436. - comment {
  437. - access 'read write'
  438. - type BOOLEAN
  439. - count 1
  440. - }
  441. - }
  442. - control.11 {
  443. - iface MIXER
  444. - name 'Capture Polarity'
  445. - value Normal
  446. - comment {
  447. - access 'read write'
  448. - type ENUMERATED
  449. - count 1
  450. - item.0 Normal
  451. - item.1 Invert
  452. - }
  453. - }
  454. - control.12 {
  455. - iface MIXER
  456. - name 'Mic Boost Switch'
  457. - value true
  458. - comment {
  459. - access 'read write'
  460. - type BOOLEAN
  461. - count 1
  462. - }
  463. - }
  464. - control.13 {
  465. - iface MIXER
  466. - name 'ADC Capture Volume'
  467. - value 0
  468. - comment {
  469. - access 'read write'
  470. - type INTEGER
  471. - count 1
  472. - range '0 - 192'
  473. - dbmin -9999999
  474. - dbmax 0
  475. - dbvalue.0 -9999999
  476. - }
  477. - }
  478. - control.14 {
  479. - iface MIXER
  480. - name 'ADC PGA Gain Volume'
  481. - value 0
  482. - comment {
  483. - access 'read write'
  484. - type INTEGER
  485. - count 1
  486. - range '0 - 10'
  487. - }
  488. - }
  489. - control.15 {
  490. - iface MIXER
  491. - name 'ADC Soft Ramp Switch'
  492. - value true
  493. - comment {
  494. - access 'read write'
  495. - type BOOLEAN
  496. - count 1
  497. - }
  498. - }
  499. - control.16 {
  500. - iface MIXER
  501. - name 'ADC Double Fs Switch'
  502. - value false
  503. - comment {
  504. - access 'read write'
  505. - type BOOLEAN
  506. - count 1
  507. - }
  508. - }
  509. - control.17 {
  510. - iface MIXER
  511. - name 'ALC Capture Switch'
  512. - value false
  513. - comment {
  514. - access 'read write'
  515. - type BOOLEAN
  516. - count 1
  517. - }
  518. - }
  519. - control.18 {
  520. - iface MIXER
  521. - name 'ALC Capture Max Volume'
  522. - value 28
  523. - comment {
  524. - access 'read write'
  525. - type INTEGER
  526. - count 1
  527. - range '0 - 28'
  528. - dbmin -650
  529. - dbmax 3550
  530. - dbvalue.0 3550
  531. - }
  532. - }
  533. - control.19 {
  534. - iface MIXER
  535. - name 'ALC Capture Min Volume'
  536. - value 0
  537. - comment {
  538. - access 'read write'
  539. - type INTEGER
  540. - count 1
  541. - range '0 - 28'
  542. - dbmin -1200
  543. - dbmax 3000
  544. - dbvalue.0 -1200
  545. - }
  546. - }
  547. - control.20 {
  548. - iface MIXER
  549. - name 'ALC Capture Target Volume'
  550. - value 11
  551. - comment {
  552. - access 'read write'
  553. - type INTEGER
  554. - count 1
  555. - range '0 - 10'
  556. - dbmin -1650
  557. - dbmax -150
  558. - dbvalue.0 0
  559. - }
  560. - }
  561. - control.21 {
  562. - iface MIXER
  563. - name 'ALC Capture Hold Time'
  564. - value 0
  565. - comment {
  566. - access 'read write'
  567. - type INTEGER
  568. - count 1
  569. - range '0 - 10'
  570. - }
  571. - }
  572. - control.22 {
  573. - iface MIXER
  574. - name 'ALC Capture Decay Time'
  575. - value 3
  576. - comment {
  577. - access 'read write'
  578. - type INTEGER
  579. - count 1
  580. - range '0 - 10'
  581. - }
  582. - }
  583. - control.23 {
  584. - iface MIXER
  585. - name 'ALC Capture Attack Time'
  586. - value 2
  587. - comment {
  588. - access 'read write'
  589. - type INTEGER
  590. - count 1
  591. - range '0 - 10'
  592. - }
  593. - }
  594. - control.24 {
  595. - iface MIXER
  596. - name 'ALC Capture Noise Gate Switch'
  597. - value false
  598. - comment {
  599. - access 'read write'
  600. - type BOOLEAN
  601. - count 1
  602. - }
  603. - }
  604. - control.25 {
  605. - iface MIXER
  606. - name 'ALC Capture Noise Gate Threshold'
  607. - value 0
  608. - comment {
  609. - access 'read write'
  610. - type INTEGER
  611. - count 1
  612. - range '0 - 31'
  613. - }
  614. - }
  615. - control.26 {
  616. - iface MIXER
  617. - name 'ALC Capture Noise Gate Type'
  618. - value 'Constant PGA Gain'
  619. - comment {
  620. - access 'read write'
  621. - type ENUMERATED
  622. - count 1
  623. - item.0 'Constant PGA Gain'
  624. - item.1 'Mute ADC Output'
  625. - }
  626. - }
  627. - control.27 {
  628. - iface MIXER
  629. - name 'Differential Mux'
  630. - value lin1-rin1
  631. - comment {
  632. - access 'read write'
  633. - type ENUMERATED
  634. - count 1
  635. - item.0 lin1-rin1
  636. - item.1 lin2-rin2
  637. - item.2 'lin1-rin1 with 20db Boost'
  638. - item.3 'lin2-rin2 with 20db Boost'
  639. - }
  640. - }
  641. - control.28 {
  642. - iface MIXER
  643. - name 'Digital Mic Mux'
  644. - value 'dmic disable'
  645. - comment {
  646. - access 'read write'
  647. - type ENUMERATED
  648. - count 1
  649. - item.0 'dmic disable'
  650. - item.1 'dmic data at high level'
  651. - item.2 'dmic data at low level'
  652. - }
  653. - }
  654. - control.29 {
  655. - iface MIXER
  656. - name 'DAC Source Mux'
  657. - value 'LDATA TO LDAC, RDATA TO RDAC'
  658. - comment {
  659. - access 'read write'
  660. - type ENUMERATED
  661. - count 1
  662. - item.0 'LDATA TO LDAC, RDATA TO RDAC'
  663. - item.1 'LDATA TO LDAC, LDATA TO RDAC'
  664. - item.2 'RDATA TO LDAC, RDATA TO RDAC'
  665. - item.3 'RDATA TO LDAC, LDATA TO RDAC'
  666. - }
  667. - }
  668. - control.30 {
  669. - iface MIXER
  670. - name 'Left Headphone Mux'
  671. - value lin1-rin1
  672. - comment {
  673. - access 'read write'
  674. - type ENUMERATED
  675. - count 1
  676. - item.0 lin1-rin1
  677. - item.1 lin2-rin2
  678. - item.2 'lin-rin with Boost'
  679. - item.3 'lin-rin with Boost and PGA'
  680. - }
  681. - }
  682. - control.31 {
  683. - iface MIXER
  684. - name 'Right Headphone Mux'
  685. - value lin1-rin1
  686. - comment {
  687. - access 'read write'
  688. - type ENUMERATED
  689. - count 1
  690. - item.0 lin1-rin1
  691. - item.1 lin2-rin2
  692. - item.2 'lin-rin with Boost'
  693. - item.3 'lin-rin with Boost and PGA'
  694. - }
  695. - }
  696. - control.32 {
  697. - iface MIXER
  698. - name 'Left Headphone Mixer LLIN Switch'
  699. - value false
  700. - comment {
  701. - access 'read write'
  702. - type BOOLEAN
  703. - count 1
  704. - }
  705. - }
  706. - control.33 {
  707. - iface MIXER
  708. - name 'Left Headphone Mixer Left DAC Switch'
  709. - value false
  710. - comment {
  711. - access 'read write'
  712. - type BOOLEAN
  713. - count 1
  714. - }
  715. - }
  716. - control.34 {
  717. - iface MIXER
  718. - name 'Right Headphone Mixer RLIN Switch'
  719. - value false
  720. - comment {
  721. - access 'read write'
  722. - type BOOLEAN
  723. - count 1
  724. - }
  725. - }
  726. - control.35 {
  727. - iface MIXER
  728. - name 'Right Headphone Mixer Right DAC Switch'
  729. - value false
  730. - comment {
  731. - access 'read write'
  732. - type BOOLEAN
  733. - count 1
  734. - }
  735. - }
  736. -}
  737. -state.rockchipes8316c {
  738. - control.1 {
  739. - iface CARD
  740. - name 'Headphones Jack'
  741. - value true
  742. - comment {
  743. - access read
  744. - type BOOLEAN
  745. - count 1
  746. - }
  747. - }
  748. - control.2 {
  749. - iface MIXER
  750. - name 'Headphone Playback Volume'
  751. - value.0 3
  752. - value.1 3
  753. - comment {
  754. - access 'read write'
  755. - type INTEGER
  756. - count 2
  757. - range '0 - 3'
  758. - dbmin -4800
  759. - dbmax 0
  760. - dbvalue.0 0
  761. - dbvalue.1 0
  762. - }
  763. - }
  764. - control.3 {
  765. - iface MIXER
  766. - name 'Headphone Mixer Volume'
  767. - value.0 0
  768. - value.1 0
  769. - comment {
  770. - access 'read write'
  771. - type INTEGER
  772. - count 2
  773. - range '0 - 11'
  774. - dbmin -1200
  775. - dbmax 0
  776. - dbvalue.0 -1200
  777. - dbvalue.1 -1200
  778. - }
  779. - }
  780. - control.4 {
  781. - iface MIXER
  782. - name 'Playback Polarity'
  783. - value Normal
  784. - comment {
  785. - access 'read write'
  786. - type ENUMERATED
  787. - count 1
  788. - item.0 Normal
  789. - item.1 'R Invert'
  790. - item.2 'L Invert'
  791. - item.3 'L + R Invert'
  792. - }
  793. - }
  794. - control.5 {
  795. - iface MIXER
  796. - name 'DAC Playback Volume'
  797. - value.0 152
  798. - value.1 152
  799. - comment {
  800. - access 'read write'
  801. - type INTEGER
  802. - count 2
  803. - range '0 - 192'
  804. - dbmin -9999999
  805. - dbmax 0
  806. - dbvalue.0 -2000
  807. - dbvalue.1 -2000
  808. - }
  809. - }
  810. - control.6 {
  811. - iface MIXER
  812. - name 'DAC Soft Ramp Switch'
  813. - value true
  814. - comment {
  815. - access 'read write'
  816. - type BOOLEAN
  817. - count 1
  818. - }
  819. - }
  820. - control.7 {
  821. - iface MIXER
  822. - name 'DAC Soft Ramp Rate'
  823. - value 0
  824. - comment {
  825. - access 'read write'
  826. - type INTEGER
  827. - count 1
  828. - range '0 - 4'
  829. - }
  830. - }
  831. - control.8 {
  832. - iface MIXER
  833. - name 'DAC Notch Filter Switch'
  834. - value false
  835. - comment {
  836. - access 'read write'
  837. - type BOOLEAN
  838. - count 1
  839. - }
  840. - }
  841. - control.9 {
  842. - iface MIXER
  843. - name 'DAC Double Fs Switch'
  844. - value false
  845. - comment {
  846. - access 'read write'
  847. - type BOOLEAN
  848. - count 1
  849. - }
  850. - }
  851. - control.10 {
  852. - iface MIXER
  853. - name 'DAC Stereo Enhancement'
  854. - value 0
  855. - comment {
  856. - access 'read write'
  857. - type INTEGER
  858. - count 1
  859. - range '0 - 7'
  860. - }
  861. - }
  862. - control.11 {
  863. - iface MIXER
  864. - name 'DAC Mono Mix Switch'
  865. - value false
  866. - comment {
  867. - access 'read write'
  868. - type BOOLEAN
  869. - count 1
  870. - }
  871. - }
  872. - control.12 {
  873. - iface MIXER
  874. - name 'Capture Polarity'
  875. - value Normal
  876. - comment {
  877. - access 'read write'
  878. - type ENUMERATED
  879. - count 1
  880. - item.0 Normal
  881. - item.1 Invert
  882. - }
  883. - }
  884. - control.13 {
  885. - iface MIXER
  886. - name 'Mic Boost Switch'
  887. - value true
  888. - comment {
  889. - access 'read write'
  890. - type BOOLEAN
  891. - count 1
  892. - }
  893. - }
  894. - control.14 {
  895. - iface MIXER
  896. - name 'ADC Capture Volume'
  897. - value 0
  898. - comment {
  899. - access 'read write'
  900. - type INTEGER
  901. - count 1
  902. - range '0 - 192'
  903. - dbmin -9999999
  904. - dbmax 0
  905. - dbvalue.0 -9999999
  906. - }
  907. - }
  908. - control.15 {
  909. - iface MIXER
  910. - name 'ADC PGA Gain Volume'
  911. - value 0
  912. - comment {
  913. - access 'read write'
  914. - type INTEGER
  915. - count 1
  916. - range '0 - 10'
  917. - }
  918. - }
  919. - control.16 {
  920. - iface MIXER
  921. - name 'ADC Soft Ramp Switch'
  922. - value true
  923. - comment {
  924. - access 'read write'
  925. - type BOOLEAN
  926. - count 1
  927. - }
  928. - }
  929. - control.17 {
  930. - iface MIXER
  931. - name 'ADC Double Fs Switch'
  932. - value false
  933. - comment {
  934. - access 'read write'
  935. - type BOOLEAN
  936. - count 1
  937. - }
  938. - }
  939. - control.18 {
  940. - iface MIXER
  941. - name 'ALC Capture Switch'
  942. - value false
  943. - comment {
  944. - access 'read write'
  945. - type BOOLEAN
  946. - count 1
  947. - }
  948. - }
  949. - control.19 {
  950. - iface MIXER
  951. - name 'ALC Capture Max Volume'
  952. - value 28
  953. - comment {
  954. - access 'read write'
  955. - type INTEGER
  956. - count 1
  957. - range '0 - 28'
  958. - dbmin -650
  959. - dbmax 3550
  960. - dbvalue.0 3550
  961. - }
  962. - }
  963. - control.20 {
  964. - iface MIXER
  965. - name 'ALC Capture Min Volume'
  966. - value 0
  967. - comment {
  968. - access 'read write'
  969. - type INTEGER
  970. - count 1
  971. - range '0 - 28'
  972. - dbmin -1200
  973. - dbmax 3000
  974. - dbvalue.0 -1200
  975. - }
  976. - }
  977. - control.21 {
  978. - iface MIXER
  979. - name 'ALC Capture Target Volume'
  980. - value 11
  981. - comment {
  982. - access 'read write'
  983. - type INTEGER
  984. - count 1
  985. - range '0 - 10'
  986. - dbmin -1650
  987. - dbmax -150
  988. - dbvalue.0 0
  989. - }
  990. - }
  991. - control.22 {
  992. - iface MIXER
  993. - name 'ALC Capture Hold Time'
  994. - value 0
  995. - comment {
  996. - access 'read write'
  997. - type INTEGER
  998. - count 1
  999. - range '0 - 10'
  1000. - }
  1001. - }
  1002. - control.23 {
  1003. - iface MIXER
  1004. - name 'ALC Capture Decay Time'
  1005. - value 3
  1006. - comment {
  1007. - access 'read write'
  1008. - type INTEGER
  1009. - count 1
  1010. - range '0 - 10'
  1011. - }
  1012. - }
  1013. - control.24 {
  1014. - iface MIXER
  1015. - name 'ALC Capture Attack Time'
  1016. - value 2
  1017. - comment {
  1018. - access 'read write'
  1019. - type INTEGER
  1020. - count 1
  1021. - range '0 - 10'
  1022. - }
  1023. - }
  1024. - control.25 {
  1025. - iface MIXER
  1026. - name 'ALC Capture Noise Gate Switch'
  1027. - value false
  1028. - comment {
  1029. - access 'read write'
  1030. - type BOOLEAN
  1031. - count 1
  1032. - }
  1033. - }
  1034. - control.26 {
  1035. - iface MIXER
  1036. - name 'ALC Capture Noise Gate Threshold'
  1037. - value 0
  1038. - comment {
  1039. - access 'read write'
  1040. - type INTEGER
  1041. - count 1
  1042. - range '0 - 31'
  1043. - }
  1044. - }
  1045. - control.27 {
  1046. - iface MIXER
  1047. - name 'ALC Capture Noise Gate Type'
  1048. - value 'Constant PGA Gain'
  1049. - comment {
  1050. - access 'read write'
  1051. - type ENUMERATED
  1052. - count 1
  1053. - item.0 'Constant PGA Gain'
  1054. - item.1 'Mute ADC Output'
  1055. - }
  1056. - }
  1057. - control.28 {
  1058. - iface MIXER
  1059. - name 'Differential Mux'
  1060. - value lin1-rin1
  1061. - comment {
  1062. - access 'read write'
  1063. - type ENUMERATED
  1064. - count 1
  1065. - item.0 lin1-rin1
  1066. - item.1 lin2-rin2
  1067. - item.2 'lin1-rin1 with 20db Boost'
  1068. - item.3 'lin2-rin2 with 20db Boost'
  1069. - }
  1070. - }
  1071. - control.29 {
  1072. - iface MIXER
  1073. - name 'Digital Mic Mux'
  1074. - value 'dmic disable'
  1075. - comment {
  1076. - access 'read write'
  1077. - type ENUMERATED
  1078. - count 1
  1079. - item.0 'dmic disable'
  1080. - item.1 'dmic data at high level'
  1081. - item.2 'dmic data at low level'
  1082. - }
  1083. - }
  1084. - control.30 {
  1085. - iface MIXER
  1086. - name 'DAC Source Mux'
  1087. - value 'LDATA TO LDAC, RDATA TO RDAC'
  1088. - comment {
  1089. - access 'read write'
  1090. - type ENUMERATED
  1091. - count 1
  1092. - item.0 'LDATA TO LDAC, RDATA TO RDAC'
  1093. - item.1 'LDATA TO LDAC, LDATA TO RDAC'
  1094. - item.2 'RDATA TO LDAC, RDATA TO RDAC'
  1095. - item.3 'RDATA TO LDAC, LDATA TO RDAC'
  1096. - }
  1097. - }
  1098. - control.31 {
  1099. - iface MIXER
  1100. - name 'Left Headphone Mux'
  1101. - value lin1-rin1
  1102. - comment {
  1103. - access 'read write'
  1104. - type ENUMERATED
  1105. - count 1
  1106. - item.0 lin1-rin1
  1107. - item.1 lin2-rin2
  1108. - item.2 'lin-rin with Boost'
  1109. - item.3 'lin-rin with Boost and PGA'
  1110. - }
  1111. - }
  1112. - control.32 {
  1113. - iface MIXER
  1114. - name 'Right Headphone Mux'
  1115. - value lin1-rin1
  1116. - comment {
  1117. - access 'read write'
  1118. - type ENUMERATED
  1119. - count 1
  1120. - item.0 lin1-rin1
  1121. - item.1 lin2-rin2
  1122. - item.2 'lin-rin with Boost'
  1123. - item.3 'lin-rin with Boost and PGA'
  1124. - }
  1125. - }
  1126. - control.33 {
  1127. - iface MIXER
  1128. - name 'Left Headphone Mixer LLIN Switch'
  1129. - value false
  1130. - comment {
  1131. - access 'read write'
  1132. - type BOOLEAN
  1133. - count 1
  1134. - }
  1135. - }
  1136. - control.34 {
  1137. - iface MIXER
  1138. - name 'Left Headphone Mixer Left DAC Switch'
  1139. - value true
  1140. - comment {
  1141. - access 'read write'
  1142. - type BOOLEAN
  1143. - count 1
  1144. - }
  1145. - }
  1146. - control.35 {
  1147. - iface MIXER
  1148. - name 'Right Headphone Mixer RLIN Switch'
  1149. - value false
  1150. - comment {
  1151. - access 'read write'
  1152. - type BOOLEAN
  1153. - count 1
  1154. - }
  1155. - }
  1156. - control.36 {
  1157. - iface MIXER
  1158. - name 'Right Headphone Mixer Right DAC Switch'
  1159. - value true
  1160. - comment {
  1161. - access 'read write'
  1162. - type BOOLEAN
  1163. - count 1
  1164. - }
  1165. - }
  1166. -}
  1167. -state.UA1EX {
  1168. - control.1 {
  1169. - iface PCM
  1170. - name 'Playback Channel Map'
  1171. - value.0 0
  1172. - value.1 0
  1173. - comment {
  1174. - access read
  1175. - type INTEGER
  1176. - count 2
  1177. - range '0 - 36'
  1178. - }
  1179. - }
  1180. - control.2 {
  1181. - iface PCM
  1182. - name 'Capture Channel Map'
  1183. - value.0 0
  1184. - value.1 0
  1185. - comment {
  1186. - access read
  1187. - type INTEGER
  1188. - count 2
  1189. - range '0 - 36'
  1190. - }
  1191. - }
  1192. - control.3 {
  1193. - iface CARD
  1194. - name 'Keep Interface'
  1195. - value false
  1196. - comment {
  1197. - access 'read write'
  1198. - type BOOLEAN
  1199. - count 1
  1200. - }
  1201. - }
  1202. -}
  1203. -state.UZ2315H {
  1204. - control.1 {
  1205. - iface PCM
  1206. - name 'Capture Channel Map'
  1207. - value.0 0
  1208. - value.1 0
  1209. - comment {
  1210. - access read
  1211. - type INTEGER
  1212. - count 2
  1213. - range '0 - 36'
  1214. - }
  1215. - }
  1216. - control.2 {
  1217. - iface PCM
  1218. - name 'Playback Channel Map'
  1219. - value.0 0
  1220. - value.1 0
  1221. - comment {
  1222. - access read
  1223. - type INTEGER
  1224. - count 2
  1225. - range '0 - 36'
  1226. - }
  1227. - }
  1228. - control.3 {
  1229. - iface MIXER
  1230. - name 'Headset Capture Switch'
  1231. - value true
  1232. - comment {
  1233. - access 'read write'
  1234. - type BOOLEAN
  1235. - count 1
  1236. - }
  1237. - }
  1238. - control.4 {
  1239. - iface MIXER
  1240. - name 'Headset Capture Volume'
  1241. - value.0 35
  1242. - value.1 35
  1243. - comment {
  1244. - access 'read write'
  1245. - type INTEGER
  1246. - count 2
  1247. - range '0 - 35'
  1248. - dbmin -3000
  1249. - dbmax 500
  1250. - dbvalue.0 500
  1251. - dbvalue.1 500
  1252. - }
  1253. - }
  1254. - control.5 {
  1255. - iface MIXER
  1256. - name 'Auto Gain Control'
  1257. - value true
  1258. - comment {
  1259. - access 'read write'
  1260. - type BOOLEAN
  1261. - count 1
  1262. - }
  1263. - }
  1264. - control.6 {
  1265. - iface MIXER
  1266. - name 'PCM Playback Switch'
  1267. - value true
  1268. - comment {
  1269. - access 'read write'
  1270. - type BOOLEAN
  1271. - count 1
  1272. - }
  1273. - }
  1274. - control.7 {
  1275. - iface MIXER
  1276. - name 'PCM Playback Volume'
  1277. - value.0 54
  1278. - value.1 54
  1279. - comment {
  1280. - access 'read write'
  1281. - type INTEGER
  1282. - count 2
  1283. - range '0 - 79'
  1284. - dbmin -7400
  1285. - dbmax 500
  1286. - dbvalue.0 -2000
  1287. - dbvalue.1 -2000
  1288. - }
  1289. - }
  1290. - control.8 {
  1291. - iface CARD
  1292. - name 'Keep Interface'
  1293. - value false
  1294. - comment {
  1295. - access 'read write'
  1296. - type BOOLEAN
  1297. - count 1
  1298. - }
  1299. - }
  1300. -}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement