mirror of
https://github.com/archlinuxarm/wiki.git
synced 2024-11-08 22:45:42 +00:00
Samsung Chromebook: update information for sound and brightness (#23)
Co-authored-by: Eric Lay <ericlaytm@gmail.com>
This commit is contained in:
parent
e991b0aa0a
commit
f31625c7a1
1 changed files with 20 additions and 6 deletions
|
@ -15,9 +15,23 @@ EndSection
|
||||||
|
|
||||||
1. Install alsa-utils: `pacman -S alsa-utils`
|
1. Install alsa-utils: `pacman -S alsa-utils`
|
||||||
2. Run alsamixer as root.
|
2. Run alsamixer as root.
|
||||||
3. Arrow right until you see four items starting with Left Speaker Mixer, and press M on all four channels to un-mute them.
|
3. Select correct sound card by pressing F6 and selecting '0 Snow-I2S-MAX98095'
|
||||||
4. Arrow right some more until you find four more starting with Right Speaker Mixer and un-mute them as well.
|
4. Arrow right until you see four items starting with Left Speaker Mixer, and press M on all four channels to un-mute them.
|
||||||
5. Arrow all the way back left to the Speaker channel and raise the volume a little. Keep it low (< 50ish), since alsa will let you get dangerously high for these speakers.
|
5. Arrow right some more until you find four more starting with Right Speaker Mixer and un-mute them as well.
|
||||||
|
6. Arrow all the way back left to the Speaker channel and raise the volume a little. Keep it low (< 50ish), since alsa will let you get dangerously high for these speakers.
|
||||||
|
|
||||||
|
Alternatively, the following commands can be issued per channel to amixer. Requires alsa-utils as well.
|
||||||
|
|
||||||
|
```
|
||||||
|
amixer -c 0 set 'Right Speaker Mixer Right DAC1' unmute
|
||||||
|
amixer -c 0 set 'Right Speaker Mixer Mono DAC3' unmute
|
||||||
|
amixer -c 0 set 'Right Speaker Mixer Mono DAC2' unmute
|
||||||
|
amixer -c 0 set 'Right Speaker Mixer Left DAC1' unmute
|
||||||
|
amixer -c 0 set 'Left Speaker Mixer Right DAC1' unmute
|
||||||
|
amixer -c 0 set 'Left Speaker Mixer Mono DAC3' unmute
|
||||||
|
amixer -c 0 set 'Left Speaker Mixer Mono DAC2' unmute
|
||||||
|
amixer -c 0 set 'Left Speaker Mixer Left DAC1' unmute
|
||||||
|
```
|
||||||
|
|
||||||
## Suspend when closing the lid
|
## Suspend when closing the lid
|
||||||
|
|
||||||
|
@ -45,10 +59,10 @@ Closing the lid will now trigger a suspend, and opening it will wake the system.
|
||||||
|
|
||||||
## User permissions for backlight control
|
## User permissions for backlight control
|
||||||
|
|
||||||
To allow all users to modify the backlight control at */sys/class/backlight/pwm-backlight.0/brightness*, create and edit the file */etc/tmpfiles.d/brightness.conf* with these contents:
|
To allow all users to modify the backlight control at */sys/class/backlight/backlight/brightness*, create and edit the file */etc/tmpfiles.d/brightness.conf* with these contents:
|
||||||
|
|
||||||
```
|
```
|
||||||
f /sys/class/backlight/pwm-backlight.0/brightness 0666 - - - 800
|
f /sys/class/backlight/backlight/brightness 0666 - - - 800
|
||||||
```
|
```
|
||||||
|
|
||||||
On boot, systemd will now set the permissions of that control file to be world writable. Acceptable values are 0-2800.
|
On boot, systemd will now set the permissions of that control file to be world writable. Acceptable values are 0-7.
|
||||||
|
|
Loading…
Reference in a new issue