Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kiriririn

Pages: 1 2 3 [4] 5
46
Gemini PDA - Linux / Access Linux partition from Termux
« on: June 29, 2018, 05:06:40 pm »
Quote from: salvomic
Quote from: skmakine
I have mounted the Debian partition from Android using Termux. Works fine, but requires root.

hi, please, how was your mount command? I now rooted but I cannot see /dev/mmcblk0p29, the name of Linux partition, as Adam said...

Quote from: Murple2
Where did you download the magisk manager apk from?

now I succeeded rooting Android, after the trial boot flashing: I changed Magisk location from sd to internal memory and it eventually worked, installed its files and rooting completed.

salvo
On android it's /dev/block/mmcblk0p29

47
Quote from: psionlover
Quote from: Kiriririn
Quote from: psionlover
Quote from: Kiriririn
Does anyone have suspend actually working on Debian? From my experience, when the device enters actual suspend (no wakelocks and lid closed, or mem /sys/power/state) it gets stuck and cannot be woken again (i.e. black screen on opening lid, completely unresponsive to any keys)

Without proper suspend, the best we can do is SIGSTOP user processes but it still drains battery, in my experience even worse than 2% an hour

I'm waiting on stuff to arrive to build a serial console cable to try and find out exactly why it's freezing in suspend
If I do 'suspend' I (mostly) don't get a hang or crash but a black screen which I can activate again. But I deinstalled xscreensaver because I realized it (mostly) helps preventing hangs. I updated my post with this information.

I think you're right that xscreensaver seems to be responsible, but I'm still seeing some identical freezes when left for an extended period in suspend with the stock repowerd/gemian-lock
My main question now does it really 'suspend' if I give it command to suspend (when it not hangs). If it does suspend why the power drain of 2% / hour ? Is there a way I can check ?

 I'm seeing a lot of CPU time on systemd-logind, polkitd and dbus-daemon so something is getting stuck in a loop while suspended

Edit: Yeah...

Code: [Select]
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:39 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:40 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)
Jun 29 20:54:41 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(2,/org/freedesktop/login1/session/_32,21)
Jun 29 20:54:42 gemini repowerd[5110]: LogindSessionTracker: change_seat_properties(/org/freedesktop/login1/seat/seat0), ActiveSession=(,/,21)
Jun 29 20:54:42 gemini repowerd[5110]: LogindSessionTracker: deactivate_session(1)

48
Quote from: psionlover
Quote from: Kiriririn
Does anyone have suspend actually working on Debian? From my experience, when the device enters actual suspend (no wakelocks and lid closed, or mem /sys/power/state) it gets stuck and cannot be woken again (i.e. black screen on opening lid, completely unresponsive to any keys)

Without proper suspend, the best we can do is SIGSTOP user processes but it still drains battery, in my experience even worse than 2% an hour

I'm waiting on stuff to arrive to build a serial console cable to try and find out exactly why it's freezing in suspend
If I do 'suspend' I (mostly) don't get a hang or crash but a black screen which I can activate again. But I deinstalled xscreensaver because I realized it (mostly) helps preventing hangs. I updated my post with this information.

I think you're right that xscreensaver seems to be responsible, but I'm still seeing some identical freezes when left for an extended period in suspend with the stock repowerd/gemian-lock

49
Does anyone have suspend actually working on Debian? From my experience, when the device enters actual suspend (no wakelocks and lid closed, or mem /sys/power/state) it gets stuck and cannot be woken again (i.e. black screen on opening lid, completely unresponsive to any keys)

Without proper suspend, the best we can do is SIGSTOP user processes but it still drains battery, in my experience even worse than 2% an hour

I'm waiting on stuff to arrive to build a serial console cable to try and find out exactly why it's freezing in suspend

50
Gemini PDA - Linux / Program Recommendations for Debian
« on: June 28, 2018, 02:55:39 pm »
Quote from: galodoido
Quote from: ArchiMark
Went ahead and re-flashed Gemini with the new multi-boot....now, I can boot directly into Debian without pressing any buttons....nice....

So far, all is good....

 

Mark

What about exagear + wine ?

I will reflash my gemini, but I am planning to install exagear . But I think problem you have mentioned can occur. So, if the keyboard layout has disapearead as you said is really a big problem.
Did you reinstall exagear ?
Thank you.

I had this problem and fixed it, iirc by copying some keyboard layout related stuff in /usr from backup (seems something in the exagear installation deletes it)

51
Gemini PDA - Linux / Alternative Linux available
« on: June 28, 2018, 02:50:58 pm »
Quote from: skmakine
I can trivially get 10+ days of stand-by time without a restart, while still having an instant-on device. In Deb, I can't even get a day. Plus trying to put the device to sleep just crashes it, requiring a hard reboot. This is so very important.

