#
1.24 |
|
21-Jan-2024 |
miod |
Print raw battery information if KB3310_DEBUG, not DEBUG. NFC
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
|
#
1.23 |
|
23-Jan-2017 |
fcambus |
Nuke extraneous whitespace and tabs.
|
#
1.22 |
|
05-Dec-2016 |
fcambus |
Harmonize battery state thresholds accross platforms.
Use the same values hardcoded in sys/dev/acpi/acpi.c where possible.
OK visa@
|
#
1.21 |
|
15-Nov-2016 |
fcambus |
Add support for lid state detection in ykbec(4).
Tested on a Lemote Yeeloong 8101B.
OK visa@, looks good to deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.20 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.19 |
|
24-Dec-2013 |
dlg |
get rid of if (timeout_pending()) timeout_del(). this is racy. any conditionals you did on timeout_pending can now be done on timeout_del now that it returns what it did.
ok and a very good fix from kettenis@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
03-Oct-2012 |
miod |
Do not use <mips64/archtype.h> for loongson model numbers, but rather put the list in loongson's <machine/autoconf.h> directly. <mips64/archtype.h> is intended to be only used on ARCBios-like platforms.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.17 |
|
21-Jul-2011 |
miod |
Support for the eBenton EBT-700 netbook, which is similar to the Lemote Yeeloong, but with a 7" display with a 800x480 resolution, and no webcam.
There are still problems to get it booting from disk from PMON (colour me unsurprised), which are being looked at. Loading the boot blocks from a FAT USB stick, to then boot the kernel from the disk, is a reliable workaround in the meantime.
Tested by Ban Keong Yee (bankeong dot yee on gmail) who is the ``lucky'' owner of such a machine, thanks for your time!
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.16 |
|
14-Oct-2010 |
pirofti |
Move glxpcib(4) to MI land unifying the two MD drivers.
Specific features of the companion chip will be handled in MD land.
Okay deraadt@.
|
#
1.15 |
|
09-Sep-2010 |
miod |
Sync suspend logic with current practice, and try to handle failure consistently; discussed with pirofti and deraadt.
|
#
1.14 |
|
01-Sep-2010 |
pirofti |
Clean-up the spl dance around suspend/resume. Okay miod@.
|
#
1.13 |
|
31-Aug-2010 |
miod |
Correctly enable wakeup interrupts after splhigh().
|
#
1.12 |
|
31-Aug-2010 |
pirofti |
WIP suspend/resume support for loongson lemote. Okay miod@.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.11 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
#
1.10 |
|
08-May-2010 |
miod |
Huge work-in-progress commit to support Loongson 2E-based evaluation boards with a VIA 686 southbridge.
Features: - 686 setup code (no thanks to PMON for not initializing the beast). - work in progress ISA interrupt handling code. - support for vga(4) compatible devices as console, in PC-compatible text mode. - move legacy (ISA) support code out of bonito(4) to make things clearer. - support more than 256MB on 2E-based systems.
Tested on a generic 2E-based evaluation board by someone who wishes to remain anonymous; you know who you are, thank you very much for testing.
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.9 |
|
02-Mar-2010 |
otto |
remove never changing values (design capacity, design voltage) from sensor info; ok miod@
|
#
1.8 |
|
02-Mar-2010 |
otto |
Use the battery controller bit that signals the battery almost empty condition to determine crtical status for the sensor and apm. This makes the critical status correspond to the flashing red battery led. Furthermore, use ISSET macros and friends.
|
#
1.7 |
|
28-Feb-2010 |
miod |
Add a bell routine and let pckbd and ukbd use it; ok otto@
|
#
1.6 |
|
28-Feb-2010 |
otto |
Bring battery life estimate when charging in line with most other apm(4) devices. Original code was inspired by/copied/stolen from the macppc apm(4), which has different semantics for battery life while charging.
|
#
1.5 |
|
28-Feb-2010 |
otto |
Basic apm(4), providing battery/power status and events. apm(4) is the generic part, ykbec(4) provides the device specific parts. Other battery/power status drivers can easily hook to adb(4). With help from miod@; ok matthieu@ miod@ jasper@
|
#
1.4 |
|
24-Feb-2010 |
otto |
fix scaling of battery current
|
#
1.3 |
|
24-Feb-2010 |
deraadt |
spacing
|
#
1.2 |
|
23-Feb-2010 |
otto |
switch to simple indicators instead of playing string games; prompted by deraadt@
|
#
1.1 |
|
23-Feb-2010 |
otto |
ykbec(4), a driver to read fan, temperature and battery status using the kb3310b embedded controller chip on the yeeloong. With help & ok miod@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.23 |
|
23-Jan-2017 |
fcambus |
Nuke extraneous whitespace and tabs.
|
#
1.22 |
|
05-Dec-2016 |
fcambus |
Harmonize battery state thresholds accross platforms.
Use the same values hardcoded in sys/dev/acpi/acpi.c where possible.
OK visa@
|
#
1.21 |
|
15-Nov-2016 |
fcambus |
Add support for lid state detection in ykbec(4).
Tested on a Lemote Yeeloong 8101B.
OK visa@, looks good to deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.20 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.19 |
|
24-Dec-2013 |
dlg |
get rid of if (timeout_pending()) timeout_del(). this is racy. any conditionals you did on timeout_pending can now be done on timeout_del now that it returns what it did.
ok and a very good fix from kettenis@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.18 |
|
03-Oct-2012 |
miod |
Do not use <mips64/archtype.h> for loongson model numbers, but rather put the list in loongson's <machine/autoconf.h> directly. <mips64/archtype.h> is intended to be only used on ARCBios-like platforms.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.17 |
|
21-Jul-2011 |
miod |
Support for the eBenton EBT-700 netbook, which is similar to the Lemote Yeeloong, but with a 7" display with a 800x480 resolution, and no webcam.
There are still problems to get it booting from disk from PMON (colour me unsurprised), which are being looked at. Loading the boot blocks from a FAT USB stick, to then boot the kernel from the disk, is a reliable workaround in the meantime.
Tested by Ban Keong Yee (bankeong dot yee on gmail) who is the ``lucky'' owner of such a machine, thanks for your time!
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.16 |
|
14-Oct-2010 |
pirofti |
Move glxpcib(4) to MI land unifying the two MD drivers.
Specific features of the companion chip will be handled in MD land.
Okay deraadt@.
|
#
1.15 |
|
09-Sep-2010 |
miod |
Sync suspend logic with current practice, and try to handle failure consistently; discussed with pirofti and deraadt.
|
#
1.14 |
|
01-Sep-2010 |
pirofti |
Clean-up the spl dance around suspend/resume. Okay miod@.
|
#
1.13 |
|
31-Aug-2010 |
miod |
Correctly enable wakeup interrupts after splhigh().
|
#
1.12 |
|
31-Aug-2010 |
pirofti |
WIP suspend/resume support for loongson lemote. Okay miod@.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.11 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
#
1.10 |
|
08-May-2010 |
miod |
Huge work-in-progress commit to support Loongson 2E-based evaluation boards with a VIA 686 southbridge.
Features: - 686 setup code (no thanks to PMON for not initializing the beast). - work in progress ISA interrupt handling code. - support for vga(4) compatible devices as console, in PC-compatible text mode. - move legacy (ISA) support code out of bonito(4) to make things clearer. - support more than 256MB on 2E-based systems.
Tested on a generic 2E-based evaluation board by someone who wishes to remain anonymous; you know who you are, thank you very much for testing.
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.9 |
|
02-Mar-2010 |
otto |
remove never changing values (design capacity, design voltage) from sensor info; ok miod@
|
#
1.8 |
|
02-Mar-2010 |
otto |
Use the battery controller bit that signals the battery almost empty condition to determine crtical status for the sensor and apm. This makes the critical status correspond to the flashing red battery led. Furthermore, use ISSET macros and friends.
|
#
1.7 |
|
28-Feb-2010 |
miod |
Add a bell routine and let pckbd and ukbd use it; ok otto@
|
#
1.6 |
|
28-Feb-2010 |
otto |
Bring battery life estimate when charging in line with most other apm(4) devices. Original code was inspired by/copied/stolen from the macppc apm(4), which has different semantics for battery life while charging.
|
#
1.5 |
|
28-Feb-2010 |
otto |
Basic apm(4), providing battery/power status and events. apm(4) is the generic part, ykbec(4) provides the device specific parts. Other battery/power status drivers can easily hook to adb(4). With help from miod@; ok matthieu@ miod@ jasper@
|
#
1.4 |
|
24-Feb-2010 |
otto |
fix scaling of battery current
|
#
1.3 |
|
24-Feb-2010 |
deraadt |
spacing
|
#
1.2 |
|
23-Feb-2010 |
otto |
switch to simple indicators instead of playing string games; prompted by deraadt@
|
#
1.1 |
|
23-Feb-2010 |
otto |
ykbec(4), a driver to read fan, temperature and battery status using the kb3310b embedded controller chip on the yeeloong. With help & ok miod@
|