Discussion:
Youtube and sound issue in The Android-x86 7.1-r1 release
(too old to reply)
Pietro Muscio
2018-02-07 07:30:30 UTC
Permalink
Hi,

I just installed Android-x86 7.1-r1 on my mini pc alfawise x5, Intel
processor x5-8350 cherry trail ( full specification at
http://freaktab.com/forum/tv-player-support/intel-based-tv-players/661771-alfawise-x5-mini-pc-intel-atom-x5-z8350-2gb-ddr3-32gb-rom-gig-lan-windows-10-android-5-1
). All works fine except youtube. The app start, load the initial page but
when I stream video, a generic error is shown. I tried a youtube
alternative app tubemate 2.4.3 but i had the same issue. So I tried to
download a video with tubemate, the download worked great, but the video in
internal video player didn't start. So I tried to view the video with MX
player. The video starts but no sound.
I tried to use chrome/firefox browser with youtube site, video stream well
but no sound.
Then I connected bluetooth earphones and the issue are gone: youtube app
worked and sound worked. This issue is not present in the Android-x86
7.1-rc2 release.

Please, could you verify?

Thanks.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-07 19:58:36 UTC
Permalink
This are the required info:
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio - IntelHdmiLpeAudio

r1
--- no soundcards ---

thanks.
Post by Pietro Muscio
Post by Pietro Muscio
I just installed Android-x86 7.1-r1 on my mini pc alfawise x5, Intel
processor x5-8350 cherry trail ( full specification at
http://freaktab.com/forum/tv-player-support/intel-based-tv-players/661771-alfawise-x5-mini-pc-intel-atom-x5-z8350-2gb-ddr3-32gb-rom-gig-lan-windows-10-android-5-1
Post by Pietro Muscio
). All works fine except youtube. The app start, load the initial page
but
Post by Pietro Muscio
when I stream video, a generic error is shown. I tried a youtube
alternative
Post by Pietro Muscio
app tubemate 2.4.3 but i had the same issue. So I tried to download a
video
Post by Pietro Muscio
with tubemate, the download worked great, but the video in internal
video
Post by Pietro Muscio
player didn't start. So I tried to view the video with MX player. The
video
Post by Pietro Muscio
starts but no sound.
I tried to use chrome/firefox browser with youtube site, video stream
well
Post by Pietro Muscio
but no sound.
Then I connected bluetooth earphones and the issue are gone: youtube app
worked and sound worked. This issue is not present in the Android-x86
7.1-rc2 release.
What's the output of 'cat /proc/asound/cards'?
Please try the command on both 7.1-rc2 and 7.1-r1.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Robert Coldbird
2018-02-07 20:37:00 UTC
Permalink
Looks a whole lot like the default kernel doesn't include your soundcard
driver, that was the case for my device and required me to build my own
kernel with the right defconfigs set to get it to work.

