burzumishi / linux-baytrail-flexx10

Install GNU/Linux on NextBook Flexx 10.1
GNU General Public License v2.0
83 stars 18 forks source link

Discussion #12

Open nicman23 opened 8 years ago

nicman23 commented 8 years ago

Made a branch for updating the readme

Atm I have mostly removed any obsolete information (ie c states problem) and currently waiting for 4.8 to proceed.

burzumishi commented 8 years ago

OK, thanks!

I have been updating the readme a bit too, I'm moving things from the main readme to the Wiki pages.

When I get home I'll test DKMS for wifi.

nicman23 commented 7 years ago

Wishlist:

nicman23 commented 7 years ago

@Tuxman2 @RussianNeuroMancer @jusss please move all discussion here for bugs that are already fixed.

please tag anyone that i missed from this repo.

Mainline 4.10rc1 with firmware from git has out of the box audio and battery (you need to enable it with a config).

I am now looking into the wifi. I ll make a slim .config with only the modules that our machines need and i ll upload it in the repo (i ll write here to inform you)

EDIT: So, wifi from hadess freezes the tablet. did anyone have any success with it?

Haxk20 commented 7 years ago

I do you need some mmc patch and then it didnt freeze but i lost it because of update and reinstall but will try to find it :)

RussianNeuroMancer commented 7 years ago

@nicman23 deb packages for WiFi and Bluetooth is there:

https://launchpad.net/~russianneuromancer/+archive/ubuntu/drivers https://yadi.sk/d/LbaBpYVuqYfCy

nicman23 commented 7 years ago

btw upstream linux-firmware has the needed firmware files for 8723bs

Haxk20 commented 7 years ago

Reinstalled arch will build kernel in few days but noticed that 4.10.3 kernel without kernel parm didn't froze and even tsc is selected as good clocksource and yeah its working nicely will see what 4.11 rc2 with added axp288 configs will do if it will work then I will probably have working WiFi (never warning here perfectly)

RussianNeuroMancer commented 7 years ago

@Haxk20

will try to find it :)

You mean this one?

nicman23 commented 7 years ago

even with that patch, the 8723bs driver cause the tablet to freeze :/

I have been using it regularly the couple past days and had no issues without the wifi driver ( i just use and usb wifi nic )

also, again, for those who have wpa_supplicant > 2.5 , you will have issues with NetworkManager.

jusss commented 7 years ago

@nicman23 @RussianNeuroMancer @Haxk20 I wonder did 8723bs driver from hades cause random freeze? I used linuxium's ISO image and wifi work normal, no random freeze

youling257 commented 7 years ago

i used ax88179_178a ,had never freeze,8723bs only 70MBps,i use ax88179_178a 120Mbps . i used otg hub and charging simultaneously .

beevabeeva commented 7 years ago

I've been using Linuxium's older image ( 4.9 I think.) I don't have sound (despite his instructions on installing patch) - do you have sound? He hasn't made an image for the latest kernel last I checked. I wish he'd make a tutorial explaining how he makes the image in the first place. If someone knows of one, a link would be appreciated.

On 21 Mar 2017, at 3:34 PM, jusss notifications@github.com wrote:

@nicman23 @RussianNeuroMancer @Haxk20 I wonder did 8723bs driver from hades cause random freeze? I used linuxium's ISO image and wifi work normal, no random freeze

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

RussianNeuroMancer commented 7 years ago

@nicman23

even with that patch, the 8723bs driver cause the tablet to freeze :/

With 4.11?

also, again, for those who have wpa_supplicant > 2.5 , you will have issues with NetworkManager

Bugreport filled anywhere?

jusss commented 7 years ago

@beevabeeva http://linuxiumcomau.blogspot.jp/2017/01/bleeding-edge-ubuntu-4100-57-kernel.html?m=1 I use his ubuntu 17.04 lubuntu, and after I remove pulseaudio and config ~/.asoundrc, speaker will work, but headphone no, wifi ok, no random freeze

beevabeeva commented 7 years ago

Thanks!

On 22 Mar 2017, at 4:30 AM, jusss notifications@github.com wrote:

@beevabeeva http://linuxiumcomau.blogspot.jp/2017/01/bleeding-edge-ubuntu-4100-57-kernel.html?m=1 I use his ubuntu 17.04 lubuntu, and after I remove pulseaudio and config ~/.asoundrc, speaker will work, but headphone no, wifi ok, no random freeze

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

RussianNeuroMancer commented 7 years ago

Linux 4.11rc3 build with patches: https://yadi.sk/d/pW1Fbl-VyVPoR Please report freezes to https://bugzilla.kernel.org Please report GPU hangs to Intel: https://01.org/linuxgraphics/documentation/how-report-bugs Thanks.

jusss commented 7 years ago

thanks!

