Building up to LXDE from Xenial-Minimal
#1
Question 
Hi all,

As per the thread heading, I am in the process of building up LXDE from the Xenial-Minimal 0.6.1 image.

Let me tell you - so far it's been quite a trial! Smile
I am very close to having things running how I would like them, with a few exceptions that irk me.

At the present time I cannot get suspend working when I close the PB lid.
In journalctl I can see the following:

Jul 06 00:08:23 pinebook kernel: hall: (D) hall_isr
Jul 06 00:08:23 pinebook kernel: hall: (I) HALL_CLOSE
Jul 06 00:08:27 pinebook kernel: hall: (D) hall_isr
Jul 06 00:08:27 pinebook kernel: hall: (I) HALL_OPEN

So obviously the kernel is detecting the lid position changes.
How can I get the suspend working off this?  I currently have xfce-power-manager running (for a battery applet) and although it is set to suspend on lid close - it doesn't.

Anyone have any ideas?  

M.
  Reply
#2
I am not sure how Mate power manager does map the /dev/input/eventX device for the hall sensor (you can use evtest to see what events the hall sensor sends), it just works there. But it should be possible to map that at a lower level than the Desktop environment, maybe check upower or even udev rules... also Armbian is using Xfce by default for their Desktop images and they have a beta one for the Pinebook, so maybe look at that too...
Come have a chat in the Pine A64 IRC channel >>
  Reply
#3
(07-05-2017, 06:34 PM)xalius Wrote: I am not sure how Mate power manager does map the /dev/input/eventX device for the hall sensor (you can use evtest to see what events the hall sensor sends), it just works there. But it should be possible to map that at a lower level than the Desktop environment, maybe check upower or even udev rules... also Armbian is using Xfce by default for their Desktop images and they have a beta one for the Pinebook, so maybe look at that too...

I'm not sure they did get the lid support working with XFCE, but it might be worth looking over this patch just incase that was what was needed...
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Armbian - Xenial Desktop (Pinebook) pineadmin 83 17,518 07-17-2019, 01:22 PM
Last Post: catsmile
  Adding coherent_pool to boot.cmd on Xenial Mate by Ayufan causes boot loop k_mp 0 77 06-11-2019, 01:36 PM
Last Post: k_mp
  Display battery charge value with LXDE and lxpanel wlad 0 81 06-11-2019, 09:56 AM
Last Post: wlad
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 498 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Tips and Tricks for Ayufan's Bionic LXDE Image LeoLambda 8 750 01-22-2019, 06:22 PM
Last Post: binholz
  Xenial Images (Pinebook) 0.6.2-77 pineadmin 11 3,495 09-24-2018, 03:21 AM
Last Post: erchache2000
  WiFi on Xenial Minimal soupbowl 3 745 08-12-2018, 07:54 AM
Last Post: jblakeharris
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 390 03-14-2018, 08:43 AM
Last Post: xalius
  Ubuntu Unity 7 on 16.04 Xenial soupbowl 2 734 12-03-2017, 01:01 PM
Last Post: soupbowl
Information How to manage Wifi in xenial-i3 i3wm image UPDATE MarkHaysHarris777 4 908 09-14-2017, 12:12 AM
Last Post: dahni

Forum Jump:


Users browsing this thread: 1 Guest(s)