creshal / x62-alsa-hacks

AUR mirror for 51nb X62 ALSA workarounds
2 stars 0 forks source link

the service is not start successful #1

Open aizhiqi opened 7 years ago

aizhiqi commented 7 years ago

hello, thx for your method, but i find the service is not start successful. this is the log: Jan 09 20:12:53 IBM-X60 kernel: ACPI : EC: GPE = 0xa, I/O: command/status = 0x66, data = 0x62 Jan 09 20:12:53 IBM-X60 systemd[1]: x62-alsa-config.service: Main process exited, code=exited, status=1/FAILURE Jan 09 20:12:53 IBM-X60 systemd[1]: x62-alsa-config.service: Unit entered failed state. Jan 09 20:12:53 IBM-X60 systemd[1]: x62-alsa-config.service: Failed with result 'exit-code'.

creshal commented 7 years ago

IBM-X60

You have a X62, not a regular X60, right? Just to make sure.

/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x01
/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00
aizhiqi commented 7 years ago

Yes, it's x62, not x60.

I can heard the sound after type the command above or "systemctl start x62-alsa-config".

ls -Al /dev/snd total 0 drwxr-xr-x 2 root root 80 Jan 9 21:26 by-path crw-rw----+ 1 root audio 116, 2 Jan 9 21:26 controlC0 crw-rw----+ 1 root audio 116, 6 Jan 9 21:26 controlC1 crw-rw----+ 1 root audio 116, 5 Jan 9 21:26 hwC0D0 crw-rw----+ 1 root audio 116, 10 Jan 9 21:26 hwC1D0 crw-rw----+ 1 root audio 116, 4 Jan 9 21:26 pcmC0D0c crw-rw----+ 1 root audio 116, 3 Jan 9 21:30 pcmC0D0p crw-rw----+ 1 root audio 116, 7 Jan 9 21:26 pcmC1D3p crw-rw----+ 1 root audio 116, 8 Jan 9 21:26 pcmC1D7p crw-rw----+ 1 root audio 116, 9 Jan 9 21:26 pcmC1D8p crw-rw----+ 1 root audio 116, 1 Jan 9 21:26 seq crw-rw----+ 1 root audio 116, 33 Jan 9 21:26 timer

creshal commented 7 years ago

So it works fine, but one of the commands (which one?) exists with an error?

aizhiqi commented 7 years ago

I append "sudo systemctl start x62-alsa-config" to .xinitrc and this issue sloved. but dont known why i need to do it.