DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd April 2017
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 103
Default Missing bits in Lumina DE for NetBSD

I looked into the Lumina source code for the NetBSD bits(LuminaOS-NetBSD.cpp) and for the most parts it is unimplemented. Some functions can be copied from the Free- & OpenBSD files and the rest it is a job for envsys. And also if you don't like the internal structure you can use shell outputs to extract needed information. For example to calculate remaining time on battery you need current discharge rate and charge for all batteries(here is sample for second battery):

Quote:
envstat -s "acpibat1:discharge rate"
envstat -s "acpibat1:charge"
Hopefully someone with better C++ skills can do this.
__________________
NetBSD 8.99.1(AMD64)@Xiaomi Air 1.Gen

Last edited by darktrym; 23rd April 2017 at 07:40 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lumina Desktop Update shep News 0 27th August 2014 07:37 PM
help setting gnokii .. setuid and gid bits daemonfowl OpenBSD Packages and Ports 4 18th August 2012 03:34 AM
Running Pure 64-Bits On FreeBSD. MetalHead FreeBSD General 4 21st October 2008 04:59 AM
Have you switched to 64 bits yet? ephemera General Hardware 24 19th September 2008 06:13 AM


All times are GMT. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick