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.
#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 IRC channel >>
#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...


Possibly Related Threads…
Thread Author Replies Views Last Post
  Display battery charge value with LXDE and lxpanel wlad 1 4,770 12-04-2019, 03:36 AM
Last Post: pnts-se
  Armbian - Xenial Desktop (Pinebook) pineadmin 83 108,997 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 1,900 06-11-2019, 01:36 PM
Last Post: k_mp
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 13,328 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Tips and Tricks for Ayufan's Bionic LXDE Image NoraCodes 8 10,386 01-22-2019, 06:22 PM
Last Post: binholz
  Xenial Images (Pinebook) 0.6.2-77 pineadmin 11 16,511 09-24-2018, 03:21 AM
Last Post: erchache2000
  WiFi on Xenial Minimal soupbowl 3 5,109 08-12-2018, 07:54 AM
Last Post: jblakeharris
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 3,071 03-14-2018, 08:43 AM
Last Post: xalius
  Ubuntu Unity 7 on 16.04 Xenial soupbowl 2 4,379 12-03-2017, 01:01 PM
Last Post: soupbowl
Information How to manage Wifi in xenial-i3 i3wm image UPDATE MarkHaysHarris777 4 6,409 09-14-2017, 12:12 AM
Last Post: dahni

Forum Jump:


Users browsing this thread: 1 Guest(s)