OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

6 Pages V  « < 4 5 6  
Reply to this topicStart new topic
> Debian on Gemini - Usage
Varti
post Jun 26 2018, 06:18 AM
Post #76





Group: Admin
Posts: 934
Joined: 30-April 08
From: Italy
Member No.: 21,713



I'm really glad to hear you have fixed the problem, and that the rndis IP range has now been narrowed, so that other users won't have the same issues as you. I agree, the community here is really great, thanks to all of you for all the support and help you're providing smile.gif

Varti
Go to the top of the page
 
+Quote Post
psionlover
post Jun 27 2018, 06:06 AM
Post #77





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



I have my new psion geminiPDA for a few days now and have been doing a lot of fiddling to get gembian to be usable for me. I am really glad with the device, it would be so nice to have a proper linux device with me everywhere I go. As far as I see now I am quite sure I can configure gembian so that it will suit my daily needs for the near future. But the only thing that I am worried about is the power management. I did not really deep dive into it, but before I do I will ask you if this is useful or that power management is still a Gembianism.

What did I do so far:
- In installed dual boot conform the flashing guide
- I checked the manual on DebianTP. But as far as I see everything there is already part of the standard image.
- I did a lot of fiddling and probably broke one or more things without noticing,realizing.

What do I notice:
- If I do a shutdown via the menu the device inmediately hangs and I have to shutdown by using the Esc key. If I do a shutdown via the terminal sometimes it shutdowns fine, sometimes it hangs also.
- If I do a hybernate via the menu the device does not react in any way.
- if I do a suspend the screen is locked but I am unsure wetter it really suspends. At least the leds stay burning and I am still able to ssh from outside. how can I know/check if the device properly suspends ?
- Last night the battery was still half full. I left it in suspend mode and found the battery nearly drained after 10 hours. This means that using the device in silent (suspend) mode the battery is drained in one day. This won't work for me if I want to use the device for daily use. I want a mobile device to get unhooked, not to join the zombie army chasing after an electric socket wink.gif

My question is should I deep dive in power management and will I find a solution to get the gembian power-safe ? Or is there still something fundamental that prevents proper power management on the gembian ?

One other question is about Conman. If I turn off bluetooth every time I do a reboot bluetooth is back. How can I get bluetooth definitely turned off ?
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 27 2018, 06:51 AM
Post #78





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



