summaryrefslogtreecommitdiff
path: root/libopie/odevice.cpp
AgeCommit message (Collapse)AuthorFilesLines
2002-11-21support for the new H3900 iPAQ in the iPAQ keyfilter. Since HP thinks it issandman1-37/+35
funny to change the screen rotation on every model, I have also restructured the keyfilter to make it more readable.
2002-11-20Reverting back to use system ( "apm --suspend" );, even though I don'tsandman1-24/+14
like it. It is needed since a real apm implementation only allows suspends by uid == 0, which doesn't work with a multi-user Opie. So making apm SUID root and calling it on suspend is the only option here.
2002-11-19Removed the last QT_QWS_* in libopie .. the libopie binary should now besandman1-8/+0
interchangeable between iPAQ, OZ and retail Z (in theory ;) )
2002-11-10fix system version string for zaurusllornkcor1-1/+1
2002-11-01setDisplayBrightness calculated the wrong backlight level for iPAQssandman1-5/+3
2002-10-29- redone the Model enum to make it easy to check for series (like: is this ansandman1-15/+19
iPAQ - and not is this a 31xx or 36xx or ...) - fixed the disply brightness resolution bug on H38xx
2002-10-29added lightSensorResolution() to get the hardware resolution of the lightsandman1-2/+10
sensor
2002-10-28Fixed a typo -- just wondering why I commited thissandman1-1/+1
2002-10-28- read ( fd, buffer, 4 ); return 5 (!!) for /proc/hal/light_sensorsandman1-7/+7
so we better try to read 5 bytes ... - small "off by one" fix for the lcd brightness resolution
2002-10-27fixed a typo in the light sensor codesandman1-1/+1
2002-10-27- new function to check for and read the light sensorsandman1-0/+42
- redone the Model enum, to make it easier to check for "any iPAQ" !! This means every application using this enum has to be recompiled !!
2002-10-19don't probe for old device names on iPAQs anymoresandman1-5/+2
2002-10-07Fixed the "can't suspend 38xx's anymore by pressing power" bug -- I forgotsandman1-2/+2
to remove a break, when I moved the keyfilter code from the launcher to ODevice
2002-10-01Small bug fix for iPAQ only: screensaver "dim" didn't work anymore -sandman1-1/+2
the backlight was already powered off at level 0
2002-09-30- partly rearranged for better bc in the futuresandman1-124/+285
- led handling rewritten - cleanups - another try at fixing the OZ suspend "glitches"
2002-09-27Check for /etc/oz_version.. tired of seeing OpenZaurus v0.0 in opie-login.kergoth1-0/+8
2002-09-06Fix for the new OD_IO macrossandman1-6/+8
2002-09-06Added new functionality to libopie / ODevice, regarding LCD control (on/offsandman1-20/+144
brightness)
2002-09-05- added a setPowerButtonHandler() for iPAQs and Zssandman1-5/+65
(-> disableAPM() in launcher can be removed) - another try to fix the OZ suspend code
2002-09-05suspend code now also calls sync() to flush fs caches (just like apm tool)sandman1-2/+4
2002-09-05Use SIG_IGN rather than an empty handler to ignore SIG_TSTP.kergoth1-7/+1
2002-08-28Use the new iPAQ suspend code for all supported platforms (that is OZsandman1-65/+54
right now ;) )
2002-08-06- Fix for the "iPAQ won't suspend until apm --suspend is called" problemsandman1-1/+3
- Improved the resume delay until the LCD backlight is on again
2002-08-041) Fixes for suspend/resume (improved it for iPAQ, shouldn't have changedsandman1-0/+62
anything for Z) -- It seems that this also fixes the 70% CPU load problem (needs more testing/feedback though) 2) the launcher now creates a /var/run/opie.pid file containing its pid 3) the launcher catches SIGTERM and kills all its child processes
2002-07-27Small extension to read the system versionsandman1-1/+15
(currently only functional for familiar)
2002-07-01take out debugsllornkcor1-2/+2
2002-07-01had to add some ifndef QT_QWS_EBX around Sound things for some odd reason. ↵llornkcor1-34/+73
added sharp_buz empty defines for future usage
2002-06-25Request from ljp: alarm/key/tap sounds should now also work on "Unknown"sandman1-28/+20
modells (this includes x86 simulation)
2002-06-18Reimplemented OHwInfo as ODevice with enhanced capabilitiessandman1-0/+469
ODevice should replace custom-*.h in the future (iPAQ is finished)