mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
9b079f6c9b8972dda023075e4b5d6c51ce4c9529
Fixup support for USB2 on Linux via libusb. The code is pretty ghetto with a maze of pre-processor conditionals. But it works. Of special note: * You MUST build with a very specific version of libusb, the stock libs in Ubuntu do not work. Might pull the code into the main repo, since its pretty darned tiny. * On Linux access controls for the USB devices is controlled by udev, and requires a rule adding to ensure the devie can be read/written by users other than root. A udev rule file has been added to a 'linux' subdirectory in src. Some of the timeouts and usb setup/reset code has been adjusted to ensure the device is always in a consistent state. This appears to be more important on Linux than Windows for some reason.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%