LINUX on UEFI 32bit | [linuxos] tablets and TV box INTEL Bay \ Cherry Trail



Rep: (126)
LINUX on UEFI 32/64 bit


The topic discusses installing any kind of LINUX on tablets and TV boxes on INTEL Bay [Cherry] Trail with UEFI 32 / 64bit

Specifications
Specifications:
INTEL Bay [Cherry] Trail.
The screen size, touchscreen, Ram, Rom, it's all not important, they are almost identical, in tablets on Intel.
additional information
If you were able to launch Linux on your machine, write its name, what does not work and what works and how you launched it.
P.SThe topic is forbidden to discuss dualboot Android / Windows only linux / windows
Linux builds
Instructions
Drivers and sources
Kernel

Neighboring topics



There is no curator in the subject. For questions about filling the caps, please contact me atQMSif you found an interesting article or information.


Post has been editedM | A | G - 20.04.20, 18:06
Reason for editing: + autorotation guide



Rep: (17)
Profi_GMan @ 06.05.17, 12:41*
BelBES, you have a touch screen that works?

Yes, the tablet apart from the sensor I do not have anything else.
And on the other touch-based computers at me it has always worked out of the box.



Rep: (112)
* Belbes What your tablet?



Rep: (17)
Profi_GMan @ 06.05.17, 12:46*
BelBES, what is your plate?

Teclast x98 plus 3G



Rep: (112)
* Belbes I do not know why you have been working, and I do not: rofl:



Rep: (69)
Cut in @ 05/06/17, 16:32*
in Gnome, you can turn right click on long press
I looked now dconf - like there is not even such keys already, and those that are marked as keys without the scheme, and it is proposed to remove. Can a11y settings moved to another location?



Rep: (17)
* Profi_GMan, you have such a well-tablet? Maybe some are not the default settings that functionality overlap? Try to boot from the livecd to bare Ubuntu and check whether there is a right click.



Rep: (27)
RussianNeuroMancer @ 06.05.17, 19:40*
Looked now dconf - like there is not even such key already,

If you're on Gnome-Shell, I would advise you not to suffer garbage and just include this item in the settings:
Screen
Attached Image



Rep: (112)
* BelBES,
I have a acer aspire switch 10, with special ubuntu, for him



Rep: (69)
* Mixanic1997, I tried the case, but there is no right-click with a long tapas.



Rep: (27)
RussianNeuroMancer @ 07.05.17, 07:46*
but there is no right-click with a long tapas.

Countries working on my touchscreen. Either you are doing something wrong, or you have problems with libami / old version of gnome / etc.



Rep: (69)
* Mixanic1997, you have a Wacom touchscreen is not an accident?



Rep: (57)
There is a simple utility:https://github.com/Plippo/twofing
KDE for other options left, touchegg with the latest kernels or libraries did not work at all.



Rep: (131)
RussianNeuroMancer @ 06.05.17, 20:40*
I looked now dconf - like there is not even such keys already, and those that are marked as keys without the scheme, and it is proposed to remove. Can a11y settings moved to another location?
gnome 3.22.2
A long press - pops up a context menu as when you right click.
$ Gsettings get org.gnome.desktop.a11y.mouse secondary-click-enabled
false
$ Gsettings get org.gnome.desktop.a11y.mouse secondary-click-time
1.2

$ Gsettings get org.gnome.desktop.a11y.mouse
click-type-window-visible dwell-gesture-drag dwell-mode secondary-click-enabled
dwell-click-enabled dwell-gesture-secondary dwell-threshold secondary-click-time
dwell-gesture-double dwell-gesture-single dwell-time


Mixanic1997 @ 07.05.17, 00:19*
I would advise you not to suffer garbage and just include this item in the settings:
There really some kind of garbage:
assistant press
Attached Image
and at the same time - it works.

Profi_GMan @ 07.05.17, 01:55*
acer aspire switch 10 with special ubuntu, for him
That version is outdated. Here, the subject has a more functional core. Yes, and it took the usual 4.11 veperod.

Post has been editedCut in - 07.05.17, 09:34
Reason for editing: special ubuntu



Rep: (112)
* Cut in Outdated live cd, and the kernel is 4.8.17 last