Shutdown issues:- https://www.oesf.org/forum/index.php?showto...st&p=287687
(once we've got text console we can see what is blocking and so then fix it?)

Suspend:- We are using repowerd (branched from UBPorts) to sleep, it can probably be much improved, I find 1-3% drop in 8 hours with wifi off (so I expect many days of sleeping). I hope we can improve the effeiciency of 'wifi on' sleeping, as currently if you ssh in and view the logs (journalctl) then its very noisy for no good reason that I can see. This is why I put the LED's in to indicate that you'll not get a good sleep.

I'm glad that a few people are interested in this, DonOregano on irc just now is proposing suspend/unsuspend of web browsers as they seem to block a good sleep also. So please do investigate & suggest fixes.

For me a laptop style suspend is of no use as I want it to monitor for calls. I guess WiFi only folks might like that, but it would probably require tinkering in the kernel and adding a swap file or some such for suspend to disk to work.

Bluetooth:- I think if you set the cmst settings the right way (retain state? or similar), I think it can be made to work sensibly. We should probably change the default.
Go to the top of the page
 
+Quote Post
psionlover
post Jun 27 2018, 07:04 AM
Post #79





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



Thanks for replying Adam. I understand poor power management is not a Gemianism but needs more fiddling by myself wink.gif So I will dive into it and let you know. First thing to find out: how to let suspend know 'turning wifi off' is part of my meaning of 'suspend'.
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 27 2018, 07:23 AM
Post #80





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



You can just add some more commands in repowerd, this diff will help you find the right bit of code, you might change it to run custom scripts that you can then tinker with more easily than having to recompile it all the time with each change.
Go to the top of the page
 
+Quote Post
psionlover
post Jun 27 2018, 08:22 AM
Post #81





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



QUOTE(Adam Boardman @ Jun 27 2018, 05:23 PM) *
You can just add some more commands in repowerd, this diff will help you find the right bit of code, you might change it to run custom scripts that you can then tinker with more easily than having to recompile it all the time with each change.

I am searching like a madman, but where can I find those config files for repowerd ?
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 27 2018, 08:56 AM
Post #82





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



Sorry there are no config files, I gave you a link in my last post, you'll have to recompile the source (after changing it to run a script in addition to the current xrandr stuff).
Go to the top of the page
 
+Quote Post
psionlover
post Jun 27 2018, 09:17 AM
Post #83





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



Okay thanks. I am not into recompiling distro's yet, so better leave this for the moment.
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 28 2018, 12:37 AM
Post #84





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



Was only suggesting recompiling one component. But in case you've not found it the fn+areoplane button is mapped to offline mode, and I just use that before I close the device to turn off the connectivity stuff, and again when I open it to turn it back on, not as nice as your suggested automatic way but better than having to fiddle about finding the right app etc. There is also a lid watcher in lxqt settings, but it seemed to cause problems as I recall.
Go to the top of the page
 
+Quote Post
psionlover
post Jun 28 2018, 04:13 AM
Post #85





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



QUOTE(Adam Boardman @ Jun 28 2018, 10:37 AM) *
But in case you've not found it the fn+areoplane button is mapped to offline mode, and I just use that before I close the device to turn off the connectivity stuff

Thanks, that indeed works better for the moment. My device was last night roughly on 50% battery power and I left it in suspend and flight mode. After 10 hours there was 32% power left, so it drained 18%. That is much better then with wifi on (50% drain during the night), but not even close to the 2-3% drain you experienced, so I probably still miss something.

I lowered my short term goals. I only will use the device as an offline pda with wifi/bluetooth off. Theoretically I will still have power if I can't or forget to connect the device to an electric socket for a few days. I will mostly power the device if I am next to my pc by connecting the usb cable. I want to achieve that while connected to the pc 1. device and pc can be connected 2. device has internet access. I did not yet try to get device and pc connected by usb. At least if I do connect the usb cable there is no connection out of the box. But I will start fiddling around and will find a way to get it working.
Go to the top of the page
 
+Quote Post
psionlover
post Jun 28 2018, 11:13 AM
Post #86





Group: Members
Posts: 34
Joined: 25-June 18
Member No.: 825,001



It took me a while, but now my device is via usb connected to my local network and the internet. the only thing I miss is that I don't know how to append the 'route' to rndis0. I tried setting 'add route default gw 10.15.19.1' to /etc/rc.local, but that did not work. I also red somewhere that I should make an /etc/systemd/network/rndis0.network
CODE
[Match]
Name=rndis0

[Address]
Address=10.15.19.82
Peer=10.15.19.0/24

[Network]
Gateway=10.15.19.1

But that did not help either.

I also don't see a way to configure the usbnet interface on cronnman

Anyone an idea ?

[Update]
I found out that if I rename the file to '10-static-rndis0.network' helps. If I restart the device sometimes the above settings are rewarded and I have connection with pc and internet. But on other reboots the settings are not rewarded.

[Update2]
The settings above does not seem to help much. The only thing that works is put 'route add default gw ...' to /etc/rc.local' and prepend it with a 'sleep 5'. This doesn't look like the proper way to me, but at least it works ... for now.
Go to the top of the page
 
+Quote Post
speculatrix
post Aug 13 2018, 03:59 AM
Post #87





Group: Admin
Posts: 3,693
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



I thoight I would share this as it might save others some time.

When I connect my G to my linux desktop (ubuntu 16.04) I was trying to work out where the IP address for the USB netework on the G was being set, it's always 10.15.19.82

I discovered it's a hard-wired value in this file: /usr/bin/usb-tethering as variable "LOCAL_IP". The netmask is embedded as 255.255.255.0 further into the script.

This file comes from package hybris-usb

It would be nice if the package/tool was improved to pick up parameters from, say, /etc/hybris-network or something.
Go to the top of the page
 
+Quote Post

6 Pages V  « < 4 5 6
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th November 2019 - 03:12 AM