Running Linux on the EZBook 2?

Running Linux on the EZBook 2?

TechTablets Forums Jumper Discussion EZBook series Running Linux on the EZBook 2?

Viewing 15 posts - 271 through 285 (of 369 total)
  • Author
    Posts
  • #73299
    Pettrus
    Participant
    • Posts: 5

    Thanks Brad. http://www.alsa-project.org/db/?f=c1f89674506cae38458d6b0eeb917f49b0f99d4c See what you can do…thanks. A ver lo que se puede hacer ..Gracias.

    @uno does this directory exist on your machine? /usr/share/alsa/ucm/bytcr-rt5651 If not, then try running the following series of terminal commands (script): #echo “Setup Audio for bytcr-rt5651” cd ~/ sudo mkdir -p /usr/share/alsa/ucm/bytcr-rt5651 wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/bytcr-rt5651.conf wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/HiFi wget https://raw.githubusercontent.com/burzumishi/linux-baytrail-flexx10/master/sound/alsa_ctrl/alsa_cr_spk.sh sudo mv bytcr-rt5651.conf /usr/share/alsa/ucm/bytcr-rt5651 sudo mv HiFi /usr/share/alsa/ucm/bytcr-rt5651 wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/asound.state sudo mv asound.state /var/lib/alsa sudo reboot # then try to play some audio … wget http://www.kozco.com/tech/piano2.wav aplay piano2.wav # If you hear nothing then #1 post the output of running this… dmesg | grep rt5651 # And #2 also re-run the Alsa info script and post the link again… bash alsa-info.sh

    I dont have an ezbook, i own a chwui lapbook 15 which are pretty similar on specs, with this method i was able to get sound icon, device name and volume slider showing, but no sound on the speakers or headphones this is my output:

    [    4.397831] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
    [    4.397892] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
    [    4.397985] bytcr_rt5651 bytcr_rt5651: rt5651-aif1 <-> ssp2-port mapping ok
    [ 4447.457320] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121
    [ 6058.624128] Modules linked in: fuse input_leds mousedev uvcvideo videobuf2_vmalloc hid_generic videobuf2_memops videobuf2_v4l2 videobuf2_core usbhid hid bnep intel_rapl intel_powerclamp coretemp kvm_intel kvm nls_iso8859_1 nls_cp437 v
    fat fat irqbypass crct10dif_pclmul crc32_pclmul axp288_fuel_gauge crc32c_intel axp288_adc industrialio axp288_charger snd_soc_sst_bytcr_rt5651 ghash_clmulni_intel pcbc axp20x_pek extcon_axp288 mac_hid aesni_intel evdev aes_x86_64 crypto_
    simd glue_helper cryptd intel_cstate wdat_wdt pcspkr thermal i915 snd_soc_rt5670 extcon_intel_int3496 intel_hid intel_soc_pmic_bxtwc sparse_keymap snd_soc_rt5645 snd_intel_sst_acpi fdp_i2c snd_intel_sst_core fdp nci intel_pmc_ipc snd_soc
    _sst_atom_hifi2_platform snd_soc_rt5640 hci_uart drm_kms_helper snd_soc_rt5651 axp20x_i2c snd_soc_rl6231
    [ 6620.209683] Modules linked in: fuse input_leds mousedev uvcvideo videobuf2_vmalloc hid_generic videobuf2_memops videobuf2_v4l2 videobuf2_core usbhid hid bnep intel_rapl intel_powerclamp coretemp kvm_intel kvm nls_iso8859_1 nls_cp437 v
    fat fat irqbypass crct10dif_pclmul crc32_pclmul axp288_fuel_gauge crc32c_intel axp288_adc industrialio axp288_charger snd_soc_sst_bytcr_rt5651 ghash_clmulni_intel pcbc axp20x_pek extcon_axp288 mac_hid aesni_intel evdev aes_x86_64 crypto_
    simd glue_helper cryptd intel_cstate wdat_wdt pcspkr thermal i915 snd_soc_rt5670 extcon_intel_int3496 intel_hid intel_soc_pmic_bxtwc sparse_keymap snd_soc_rt5645 snd_intel_sst_acpi fdp_i2c snd_intel_sst_core fdp nci intel_pmc_ipc snd_soc
    _sst_atom_hifi2_platform snd_soc_rt5640 hci_uart drm_kms_helper snd_soc_rt5651 axp20x_i2c snd_soc_rl6231
    [ 6624.390868] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121
    [17145.130212] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121

    #73300
    Brad
    Participant
    • Posts: 449

    I dont have an ezbook, i own a chwui lapbook 15

    Please run the alsa-info script and post the link.  But prob better you create a new thread in the Chuwi forum section.

    #73303
    Brad
    Participant
    • Posts: 449

    a question ?. wget https://raw.githubusercontent.com/burzumishi/linux-baytrail-flexx10/master/sound/alsa_ctrl/alsa_cr_spk.sh for ???

    I don’t know.  Do you have pavucontrol (Pulse Audio Volume) installed? have you tried using that?  Try playing with the left and right speaker channels. Lower one channel to zero volume.
    Probably best for you to open a kernel driver bug for this audio driver: http://alsa-project.org/main/index.php/Bug_Tracking

    #73307
    uno
    Participant
    • Posts: 20

    Thanks Brad. http://www.alsa-project.org/db/?f=c1f89674506cae38458d6b0eeb917f49b0f99d4c See what you can do…thanks. A ver lo que se puede hacer ..Gracias.

    @uno does this directory exist on your machine? /usr/share/alsa/ucm/bytcr-rt5651 If not, then try running the following series of terminal commands (script): #echo “Setup Audio for bytcr-rt5651” cd ~/ sudo mkdir -p /usr/share/alsa/ucm/bytcr-rt5651 wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/bytcr-rt5651.conf wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/HiFi wget https://raw.githubusercontent.com/burzumishi/linux-baytrail-flexx10/master/sound/alsa_ctrl/alsa_cr_spk.sh sudo mv bytcr-rt5651.conf /usr/share/alsa/ucm/bytcr-rt5651 sudo mv HiFi /usr/share/alsa/ucm/bytcr-rt5651 wget https://raw.githubusercontent.com/plbossart/UCM/master/bytcr-rt5651/asound.state sudo mv asound.state /var/lib/alsa sudo reboot # then try to play some audio … wget http://www.kozco.com/tech/piano2.wav aplay piano2.wav # If you hear nothing then #1 post the output of running this… dmesg | grep rt5651 # And #2 also re-run the Alsa info script and post the link again… bash alsa-info.sh

    I dont have an ezbook, i own a chwui lapbook 15 which are pretty similar on specs, with this method i was able to get sound icon, device name and volume slider showing, but no sound on the speakers or headphones this is my output:

    [ 4.397831] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok [ 4.397892] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok [ 4.397985] bytcr_rt5651 bytcr_rt5651: rt5651-aif1 <-> ssp2-port mapping ok [ 4447.457320] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121 [ 6058.624128] Modules linked in: fuse input_leds mousedev uvcvideo videobuf2_vmalloc hid_generic videobuf2_memops videobuf2_v4l2 videobuf2_core usbhid hid bnep intel_rapl intel_powerclamp coretemp kvm_intel kvm nls_iso8859_1 nls_cp437 v fat fat irqbypass crct10dif_pclmul crc32_pclmul axp288_fuel_gauge crc32c_intel axp288_adc industrialio axp288_charger snd_soc_sst_bytcr_rt5651 ghash_clmulni_intel pcbc axp20x_pek extcon_axp288 mac_hid aesni_intel evdev aes_x86_64 crypto_ simd glue_helper cryptd intel_cstate wdat_wdt pcspkr thermal i915 snd_soc_rt5670 extcon_intel_int3496 intel_hid intel_soc_pmic_bxtwc sparse_keymap snd_soc_rt5645 snd_intel_sst_acpi fdp_i2c snd_intel_sst_core fdp nci intel_pmc_ipc snd_soc _sst_atom_hifi2_platform snd_soc_rt5640 hci_uart drm_kms_helper snd_soc_rt5651 axp20x_i2c snd_soc_rl6231 [ 6620.209683] Modules linked in: fuse input_leds mousedev uvcvideo videobuf2_vmalloc hid_generic videobuf2_memops videobuf2_v4l2 videobuf2_core usbhid hid bnep intel_rapl intel_powerclamp coretemp kvm_intel kvm nls_iso8859_1 nls_cp437 v fat fat irqbypass crct10dif_pclmul crc32_pclmul axp288_fuel_gauge crc32c_intel axp288_adc industrialio axp288_charger snd_soc_sst_bytcr_rt5651 ghash_clmulni_intel pcbc axp20x_pek extcon_axp288 mac_hid aesni_intel evdev aes_x86_64 crypto_ simd glue_helper cryptd intel_cstate wdat_wdt pcspkr thermal i915 snd_soc_rt5670 extcon_intel_int3496 intel_hid intel_soc_pmic_bxtwc sparse_keymap snd_soc_rt5645 snd_intel_sst_acpi fdp_i2c snd_intel_sst_core fdp nci intel_pmc_ipc snd_soc _sst_atom_hifi2_platform snd_soc_rt5640 hci_uart drm_kms_helper snd_soc_rt5651 axp20x_i2c snd_soc_rl6231 [ 6624.390868] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121 [17145.130212] rt5651 i2c-10EC5651:00: Unable to sync registers 0x80-0x82. -121

    https://ubuntuforums.org/showthread.php?t=2358027&p=13675484#post13675484 This should be doable by adding the following like to /etc/modprobe.d/blacklist.conf: blacklist snd_hdmi_lpe_audio Once you have that reboot and verify that module snd_hdmi_lpe_audio is not loaded (lsmod | grep snd_hdmi_lpe_audio) (if it is then find a working approach to blacklist it, I don’t have Ubuntu actually). After you get it to not load, pulseaudio should run without crashing and audio should work. You may need to use pavucontrol to select speakers instead of headphones.

    #73336
    Brad
    Participant
    • Posts: 449

    @uno, what was the meaning of your last post?  You did not say anything.  Did you blacklist snd_hdmi_lpe_audio?
    Did you have some different results now?
    Also, have you tried going through the Arch Pulse Audio troubleshooting guide? –> https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

    #73337
    Pettrus
    Participant
    • Posts: 5

    I did blacklist the snd_hdmi, sorry i forgot to mention, but no results either 🙁 i feel like this is just a silly little thing missing to make it work.

    #73338
    Anonymous
    Inactive
    • Posts: 14

    Open alsamixer. Make sure the speaker is unmuted.

    #73339
    Anonymous
    Inactive
    • Posts: 14

    If it’s going to make it easier for you, here’s my preconfigured /var/lib/alsa/asound.state (now with correct left/right channels).

    After unarchiving/copying it to that location, run:

    sudo alsactl restore

     

     

    #73341
    Brad
    Participant
    • Posts: 449

    If it’s going to make it easier for you, here’s my preconfigured /var/lib/alsa/asound.state (now with correct left/right channels). After unarchiving/copying it to that location, run: sudo alsactl restore

    @BC, So you have the speakers working on the EZBook 2 with this?
    something else I saw maybe to check? –> (ACPI audio mode is chosen in BIOS)

    #73343
    Anonymous
    Inactive
    • Posts: 14

    Yes, speakers and headphones work quite well on my setup (AMI BIOS), except the sound quality on speakers is tin-canny.

    #73347
    Brad
    Participant
    • Posts: 449

    Yes, speakers and headphones work quite well on my setup (AMI BIOS), except the sound quality on speakers is tin-canny.

    Well can you post exactly which ISO you installed and and install method so other people can see if it works on their machine? It seems you are the only one who got audio working.

    #73348
    Anonymous
    Inactive
    • Posts: 14

    This is the install procedure as far as I can recall:

    Grab the latest ISO (2017.10.01) from any one of the HTTP direct downloads on the Archlinux page: https://www.archlinux.org/download/

    Burn the ISO to a USB drive:

    # dd if=archlinux-2017.10.01-x86_64.iso of=/dev/sda bs=64M; sync

    Eject the USB and reboot this time from the USB.

    Enable wifi:

    # wifi-menu

    Get the assisted install script:

    # wget https://github.com/helmuthdu/aui/tarball/master -O – | tar xz

    Switch to the helmuhdu folder and run:

    # ./fifo

    When the basic Linux install is done and the system reboots, execute the following:

    # echo blacklist snd_hdmi_lpe_audio>/etc/modprobe.d/modprobe.conf

    That should prevent the HDMI from interfering with our rt5651 sound driver. Reboot again, switch to the helmuthdu folder and run:

    # ./lilo

    When you’re done and the system restarts, sound should be controllable from either the Gnome settings or pavucontrol.

    The only sound-related thing right now that needs attention is the internal mic not working.

    #73349
    Brad
    Participant
    • Posts: 449

    Good info.  Have you or anyone else tried to install the latest Antergos 17.9 (which is really just an Arch  installer)?  I wonder if that would work with just blacklisting the snd_hdmi_lpe_audio.  Or, is there some special “magic” that you know is baked into Helmuth’s Arch install scripts?
    Do you know if Antergos can be installed onto a USB drive in data persistent mode (like you can with Manjaro) so that it could be tested without mucking with your fixed drive?

    #73350
    Anonymous
    Inactive
    • Posts: 14

    I haven’t really tried installing a new version of Antergos because I prefer seeing for myself which packages are installed to keep my setup as lean as possible. Having said that, since Antergos is really Archlinux with Cinnamon lipstick (I prefer Gnome), simply blacklisting snd_hdmi_lpe_audio followed by a reboot should be enough. The attached /var/lib/alsa/asound.state file will also help with the swapped left/right channels.

    #73352
    Anonymous
    Inactive
    • Posts: 14

    BTW, Helmuth’s install script allows you to choose your desktop environment. Only the installer is text-based but it is pretty automatic.

Viewing 15 posts - 271 through 285 (of 369 total)
  • You must be logged in to reply to this topic.

Lost Password

Skip to toolbar