As your chipset is also a cherry trail device it might be that you suffer
from the same issue. If you want us to help you first need to identify your
soundcard (sadly your spec sheet doesn't mention it).

If you just want to gamble... you could try building a 4.15 mainline kernel
with my defconfig patch from here
<https://github.com/Black-Seraph/android_patches_gpdwin/blob/master/blob/android-x86_64_defconfig>and
see if you hit the jackpot.
Post by Pietro Muscio
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio - IntelHdmiLpeAudio
r1
--- no soundcards ---
thanks.
Post by Pietro Muscio
Post by Pietro Muscio
I just installed Android-x86 7.1-r1 on my mini pc alfawise x5, Intel
processor x5-8350 cherry trail ( full specification at
http://freaktab.com/forum/tv-player-support/intel-based-tv-players/661771-alfawise-x5-mini-pc-intel-atom-x5-z8350-2gb-ddr3-32gb-rom-gig-lan-windows-10-android-5-1
Post by Pietro Muscio
). All works fine except youtube. The app start, load the initial page
but
Post by Pietro Muscio
when I stream video, a generic error is shown. I tried a youtube
alternative
Post by Pietro Muscio
app tubemate 2.4.3 but i had the same issue. So I tried to download a
video
Post by Pietro Muscio
with tubemate, the download worked great, but the video in internal
video
Post by Pietro Muscio
player didn't start. So I tried to view the video with MX player. The
video
Post by Pietro Muscio
starts but no sound.
I tried to use chrome/firefox browser with youtube site, video stream
well
Post by Pietro Muscio
but no sound.
Then I connected bluetooth earphones and the issue are gone: youtube
app
Post by Pietro Muscio
worked and sound worked. This issue is not present in the Android-x86
7.1-rc2 release.
What's the output of 'cat /proc/asound/cards'?
Please try the command on both 7.1-rc2 and 7.1-r1.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-08 13:14:45 UTC
Permalink
Hi,

lsmod doesn't show the module hdmi_lpe_audio loaded, so I try to load
manually with the command modprobe hdmi_lpe_audio. The command run ok,
module loaded, but the issue no sound remains.

Thanks.
Post by Pietro Muscio
Post by Pietro Muscio
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio -
IntelHdmiLpeAudio
Post by Pietro Muscio
r1
--- no soundcards ---
Hmm, strange. This should be supported by hdmi_lpe_audio driver.
modprobe hdmi_lpe_audio
I'll check my cherrytrail device when I go back home.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-08 15:44:26 UTC
Permalink
if has /dev/snd/pcmC0D3pthen killall audioserveraudio_hw_primary will
choose pcmC0D3p.

圚 2018幎2月8日星期四 UTC+8䞋午9:14:46Pietro Muscio写道
Hi,
lsmod doesn't show the module hdmi_lpe_audio loaded, so I try to load
manually with the command modprobe hdmi_lpe_audio. The command run ok,
module loaded, but the issue no sound remains.
Thanks.
Post by Pietro Muscio
Post by Pietro Muscio
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio -
IntelHdmiLpeAudio
Post by Pietro Muscio
r1
--- no soundcards ---
Hmm, strange. This should be supported by hdmi_lpe_audio driver.
modprobe hdmi_lpe_audio
I'll check my cherrytrail device when I go back home.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-09 07:18:12 UTC
Permalink
After the command modprobe hdmi_lpe_audio I don't see /dev/snd/pcmC0D3p.
I suppose there is something wrong in this version of the kernel.
Post by youling 257
if has /dev/snd/pcmC0D3pthen killall audioserveraudio_hw_primary will
choose pcmC0D3p.
圚 2018幎2月8日星期四 UTC+8䞋午9:14:46Pietro Muscio写道
Hi,
lsmod doesn't show the module hdmi_lpe_audio loaded, so I try to load
manually with the command modprobe hdmi_lpe_audio. The command run ok,
module loaded, but the issue no sound remains.
Thanks.
Post by Pietro Muscio
Post by Pietro Muscio
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio -
IntelHdmiLpeAudio
Post by Pietro Muscio
r1
--- no soundcards ---
Hmm, strange. This should be supported by hdmi_lpe_audio driver.
modprobe hdmi_lpe_audio
I'll check my cherrytrail device when I go back home.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-09 10:39:44 UTC
Permalink
just need command “killall audioserver”audioserver died and auto start.

alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?

圚 2018幎2月9日星期五 UTC+8䞋午3:18:13Pietro Muscio写道
After the command modprobe hdmi_lpe_audio I don't see /dev/snd/pcmC0D3p.
I suppose there is something wrong in this version of the kernel.
Post by youling 257
if has /dev/snd/pcmC0D3pthen killall audioserveraudio_hw_primary will
choose pcmC0D3p.
圚 2018幎2月8日星期四 UTC+8䞋午9:14:46Pietro Muscio写道
Hi,
lsmod doesn't show the module hdmi_lpe_audio loaded, so I try to load
manually with the command modprobe hdmi_lpe_audio. The command run ok,
module loaded, but the issue no sound remains.
Thanks.
Post by Pietro Muscio
Post by Pietro Muscio
rc2
0 [IntelHdmiLpeAud]: IntelHdmiLpeAudiIntelHdmiLpeAudio -
IntelHdmiLpeAudio
Post by Pietro Muscio
r1
--- no soundcards ---
Hmm, strange. This should be supported by hdmi_lpe_audio driver.
modprobe hdmi_lpe_audio
I'll check my cherrytrail device when I go back home.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-09 11:48:12 UTC
Permalink
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3

圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
just need command “killall audioserver”audioserver died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-09 12:10:02 UTC
Permalink
card0:bytcht-nocodeccard1:hdmi lpe

圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 09:54:47 UTC
Permalink
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 10:31:53 UTC
Permalink
i only for a examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose pcmC1D0p
for 0)but same principle. same principle on GTX1060 HDMI audiochoose
pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what files
/dev/snd folder?
when you alsa_amixer connectsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?

圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 10:41:51 UTC
Permalink
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose pcmC1D0p
for 0)but same principle. same principle on GTX1060 HDMI audiochoose
pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what files
/dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?

圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 13:46:15 UTC
Permalink
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #

so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose pcmC1D0p
for 0)but same principle. same principle on GTX1060 HDMI audiochoose
pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 13:55:21 UTC
Permalink
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko

圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose pcmC1D0p
for 0)but same principle. same principle on GTX1060 HDMI audiochoose
pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 14:32:23 UTC
Permalink
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #

x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #

_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #

6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose pcmC1D0p
for 0)but same principle. same principle on GTX1060 HDMI audiochoose
pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 14:38:07 UTC
Permalink
you needn't mv ! the intel compute stick has card0 and card1your device
only has card0 HDMI.


圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 14:42:06 UTC
Permalink
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver

圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point is
needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by Pietro Muscio
Post by youling 257
just need command “killall audioserver”audioserver died and auto
start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 14:52:02 UTC
Permalink
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelHdmiLpeAud [IntelHdmiLpeAudio], device 0: IntelHdmiLpeAudio
[IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point
is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p
for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 15:10:08 UTC
Permalink
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw

copy paste the resultlet me see.

圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelHdmiLpeAud [IntelHdmiLpeAudio], device 0: IntelHdmiLpeAudio
[IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86 4.9
kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point
is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p? what
files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p
for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 15:44:13 UTC
Permalink
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelHdmiLpeAud [IntelHdmiLpeAudio], device 0: IntelHdmiLpeAudio
[IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86
4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy point
is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p
for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 15:51:46 UTC
Permalink
please provide alsa_amixer contents

did you try depmod -a ? reboot auto load hdmi_lpe_audio ?

圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelHdmiLpeAud [IntelHdmiLpeAudio], device 0: IntelHdmiLpeAudio
[IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86
4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p
for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 15:53:46 UTC
Permalink
please provide alsa_amixer contentscommand "alsa_amixer contents"

did you try depmod -a ? reboot auto load hdmi_lpe_audio ?

圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelHdmiLpeAud [IntelHdmiLpeAudio], device 0: IntelHdmiLpeAudio
[IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86
4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose pcmC0D0p
for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 16:10:06 UTC
Permalink
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86
4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died and
auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 16:26:14 UTC
Permalink
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio

圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and card1your
device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0 /dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is snd-hdmi-lpe-audio.koAndroidx86
4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died
and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 16:54:36 UTC
Permalink
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has pcmC0D0p?
what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died
and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 17:20:51 UTC
Permalink
blkidcopy paste result.

圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute stick(choose
pcmC1D0p for 0)but same principle. same principle on GTX1060 HDMI
audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died
and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 17:35:54 UTC
Permalink
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to find
the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1, youling
Post by youling 257
I just give an examplemake audio_hw choose current pcmCxxxmy
point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0 Jack"
value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling 257
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
Post by youling 257
Post by youling 257
just need command “killall audioserver”audioserver died
and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 17:43:18 UTC
Permalink
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp

use root explorer open esp folder.

圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1, youling
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling 257
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-10 17:59:08 UTC
Permalink
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling 257
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1, youling
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on
?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 18:07:12 UTC
Permalink
cat /proc/cmdline

圚 2018幎2月11日星期日 UTC+8䞊午1:59:08Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1, youling
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on
?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-10 18:11:57 UTC
Permalink
mkdir /storage/sda2
busybox mount /dev/block/sda2 /storage/sda2

android.cfg is on your ext4 partition?
I haven't update to 7.1 r1 the new grub.

圚 2018幎2月11日星期日 UTC+8䞊午1:59:08Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1, youling
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is on
?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-11 11:58:25 UTC
Permalink
Maybe you can try this workaround: add
EXTMOD=hdmi_lpe_audio
to kernel cmdline.

i use this and finally issue resolved. Thanks.
Post by youling 257
mkdir /storage/sda2
busybox mount /dev/block/sda2 /storage/sda2
android.cfg is on your ext4 partition?
I haven't update to 7.1 r1 the new grub.
圚 2018幎2月11日星期日 UTC+8䞊午1:59:08Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
On Saturday, February 10, 2018 at 3:42:06 PM UTC+1, youling 257
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1,
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep audio_hwchoose
pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is
on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-11 13:22:53 UTC
Permalink
kernel cmdline is /proc/cmdlineis the 7.1 rc2 grub.cfg "linux
/Android-x86/kernel quiet root=/dev/ram0 androidboot.selinux=permissive
buildvariant=userdebug"
7.1 r1 use android.cfgdo you find "linux /Android-x86/kernel quiet
root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug" in
which file?
how do you edit kernel cmdline ?

圚 2018幎2月11日星期日 UTC+8䞋午7:58:25Pietro Muscio写道
Post by Pietro Muscio
Maybe you can try this workaround: add
EXTMOD=hdmi_lpe_audio
to kernel cmdline.
i use this and finally issue resolved. Thanks.
Post by youling 257
mkdir /storage/sda2
busybox mount /dev/block/sda2 /storage/sda2
android.cfg is on your ext4 partition?
I haven't update to 7.1 r1 the new grub.
圚 2018幎2月11日星期日 UTC+8䞊午1:59:08Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
On Saturday, February 10, 2018 at 3:42:06 PM UTC+1, youling
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1,
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep
audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded
now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is
on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
youling 257
2018-02-11 13:27:36 UTC
Permalink
grub2press "e" to editpress"c" ......
so you press "e" edit the "linux kernel quiet root=/dev/ram0
androidboot.selinux=permissive buildvariant=userdebug"then press "f10"???

圚 2018幎2月11日星期日 UTC+8䞋午7:58:25Pietro Muscio写道
Post by Pietro Muscio
Maybe you can try this workaround: add
EXTMOD=hdmi_lpe_audio
to kernel cmdline.
i use this and finally issue resolved. Thanks.
Post by youling 257
mkdir /storage/sda2
busybox mount /dev/block/sda2 /storage/sda2
android.cfg is on your ext4 partition?
I haven't update to 7.1 r1 the new grub.
圚 2018幎2月11日星期日 UTC+8䞊午1:59:08Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/ydxhXHXe
where is android.cfg
?
Post by youling 257
mkdir /esp
busybox mount /dev/block/mmcblk0p2 /esp
use root explorer open esp folder.
圚 2018幎2月11日星期日 UTC+8䞊午1:35:54Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # blkid
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop1: TYPE="squashfs"
/dev/block/mmcblk0p1: UUID="DC76E00E76DFE774" LABEL="Recovery" TYPE="ntfs"
/dev/block/mmcblk0p2: UUID="FCEE-EF6B" TYPE="vfat"
/dev/block/mmcblk0p4: UUID="4E42099B420988C3" TYPE="ntfs"
/dev/block/sda1: UUID="2110-0FE0" TYPE="vfat"
/dev/block/sda2: LABEL="Android-x86"
UUID="033e8fc7-4cfe-9454-bc59-df7329ca862d" TYPE="ext4"
x86_64:/ #
Post by youling 257
blkidcopy paste result.
圚 2018幎2月11日星期日 UTC+8䞊午12:54:37Pietro Muscio写道
Post by Pietro Muscio
how to mount esp partition?
Post by youling 257
7.1 r1mount esp partitionedit android.cfgEXTMOD=hdmi_lpe_audio
圚 2018幎2月11日星期日 UTC+8䞊午12:10:06Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/D3hGP9By
depmod -a not work
Post by youling 257
please provide alsa_amixer contentscommand "alsa_amixer contents"
did you try depmod -a ? reboot auto load hdmi_lpe_audio ?
圚 2018幎2月10日星期六 UTC+8䞋午11:44:13Pietro Muscio写道
Post by Pietro Muscio
https://pastebin.com/PM0fkQGm
Post by youling 257
this is not i want to seei want to see when you reboot
modprobe hdmi_lpe_audio
alsa_amixer contents
killall audioserver
logcat | grep audio_hw
copy paste the resultlet me see.
圚 2018幎2月10日星期六 UTC+8䞋午10:52:03Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/ # modprobe hdmi_lpe_audio
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
IntelHdmiLpeAudio [IntelHdmiLpeAudio]
Subdevices: 1/1
Subdevice #0: subdevice #0
x86_64:/ # setprop ro.hardware.audio.primary hdmi
x86_64:/ # killall audioserver
x86_64:/ #
now sound working
now how can automate this workaround at boot ?
thanks a lot
On Saturday, February 10, 2018 at 3:42:06 PM UTC+1, youling
Post by youling 257
you needn't rename ! the intel compute stick has card0 and
card1your device only has card0 HDMIrename back !
mv /dev/snd/1pcmC0D0p /dev/snd/pcmC0D0p
mv /dev/snd/1controlC0 /dev/snd/controlC0
killall audioserver
圚 2018幎2月10日星期六 UTC+8䞋午10:32:23Pietro Muscio写道
Post by Pietro Muscio
130|x86_64:/storage/D291-3180 # modprobe hdmi_lpe_audio
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 2 2018-02-10 15:17 controlC0
crw-rw---- 1 system audio 116, 3 2018-02-10 15:17 pcmC0D0p
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # mv /dev/snd/pcmC0D0p
/dev/snd/1pcmC0D0p
x86_64:/storage/D291-3180 # mv /dev/snd/controlC0
/dev/snd/1controlC0
x86_64:/storage/D291-3180 #
_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # killall audioserver
x86_64:/storage/D291-3180 #
6_64:/storage/D291-3180 #
x86_64:/storage/D291-3180 # logcat | grep audio_hw
02-10 15:25:02.336 10724 10724 W audio_hw_primary: Unable to
find the mixer
some progress but still not working
On Saturday, February 10, 2018 at 2:55:21 PM UTC+1, youling
Post by youling 257
mistakemodprobe hdmi_lpe_audio
upstream 4.14 kernelthe module is
snd-hdmi-lpe-audio.koAndroidx86 4.9 kernelthe module is hdmi_lpe_audio.ko
圚 2018幎2月10日星期六 UTC+8䞋午9:46:15Pietro Muscio写道
Post by Pietro Muscio
x86_64:/ $ su
x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 # modprobe snd-hdmi-lpe-audio
255|x86_64:/storage/D291-3180 # ls -l /dev/snd
total 0
crw-rw---- 1 system audio 116, 33 2018-02-10 14:29 timer
x86_64:/storage/D291-3180 #
so not working
On Saturday, February 10, 2018 at 11:41:51 AM UTC+1,
Post by youling 257
I just give an examplemake audio_hw choose current
pcmCxxxmy point is needn't setprop ro.hardware.audio.primary.
of course your device different with intel compute
stick(choose pcmC1D0p for 0)but same principle. same principle on GTX1060
HDMI audiochoose pcmC1D7p for 0.
okstep by step.
when you modprobe snd-hdmi-lpe-audio/dev/snd only has
pcmC0D0p? what files /dev/snd folder?
when you alsa_amixer contentsdid you see "HDMI/DP,pcm=0
Jack" value on ?
when you killall audioserverlogcat | grep
audio_hwchoose pcmC0D0p for 0 ?
圚 2018幎2月10日星期六 UTC+8䞋午5:54:48Pietro Muscio写道
Post by Pietro Muscio
for me it doesnt work. i wait a fix
On Friday, February 9, 2018 at 1:10:03 PM UTC+1, youling
Post by youling 257
card0:bytcht-nocodeccard1:hdmi lpe
圚 2018幎2月9日星期五 UTC+8䞋午7:48:12youling 257写道
Post by youling 257
modprobe snd-hdmi-lpe-audio
numid=5,iface=CARD,name='HDMI/DP,pcm=0 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
mv /dev/snd/pcmC0D0p /dev/snd/1pcmC0D0p
mv /dev/snd/pcmC0D1p /dev/snd/1pcmC0D1p
killall audioserver
http://bbs.phoenixstudio.org/cn/read.php?tid=13403&fid=20&page=3
圚 2018幎2月9日星期五 UTC+8䞋午6:58:15Chih-Wei Huang写道
2018-02-09 18:39 GMT+08:00 youling 257 <
Post by youling 257
just need command “killall audioserver”audioserver
died and auto start.
This device need the special audio hdmi hal
so just restart audioserver is not enough.
setprop ro.hardware.audio.primary hdmi
Normally it should be set by init.sh.
I need to study why the driver is not auto loaded
now.
Post by youling 257
alsa_amixer contentsthe 'HDMI/DP,pcm=xxx Jack' is
on ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-11 17:38:50 UTC
Permalink
In esp partition, folder efi there is android.cfg
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-14 07:21:13 UTC
Permalink
Great news.
Thanks.
Post by Pietro Muscio
Maybe you can try this workaround: add
EXTMOD=hdmi_lpe_audio
to kernel cmdline.
i use this and finally issue resolved. Thanks.
OK. I found the commit in kernel 4.9.80
that causes the regression and reverted it.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Pietro Muscio
2018-02-14 21:26:04 UTC
Permalink
tested....sound works
Post by Pietro Muscio
Great news.
Thanks.
You can download the just released cm-x86 14.1-r1
to test.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...