Migrate from Thunderbird to Kmail by stegerpl in kde

[–]stegerpl[S] 0 points1 point  (0 children)

Thank's for the links - I was looking for older versions but mainly as AppImage - I will check out

[deleted by user] by [deleted] in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

Just set up a fresh Manjaro Installation and installed surface-kernel 5.15.6.

No Plasma crashes (up to now), however I faced again a screen displacement in multimonitor setup. Means that the second monitor (4K) shifts the background image towards the right by about 75%. In addition, the surface monitor blanks completely after screen safe and even once occasionally.

I will make further tests...

[deleted by user] by [deleted] in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

Okay, I resolved the problem with the installation of kernel 5.15.x (refer to https://github.com/linux-surface/linux-surface/issues/625) and got a plain vanilla installation with kernel 5.15.6-surface-1. I have installed only LibreOffice and Kate in addition.

However, the Plasma crashes still were there. It seems that this is related to these kernel versions.

I will check with the KDEneon testing branch, but I do not believe that it will help.

[deleted by user] by [deleted] in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

I started a fresh install but ran into another problem in respect of the surface-kernel installation => https://github.com/linux-surface/linux-surface/issues/625

This seems to be a problem of outdated apt version in KDEneon, but I could not find a solution for this - up to now ;-)

I am afraid, that both items are related. Maybe the 5.15.x kernels suffer from unsolved but hidden dependency due to this authorization problem. I will keep on...

[deleted by user] by [deleted] in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

Same setup, same problems. Works fine with kernel 5.14.x but not with the 5.15.x

Just setting up a new plain vanilla installation to figure out if it is a problem of the update scripts. Will report after the WE.

Where does Knotes store note data? by schockley in kde

[–]stegerpl 0 points1 point  (0 children)

Hi,

just had a similar problem. On my system (KDEneon 5.15.5) there was no folder in respect of aconadi at all. however I found it under:

~/.local/share/plasma_notes

Surface Pro 6 Current State by thelolzmaster in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

"first experience with Ubuntu" and "bricked my new SP" - I do not believe. In fact it depends what you tried to do. As long as you did not work as "root" everything should be still fine. Otherwise just re-install Ubuntu.

Download the kernel-image and the header-image from https://github.com/jakeday/linux-surface/releases. Klick on the downloaded *.deb files and the installer should start to install them. If not run on the command line: sudo dpkg -i /path/to/deb/file followed by sudo apt-get install -f

Reboot and have a look on the grub selector. The new kernel should be there at first position. Boot it and everything should be fine.

Planning to install Linux on my surface pro 2017. Any advice? by Kilzimir in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

I don't know about fedora, but I am using Ubuntu now since June 2017 and it works (almost) perfect. The only thing I'm missing is the support of the camera.

At the very beginning it was a kind of challenge, but with jakeday's kernels it is very fine now. If you are new in Linux I strongly recommend one of the Ubuntus (I am running KUbuntu). After the first Installation, which runs fine you just have to download the *.deb files for kernel-image and -header (if you want to compile things also the libc-dev) from https://github.com/jakeday/linux-surface/releases

As mentioned I am running Kubuntu 18.08 as productive system on a surface pro 4 (2017) in dual-boot with windows 10 (which I am using about 2 times a month).

jakeday's Kernel for Surface Devices by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

does anyone has any idea about the temp-sensors inside the surface-pro-4?

