30 Commits (master)

Author SHA1 Message Date
Yohan 70be81c92d Merge: Add CDC Check in JGINYUE Usb Controller #5128 3 months ago
Adam Honse c71cc4f18a Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect 7 months ago
Adam Honse fed03f88c8 Clean up code 10 months ago
Adam Honse b6afcc222a Add regex include for MacOS 10 months ago
Dmitry Kychanov 4bcc33569a Fix filesystem errors in SerialPort 10 months ago
Dmitry K 46a79c6bb5 Serial port field is now drop-down list 10 months ago
Adam Honse f03e4fd049 Implement find_usb_serial_port for MacOS, switch HYTE CNVS implementation to serial-based 10 months ago
Adam Honse a18ef1ad3a Prevent changing port settings on already opened serial port on Linux using advisory locks, default serial ports to flow control off 1 year ago
Adam Honse d834b18a16 Don't include _Linux files in MacOS build, add support for _MacOS files 2 years ago
James Buren 5dc31a81a0 Fix error checking on CreateFile() usage 2 years ago
Adam Honse a3066db16c Update even more file header comments to standardized new format 2 years ago
Armin Wolf fa52f4d7e0 Disable input and output processing on Unix serial ports
Disabling output processing is necessary since otherwise
sending a LF character (ASCII 0x0A) will automatically insert
a CR character (ASCII 0x0D).
Disabling input processing should prevent this when
receiving data.
3 years ago
Armin Wolf 0279aafb97 Allow for setting DTR on a serial port 3 years ago
Adam Honse 81aaf67ff0 Initial DMX (Enttec OpenDMX USB) support and serial_port improvements
* Support DMX RGB lights (PAR lights, spotlights, wash lights, etc)
  * Configurable R/G/B channel and Brightness/Master channel
  * Add configurable parameters to serial_port needed to configure a port for DMX
  * Add DMX tab to settings
3 years ago
Matt Mets 0db567b8bc Add support for BlinkyTape LED controllers
This adds support for the Blinkinlabs BlinkyTape controller, a
USB-powered digital LED strip controller. Devices are detected
automatically by scanning for their VID/PID, and connected to using
serial.

This code was tested in Windows.

Commit squashed and amended for code style and to fix Linux build by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Matthew Mets 07df6b7a1f Bugfix: Use correct path when opening serial devices on Windows 5 years ago
Adam Honse 126b1b4841 Clean up serial_port class and add MacOS support (only standard baud rates for now) 5 years ago
Adam Honse 117500ad04 Add FanBus support 5 years ago
Adam Honse 18aa3d35cb Fix serial port issues on Linux and add proper Direct mode to NZXT Hue+ 6 years ago
Neel Chotai e0f9017982 fix compilation on ppc 6 years ago
Adam Honse 1354864038 Get master building on MacOS 6 years ago
Adam Honse 0345eb582b More warning fixes 6 years ago
Térence Clastres 53379c5482 Fixes for memory issues detected by valgrind 6 years ago
B Horn 1457831840 Modifying find_usb_serial_port() to return a vector 6 years ago
Adam Honse d3fc88b24f Fix USB serial port detection in Windows. Fixes false Hue+ detection 6 years ago
Adam Honse 1249814e93 Fix segfault in Linux USB serial port auto-detection 6 years ago
Adam Honse c7b9fe90a6 Detect serial devices behind USB hubs 6 years ago
Adam Honse aa182936ba Clean up warnings, except in hidapi and cli files 6 years ago
Adam Honse 5074a923d1 Add functions to get serial port path from USB VID/PID for both Windows and Linux. Use this function to automatically detect the presence of an NZXT Hue+. 6 years ago
Adam Honse 155ad165b1 Reorganization! Move all controllers into their own folders, move all RGBController wrappers into one folder, move i2c_smbus and serial_port dependencies into folders, and move main application/UI stuff into folders. Should help lead into creating a proper library 7 years ago