Normalize all copyright information

- normalize all liquidctl copyright notices
 - update and normalize all "incorporates" notices
 - add copyright notice and license for Python to Windows builds
 - fix PyUSB to 1.0.2 on Windows builds (latest release; BSD 3-clause)¹

¹ Since PyUSB 1.0.2 a new maintainer has changed the project to the
Apache license.  But there have been no releases since, and maintenance
appears to have all but halted.
This commit is contained in:
Jonas Malaco 2019-10-28 02:16:36 -03:00
parent 78fe1d966a
commit c387f6c389
14 changed files with 204 additions and 98 deletions

View File

@ -300,22 +300,28 @@ A real world example can be seen in [icedterminal/ga-z270x-ug](https://github.co
## License
liquidctl monitor and control liquid coolers and other devices.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
Copyright (C) 20182019 each contribution's author
Incorporates or uses as reference work by leaty, KsenijaS, Alexander Tong, Jens
Neumaier, Kristóf Jakab, Sean Nelson and Chris Griffith, under the terms of the
GNU General Public License.
liquidctl includes contributions by CaseySJ and other authors.
liquidctl incorporates work by leaty, KsenijaS, Alexander Tong, Jens
Neumaier, Kristóf Jakab, Sean Nelson, Chris Griffith, notaz, realies
and Thomas Pircher.
Depending on how it is packaged, it might also bundle copies of
python, hidapi, libusb, cython-hidapi, pyusb, docopt and appdirs.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
**This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
This program is distributed in the hope that it will be useful,
but without any warranty; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.**
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

View File

@ -29,6 +29,7 @@ install:
- cmd: appveyor DownloadFile https://github.com/libusb/libusb/releases/download/v1.0.21/libusb-1.0.21.7z -FileName libusb.7z
- cmd: 7z x libusb.7z
- cmd: C:\Python36-x64\python -m pip install --upgrade pip setuptools pyinstaller --ignore-installed
- cmd: C:\Python36-x64\python -m pip install pyusb==1.0.2
- cmd: C:\Python36-x64\python setup.py install
build_script:

View File

@ -1,6 +1,7 @@
liquidctl executables for Windows bundle the following projects:
- liquidctl
- python
- docopt
- pyusb
- libusb-1.0
@ -13,14 +14,20 @@ each project are provided bellow.
================================================================================
liquidctl liquid cooler control
liquidctl monitor and control liquid coolers and other devices.
https://github.com/jonasmalacofilho/liquidctl
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
Incorporates work by leaty, KsenijaS, Alexander Tong and Jens Neumaier, under
the terms of the GNU General Public License.
liquidctl includes contributions by CaseySJ and other authors.
liquidctl incorporates work by leaty, KsenijaS, Alexander Tong, Jens
Neumaier, Kristóf Jakab, Sean Nelson, Chris Griffith, notaz, realies
and Thomas Pircher.
Depending on how it is packaged, it might also bundle copies of
python, hidapi, libusb, cython-hidapi, pyusb, docopt and appdirs.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -32,6 +39,57 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
================================================================================
python https://python.org
Copyright © 2001-2019 Python Software Foundation; All Rights Reserved
1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
the Individual or Organization ("Licensee") accessing and otherwise using Python
3.6.8 software in source or binary form and its associated documentation.
2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python 3.6.8 alone or in any derivative
version, provided, however, that PSF's License Agreement and PSF's notice of
copyright, i.e., "Copyright © 2001-2019 Python Software Foundation; All Rights
Reserved" are retained in Python 3.6.8 alone or in any derivative version
prepared by Licensee.
3. In the event Licensee prepares a derivative work that is based on or
incorporates Python 3.6.8 or any part thereof, and wants to make the
derivative work available to others as provided herein, then Licensee hereby
agrees to include in any such work a brief summary of the changes made to Python
3.6.8.
4. PSF is making Python 3.6.8 available to Licensee on an "AS IS" basis.
PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
USE OF PYTHON 3.6.8 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.6.8
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.6.8, OR ANY DERIVATIVE
THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach of
its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any relationship
of agency, partnership, or joint venture between PSF and Licensee. This License
Agreement does not grant permission to use PSF trademarks or trade name in a
trademark sense to endorse or promote products or services of Licensee, or any
third party.
8. By copying, installing or otherwise using Python 3.6.8, Licensee agrees
to be bound by the terms and conditions of this License Agreement.
================================================================================
docopt https://github.com/docopt/docopt
@ -64,14 +122,32 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
pyusb https://github.com/pyusb/pyusb
Copyright (C) 2009-2017 Wander Lairson Costa
Copyright (C) 2017-2018 Robert Wlodarczyk
Copyright (C) 2009-2017 Wander Lairson Costa. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
http://www.apache.org/licenses/LICENSE-2.0
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
================================================================================

View File

@ -1,4 +1,4 @@
"""liquidctl monitor and control liquid coolers and other devices
"""liquidctl monitor and control liquid coolers and other devices.
Usage:
liquidctl [options] status
@ -44,26 +44,33 @@ Examples:
liquidctl set ring color fading 350017 ff2608
liquidctl set logo color fixed af5a2f
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
---
liquidctl monitor and control liquid coolers and other devices.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
Incorporates work by leaty, KsenijaS, Alexander Tong, Jens Neumaier, Kristóf
Jakab, Sean Nelson, Chris Griffith, notaz and realies, under the terms of the
GNU General Public License. Depending on how it was packaged, this program
might also bundle copies of hidapi, libusb, cython-hidapi, pyusb, docopt and
appdirs.
liquidctl includes contributions by CaseySJ and other authors.
You should have received a copy of all applicable licenses along with this
program, in a file called LICENSE.txt.
liquidctl incorporates work by leaty, KsenijaS, Alexander Tong, Jens
Neumaier, Kristóf Jakab, Sean Nelson, Chris Griffith, notaz, realies
and Thomas Pircher.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
Depending on how it is packaged, it might also bundle copies of
python, hidapi, libusb, cython-hidapi, pyusb, docopt and appdirs.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import datetime

View File

@ -14,16 +14,20 @@ Is also possible to find devices compatible with a specific driver.
for dev in KrakenTwoDriver.find_supported_devices():
print(dev.description)
__init__.py file of the drivers and buses package for liquidctl
Copyright (C) 2019 Jonas Malaco
Copyright (C) 2019 each contribution's author
---
This program is free software: you can redistribute it and/or modify
__init__.py file of the drivers and buses package for liquidctl
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,5 +1,4 @@
"""USB drivers for fifth generation Asetek AIO liquid coolers.
"""liquidctl drivers for fifth generation Asetek AIO liquid coolers.
Supported devices
-----------------
@ -10,7 +9,6 @@ Supported devices
- Corsair H80i GTX, H100i GTX or H110i GTX/experimental
- Corsair H80i v2, H100i v2 or H115i/experimental
Supported features
------------------
@ -21,19 +19,23 @@ Supported features
- control of pump and fan speeds
- control of lighting modes and colors
---
liquidctl drivers for fifth generation Asetek AIO liquid coolers.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
Incorporates or uses as reference work by Kristóf Jakab, Sean Nelson and Chris
Griffith, under the terms of the GNU General Public License.
Incorporates or uses as reference work by Kristóf Jakab, Sean Nelson
and Chris Griffith.
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,14 +1,16 @@
"""Base driver API.
"""Base bus and driver API.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,13 +1,11 @@
"""liquidctl driver for Corsair HID PSUs.
Supported devices
-----------------
- Corsair HXi (HX750i, HX850i, HX1000i and HX1200i)
- Corsair RMi (RM650i, RM750i, RM850i and RM1000i)
Supported features
------------------
@ -17,26 +15,25 @@ Supported features
- fan control
- +12V single or multi rail OCP
---
Port of corsaiRMi: incorporates or uses as reference work by notaz and realies,
under the terms of the BSD 3-Clause license.
liquidctl driver for Corsair HID PSUs.
Copyright (C) 20192019 Jonas Malaco
Copyright (C) 20192019 each contribution's author
Incorporates or uses as reference work by Sean Nelson, under the terms of the
GNU General Public License.
corsaiRMi
Port of corsaiRMi by notaz and realies.
Copyright (c) notaz, 2016
liquidctl driver for Corsair HID PSUs
Copyright (C) 2019 Jonas Malaco
Copyright (C) 2019 each contribution's author
Incorporates or uses as reference work by Sean Nelson.
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,5 +1,4 @@
"""USB driver for third generation NZXT Kraken X and M liquid coolers.
"""liquidctl driver for third generation NZXT Kraken X and M liquid coolers.
Kraken X (X42, X52, X62 and X72)
--------------------------------
@ -7,7 +6,6 @@ Kraken X (X42, X52, X62 and X72)
These coolers house 5-th generation Asetek pumps with additional PCBs for
advanced control and RGB capabilites.
Kraken M22
----------
@ -15,19 +13,22 @@ The Kraken M22 shares similar RGB funcionality to the X models of the same
generation, but has no liquid temperature sensor and no hability to report or
set fan or pump speeds.
---
Copyright (C) 2018 Jonas Malaco
Copyright (C) 2018 each contribution's author
liquidctl driver for third generation NZXT Kraken X and M liquid coolers.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
Incorporates work by leaty, KsenijaS, Alexander Tong and Jens Neumaier, under
the terms of the GNU General Public License.
Incorporates work by leaty, KsenijaS, Alexander Tong and Jens Neumaier.
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,6 +1,5 @@
"""liquidctl drivers for NZXT Smart Device V1/V2 and Grid+ V3.
Smart Device (V1)
-----------------
@ -25,7 +24,6 @@ and AI. NZXT calls this feature Adaptive Noise Reduction (ANR).
[1] https://forum.level1techs.com/t/nzxt-hue-a-look-inside/104836
[2] In parallel: 10 kOhm per HUE+ strip, 16 kOhm per Aer RGB fan.
Grid+ V3
--------
@ -33,7 +31,6 @@ The NZXT Grid+ V3 is a fan controller very similar to the Smart Device (V1).
Comparing the two, the Grid+ has more fan channels (six in total), and no
support for LEDs.
Smart Device V2
---------------
@ -58,7 +55,6 @@ lighting channel supports up to 6 accessories and a total of 40 LEDs.
A microphone is still present onboard for noise level optimization through CAM
and AI.
Driver
------
@ -80,17 +76,21 @@ the devices must be manually initialized by calling `initialize()`. This will
cause all connected fans and LED accessories to be detected, and enable status
updates. It is recommended to initialize the devices at every boot.
---
liquidctl drivers for NZXT Smart Device V1/V2 and Grid+ V3.
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20192019 CaseySJ
Copyright (C) 20182019 each contribution's author
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,12 +1,10 @@
"""liquidctl driver for Seasonic PSUs.
Supported devices
-----------------
- NZXT E500, E650 and E850
Supported features
------------------
@ -15,17 +13,20 @@ Supported features
- [ ] fan control
- [ ] 12V multirail configuration
---
liquidctl driver for Seasonic PSUs
Copyright (C) 2019 Jonas Malaco
Copyright (C) 2019 each contribution's author
liquidctl driver for Seasonic PSUs.
Copyright (C) 20192019 Jonas Malaco
Copyright (C) 20192019 each contribution's author
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -1,4 +1,4 @@
"""Base USB driver and device APIs.
"""Base USB bus, driver and device APIs.
This modules provides abstractions over several platform and implementation
differences. As such, there is a lot of boilerplate here, but callers should
@ -57,15 +57,20 @@ The subclass constructor can generally be kept unaware of the implementation
details of the device parameter, and find_supported_devices already accepts
keyword arguments and forwards them to the driver constructor.
Copyright (C) 2019 Jonas Malaco
Copyright (C) 2019 each contribution's author
---
This program is free software: you can redistribute it and/or modify
Base USB bus, driver and device APIs.
Copyright (C) 20192019 Jonas Malaco
Copyright (C) 20192019 each contribution's author
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

View File

@ -28,22 +28,21 @@ http://pmbus.org/Assets/Present/Using_The_PMBus_20051012.pdf
---
Includes a CRC-8 implementation adapted from work by Thomas Pircher in pycrc,
under the terms of the MIT license.
Constants and methods for interfacing with PMBus compliant devices.
Copyright (C) 20192019 Jonas Malaco
Copyright (C) 20192019 each contribution's author
pycrc -- parameterisable CRC calculation utility and C source code generator
Includes a CRC-8 implementation adapted from pycrc by Thomas Pircher.
Copyright (c) 2006-2017 Thomas Pircher <tehpeh-web@tty1.net>
Constants and methods for interfacing with PMBus compliant devices.
Copyright (C) 2019 Jonas Malaco
Copyright (C) 2019 each contribution's author
This file is part of liquidctl.
This program is free software: you can redistribute it and/or modify
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@ -56,11 +55,13 @@ import math
from enum import IntEnum, IntFlag, unique
@unique
class WriteBit(IntFlag):
WRITE = 0x00
READ = 0x01
@unique
class CommandCode(IntEnum):
"""Incomplete enumeration of the PMBus command codes."""
@ -205,6 +206,7 @@ def compute_pec(bytes):
reg = tbl[idx]
return reg
def _gen_pec_table():
"""Generate the lookup table for compute_pec.

View File

@ -1,14 +1,16 @@
"""Assorted utilities used by drivers and the CLI.
Copyright (C) 2018 Jonas Malaco
Copyright (C) 2018 each contribution's author
Copyright (C) 20182019 Jonas Malaco
Copyright (C) 20182019 each contribution's author
This program is free software: you can redistribute it and/or modify
This file is part of liquidctl.
liquidctl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
liquidctl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.