Rep: (112)
Cut in @ 05/07/17, 9:28*
Here, the subject has a more functional core.
Where? Poke your nose, please



Rep: (131)
* Profi_GMan, almost a week ago, the main branch was the version 4.11. 4.8 - is no longer supported on kernel.org And the error will not ispralyatsya. In this topic laid out core collected from the repositories Hans de Goede (from Red Hat, he just otpralyaet lot of improvements to our tablet in the upstream) LINUX on UEFI 32bit (Post RussianNeuroMancer # 60617335) - it is listed as version 4.11-rc5, but there is something of what will go down in 4.12.

Post has been editedCut in - 07.05.17, 10:08



Rep: (112)
* Cut in , Wow, did not know what it is, on a course I also earn, Thanks !!



Rep: (69)
* Mixanic1997, * Cut in I understand we have different check long press. You probably check in Gnome Shell (desktop and panel, come out after clicking on Browse) where it is self-other works (even if secondary-click-enabled = false) and I check in the Nautilus, where it does not work and will not work until GTK4 : https: //bugzilla.gnome...show_bug.cgi id = 315645?

Nobody is working on this, as far as I'm aware. GTK + 3.22 is API
frozen, so it will not see a feature like this, either.

There's a strawman proposal for dropping menu widgets and only allow
constructing menus from the GMenu declarative API in GTK + 4.0:
https://wiki.gnome.org/Projects/GTK+/Menus- I'll make sure to add a
reference to this bug there.

ciao,
Emmanuele.
In general, devices from Wacom is the question solved, and moreover -The default driver works in a mode that allows you to call the context menu in the legacy-applications. Specifically in my case (on Dell 5855 and Dell 9250) that these gestures have earned - I have enough to beat the xorg.conf, which I built these gestures disabled (ie point in using twofing turns out that there is) but the problem is that have to choose, or one-finger bezkostylny scrolling and pinch-to-zoom in applications that Xinput 2 (Opera, Chrome,Firefox) Or is embedded in the driver gesture, and it is obvious that the browser then wins because he used most of the time. But sometimes, after all, the context menu you need to call ... well, as a result at the moment of action with the file while it is easier to perform in the Midnight Commander :)



Rep: (131)
The patch is added to the mainline 4.14.
Original message
For Goodix sensor Anyone can try to use touch button "Window".
On my DEXP z110 running.
If not, you can enable debugging output driver Posts:
echo 'module goodix + p' | sudo tee / sys / kernel / debug / dynamic_debug / control

then put the following experiment:
1. touch of a button
2. Pause for 2 seconds
3. arbitrarily by swiping
4. Pause for 2 seconds
5. The touch of a button
and show the output of the command:
dmesg | grep Goodix

That would not clog the log, you can disable the output like this:
echo 'module goodix -p' | sudo tee / sys / kernel / debug / dynamic_debug / control


--- linux-4.11 / drivers / input / touchscreen / goodix.c.orig 2017-04-11 05: 37: 00.000000000 +1000
+++ linux-4.11 / drivers / input / touchscreen / goodix.c 2017-05-07 21: 47: 07.548083688 +1000
@@ -76,6 +76,8 @@
#define MAX_CONTACTS_LOC 5
#define TRIGGER_LOC 6

+ # Define GOODIX_SOFTBUTTON1 KEY_LEFTMETA
+
static const unsigned long goodix_irq_flags [] = {
IRQ_TYPE_EDGE_RISING,
IRQ_TYPE_EDGE_FALLING,
@@ -223,7 +225,25 @@
return error;
}