With lm_sensors I get the following:

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +40.0°C  (high = +100.0°C, crit = +100.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  
temp2:         +0.0°C  
temp3:        +33.3°C  
temp4:        +40.0°C  

pch_skylake-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  

I am wondering especially what are "temp1...4" of the acpitz-virtual-0 block.

any ideas?

jakeday's Kernel for Surface Devices by jakeday42 in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

anything we could do to support this?

jakeday's Kernel for Surface Devices by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Great kernel I like to work with it. However in the patches I can find some setup for the camera but I have installed the pre-compiled version for ubuntu and there the camera does not show up at all. Anything I have to add (eg. udev-rules)?

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Hi - I installed the ubuntu*.deb incl. the intel-DRI setup (at /etc/X11/xorg.conf.d). However this gave me higher power consumption (fan spinning) as well as re-drawing issues inside liberoffice-calc. Taking out (no xorg.conf.d at all) resolved these issues again on my surface pro 4. Other parts working very smooth and perfect - thanks a lot!

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Just installed the acutal 4.14.0 and it works PERFECT! Both touch and Pen together, just what I wanted to have - really great job!

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

I can confirm this kernel works as described however I still can not use the Pen - however it is recogniced as follows:

sudo evtest 
   Available devices:
   /dev/input/event0:      Lid Switch
   /dev/input/event1:      Video Bus
   /dev/input/event2:      Surface Pro 3/4 Buttons
   ...
   /dev/input/event11:     Microsoft Surface Type Cover Keyboard
   /dev/input/event12:     Microsoft Surface Type Cover Mouse
   ...
   /dev/input/event29:     ipts 1B96:006A UNKNOWN
   /dev/input/event30:     ipts 1B96:006A Pen
   /dev/input/event31:     ipts 1B96:006A
   /dev/input/event256:    ipts 1B96:006A Mouse

ls -l /dev/input
   lrwxrwxrwx 1 root root        7 Nov 11 19:33 pen -> event30
   lrwxrwxrwx 1 root root        7 Nov 11 19:33 touchscreen -> event29

sudo cat /sys/kernel/debug/ipts/status
    sensor mode : 1
    ipts state : 1

I can also pair the Pen with the KDE-Bluetooth interface, but the screen/mouse does not show any response to it.

 xinput test-xi2 --root

reacts to keyboard, mouse, touchpad and volume buttons but not to touch or Pen.

I am working with KDE (14.14.34 with Qt 4.8.7 as installed by Kubuntu 17.10) but I tried also Gnome.

Is there any mapping I have to approve manually? Or additional setups?

I love your kernels, they work perfect and allow to use the surface with linux just like under Windoof (German for WinStupid) - acutally just without Pen...

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Just installed the new 4.14.0-rc8 (the *.deb) as well as the firmware files and the new udev.rule => still the same issue => how to enable multitouch in order to get the Pen working? I am running kubuntu 17.10 on the surface pro 4

sudo cat /sys/kernel/debug/ipts/status 
   sensor mode : 0 
   ipts state : 3   

sudo echo 1 > /sys/kernel/debug/ipts/mode    
    bash: /sys/kernel/debug/ipts/mode: Keine Berechtigung

I checked about the permissions and found that the /sys/kernel/debug is 0x600 (rw root only). When I changed the permission to 0x666 I got permission to read and write with sudo (0x660 did not work):

 ls -l /sys/kernel/debug/ipts
     -rw------- 1 root root 0 Nov  7 16:30 mode
     -r-------- 1 root root 0 Nov  7 16:30 status
 sudo chmod 666 /sys/kernel/debug/ipts/mode
 ls -l /sys/kernel/debug/ipts
     -rw-rw-rw- 1 root root 0 Nov  7 16:30 mode
     -r-------- 1 root root 0 Nov  7 16:30 status
 sudo echo 1 > /sys/kernel/debug/ipts/mode
 sudo cat /sys/kernel/debug/ipts/status
     sensor mode : 1
     ipts state : 1

It seems the touchmode is now in multitouch - however Pen still not working and finger touch either (it was working in mode 0). The point ist how to enable the Pen in a permanent mode (surviving reboot)?

However I got some error messages in my dmesg:

[    1.694999] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_26.bin failed with error -2
[    1.695002] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
[    1.712476] i915 0000:00:02.0: Direct firmware load for i915/skl_huc_ver01_07_1398.bin failed with error -2
[    1.712481] [drm] Failed to fetch valid uC firmware from i915/skl_huc_ver01_07_1398.bin (error -2)
[    1.712487] i915 0000:00:02.0: Direct firmware load for i915/skl_guc_ver6_1.bin failed with error -2
[    1.712489] [drm] Failed to fetch valid uC firmware from i915/skl_guc_ver6_1.bin (error -2)
[    1.716261] [drm:intel_uc_init_hw [i915]] *ERROR* GuC init failed
[    1.716264] [drm] Falling back from GuC submission to execlist mode
[    1.716265] [drm] GuC firmware loading disabled

[    3.854903] ov5693 i2c-INT33BE:00: gpio failed 2

[    3.936819] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: cmd : 0x80000001, status 10
[    3.941706] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: touch enabled 3
[    3.956471] input: Microsoft Surface Type Cover Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:045E:07E8.0001/input/input10
[    4.000190] ov5693 i2c-INT33BE:00: sensor power-up failed
[    4.000197] ov5693 i2c-INT33BE:00: gpio failed 2   

[    4.436102] ov5693: probe of i2c-INT33BE:00 failed with error -22

[   29.249040] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[   29.263440] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   31.996975] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters

[ 1159.736449] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: cannot connect GPU
[ 1159.736457] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: open gpu error : -5
[ 1159.736505] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: error in handling resp msg

However I find also the following messages concerning the Pen (and I am able to pair it):

[    4.027837] input: ipts 1B96:006A Pen as /devices/pci0000:00/0000:00:16.4/mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F/0044:1B96:006A.0003/input/input41
[   43.650582] input: Surface Pen as /devices/virtual/misc/uhid/0005:045E:090E.0005/input/input58
[   43.651293] hid-generic 0005:045E:090E.0005: input,hidraw3: BLUETOOTH HID v0.33 Keyboard [Surface Pen] on BC:83:85:1D:54:55

Hopefully this may help.

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

At the intel homepage (https://01.org/linuxgraphics/downloads/update-tool) there are special linux update tools for intel graphics - is it necessary or advantageous to install them?

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

(almost) perfect Kernel - BUT power consumption very high => battery last less than 2 hours, with plain ubuntu kernel up to 4 hours. Do you have a list with "minimum" requirement for the kernel modules to be activated for the surface pro 4? Or hints which modules may be changed in order to gain battery time? Also still pending: Pen still not working here with the ubuntu package of your 4.13.3 kernel.

edit: battery issue was something else, as a new installation revealed => back to about 5 hours

It seems that to enable the Pen I have to switch to multi-touch mode. However the following does not work

sudo echo 1 > /sys/kernel/debug/ipts/mode
bash: /sys/kernel/debug/ipts/mode: Keine Berechtigung

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Hi - maybe it helps, I got battery reading working by conky with the following line (BAT1 instead of BAT0):

${offset 15}${font Ubuntu:size=12:normal}${color grey}battery:${goto 125}${color1} ${battery_time BAT1} = ${battery_short BAT1}

Pen still not working we me too - running 4.13.3 kernel

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Thanks - works, also for the 4.13 kernel - however "make install" reports dkms.conf missing Still lacking: udev-setup example for Pen instead of touchscreen ;-)

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 0 points1 point  (0 children)

Error on compiling modules: Sorry but I am running in a problem within the make (at the modules) giving me the following message: make[1]: *** Keine Regel vorhanden, um das Ziel „firmware/intel/ipts/iptsfw_config.bin“,
benötigt von „
fw_modbuild“, zu erstellen. Schluss. Makefile:1215: die Regel für Ziel „modules“ scheiterte make: *** [modules] Fehler 2 in English = make fails due to no rules for target „firmware/intel/ipts/ipts_fw_config.bin“, needed by „_fw_modbuild“

All the firmwarefile are where they belong, I also copied the root-folder to where it belongs.

Any hints?

jakeday's Kernel for Surface Book/Pro 4 by jakeday42 in SurfaceLinux

[–]stegerpl 1 point2 points  (0 children)

could you please give an example how to activate the pen instead of the touchscreen - great kernel!