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).
2012-04-21 02:43:54 -04:00
Con Kolivas
7b947882fe
Merge pull request #157 from luke-jr/unify_drivers
...
Unify drivers as driver-*.c and add driver name to API
2012-04-20 23:41:46 -07:00
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.
2012-04-21 16:39:14 +10:00
Luke Dashjr
b8778839e9
Merge branch 'master' into unify_drivers
...
Conflicts:
cgminer.c
2012-04-21 02:36:19 -04:00
Con Kolivas
c7cc2e4226
Merge branch 'master' into ztex
2012-04-21 14:03:41 +10:00
Con Kolivas
bd46119c11
Style police on libztex.c.
2012-04-21 14:02:22 +10:00
Con Kolivas
e08936c3fb
Merge pull request #166 from kanoi/master
...
api.c escape required characters in return strings + pools returns the username
2012-04-20 15:00:39 -07:00
Kano
2e1d2017de
API add removepool like the screen interface
2012-04-21 03:15:41 +10:00
Kano
eec7c1a963
api.c escape required characters in return strings + pools returns the username
2012-04-20 23:50:27 +10:00
Con Kolivas
46faefbe82
Merge branch 'ztex-master' of https://github.com/nelisky/cgminer into ztex
2012-04-20 21:20:03 +10:00
Con Kolivas
9609dbc42d
Set lp_path to NULL after free for consistency.
2012-04-20 21:09:37 +10:00
Con Kolivas
9b2e62d339
Merge pull request #165 from nelisky/resp_hdr_cb_leak
...
Fixing leak in resp_hdr_cb
2012-04-20 04:08:11 -07:00
nelisky
17b9baa9da
Removing dmalloc import left behind by mistake
2012-04-20 03:36:42 -07:00
Con Kolivas
381107cc7b
Merge pull request #164 from kanoi/master
...
miner.php optionally support multiple rigs
2012-04-20 03:08:18 -07:00
ckolivas
b80d22b9d2
Increase maximum number of displayed devices to 14, beyond which the screen becomes corrupted.
2012-04-20 14:24:58 +10:00
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.
2012-04-19 14:45:40 -07:00
Kano
8237568395
miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
2012-04-18 21:12:51 +10:00
Kano
d5323b7c0c
miner.php highlight any device that isn't 'Enabled'
2012-04-18 21:01:42 +10:00
Kano
39eeca263e
miner.php highlight any Status that isn't 'Alive'
2012-04-18 20:55:20 +10:00
nelisky
6970714ae1
Use detected endianness for ztex overflow detection and hash rate reporting
2012-04-18 01:59:48 -07:00
nelisky
9ba2e21793
Some cleanup
2012-04-18 01:54:51 -07:00
Kano
c52b55e244
README update details about miner.php
2012-04-18 12:55:16 +10:00
Kano
3a3912070e
miner.php optionally support multiple rigs
2012-04-18 12:50:26 +10:00
nelisky
c280dd0dae
Moving space indentation to tabs
...
For consistency with cgminer sources
2012-04-17 01:51:53 -07:00
nelisky
f9d4d92b9a
Some cleanup
2012-04-17 01:25:55 -07:00
nelisky
7fe7d18dba
removing unused libusb_context pointer
2012-04-16 14:14:52 -07:00
nelisky
0649972f69
ztex detect was broken due to bad branch split
2012-04-16 12:29:24 -07:00
nelisky
3067a414fc
leak fix
2012-04-16 11:41:17 -07:00
nelisky
381c294878
had freqM1 as int when it is a double.
2012-04-16 11:40:22 -07:00
nelisky
57a2764eb5
Small tweaks to freq reporting
2012-04-16 11:39:36 -07:00
nelisky
608a520573
Tweaks to make ztex work on a tp-link router with openwrt
2012-04-16 11:34:54 -07:00
nelisky
a960087c0a
Ztex device removal segfault fixed
2012-04-16 11:32:30 -07:00
nelisky
261677d1ac
Adding serial number to status line.
...
Also preventing segfault on device removal.
2012-04-16 11:30:00 -07:00
nelisky
79756384d4
ztex Mhz reporting
2012-04-16 11:27:58 -07:00
nelisky
8f58d25614
Improved ztex device detection
2012-04-16 11:23:56 -07:00
nelisky
3197ca54e4
Better cleanup and error handling
2012-04-16 04:11:28 -07:00
nelisky
95d17e985d
NULLing handle on destroy
2012-04-16 04:07:56 -07:00
nelisky
8e08f567d9
Starting to handle ztex disconnects and errors
2012-04-16 04:07:49 -07:00
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
2012-04-16 04:07:40 -07:00
nelisky
a35205d3f2
Some tweasks towards clean exit on error
2012-04-16 04:07:29 -07:00
nelisky
c3bda2b709
adding path to libusb include
2012-04-16 04:07:19 -07:00
nelisky
dc6e2f4e18
Reading actual bitfilename
2012-04-16 04:07:12 -07:00
nelisky
98d6664185
removing hard coded include path for libusb-1.0
2012-04-16 04:06:40 -07:00
nelisky
56ec31270a
small fixes and cleanup
2012-04-16 04:06:31 -07:00
nelisky
5bbce4c42c
nonce check and error driven freq scaling
...
Following BTCMiner's algorithm.
2012-04-16 04:06:23 -07:00
nelisky
0902f21a04
add license headers and some cleanup
2012-04-16 04:06:11 -07:00
nelisky
bd3dc6d904
adding ztex bitstreams
2012-04-16 04:04:11 -07:00
nelisky
99a188f94f
initial commit with some support for ztex 1.15x board.
...
This version is just a rough draft, but it does alredy mine.
Conflicts:
cgminer.c
configure.ac
2012-04-16 04:01:51 -07:00
Con Kolivas
c3ef4912dd
Bump version number to 2.3.3
2012-04-15 09:46:43 +10:00
Con Kolivas
cdd4b63ec2
More NEWS updates.
2012-04-15 09:44:18 +10:00