235 Commits (166147a80387f75160d97a8f1166c6f3f6e6829d)

Author SHA1 Message Date
Kano a9faec4a4b change drivers to use usb_interface() - required for multi interface change 11 years ago
Kano 87e5c76f4d BTB show C/MHz/mV for device 12 years ago
Con Kolivas c56d44cebd Use stack data for HW error% in avalon stats. 12 years ago
Con Kolivas 8a01f5326c Add avalon HW error% to stats and only show BTB variables if avalon is a BTB. 12 years ago
Con Kolivas eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 12 years ago
Kano 96c0c31775 BTB get version from Firmware 12 years ago
Con Kolivas 09e9091dd7 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally. 12 years ago
Con Kolivas 17447ec7e2 Use the cgsleep reentrant function in avalon_send_task. 12 years ago
Con Kolivas c988587b45 Use the reentrant cgsleep functions within the avalon_send_tasks function. 12 years ago
Con Kolivas e784b23004 Use the reentrant cgsleep function to time sleeps on reading from avalon. 12 years ago
Con Kolivas 37ff9f8428 Add necessary time header include to avalon driver. 12 years ago
Con Kolivas 1864ed2634 Do a sleep of the full duration it would take to do all the work using clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to see if it's ready. 12 years ago
Con Kolivas 33bb8c7958 Use the us_to_timeval helper function in the avalon driver. 12 years ago
Con Kolivas 53beae814d Use timeval_to_spec helper in avalon driver. 12 years ago
Chris Chua 26de6e64be simplifying buffer full check 12 years ago
Chris Chua 0b9474f3a2 forking bitburner write thread function 12 years ago
Chris Chua be0d899b74 making sure original Avalon is unaffected by BitBurner changes 12 years ago
Chris Chua 2b932ccb81 changes to queueing strategy for BitBurner boards 12 years ago
Con Kolivas f3f939dd83 Do not poll in avalon_get_results without sleeping if we have finished parsing a full result. 12 years ago
Con Kolivas 61cb05a963 Add c to ambient temperature display for avalon driver. 12 years ago
Kano 51aaf816ef avalon for timeout allow d='calculate it' and fix uninitialised 12 years ago
Con Kolivas 3fe8948629 Use cloned work when finding avalon results since another thread can discard the work item while it's in use. 12 years ago
Con Kolivas dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 12 years ago
Con Kolivas b2a3941ef1 Fix warning. 12 years ago
Con Kolivas 992a97a396 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code. 12 years ago
Kano b1f57595bd avalon init write_sem before use 12 years ago
Con Kolivas f7e6701058 Fix uninit variable warnings. 12 years ago
Kano b1a80cef15 avalon allow frequency to be set via the API 12 years ago
Kano 802737e8dd BTB voltage management via the API - and set default on startup 12 years ago
Kano ecc9457b6b Avalon BTB allow partial work to be transferred 12 years ago
Kano 6dabdff15c avalon_cts use correct buffer 12 years ago
Chris Chua 782206ceca using usb_ident 12 years ago
Chris Chua b8cdaea8bb forgot a return 12 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 12 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 12 years ago
Kano 385a70bea7 make all statline overflow safe 12 years ago
Con Kolivas a011fe5182 Check for a timeout in avalon_scanhash and post to the write sem if we receive one. 12 years ago
Con Kolivas 3b2f9ccb88 Decay result count in avalon more slowly to not falsely detect idle periods as low result return rates. 12 years ago
Con Kolivas 4b4a13549e Count the number of miners idled in avalon to account more accurately for when its result return rate is too low. 12 years ago
Con Kolivas e13c580cac Fix potential dereference when starting avalon with all new work. 12 years ago
Con Kolivas 18422fbf7d Only throttle avalon clockspeed in avalon_auto in non optimal temperature settings if the fanspeed has reached maximum. 12 years ago
Con Kolivas 3ef0db5658 Reinstate more aggressive <2% HW error target for avalon-auto 12 years ago
Con Kolivas 05344eff03 Set avalon fan min and fan max to PWM values instead of percentage. 12 years ago
Con Kolivas 065b6a5e36 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode. 12 years ago
Con Kolivas 36b556aa66 Set the avalon idle frequency to lowest if avalon auto is enabled and we have an overheat condition. 12 years ago
Con Kolivas ce214e1270 Decrease avalon frequency in auto mode if we are unable to maintain the temperature in the optimal range. 12 years ago
Con Kolivas d7c99cd116 Use a more conservative upper limit of 1% for hardware errors with avalon auto frequency. 12 years ago
Con Kolivas f142a4de23 Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100% 12 years ago
Con Kolivas 34547596b3 Support all avalon frequencies on the command line. 12 years ago
Con Kolivas 18f9112e48 Reset the other auto counters in avalon when idling a device. 12 years ago