uno

uno

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #74924
    uno
    Participant
    • Posts: 20

    Hi.

    New update alsa-lib in Archlinux : alsa-lib 1.1.5-1,,,,,,  new bytcr-rt5651.conf hifi.conf and bad sound for headphones

    For mi not working speakers .

    thanks

    #73876
    uno
    Participant
    • Posts: 20

    all equal ,, speakers not work ,,headphones yes..

    speakers :

    volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB

    headphones:

    volume: front-left: 55050 / 84% / -4,54 dB, front-right: 55050 / 84% / -4,54 dB

    it is a difference, ¿?

    esta diferencia puede ser el problema ??

    Thanks in advance

    #73864
    uno
    Participant
    • Posts: 20

    Hi,,,

    select speaker playback:

    [jumper@123456 ~]$ pacmd list-sinks
    1 sink(s) available.
    * index: 0
    name: <alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9000
    volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
    balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 36,23 ms
    max request: 7 KiB
    max rewind: 375 KiB
    monitor source: 0
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
    Estéreo
    used by: 1
    linked by: 3
    configured latency: 40,00 ms; range is 1,00 .. 2000,00 ms
    card: 0 <alsa_card.platform-bytcr_rt5651>
    module: 6
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “”
    alsa.id = “1”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0”
    alsa.device = “0”
    alsa.card = “0”
    alsa.card_name = “bytcr-rt5651”
    alsa.long_card_name = “AMICorporation-EZbook-Defaultstring-CherryTrailCR”
    alsa.driver_name = “snd_soc_sst_bytcr_rt5651”
    device.bus_path = “platform-bytcr_rt5651”
    sysfs.path = “/devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0”
    device.form_factor = “internal”
    device.string = “hw:bytcrrt5651”
    device.buffering.buffer_size = “384000”
    device.buffering.fragment_size = “192000”
    device.access_mode = “mmap+timer”
    device.profile.name = “HiFi: hw:bytcrrt5651: sink”
    device.profile.description = “Speaker playback + Headphones playback”
    device.description = “Audio Interno Speaker playback + Headphones playback”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card”
    ports:
    [Out] Speaker: Speaker playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    [Out] Headphones: Headphones playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    active port: <[Out] Speaker>

    select headphones playback:

    pacmd list-sinks
    1 sink(s) available.
    * index: 0
    name: <alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9000
    volume: front-left: 55050 / 84% / -4,54 dB, front-right: 55050 / 84% / -4,54 dB
    balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 32,28 ms
    max request: 7 KiB
    max rewind: 375 KiB
    monitor source: 0
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
    Estéreo
    used by: 1
    linked by: 3
    configured latency: 40,00 ms; range is 1,00 .. 2000,00 ms
    card: 0 <alsa_card.platform-bytcr_rt5651>
    module: 6
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “”
    alsa.id = “1”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0”
    alsa.device = “0”
    alsa.card = “0”
    alsa.card_name = “bytcr-rt5651”
    alsa.long_card_name = “AMICorporation-EZbook-Defaultstring-CherryTrailCR”
    alsa.driver_name = “snd_soc_sst_bytcr_rt5651”
    device.bus_path = “platform-bytcr_rt5651”
    sysfs.path = “/devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0”
    device.form_factor = “internal”
    device.string = “hw:bytcrrt5651”
    device.buffering.buffer_size = “384000”
    device.buffering.fragment_size = “192000”
    device.access_mode = “mmap+timer”
    device.profile.name = “HiFi: hw:bytcrrt5651: sink”
    device.profile.description = “Speaker playback + Headphones playback”
    device.description = “Audio Interno Speaker playback + Headphones playback”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card”
    ports:
    [Out] Speaker: Speaker playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    [Out] Headphones: Headphones playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    active port: <[Out] Headphones>

     

     

    #73441
    uno
    Participant
    • Posts: 20

    Mi alsamixer https://i.imgur.com/QXkOmVi.jpg

    In that picture your speaker volume is at level zero. If you select it and use the arrow keys can you increase the level?

    No ,, no puedo

    @uno, something else to try. Try going back to kernel 4.11 and test that (there have been some regression bugs reported about audio on CherryTrail recently). Also, just to check again, you did this right? –> https://github.com/plbossart/UCM/tree/master/bytcr-rt5651 What is your output of this in the terminal?…

    journalctl -b -2 | grep rt5

     

    [jumper@123456 ~]$ journalctl -b -2 | grep rt5
    oct 15 17:16:18 123456 kernel: bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
    oct 15 17:16:18 123456 kernel: bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
    oct 15 17:16:18 123456 kernel: bytcr_rt5651 bytcr_rt5651: rt5651-aif1 <-> ssp2-port mapping ok
    oct 15 17:19:10 123456 pulseaudio[432]: E: [alsa-sink-1] alsa-sink.c: Most likely this is a bug in the ALSA driver ‘snd_soc_sst_bytcr_rt5651’. Please report this issue to the ALSA developers.
    [jumper@123456 ~]$ uname -a
    Linux 123456 4.13.6-1-ARCH #1 SMP PREEMPT Thu Oct 12 12:42:27 CEST 2017 x86_64 GNU/Linux

    [jumper@123456 ~]$ speaker-test -D hw:1,0 -c 2 -t wav

    speaker-test 1.1.4

    Playback device is hw:1,0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
    Playback open error: -2,No existe el fichero o el directorio
    [jumper@123456 ~]$

    #73429
    uno
    Participant
    • Posts: 20

     

    Mi alsamixer

    https://i.imgur.com/QXkOmVi.jpg

     

    #73428
    uno
    Participant
    • Posts: 20

    Hi Brad  ,,, = no sound n speakers ,,,,,,

    [jumper@123456 ~]$ pacmd list-cards
    1 card(s) available.
    index: 0
    name: <alsa_card.platform-bytcr_rt5651>
    driver: <module-alsa-card.c>
    owner module: 6
    properties:
    alsa.card = “0”
    alsa.card_name = “bytcr-rt5651”
    alsa.long_card_name = “AMICorporation-EZbook-Defaultstring-CherryTrailCR”
    alsa.driver_name = “snd_soc_sst_bytcr_rt5651”
    device.bus_path = “platform-bytcr_rt5651”
    sysfs.path = “/devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0”
    device.form_factor = “internal”
    device.string = “0”
    device.description = “Audio Interno”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card”
    profiles:
    HiFi: Play HiFi quality Music (priority 8000, available: unknown)
    off: Apagado (priority 0, available: unknown)
    active profile: <HiFi>
    sinks:
    alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink/#0: Audio Interno Speaker playback + Headphones playback
    sources:
    alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink.monitor/#0: Monitor of Audio Interno Speaker playback + Headphones playback
    ports:
    [Out] Speaker: Speaker playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    [Out] Headphones: Headphones playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    [jumper@123456 ~]$ pacmd list-sinks
    1 sink(s) available.
    * index: 0
    name: <alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9000
    volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
    balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 25,58 ms
    max request: 7 KiB
    max rewind: 375 KiB
    monitor source: 0
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
    Estéreo
    used by: 1
    linked by: 3
    configured latency: 40,00 ms; range is 0,50 .. 2000,00 ms
    card: 0 <alsa_card.platform-bytcr_rt5651>
    module: 6
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “”
    alsa.id = “1”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0”
    alsa.device = “0”
    alsa.card = “0”
    alsa.card_name = “bytcr-rt5651”
    alsa.long_card_name = “AMICorporation-EZbook-Defaultstring-CherryTrailCR”
    alsa.driver_name = “snd_soc_sst_bytcr_rt5651”
    device.bus_path = “platform-bytcr_rt5651”
    sysfs.path = “/devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0”
    device.form_factor = “internal”
    device.string = “hw:bytcrrt5651”
    device.buffering.buffer_size = “384000”
    device.buffering.fragment_size = “192000”
    device.access_mode = “mmap+timer”
    device.profile.name = “HiFi: hw:bytcrrt5651: sink”
    device.profile.description = “Speaker playback + Headphones playback”
    device.description = “Audio Interno Speaker playback + Headphones playback”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card”
    ports:
    [Out] Speaker: Speaker playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    [Out] Headphones: Headphones playback (priority 100, latency offset 0 usec, available: unknown)
    properties:

    active port: <[Out] Headphones>
    [jumper@123456 ~]$ pacmd list-sink-inputs
    1 sink input(s) available.
    index: 95
    driver: <protocol-native.c>
    flags:
    state: RUNNING
    sink: 0 <alsa_output.platform-bytcr_rt5651.HiFi__hw_bytcrrt5651__sink>
    volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
    balance 0,00
    muted: no
    current latency: 500,02 ms
    requested latency: 460,00 ms
    sample spec: float32le 2ch 44100Hz
    channel map: front-left,front-right
    Estéreo
    resample method: speex-float-1
    module: 8
    client: 14 <Audacious>
    properties:
    media.name = “Audacious”
    application.name = “Audacious”
    native-protocol.peer = “UNIX socket client”
    native-protocol.version = “32”
    application.process.id = “962”
    application.process.user = “jumper”
    application.process.host = “123456”
    application.process.binary = “audacious”
    application.language = “es_ES.UTF-8”
    window.x11.display = “:0.0”
    application.process.machine_id = “d51357b54e7340928a3b33dc86bb8090”
    application.process.session_id = “c1”
    application.icon_name = “audacious”
    module-stream-restore.id = “sink-input-by-application-name:Audacious”
    [jumper@123456 ~]$ sudo fuser -v /dev/snd/*
    [sudo] password for jumper:
    USER PID ACCESS COMMAND
    /dev/snd/controlC0: root 308 f…. alsactl
    jumper 432 F…. pulseaudio
    /dev/snd/pcmC0D0p: jumper 432 F…m pulseaudio
    [jumper@123456 ~]$

    #73425
    uno
    Participant
    • Posts: 20

    hi…

    jumper@123456 ~]$ su -c ‘python2 hda-analyzer.py’
    Contraseña:
    Using temporary directory: /dev/shm/hda-analyzer
    You may remove this directory when finished or if you like to
    download the most recent copy of hda-analyzer tool.
    File cached /dev/shm/hda-analyzer/hda_analyzer.py
    File cached /dev/shm/hda-analyzer/hda_guilib.py
    File cached /dev/shm/hda-analyzer/hda_codec.py
    File cached /dev/shm/hda-analyzer/hda_proc.py
    File cached /dev/shm/hda-analyzer/hda_graph.py
    File cached /dev/shm/hda-analyzer/hda_mixer.py
    Downloaded all files, executing hda_analyzer.py
    No HDA codecs were found or insufficient priviledges for
    /dev/snd/controlC* and /dev/snd/hwdepC*D* device files.

    You may also check, if you compiled HDA driver with HWDEP
    interface as well or close all application using HWDEP.

    Try run this program as root user.
    [jumper@123456 ~]$

    can that be the problem?

    Thanks

    #73412
    uno
    Participant
    • Posts: 20

    The bytcr_rt5651 driver does not have any auto-mute control. You have to use alsamixer or pavucontrol to switch over from headphone to speaker manually.

    Hi,,,, BC

    https://i.imgur.com/ftthgAr.jpg

    Speakers do not work .

    there is no way to pass your configuration?

    Thanks in advance.

    #73410
    uno
    Participant
    • Posts: 20
    $ speaker-test -c 2

    Does that produce any buzzing sound?

    Yes,, with headphones on..

    If I disconnect the headphones are not heard

    Si ,,,con los auriculares puestos

    si desconecto los auriculares no se escucha por la salida de altavoces

    Thanks in adavance .

     

    #73392
    uno
    Participant
    • Posts: 20

    Thanks @BC

    Return mi sound ,,,,headphones ,,,,, speakers it does not work

    Thanks ..

    #73374
    uno
    Participant
    • Posts: 20

    Hi, mi jumper 2 it worked headphones good sound ,,,,,,,,,, now it does not work “for my fault”

    how can i reset pulseadio and alsa for start again ??????

    http://www.alsa-project.org/db/?f=e006e7727bfefbe42e0196caa8e9be09e4f68084

    thanks in advance

    #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.

    #73290
    uno
    Participant
    • Posts: 20

    Shame about the speakers ,, Arch works very fast and very stable

    Speakers = nop

    Headphones= ok ,,good sound ,,,more,,,

    https://i.imgur.com/fWmUB1b.jpg

     

     

    #73286
    uno
    Participant
    • Posts: 20

    Hi Brad .

    [jumper@123456 ~]$ ls /usr/share/alsa/ucm/bytcr-rt5651
    bytcr-rt5651.conf HiFi
    [jumper@123456 ~]$ dmesg | grep rt5651
    [ 3.571439] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
    [ 3.571505] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
    [ 3.571628] bytcr_rt5651 bytcr_rt5651: rt5651-aif1 <-> ssp2-port mapping ok

    mi alsa info:

    http://www.alsa-project.org/db/?f=6a3c4f618a8ad81987a7b95a339a2e8770ae68c4

     

    a question ?.

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

    for ???

    Thanks n advance Brad

    #73271
    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.

Viewing 15 posts - 1 through 15 (of 20 total)

Lost Password

Skip to toolbar