On Mar 22, 2017 1:01 PM, "RussianNeuroMancer" notifications@github.com wrote:

Linux 4.11rc3 build with patches: https://yadi.sk/d/pW1Fbl-VyVPoR Please report freezes to https://bugzilla.kernel.org Please report GPU hangs to Intel: https://01.org/linuxgraphics/ documentation/how-report-bugs Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/burzumishi/linux-baytrail-flexx10/issues/12#issuecomment-288299220, or mute the thread https://github.com/notifications/unsubscribe-auth/AGC7IyDY-7M4fgEdUO23PxRjZvaSEVqsks5roKsogaJpZM4JnNQp .

Haxk20 commented 7 years ago

I contacted linuxium at email if he can give us only patches and he only talked about donate and if I ask second time for 4.10 he didn't respond. If you contact him on email ansd he will send you only patches and not link to patched kernel send it here please

jusss commented 7 years ago

@Haxk20 reference this article http://linuxiumcomau.blogspot.jp/2017/01/bleeding-edge-ubuntu-4100-57-kernel.html?m=1 maybe we can find these patches from github or bugzilla.kernel.org

RussianNeuroMancer commented 7 years ago

Check Readme.txt in Linux 4.11rc3 folder above.

beevabeeva commented 7 years ago

Yea, I don't think he writes the patches himself (does he?). If he does, then I wouldn't mind buying him a beer in exchange for them... But more valuable would be learning how to go about creating patches/ drivers in C...

On 22 Mar 2017, at 7:58 AM, jusss notifications@github.com wrote:

@Haxk20 reference this article http://linuxiumcomau.blogspot.jp/2017/01/bleeding-edge-ubuntu-4100-57-kernel.html?m=1 maybe we can find these patches from github or bugzilla.kernel.org

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Tuxman2 commented 7 years ago

In my case I fixed the sound and microphone problem. I must use IN3_MAP and ssp0-aif1. I will send the quirk informations to plbossart so that he integrates them to the 4.11-rcx kernel.

Thanks to all people here for the informations above. ;-)

@RussianNeuroMancer: Can you tell us what patches are still needed from the kernel 4.11-rc3 ? I think I will compile a new custom kernel from the 4.11-rc3 version. Your Readme.txt is not available in your Linux 4.11rc3 folder. Thanks.

RussianNeuroMancer commented 7 years ago

@Tuxman2 my bad, I'll upload it tomorrow.

Tuxman2 commented 7 years ago

@RussianNeuroMancer: OK, thanks. ;-)

@All: I'm currently doing a how-to for those who want to create a custom kernel for their hardware (Baytrail tablet in our case) with Ubuntu and derived distributions. I hope to give you this how-to as soon as possible. ;-)

beevabeeva commented 7 years ago

@Tuxman2 Ah great! Thank you very much and looking forward to learning from your tut!

On 22 Mar 2017, at 5:41 PM, Tuxman2 notifications@github.com wrote:

@RussianNeuroMancer: OK, thanks. ;-)

@All: I'm currently doing a how-to for those who want to create a custom kernel for their hardware (Baytrail tablet in our case) with Ubuntu and derived distributions. I hope to give you this how-to as soon as possible. ;-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

nicman23 commented 7 years ago

@RussianNeuroMancer

With 4.11?

yes

Bugreport filled anywhere?

also yes see https://github.com/hadess/rtl8723bs/issues/113

RussianNeuroMancer commented 7 years ago

@nicman23 Thanks! So two workarounds is necessary:

RussianNeuroMancer commented 7 years ago

@Tuxman2 files re-uploaded.

@nicman23 Is there bugreport about freeze with WiFi driver on kernel with sdhci patch?

Tuxman2 commented 7 years ago

@RussianNeuroMancer: Ok, thanks. ;-) Why do you use 'drm-intel-next-2017-03-20' for the kernel source rather that the 'Kernel Mainline Ubuntu PPA' source in the readme.txt file from your Rev2 directory ?

@All: Ok, here is the little tutorial I made for people who want to have a custom kernel for their Baytrail machine. This tutorial is mainly for Ubuntu and derived distributions (ex: Linux Mint).

HowToCustomKernelUbuntu.txt

Good compilation. ;-)

RussianNeuroMancer commented 7 years ago

@Tuxman2 on some tablets and laptops there is blank screen as soon as Xorg started. Issue is present up to Linux 4.11 (and also in 4.4, 4.8, 4.10, earlier releases wasn't tested). Intel fixed that, but fix in drm-intel-next (so it well get into 4.12, two months laters). rev2 for such devices and for people who doesn't want to wait.

Tuxman2 commented 7 years ago

@RussianNeuroMancer: Ok.

@All: Is someone here could tell me what this dmesg error means : 'i2c_hid i2c-FTSC1000:00: hid_descr_cmd failed', it would be nice. Thanks. :-) I don't find any informations about it on the net. :-(

