Luke Dashjr
355a87e10b
Bugfix: Calculate Icarus timeout-exhausted nonce count correctly
...
We're only waiting 8 seconds for results from Icarus, but actually exhausing the nonce space requires 11.3
13 years ago
Luke Dashjr
1291f5a407
Icarus: Use epoll (where available) to get nonces ASAP
13 years ago
Con Kolivas
7f107fb928
Merge branch 'master' into ztex
13 years ago
Luke Dashjr
0d92069760
Merge branch 'master' into align_temps
...
Conflicts:
cgminer.c
13 years ago
Con Kolivas
9b5615d5f3
Shut down the api cleanly when the api thread is cancelled. This should allow the api socket to be closed successfully to next be reopened with app_restart.
13 years ago
Luke Dashjr
730849c988
Make a union for cgpu device handles, and rename "device" to "device_ztex" since it's Ztex-specific
13 years ago
Luke Dashjr
657716e563
Merge branch 'master' into ztex
13 years ago
Con Kolivas
127c4a5ff4
Initialise name variable.
13 years ago
Con Kolivas
e07c72687b
Remove unnecessary check for variable that always has memory allocated.
13 years ago
Con Kolivas
a5b05d9c55
Merge pull request #167 from luke-jr/bugfix_missing_stmt
...
Bugfix: Missing "break" no-op in default case
13 years ago
Luke Dashjr
7987476db3
Bugfix: Missing "break" no-op in default case
13 years ago
Luke Dashjr
7312759596
Workaround Icarus UART failures by reopening the tty every scanhash
...
ngzhang says the USB-UART chip isn't stable on some computers, and I'm experiencing some weirdness myself.
This workaround seems to fix it (tested for over 48 hours, whereas failure is usually in well under 5 hours).
13 years ago
Con Kolivas
7b947882fe
Merge pull request #157 from luke-jr/unify_drivers
...
Unify drivers as driver-*.c and add driver name to API
13 years ago
Con Kolivas
86671f80a8
Make the status window and log window as large as can fit on startup, rechecking to see if it can be enlarged after the fact. This allows any number of devices to be displayed provided the window is made long enough without corrupting the output.
13 years ago
Luke Dashjr
b8778839e9
Merge branch 'master' into unify_drivers
...
Conflicts:
cgminer.c
13 years ago
Con Kolivas
c7cc2e4226
Merge branch 'master' into ztex
13 years ago
Con Kolivas
bd46119c11
Style police on libztex.c.
13 years ago
Con Kolivas
e08936c3fb
Merge pull request #166 from kanoi/master
...
api.c escape required characters in return strings + pools returns the username
13 years ago
Kano
2e1d2017de
API add removepool like the screen interface
13 years ago
Kano
eec7c1a963
api.c escape required characters in return strings + pools returns the username
13 years ago
Con Kolivas
46faefbe82
Merge branch 'ztex-master' of https://github.com/nelisky/cgminer into ztex
13 years ago
Con Kolivas
9609dbc42d
Set lp_path to NULL after free for consistency.
13 years ago
Con Kolivas
9b2e62d339
Merge pull request #165 from nelisky/resp_hdr_cb_leak
...
Fixing leak in resp_hdr_cb
13 years ago
nelisky
17b9baa9da
Removing dmalloc import left behind by mistake
13 years ago
Con Kolivas
381107cc7b
Merge pull request #164 from kanoi/master
...
miner.php optionally support multiple rigs
13 years ago
ckolivas
b80d22b9d2
Increase maximum number of displayed devices to 14, beyond which the screen becomes corrupted.
13 years ago
nelisky
44bcb69ccd
Fixing leak in resp_hdr_cb
...
Memory is allocated for key and val, and longpoll address, when found, is stored in the header_info and prevented from being freed there. This pointer is stored during pool probing but once that's done it was just being lost.
Not so visible but also leaking was the refuse reason string.
13 years ago
Kano
8237568395
miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
13 years ago
Kano
d5323b7c0c
miner.php highlight any device that isn't 'Enabled'
13 years ago
Kano
39eeca263e
miner.php highlight any Status that isn't 'Alive'
13 years ago
nelisky
6970714ae1
Use detected endianness for ztex overflow detection and hash rate reporting
13 years ago
nelisky
9ba2e21793
Some cleanup
13 years ago
Kano
c52b55e244
README update details about miner.php
13 years ago
Kano
3a3912070e
miner.php optionally support multiple rigs
13 years ago
nelisky
c280dd0dae
Moving space indentation to tabs
...
For consistency with cgminer sources
13 years ago
nelisky
f9d4d92b9a
Some cleanup
13 years ago
nelisky
7fe7d18dba
removing unused libusb_context pointer
13 years ago
nelisky
0649972f69
ztex detect was broken due to bad branch split
13 years ago
nelisky
3067a414fc
leak fix
13 years ago
nelisky
381c294878
had freqM1 as int when it is a double.
13 years ago
nelisky
57a2764eb5
Small tweaks to freq reporting
13 years ago
nelisky
608a520573
Tweaks to make ztex work on a tp-link router with openwrt
13 years ago
nelisky
a960087c0a
Ztex device removal segfault fixed
13 years ago
nelisky
261677d1ac
Adding serial number to status line.
...
Also preventing segfault on device removal.
13 years ago
nelisky
79756384d4
ztex Mhz reporting
13 years ago
nelisky
8f58d25614
Improved ztex device detection
13 years ago
nelisky
3197ca54e4
Better cleanup and error handling
13 years ago
nelisky
95d17e985d
NULLing handle on destroy
13 years ago
nelisky
8e08f567d9
Starting to handle ztex disconnects and errors
13 years ago
nelisky
c5897683be
changing the bitstream read and push strategy.
...
It seems that thread heap space is neither large nor consistent across OSs. Specifically on windows I couldn't get a large enough buffer for the whole bitstream in one go, so I'm reading incrementally now
13 years ago