summarylogtreecommitdiffstats
path: root/x62-alsa-config.service
blob: 9b23a61c6a982f9f366f2e15fecb428307e6cd96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Correctly set GPIO pins for 51nb X62 sound card
After=multi-user.target
After=suspend.target

[Install]
WantedBy=multi-user.target sleep.target

[Service]
Type=oneshot
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x01
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00