Running Linux on the EZBook 2?

Running Linux on the EZBook 2?

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

This topic contains 358 replies, has 47 voices, and was last updated by  DD 5 months, 2 weeks ago.

Viewing 15 posts - 316 through 330 (of 359 total)
  • Author
    Posts
  • #73446

    Brad
    Participant
    • Posts: 439

    @uno, sorry, I never used these tools before. But this is what I did to show the two sound devices on my notebook and play the test.
    I get the same error if I use “hw:0” (HDMI) on my notebook and using “hw:1” (generic) succeeds…

    [brad]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic [HD-Audio Generic], device 0: CX20751/2 Analog [CX20751/2 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    [brad]$ speaker-test -D hw:0 -c 2 -t wav

    speaker-test 1.1.4

    Playback device is hw:0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    Playback open error: -2,No such file or directory

    [brad]$ speaker-test -D hw:1 -c 2 -t wav

    speaker-test 1.1.4

    Playback device is hw:1
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 64 to 1048576
    Period size range from 32 to 524288
    Using max buffer size 1048576
    Periods = 4
    was set period_size = 262144
    was set buffer_size = 1048576
    0 – Front Left
    1 – Front Right

    #73449

    Brad
    Participant
    • Posts: 439

    Then if you started pulseaudio with logging and ran the speaker-test, you should be able to see something interesting in the log file…

    cat pulsaudio.log | grep bytcrrt5651
    ( 0.128| 0.003) D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for verb HiFi: hw:bytcrrt5651
    ( 0.128| 0.000) D: [pulseaudio] alsa-ucm.c: Got CapturePCM for verb HiFi: hw:bytcrrt5651
    ( 0.128| 0.000) D: [pulseaudio] alsa-ucm.c: UCM playback device Speaker fetch pcm from verb default hw:bytcrrt5651
    ( 0.128| 0.000) D: [pulseaudio] alsa-ucm.c: UCM playback device Headphones fetch pcm from verb default hw:bytcrrt5651
    ( 0.128| 0.000) D: [pulseaudio] alsa-ucm.c: UCM mapping: Mapping HiFi: hw:bytcrrt5651: sink dev Speaker
    ( 0.128| 0.000) D: [pulseaudio] alsa-ucm.c: UCM mapping: Mapping HiFi: hw:bytcrrt5651: sink dev Headphones
    ( 0.128| 0.000) D: [pulseaudio] alsa-mixer.c: Output HiFi: hw:bytcrrt5651: sink
    ( 0.128| 0.000) D: [pulseaudio] alsa-util.c: Trying hw:bytcrrt5651 with SND_PCM_NO_AUTO_FORMAT …
    ( 0.226| 0.002) D: [pulseaudio] alsa-util.c: Managed to open hw:bytcrrt5651

    #73471

    Pettrus
    Participant
    • Posts: 5

    This is something you might want to try. I have a feeling that some distros have a corrupt/incorrect asound.state being loaded:

    $ sudo cp /usr/share/alsa/ucm/bytcr-rt5651/asound.state /var/lib/alsa
    $ rm ~/.config/pulse/*
    $ sudo alsactl restore

    Ignore the following warning and your sound should be good to go!

    alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
    alsactl: sysfs_init:48: sysfs path '/sys' is invalid
    
    Found hardware: "bytcr-rt5651" "" "" "" ""
    Hardware is initialized using a generic method
    
    
    

    Make sure you save the current/new settings:

    $ sudo alsactl store
    
    

     

    It worked!!! Finally i can hear any sound from the chwui lapbook, maybe manjaro has the sound state corrupt or something but after this its working like a charm!! Thanks a lot dude you made my year!

    #67444

    Brad
    Participant
    • Posts: 439

    It worked!!! Finally i can hear any sound from the chwui lapbook, maybe manjaro has the sound state corrupt or something but after this its working like a charm!! Thanks a lot dude you made my year!

      Great!   And @Uno, what about you?

    #73710

    Brad
    Participant
    • Posts: 439
    #73755

    Brad
    Participant
    • Posts: 439

    @uno, did you say something here that got lost?  I got email notification but nothing is here.

    This is what I recieved…

    uno wrote:

    Hi @brad ,, No audio in spakers “headphones yes” ….

    [[email protected] ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: bytcrrt5651 [bytcr-rt5651], device 0: 1 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: bytcrrt5651 [bytcr-rt5651], device 1: Deep-Buffer Audio (*) []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    [[email protected] ~]$ speaker-test -D hw:0 -c 2 -t wav

    speaker-test 1.1.4

    Playback device is hw:0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 16 to 204800
    Period size range from 8 to 102400
    Using max buffer size 204800
    Periods = 4
    was set period_size = 51200
    was set buffer_size = 204800
    0 – Front Left
    1 – Front Right
    Time per period = 4,315276
    0 – Front Left
    1 – Front Right
    Time per period = 4,320098
    0 – Front Left
    ^C 1 – Front Right
    Transfer failed: Dirección incorrecta
    [[email protected] ~]$ speaker-test -D hw:1 -c 2 -t wav

    speaker-test 1.1.4

    Playback device is hw:1
    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
    [[email protected] ~]$ cat pulsaudio.log | grep bytcrrt5651
    cat: pulsaudio.log: No existe el fichero o el directorio
    [[email protected]

    <span id=”result_box” class=”short_text” lang=”en”><span class=””>Ni gentoo gave me the problems that this audio card ,,,fu** audio
    </span></span>

     

    #73758

    Brad
    Participant
    • Posts: 439
    #73864

    uno
    Participant
    • Posts: 20

    Hi,,,

    select speaker playback:

    [[email protected] ~]$ 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>

     

     

    #73871

    Brad
    Participant
    • Posts: 439

    @Uno, it is not clear the reason for your last post here.  Did you have any change?   Speakers still not working or working now?  Did you change anything?
    Have you opened a bug/ticket with the  Alsa or kernel developers?

    #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

    #73887

    Brad
    Participant
    • Posts: 439

    Hi @uno, the developers have been making changes recently related to the sound device rt5651. I would try installing and testing the latest kernel release candidate… which I think is “kernel 4.14-rc6″.  If it still does not work, post again your alsa-info.sh output and dmesg log when you run aplay so people can see the error messages.
    But again… you really need to open a bug with the Alsa developers if it’s not working.

    #74574

    Rômulo
    Participant
    • Posts: 1

    did someone got the drivers for wifi, battery(status), sound and keypad ? with any distro

    #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

    #76089

    Mike
    Participant
    • Posts: 3

    Nice 😉

    #76922

    rajko
    Participant
    • Posts: 31

    Hello, sir! I bought a jumper ezbook 3 pro a week ago, I am planning to install and install the ssd disk, but I’m in dilemma, I can not boot linux, I will not even have windows 10 fresh version. Does anyone have an explanation of my bios is 2.18.1263, and there is no setup option.

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 316 through 330 (of 359 total)

You must be logged in to reply to this topic.

Lost Password