nicman23 commented 7 years ago

@RussianNeuroMancer yeah i know about the network manager config, but thanks about the flush hostap patch :)

@All btw i have been using this little tablet for the patch week or show as my main uni machine (without the wifi driver, with an external usb wifi interface) and the experience is quite pleasant. as of now i have not had a single crash

beevabeeva commented 7 years ago

@Tuxman2 Thank you so much!

On 23 Mar 2017, at 3:19 PM, Tuxman2 notifications@github.com wrote:

@RussianNeuroMancer: Ok, thanks. ;-)

@All: Ok, here is the little tutorial I made for people who wants to have a custom kernel for their Baytrail machine. This tutorial is mainly for Ubuntu and derived distributions (ex: Linux Mint).

HowToCustomKernelUbuntu.txt

Good compilation. ;-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

RussianNeuroMancer commented 7 years ago

@nicman23 since I can not reproduce WiFi freeze with patched kernel, could you please fill bugreport about this? (To hadess repo, I guess?)

jusss commented 7 years ago

where I can get "some SDIO/I2C related patches from Hans De Goede." to anti-freeze?

jusss commented 7 years ago

@RussianNeuroMancer I saw there are linux-image-generic.deb and linux-image-extra.deb, do I need install them all? also linux-headers-extra, and so far I haven't meet a random freeze with you kernel, :-)

RussianNeuroMancer commented 7 years ago

@jusss

do I need install them all?

AFAIK yes.

also linux-headers-extra, and so far I haven't meet a random freeze with you kernel, :-)

Please install Opera, open opera://flags, enable "Override software rendering list", set "GPU rasterization" to "Force-enabled for all layers", set "Number of raster threads" to 4, restart Opera, then surf web, watch online video, etc. I get freeze, and it would be very helpful if anyone else besides me will able to reproduce this issue.

nicman23 commented 7 years ago

@RussianNeuroMancer same settings on chromium has been stable for me (opera is basically old chromium)

RussianNeuroMancer commented 7 years ago

Very strange, freezing for me on two devices. Even Spotify client with Chromium inside cause freeze.

nicman23 commented 7 years ago

I run spotify for hours playing things. I must add again that i do not have the internal running wifi but a usb device.

jusss commented 7 years ago

@ALL dmesg show lots same messages like "IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready RTL8723BS: nolinked power save enter/leave", driver from hades, kernel from RussianNeuroMancer, have I miss something?

jusss commented 7 years ago

same with linuxium's ISO

RussianNeuroMancer commented 7 years ago

@jusss could you please look into this message?

For WiFi issue try this (Ctfl+F, "SDHCI ACPI").

jusss commented 7 years ago

@RussianNeuroMancer I don't have my tablet now, I will give you the test result tomorrow, also wifi messages, :-)

jusss commented 7 years ago

@RussianNeuroMancer I test opera as you said and no freeze on my tablet, the wifi issue, I set /sys/bus/platform/drivers/sdhci-acpi/80860F14\:00/power/control on /sys/bus/platform/drivers/sdhci-acpi/80860F14\:02/power/control on /sys/bus/platform/drivers/sdhci-acpi/INT33BB\:00/power/control on and it still pops lots message up on dmesg until I connect it to wifi, I mean if I don't connect it to wifi, it pops up, I connect it to wifi then it won't pops up

Tuxman2 commented 7 years ago

@RussianNeuroMancer: About the quirk for the sound problem, I've got a patch. It seems that with this patch you don't need to add the quirk for your sound hardware. I need to test it. If it works I will give you the patch.

jusss commented 7 years ago

@ALL finally I meet a freeze with RussianNeuroMancer's 4.11-rc2 kernel, I was opening chromium and emacs, and using sudo vim /etc/udev/rules.d/80-udisks.rules on ansi-term mode of emacs, suddently it freeze... :-(
I think it is wifi driver's issue, if I'm wrong please tell me

jusss commented 7 years ago

@RussianNeuroMancer @ALL lots message pop on dmesg like axp288_fuel_gauge: Error reading 0xbc :axp288 reg read err:-110
i2c_designware 80860F41:04 punit semaphore timed out, resetting, PUNIT SEM:2, couldn't acquire bus owership and I run top root PR -51 CPU 25.7% command irq/46-mmc0 the kernel is RussianNeuroMancer's 4.11-rc2, anyone meet this?

Tuxman2 commented 7 years ago

@jusss: Try to compile the 4.11-rc4 kernel version with the patches and the options given by RussianNeuroMancer.

RussianNeuroMancer commented 7 years ago

I guess patches from Hans tree are needed.

There is 4.11rc2: https://github.com/jwrdegoede/linux-sunxi/tree/bq24190-wip-not-rebased