Con Kolivas
70b5b84052
Merge branch 'master' of https://github.com/kanoi/cgminer into kanoi-usb
12 years ago
Kano
61ec1fe91f
mutex all access to mining_thr
12 years ago
Kano
212f32e5e0
Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later
12 years ago
Kano
8fbc4dade6
MMQ must copy USB bus:device due to usbinfo change
12 years ago
Kano
7388942bbd
Stratum disconnect shares - count total against stale
12 years ago
Kano
05157e0802
USB in linux use the expected kernel config to check and detach - and set the configuration in linux also
12 years ago
Kano
128e3270fb
USB system wide device locking on windows
12 years ago
Kano
16fa090013
usbutils stats_initialised not set
12 years ago
Kano
028da16bf8
usbutils free found if not used
12 years ago
Kano
8297304089
USB device locking NOOP for windows (for now)
12 years ago
Kano
cb3e3ebfac
USB system wide device locking on linux
12 years ago
Kano
59c73ae59a
USB usb_init() consistent err/warning/debug messages
12 years ago
Kano
a59b0c0355
usbutils.c use correct config from found (not 0)
12 years ago
Kano
d057791915
Capitalise driver long names used in applog messages
12 years ago
Kano
7fbc3770b4
USB move usbdev info that needs to stay around into usbinfo
12 years ago
Kano
8f4340bfeb
BFL allow a 2nd init attempt if the 1st reply is unknown
12 years ago
Kano
3f4d9fc5d6
BFL use #defined strings for work replies
12 years ago
Kano
383a21bebf
miner.php trim trailing zeros on some of the STATS numbers
12 years ago
Kano
9447610091
ICA use drv->name
12 years ago
Kano
baf3aca88c
usbutils.c release_cgpu() sets nodev
12 years ago
Kano
c1eae36f7b
API stats - include pool network bytes + in miner.php
12 years ago
Kano
92abe36f12
MMQ include USB devpath in detection error messages
12 years ago
Kano
a52522af37
MMQ it's a bitstream
12 years ago
Kano
ea807cf0c7
USB BFL transfer is only 64 bytes in a USB1.1 socket
12 years ago
Kano
24525edbef
api.c update copyright year
12 years ago
Kano
34bcc1c66d
USB automatically handle losing the device and report nodev in the API
12 years ago
Kano
4f460ca72d
Best Share readme
12 years ago
Kano
f53549a861
BFL minimise first initialisation failure delay since it is common
12 years ago
Kano
0b3d8c89c2
API zero - zero statistics - all or bestshare - with optional on screen summary
12 years ago
Kano
bd5f20ebf5
api.c pgaenable not re-enabling the device - plus related debug
12 years ago
Kano
bad942e59a
increase device status string length
12 years ago
Kano
f9e04a3c5b
device_drv - allow .name to be changed before add_cgpu()
12 years ago
Kano
a4e95cfa42
device_drv missing drv for cpu and incorrect test
12 years ago
Kano
a344deb6ac
rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
12 years ago
Kano
7724989d9b
diffexactone pool diff1 used for share value calculation is ffffffff... not 100000000... :P
12 years ago
Kano
f6bde14c31
miner.php user/pass fix 'usr' is readonly
12 years ago
Kano
1b2654e1ff
miner.php optional user/pass login restrictions
12 years ago
Con Kolivas
7e2b1e80aa
Fix memory leak on stratum share submission.
12 years ago
Kano
1ce817d4df
Merge branch 'api'
12 years ago
Kano
e3db37a64e
Merge branch 'bfl'
12 years ago
Kano
44ec755282
BFL USB correct usb stats id
12 years ago
Kano
4c2f26e280
zero (most) API stats
12 years ago
Kano
abaaf93c8d
Correct API version to match docs
12 years ago
Kano
03f626e68d
Remember best share per pool and return in API pools
12 years ago
Kano
211b0f4ea1
BFL USB longer timeout
12 years ago
Denis Ahrens
f5306156f7
driver-ztex: only reset errors if there are some
...
Only check the errors and print the log message if
there actually were errros.
12 years ago
Denis Ahrens
8be5da3d69
driver-ztex: react to new work in 10ms and not 250ms
12 years ago
Denis Ahrens
f553c50b7b
ztex: if we had only errors in one round we do not count the errors
...
to detect a totally non working fpga we only do that if the last
round had some valid nonces.
if we would count the errors the automatic megahertz adaption
would drop and never recover.
12 years ago
Denis Ahrens
ccee686aee
ztex: precheck the secondary solutions to avoid hw errors
...
the ztex bitstreams gives back the latest checked nonce and
its hash7 value and two possible solutions.
every 250ms the latest nonce is checked and compared with hash7
to count hw errors and adapt the MHz value. one change is to
use the solutions even if the latest nonce is not correct. the
original java ztex code also does it this way.
since the second solution is often not correct we have alot
of hw errors. now we always check the second solution before
we submit it to the cgminer main code.
the java code also ignores all hw errors 500ms after a sendHash.
we now do the same. this can possibly yield in a higher MHz rate.
but the chance is so low nobody will ever notice in practice.
12 years ago
Kano
07db1ed687
BFL USB api.c usbstats
12 years ago