Because the Crystal Cove PMIC is not yet fully supported the brightness level of the screen cannot be adjusted and it is locked at the maximum value.The script brightness_ctl.Stretch_flexx10.sh makes use of the command above to progressively reduce the screen brightness.use script,control brightness
make android-x86_64_defconfig ,time make -j4,time make -j4 targz-pkg -i, I can build kernel and modules with https://sourceforge.net/p/android-x86/kernel/ci/kernel-4.4/tree/;https://github.com/zefie/nxt_andx86_kernel ,I can't build kernel and modules.
在 2016年5月7日星期六 UTC+8上午12:41:16,zefie altimitmine写道:
make android-x86_64_defconfig ,time make -j4,time make -j4 targz-pkg -i, I can build kernel and modules with https://sourceforge.net/p/android-x86/kernel/ci/kernel-4.4/tree/;https://github.com/zefie/nxt_andx86_kernel ,I can't build kernel and modules.
在 2016年5月7日星期六 UTC+8上午12:41:16,zefie altimitmine写道:
Sound works with clear quality, with the bytcr-rt5640 driver from kernel 4.5. This can be backported to the Android X86 kernel 4.4 by overwriting some files, thought I forget which ones specifically. I started by overwriting sound/soc/intel and just continued by overwriting files that caused errors (such as includes, etc). Very dirty hack.
you mean is,modprobe -r snd-soc-sst-acpi ,modprobe snd-intel-sst-acpi.ko ?u0_a26@android_x86:/ $ suroot@android_x86:/ # modprobe -r snd-soc-sst-acpimodprobe: remove 'snd_soc_sst_acpi': No such file or directoryroot@android_x86:/ # lsmodModule Size Used byi2c_dev 6747 0binfmt_misc 9035 1btusb 31273 0btrtl 4570 1 btusbsnd_soc_sst_bytcr_rt5640 26250 1bmc150_accel_i2c 2538 0gpio_keys 8021 0mac_hid 3843 0r8723bs 550974 0cfg80211 478396 1 r8723bspcspkr 2158 0efivars 7558 0i915 1008587 21drm_kms_helper 103985 1 i915drm 304233 23 i915,drm_kms_helperfb_sys_fops 1759 1 drm_kms_helpersyscopyarea 3185 1 drm_kms_helpersysfillrect 3357 1 drm_kms_helpersysimgblt 2400 1 drm_kms_helperi2c_algo_bit 5350 1 i915lpc_ich 14354 0aesni_intel 158765 0aes_x86_64 7979 1 aesni_intel8250_fintek 2939 0gslx680_ts_acpi 9881 0jsa1212 4439 0dw_dmac 4088 0dw_dmac_core 17102 1 dw_dmacsoc_button_array 2418 0goodix 7218 0bmc150_accel_spi 2538 0bmc150_accel_core 16195 2 bmc150_accel_i2c,bmc150_accel_spiindustrialio_triggered_buffer 1874 1 bmc150_accel_corekfifo_buf 3310 1 industrialio_triggered_bufferindustrialio 44986 4 jsa1212,bmc150_accel_core,industrialio_triggered_buffer,kfifo_bufregmap_spi 2381 1 bmc150_accel_spihci_uart 65868 0btbcm 6872 2 btusb,hci_uartbtqca 6975 1 hci_uartbtintel 8259 2 btusb,hci_uartbluetooth 435246 6 btusb,btrtl,hci_uart,btbcm,btqca,btinteli2c_designware_platform 6662 0i2c_designware_core 7540 1 i2c_designware_platformsnd_intel_sst_acpi 4907 2snd_intel_sst_core 58982 1 snd_intel_sst_acpisnd_soc_sst_mfld_platform 76769 3 snd_intel_sst_coresnd_soc_sst_match 1345 1 snd_intel_sst_acpi8250_dw 6857 0pwm_lpss_platform 1823 0pwm_lpss 2919 1 pwm_lpss_platformsnd_soc_rt5640 108235 2 snd_soc_sst_bytcr_rt5640snd_soc_rl6231 3040 1 snd_soc_rt5640snd_soc_core 183624 3 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_rt5640snd_compress 11687 1 snd_soc_coresnd_pcm_dmaengine 5444 1 snd_soc_coresnd_pcm 86333 6 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaenginesnd_timer 20117 1 snd_pcmsnd 64510 7 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_core,snd_compress,snd_pcm,snd_timersoundcore 6580 1 sndac97_bus 1997 1 snd_soc_coreroot@android_x86:/ # modprobe -r snd-soc-sst-acpimodprobe: remove 'snd_soc_sst_acpi': No such file or directoryroot@android_x86:/ # modprobe -r snd-intel-sst-acpimodprobe: remove 'snd_intel_sst_acpi': Resource temporarily unavailableroot@android_x86:/ # modprobe snd-intel-sst-acpiroot@android_x86:/ # lsmodModule Size Used byi2c_dev 6747 0binfmt_misc 9035 1btusb 31273 0btrtl 4570 1 btusbsnd_soc_sst_bytcr_rt5640 26250 1bmc150_accel_i2c 2538 0gpio_keys 8021 0mac_hid 3843 0r8723bs 550974 0cfg80211 478396 1 r8723bspcspkr 2158 0efivars 7558 0i915 1008587 21drm_kms_helper 103985 1 i915drm 304233 23 i915,drm_kms_helperfb_sys_fops 1759 1 drm_kms_helpersyscopyarea 3185 1 drm_kms_helpersysfillrect 3357 1 drm_kms_helpersysimgblt 2400 1 drm_kms_helperi2c_algo_bit 5350 1 i915lpc_ich 14354 0aesni_intel 158765 0aes_x86_64 7979 1 aesni_intel8250_fintek 2939 0gslx680_ts_acpi 9881 0jsa1212 4439 0dw_dmac 4088 0dw_dmac_core 17102 1 dw_dmacsoc_button_array 2418 0goodix 7218 0bmc150_accel_spi 2538 0bmc150_accel_core 16195 2 bmc150_accel_i2c,bmc150_accel_spiindustrialio_triggered_buffer 1874 1 bmc150_accel_corekfifo_buf 3310 1 industrialio_triggered_bufferindustrialio 44986 4 jsa1212,bmc150_accel_core,industrialio_triggered_buffer,kfifo_bufregmap_spi 2381 1 bmc150_accel_spihci_uart 65868 0btbcm 6872 2 btusb,hci_uartbtqca 6975 1 hci_uartbtintel 8259 2 btusb,hci_uartbluetooth 435246 6 btusb,btrtl,hci_uart,btbcm,btqca,btinteli2c_designware_platform 6662 0i2c_designware_core 7540 1 i2c_designware_platformsnd_intel_sst_acpi 4907 2snd_intel_sst_core 58982 1 snd_intel_sst_acpisnd_soc_sst_mfld_platform 76769 3 snd_intel_sst_coresnd_soc_sst_match 1345 1 snd_intel_sst_acpi8250_dw 6857 0pwm_lpss_platform 1823 0pwm_lpss 2919 1 pwm_lpss_platformsnd_soc_rt5640 108235 2 snd_soc_sst_bytcr_rt5640snd_soc_rl6231 3040 1 snd_soc_rt5640snd_soc_core 183624 3 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_rt5640snd_compress 11687 1 snd_soc_coresnd_pcm_dmaengine 5444 1 snd_soc_coresnd_pcm 86333 6 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaenginesnd_timer 20117 1 snd_pcmsnd 64510 7 snd_soc_sst_bytcr_rt5640,snd_soc_sst_mfld_platform,snd_soc_core,snd_compress,snd_pcm,snd_timersoundcore 6580 1 sndac97_bus 1997 1 snd_soc_coreroot@android_x86:/ #I Compiled your kernel and modules,and copy https://git.kernel.org/cgit/linux/kernel/git/vkoul/firmware.git/tree/intel?h=byt_new these to /system/lib/firmware/intel,still no sound
I use root explorer ,execute alsa_cr.sh,/storage/emulated/0/alsa_cr.sh,no sound
Waiting for your kernel tree is updated,I will re-download and compile
在 2016年5月8日星期日 UTC+8上午1:40:40,zefie altimitmine写道:
I only can make ready-made kernel tree;More complex I do not understand
I posted the patch as an attachment earlier. I won't be applying it to the kernel because I use a DSDT edit.
your nextbook_defconfig or baytrail_defconfig is 32bit kernel,I use 64bit kernel 、32bit user space cm13 ;use baytrail_defconfig build kernel can't run on 64k32u cm13;now,your baytrail_defconfig,working on bluetooth,2 hours ago
patch -p1 < byt_audio_irq.patch ,then,make android-x86_64_defconfig ,time make -j4,time make -j4 targz-pkg -i,build kernel and modules. still no sound ,Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port,Baytrail Audio Port: sst: error code = -22,not solve
static struct sst_acpi_desc sst_acpi_baytrail_desc = {.drv_name = "baytrail-pcm-audio",.machines = baytrail_machines,.resindex_lpe_base = 0,.resindex_pcicfg_base = 1,.resindex_fw_base = 2,.irqindex_host_ipc = 5,.sst_id = SST_DEV_ID_BYT,.resindex_dma_base = -1,};
Open the file in a text editor and search for: byt_rvp_res_info
Then copy-paste text in bold.
static const struct sst_res_info byt_rvp_res_info = {
.shim_offset = 0x140000,.shim_size = 0x000100,.shim_phy_addr = SST_BYT_SHIM_PHY_ADDR,.ssp0_offset = 0xa0000,.ssp0_size = 0x1000,.dma0_offset = 0x98000,.dma0_size = 0x4000,.dma1_offset = 0x9c000,.dma1_size = 0x4000,.iram_offset = 0x0c0000,.iram_size = 0x14000,.dram_offset = 0x100000,.dram_size = 0x28000,.mbox_offset = 0x144000,.mbox_size = 0x1000,
.acpi_lpe_res_index = 0,
.acpi_ddr_index = 2,.acpi_ipc_irq_index = 0,};
paste these at sst-acpi.c what position ? i don't know
在 2016年5月9日星期一 UTC+8上午12:05:33,pstglia写道:
--
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 andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
static const struct sst_res_info byt_rvp_res_info = {.shim_offset = 0x140000,.shim_size = 0x000100,.shim_phy_addr = SST_BYT_SHIM_PHY_ADDR,.ssp0_offset = 0xa0000,.ssp0_size = 0x1000,.dma0_offset = 0x98000,.dma0_size = 0x4000,.dma1_offset = 0x9c000,.dma1_size = 0x4000,.iram_offset = 0x0c0000,.iram_size = 0x14000,.dram_offset = 0x100000,.dram_size = 0x28000,.mbox_offset = 0x144000,.mbox_size = 0x1000,.acpi_lpe_res_index = 0,.acpi_ddr_index = 2,.acpi_ipc_irq_index = 0,};
no use,sound/soc/intel/atom/sst/sst_acpi.c,acpi_ipc_irq_index = 0,
在 2016年5月9日星期一 UTC+8上午3:14:53,pstglia写道:
WARNING: CPU: 3 PID: 1289 at drivers/pinctrl/intel/pinctrl-baytrail.c:214 byt_gpio_request+0x5c/0xb4()Modules linked in: soc_button_array(+) goodix bmc150_accel_spi bmc150_accel_core industrialio_triggered_buffer kfifo_buf industrialio regmap_spi hci_uart btbcm btqca btintel bluetooth i2c_designware_platform i2c_designware_core snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_sst_match 8250_dw pwm_lpss_platform pwm_lpss snd_soc_rt5640 snd_soc_rl6231 snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd soundcore ac97_bus atkbd ,what means?
在 2016年5月8日星期日 UTC+8上午12:34:46,youling 257写道:dmesg,Terminal command
在 2016年5月8日星期日 UTC+8上午12:29:09,zefie altimitmine写道:Be sure you are running both alsa_cr.sh, and then alsa_cr_spk.sh.
On Saturday, May 7, 2016 at 11:47:56 AM UTC-4, youling 257 wrote:dmesg,Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
在 2016年5月7日星期六 UTC+8下午11:14:18,zefie altimitmine写道:Thats the initialization, now run alsa_cr_spk.sh afterwards.
On Saturday, May 7, 2016 at 10:03:34 AM UTC-4, youling 257 wrote:I use root explorer ,execute alsa_cr.sh,/storage/emulated/0/alsa_cr.sh,no sound
make menuconfig,enable 64-bit kernel,save new config,rename 1baytrail_defconfig,copy to /arch/x86/configs folder ;make 1baytrail_defconfig,time make -j8,time make -j8 targz-pkg -i ,rebuild kernel and modules ; but use these modules and kernel,64K32U cm13 can't boot ; use android-x86_64_defconfig rebuild kernel and modules,64k32u can boot
在 2016年5月8日星期日 UTC+8下午10:04:38,zefie altimitmine写道:
you use 32 bit kernel and 32 bit userspace ,isn't tailored towards ;I use baytrail_defconfig make 32 bit kernel and modules,can boot Androidx86 5.1.1,it's 32K32U;i use 64K32U cm13,64K32U 6.0.1,32K32U 5.1.1
在 2016年5月10日星期二 UTC+8上午6:35:08,zefie altimitmine写道:
baytrail_defconfig may be too tailored towards my tablet. It is the same config but without the embedded DSDT, which definitely would not work. You can go ahead and use android-x86-64_defconfig, sound should still work. I'm not sure why it does not work for you. Could you post your DSDT? From command line on the tablet, run:
https://github.com/burzumishi/linux-baytrail-flexx10 ,may be can solve z3735f Androidx86 audio and brightbess problem,how to do with Androidx86 kernel 4.4 ?