How hard is it to control laptop's battery charge or to limit? [closed] - limit

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 months ago.
Improve this question
I wonder if it is possible to write a program which would limit the battery charge of a laptop. I know some manufacturers like Asus, Lenovo etc. have such build-in software, but I am curious if anyone had tried creating a universal software for that and if you would share some starting points. Not sure if that is even possible since I am unable to find such software. Thanks!

There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.

Related

Analysis of hostile code. How to deal with packer and how to figure out the language it is written on? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I received a tailored email with an infected attachment from a public email. I would like to more about the payload. What is the right way to study this? I would like to use a debugger. Easier, but riskier option is to run it on Windows guest/Linux host on a sacrificial box without wifi card and comparing disk images before and after infection.
If I go the debugger way, how should I unpack the code?
How to tell in what language the malware was written?
Can any code be debugged by changing defensive conditional jumps (like "if debugger present" jump, or there are other pitfalls?
How likely is it for malware jailbreak vmware and infect Linux host?
This is a time consuming project. You should familiarize yourself with several tools:
You will need to identify packer. PEID is a good start.
Unpacking tools (GUNPacker).
Debuggers (OllyDbg or WinDbg).
Code analysis tool (LordPE).
Dissasembler.
Binary Analysis Tools (PE Explorer).
At least get confident using these tools on your own code. Otherwise, it might be better to contact professionals.

ARM Linux kernel development landscape [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am in my learning the landscape of Linux kernel for ARM-based SoCs development.
This is the very early stage of learning and will surely take a long time as the matters seem to be comprehensive.
The goal is to have sufficient orientation in the eco-system so as soon as concrete issues in own project are to be solved one is able to route the search/investigation in the proper trails.
There is the Linus's tree, vanilla kernel. As for ARM platform there is also the ARM port tee/project/repository. If however to have a look at MAINTAINER file there are several maintainers/sub-systems of, apparently, ARM specific narrow-spectrum topics.
I wonder why all those narrow-spectrum topics do not deliver/contribute to the ARM port (http://www.arm.linux.org.uk/) repository instead of delivering directly to Torvalds tree?
There seems to exist also ARM SUB-ARCHITECTURES sub-system. Several those narrow-spectrum sub-systems/maintainers seem to be intended for porting to certain platform, conclusion based on naming the found sub-system/maintainer. Why are these centralized at / contribute to Linus tree directly instead of doing it to ARM SUB-ARCHITECTURES sub-system or as mentioned above?
The organization is somehow mysterious, in-transparent for a newbie.

Creating a virtual monitor/virtual display device [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm trying to create a "virtual monitor" in Windows (XP & newer). For example, let's say my desktop looks like this:
I want to add a monitor virtually so it looks like this without any change in hardware:
How do I do this? Do I add a virtual driver? Or trick Windows into thinking there is new hardware?
Well, once upon I was in same problem and someone reccomended to me to override EDID data.
The EDID (Extended display identification data) data structure have all the info of your graphic card and other video sources.
You can see a tutorial for how modify EDID here.
The tutorial only applies to Win 7, Win server 2008 and Win Vista...
I don't try the following because I'm a bit afraid of manipulating these data, but... if you're average in these stuff you could try ;)
If you prefer a hardware solution, perhaps DVI Detective may help you. In his website they claim that DVI "provides a virtual EDID". Also, this hardware protects the EDID data, so, there's lower risk to do very much damage...
Hope this helps :)

Managing laptops and desktops in the organization and pushing windows updates to them [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Here are the couple of things we are trying to achieve
Our staff currently uses a bunch of desktops and laptops. Around 30-5o of the staff, most of them are laptops (mix of HP and Lenovo). Most using Win 7 professional , a minority using XP. What is the best way to
Manage pushing the windows updates to everyone's computer since not every one installs the updates by themselves.
Managing inventory through a software so that we know how many computers are there, who is using which one, which are currently being used and which ones are in repair.
Good to have feature would also be able to install software remotely and perfom maintenance remotely.
I am fine with a solution that may not solve all the above so would love to know which one can help with most of these issues.
Thank you.
You need a Software Management Solution, and Microsoft provides just such a server/client infrastructure.
http://www.microsoft.com/systemcenter/configurationmanager/en/us/sms.aspx
Google also launched an open source effort last year to reduce the cost of software licenses by allowing employees to visit the tool, and uninstall apps. Not quite what your looking for, but you could likely extend their offering to get some use.
http://code.google.com/p/appreduce/

How does the windows file system works? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am working on a project that uses a filesystem and I'm having some problems integrating with Windows.
I need help understanding how the Windows file system works.
Which Windows? The file system used by DOS and Windows up to Win98 (if I am not mistaken) is FAT. It is still widely used e.g. by memory cards, digital cameras etc. Windows NT and later Windows versions however use NTFS.
You may start reading about FAT and NTFS on Wikipedia.
You probably mean NTFS. Then the best reference is http://www.ntfs.com/
A friend of mine started implementing a defragmenter based on that information and it appears to work properly. That means the info from that site seems reliable.

Resources