I'm currently trying to get to the bottom of this. It seems there is no button bound at the kernel level to actually wake the device when it enters full suspend (either via manually forcing it into suspend, or disabling wifi and letting it autosleep its way into suspend). Or maybe it really is hard freezing, impossible to tell

Quote from: skmakine
  • despite trying to follow instructions, I can't get the lid close functionality to work. Screen remains on, unless I manually execute gemian-lock
This stuff seems to be a bit unreliable. I've hacked in xscreensaver locally, but it's not at a state where I consider it stable enough to share

Quote from: skmakine
  • overall the Android GUI is user friendly, whereas the Debian TP1 desktop simply isn't designed for this kind of device. It would be very interesting to get Ubuntu Touch running in Gemini. Maybe I'll try that next... but for now, without attaching a mouse, many things are quite difficult. Maybe a stylus would also help.
https://www.oesf.org/forum/index.php?showtopic=35185

Quote from: skmakine
I can use Firefox in Android. It runs very bad in Debian. Probably fixable, but I don't know how, yet.

This can be resolved by disabling glamor, but it comes at the cost of nerfing apps that use opengl es (eg VLC, chromium) and making SDDM invisible. The proper fix would be to optimise glamor for the hardware so that apps that don't use any hardware acceleration (such as firefox, since there's no full GL support) have an equally efficient render pipeline

52
Gemini PDA - Linux / Program Recommendations for Debian
« on: June 26, 2018, 04:06:39 pm »
Quote from: galodoido
Quote from: ArchiMark
Quote from: galodoido
I am not with my gemini at this moment.
From memory :

Abiword + (  GNU Aspell )
gnumeric,
Kcalc,
gpaint,
VLC ( compiled ).
Dolphin ( + Samba )
Okular ( pdf )
Smplayer.
Libreoffice dictionaries ( for my language )
pulseaudio ( to record inside audacity )
...

Thanks for sharing your list!

You don't like using LibreOffice?

Just curious....

Yes I like ( Installed dictionaries also ) , but in gemini Abiword and gnumeric  are much faster to type. Libreoffice writer is very slow. Even changing settings that made it a bit faster.

This is the same glamor issue as firefox and other apps, without it runs much faster

53
Gemini PDA - Linux / Program Recommendations for Debian
« on: June 26, 2018, 04:03:13 pm »
Quote from: ArchiMark
Quote from: Kiriririn
- Dolphin file manager (prefer it to pcmanfm)
- Firefox from ubuntu 14.04 .deb (requires glamor disabled to run smoothly)
- Thunderbird
- Dropbox (via exagear)
- Teamviewer (via exagear)
- Steam (via exagear)
- MS Office 2007 (via wine + exagear)
- HeidiSQL (via wine + exagear)
- Asbru Connection Manager (nice tabbed SSH/RDP/VNC GUI)
- VLC (set output to GLES2 and it runs perfect)
- feh in place of pcmanfm for lightweight wallpaper
- NetworkManager in place of connman because VPN and bluetooth work better and I don't have a 4g gemini
- mtrack for nicer touch input (see my other thread)

Thanks for sharing your list and hint about getting VLC to work.

The Debian image file has Firefox included. Why did you install it from ubuntu?

Never used exagear. Which version of exagear do you use?

Is it the ARM8 version on this page:

https://eltechs.com/product/exagear-desktop...-prices-daily3/

How do you set VLC output to GLES2 if it doesn't open?

It's the easiest way to get Firefox 60 without installing a bunch of backported dependencies

And yeah the generic armv8 version of exagear

I don't know why VLC isn't opening at all for you, it at least opened and played briefly before changing the setting for me

54
Gemini PDA - Linux / Program Recommendations for Debian
« on: June 26, 2018, 12:36:08 pm »
- Dolphin file manager (prefer it to pcmanfm)
- Firefox from ubuntu 14.04 .deb (requires glamor disabled to run smoothly)
- Thunderbird
- Dropbox (via exagear)
- Teamviewer (via exagear)
- Steam (via exagear)
- MS Office 2007 (via wine + exagear)
- HeidiSQL (via wine + exagear)
- Asbru Connection Manager (nice tabbed SSH/RDP/VNC GUI)
- VLC (set output to GLES2 and it runs perfect)
- feh in place of pcmanfm for lightweight wallpaper
- NetworkManager in place of connman because VPN and bluetooth work better and I don't have a 4g gemini
- mtrack for nicer touch input (see my other thread)
- xscreensaver in place of gemian-lock
- lightdm in place of sddm because sddm doesn't work without glamor

55
Gemini PDA - Linux / Touchscreen as touchpad - relative mouse input
« on: June 26, 2018, 06:51:06 am »
Quote from: psionlover
Quote from: Kiriririn
A video is worth 1000 words:

https://www.youtube.com/watch?v=bsJn3eMvG7w

tl;dw this technique changes the touchscreen from an absolute mode touchscreen (which is too fiddly for full linux desktop use) into a relative mode touchpad like on most laptops
Thanks very much, this makes the gebian much better to handle. I only don't get a grip on the dragging, sometimes it works but mostly not.

The most consistent dragging is by holding one finger and moving another.

Annoyingly the synaptics-style 'double tap but drag rather than releasing the second tap' gesture doesn't work right in mtrack as it emits the first tap, preventing dragging anything that might react to a single tap.

56
Quote from: bard
I'm also interested in being able to get to a TTY. Since we don't have proper graphics acceleration right now, it might feel smoother to work from a TTY instead of an X session.

It's actually the other way around, the graphics acceleration (not lack of) is the reason GUI terminals and other apps feel slow. Right now glamor is causing a substantial CPU overhead due to uploading everything via glTexSubImage2D, which is slow on Mali. If you disable glamor you get a zero copy pipeline (or at least no GPU driver involvement in the upload), at the expense of EGL based apps like Chromium, and being able to see the SDDM login screen

57
Gemini PDA - Linux / Disable logd
« on: June 23, 2018, 08:18:49 am »
/system/bin/logd seems to be a bit of a CPU/battery hog, and cannot be killed or paused, so here is how to disable it:

Either in twrp or rooted android, connect to adb shell. Then:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
cd /mnt
mkdir linux
mount /dev/block/mmcblk0p29 linux
mkdir system
mount linux/data/system.img system
mv system/bin/logd system/bin/logd.bak
[/div]

(Tried and failed to mount system.img as rw under debian, if anyone knows how to do that it would make the process much easier!)

58
Gemini PDA - Linux / Touchscreen as touchpad - relative mouse input
« on: June 17, 2018, 10:34:33 am »
Quote from: mithrandir
Thx. Very nice work!
Now we have to get this switchable via hotkey... Which seems not no be that easy because of the currently required restart.

Are the different mouse clicks (right,left,middle) already handled somehow? What about scrolling?

Not sure how you'd go about switching it, personally I don't see a need for any other mode than this but your needs may be different

Right click is two finger tap, scrolling is two finger scroll, left click is just tap, left click drag is hold then move a second finger, not sure about middle mouse but it should be configurable as 3 finger tap or similar

Scrolling a bit shit and left click drag doesn't work unless you install the latest version ('hard mode' above)

59
Gemini PDA - Linux / Touchscreen as touchpad - relative mouse input
« on: June 17, 2018, 07:07:01 am »
Quote from: shinkamui
Thank you for this!  Its an excellent start.  Still needs some tweaking, but you've more than got the ball rolling on a very popular request!

Yeah still need to figure out a way to do dragging that doesn't emit a click before doing so, though I reckon this will either require two fingers or add click latency

Edit: it's possible but fiddly by holding with one finger and moving a second

60
Gemini PDA - Linux / Touchscreen as touchpad - relative mouse input
« on: June 16, 2018, 03:28:30 pm »
A video is worth 1000 words:

https://www.youtube.com/watch?v=bsJn3eMvG7w

tl;dw this technique changes the touchscreen from an absolute mode touchscreen (which is too fiddly for full linux desktop use) into a relative mode touchpad like on most laptops


Easy mode:
  • sudo apt install xserver-xorg-input-mtrack
  • Edit /usr/share/X11/xorg.conf.d/40-libinput.conf, find:
    Code: [Select]
    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
    EndSection
    Replace with:
    Code: [Select]
    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "mtrack"
            Option "ScrollDistance" "40"
            Option "FingerLow" "1"
            Option "FingerHigh" "2"
            Option "Sensitivity" "1.8"
            Option "BottomEdge" "0"
            Option "SwipeDistance" "100"
            Option "ScaleDistance" "40"
            Option "ButtonMoveEmulate" "false"
            Option "ClickTime" "25"
            Option "MaxTapMove" "55"
            Option "EdgeBottomSize" "0"
    EndSection
  • sudo systemctl restart sddm or reboot
  • Recommended to disable acceleration in the LXQT mouse settings GUI
Hard mode:

(Instead of installing mtrack from debian repos, there is an improved version that must be built from source...)
  • Config edit as above
  • Enter a suitable empty directory
  • Install the standard debian build tools
  • sudo apt install xserver-xorg-dev libmtdev-dev xutils-dev
  • git clone https://github.com/p2rkw/xf86-input-mtrack
  • cd into the downloaded folder
  • ./configure --prefix=/usr
  • dpkg-buildpackage -uc -us
  • cd ..
  • sudo dpkg -i xserver-xorg-input-mtrack_0.5.0_arm64.deb
  • sudo systemctl restart sddm or reboot
  • Recommended to disable acceleration in the LXQT mouse settings GUI

Pages: 1 2 3 [4] 5