TechTablets › Forums › Jumper Discussion › EZBook series › Running Linux on the EZBook 2?
- This topic has 369 replies, 5 voices, and was last updated 3 years ago by Miguel.
-
AuthorPosts
-
October 16, 2017 at 12:09 am #73446
@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 wavspeaker-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 wavspeaker-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 RightOctober 16, 2017 at 12:27 am #73449Then 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:bytcrrt5651October 17, 2017 at 1:32 am #73471This 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!
October 17, 2017 at 12:24 pm #67444It 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?
October 21, 2017 at 1:45 am #73710FYI, final version of Ubuntu 17.10 is out now w/kernel 4.13
October 21, 2017 at 8:26 pm #73755@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” ….
[jumper@123456 ~]$ 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
[jumper@123456 ~]$ speaker-test -D hw:0 -c 2 -t wavspeaker-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
[jumper@123456 ~]$ speaker-test -D hw:1 -c 2 -t wavspeaker-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
[jumper@123456 ~]$ cat pulsaudio.log | grep bytcrrt5651
cat: pulsaudio.log: No existe el fichero o el directorio
[jumper@123456<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>
October 21, 2017 at 10:04 pm #73758October 24, 2017 at 9:57 am #73864Hi,,,
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>
October 24, 2017 at 12:01 pm #73871@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?October 24, 2017 at 4:11 pm #73876all 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
October 24, 2017 at 5:48 pm #73887Hi @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.November 8, 2017 at 4:14 pm #74574did someone got the drivers for wifi, battery(status), sound and keypad ? with any distro
November 16, 2017 at 11:57 am #74924Hi.
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
December 22, 2017 at 5:06 pm #76089Nice 😉
January 13, 2018 at 11:41 pm #76922Hello, 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. -
AuthorPosts
- You must be logged in to reply to this topic.