- return touch_num;
+ / * On DEXP Z110 the `Window` softbutton generates the data as follows:
+ * [628.463386] Goodix-TS i2c-GDIX1001: 00: I2C data: 90 01 [0000; 0000; 0000] 00
+ * [632.626271] Goodix-TS i2c-GDIX1001: 00: I2C data: 80 00 [0000; 0000; 0000] 00
+ * [632.638825] Goodix-TS i2c-GDIX1001: 00: I2C data: 80 00 [0000; 0000; 0000] 00
+ * [632.651391] Goodix-TS i2c-GDIX1001: 00: I2C data: 80 00 [0000; 0000; 0000] 00
+ */
+ Dev_dbg (& ts->client->dev, "I2C data% 02x% 02x [% 04i;% 04i;% 04i]% 02x% 02x [% 04i;% 04i;% 04i]% 02x% 02x [% 04i;% 04i;% 04i]% 02x \ n ",
+ Data [0]
+ * (U8 *) & data [1 + GOODIX_CONTACT_SIZE * 0], * (u16 *) & data [2 + GOODIX_CONTACT_SIZE * 0]
+ * (U16 *) & data [4 + GOODIX_CONTACT_SIZE * 0], * (u16 *) & data [6 0 + GOODIX_CONTACT_SIZE *],
+ * (U8 *) & data [8 + GOODIX_CONTACT_SIZE * 0]
+ * (U8 *) & data [1 + GOODIX_CONTACT_SIZE * 1], * (u16 *) & data [2 + GOODIX_CONTACT_SIZE * 1]
+ * (U16 *) & data [4 + GOODIX_CONTACT_SIZE * 1], * (u16 *) & data [6 + GOODIX_CONTACT_SIZE * 1]
+ * (U8 *) & data [8 + GOODIX_CONTACT_SIZE * 1]
+ * (U8 *) & data [1 + GOODIX_CONTACT_SIZE * 2], * (u16 *) & data [2 + GOODIX_CONTACT_SIZE * 2]
+ * (U16 *) & data [4 + GOODIX_CONTACT_SIZE * 2], * (u16 *) & data [6 + GOODIX_CONTACT_SIZE * 2]
+ * (U8 *) & data [8 + GOODIX_CONTACT_SIZE * 2]);
+
+ Return 0x7f & data [0]; / * Touch_num excludes the softbutton event bits * /
}

static void goodix_ts_report_touch (struct goodix_ts_data * ts, u8 * coor_data)
@@ -249,6 +269,8 @@
input_report_abs (ts->input_dev, ABS_MT_WIDTH_MAJOR, input_w);
}

+ Static bool softbutton_pressed;
+
/**
* Goodix_process_events - Process incoming events
*
@@ -259,14 +281,27 @@
*/
static void goodix_process_events (struct goodix_ts_data * ts)
{
- u8 point_data [1 + GOODIX_CONTACT_SIZE * GOODIX_MAX_CONTACTS];
- int touch_num;
+ U8 point_data [1 + GOODIX_CONTACT_SIZE * GOODIX_MAX_CONTACTS] = {};
+ Int touch_num, inp;
int i;

- touch_num = goodix_ts_read_input_report (ts, point_data);
- if (touch_num< 0)
+ Inp = goodix_ts_read_input_report (ts, point_data);
+ If (inp< 0)
return;

+ If (inp & 0x10) {
+ Dev_dbg (& ts->client->dev, "softbutton down");
+ Input_report_key (ts->input_dev, GOODIX_SOFTBUTTON1, 1);
+ Softbutton_pressed = true;
+ }
+
+ If (inp == 0 && softbutton_pressed) {
+ Dev_dbg (& ts->client->dev, "softbutton up");
+ Softbutton_pressed = false;
+ Input_report_key (ts->input_dev, GOODIX_SOFTBUTTON1, 0);
+ }
+
+ Touch_num = inp & 0x0f;
for (i = 0; i<touch_num; i ++)
goodix_ts_report_touch (ts,
& Point_data [1 + GOODIX_CONTACT_SIZE * i]);
@@ -612,6 +647,9 @@
ts->input_dev->id.product = ts->id;
ts->input_dev->id.version = ts->version;

+ __Set_bit (EV_KEY, ts->input_dev->evbit);
+ __Set_bit (GOODIX_SOFTBUTTON1, ts->input_dev->keybit);
+
error = input_register_device (ts->input_dev);
if (error) {
dev_err (& ts->client->dev,


Attached filev1_goodix_softbutton.patch.gz(1.13 KB)

Attached filev2_goodix_softbutton.patch.gz(816 bytes)
- Removed debug messages, and so on. superfluous.


Post has been editedCut in - 29.09.17, 09:10
Reason for edit: Info about 4.14



Rep: (9)
Gather svezhachok long weekend coming.


Full version    

Help     rules

Now: 05.12.20, 13:56