|
972ddf74
|
2012-11-23T03:42:47
|
|
libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb
The ZTEX USB firmware doesn't correctly support GET_DESCRIPTOR requests
for string descriptors, specifically the device always returns the full
string descriptor, even if the request wLength is shorter. The FreeBSD
implementation of libusb_get_string_descriptor_ascii() first requests 4
(four) bytes to validate the start of the string descriptor, and since
the device sends back too many bytes the USB host controller signals an
error to FreeBSD which returns the error to us.
In order to avoid this mess the libusb_get_string_descriptor_ascii()
call is replaced with the way libusb-1.0 works; which makes only a
single request to read the entire string descriptor.
|
|
dc7fc13e
|
2012-11-18T22:23:03
|
|
Convert libztex to nmsleep where possible.
|
|
346d09c3
|
2012-09-24T14:37:23
|
|
Reorder libztex header include order to fix missing struct definition.
|
|
9e76aed6
|
2012-08-18T23:21:24
|
|
Initialise cnt in libztex.c
|
|
9065c63f
|
2012-08-17T16:42:14
|
|
Repeating on timeout in ztex could make the code never return.
|
|
0954a229
|
2012-08-16T22:30:06
|
|
Offset libusb reads/writes by length written as well in ztex.
|
|
e796284c
|
2012-08-16T22:26:19
|
|
Cope with timeouts and partial reads in ztex code.
|
|
a916be0b
|
2012-08-17T16:42:14
|
|
Repeating on timeout in ztex could make the code never return.
|
|
56775141
|
2012-08-16T22:30:06
|
|
Offset libusb reads/writes by length written as well in ztex.
|
|
280539bf
|
2012-08-16T22:26:19
|
|
Cope with timeouts and partial reads in ztex code.
|
|
d3fa59d7
|
2012-06-05T02:17:09
|
|
Abstract generally useful FPGA code into fpgautils.c
|
|
ed60e33a
|
2012-05-04T08:33:13
|
|
Some tweaks to reporting and logging.
- Adding fpga number to the ztex string representation
- Removing usb details from the ztex string representation
- First frequency set no longer reports a bogus old freq
|
|
0080aea4
|
2012-05-03T13:24:59
|
|
Trying harder to get 1.15y working
|
|
57a72d51
|
2012-05-02T07:26:52
|
|
Blind implementation of multi-fpga board 1.15y.
|
|
719b0c7c
|
2012-04-30T09:29:36
|
|
HS bitstream configuration
|
|
316ebc3b
|
2012-04-25T03:52:52
|
|
Code style cleanup
|
|
6bb3c40d
|
2012-04-25T01:57:15
|
|
Annotating frequency changes with the changed from value
|
|
5f5e1063
|
2012-04-22T08:14:54
|
|
Firmware 15d4 support
Not yet using suspend and while we have fpga counting implemented it isn't being used yet, thus only the groundwork for quad board support is done, not actually working yet.
|
|
b97e6aa5
|
2012-04-22T10:57:23
|
|
Presumably we should return false when the capability is missing in libztex_checkCapability.
|
|
bd46119c
|
2012-04-21T14:02:22
|
|
Style police on libztex.c.
|
|
9ba2e217
|
2012-04-18T01:54:51
|
|
Some cleanup
|
|
c280dd0d
|
2012-04-17T01:51:53
|
|
Moving space indentation to tabs
For consistency with cgminer sources
|
|
f9d4d92b
|
2012-04-17T01:25:55
|
|
Some cleanup
|
|
3067a414
|
2012-04-13T01:37:26
|
|
leak fix
|
|
57a2764e
|
2012-04-02T21:51:01
|
|
Small tweaks to freq reporting
|
|
a960087c
|
2012-03-21T20:41:03
|
|
Ztex device removal segfault fixed
|
|
3197ca54
|
2012-03-18T22:35:10
|
|
Better cleanup and error handling
|
|
95d17e98
|
2012-03-16T19:17:24
|
|
NULLing handle on destroy
|
|
c5897683
|
2012-03-14T21:32:57
|
|
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
|
|
dc6e2f4e
|
2012-03-13T16:19:55
|
|
Reading actual bitfilename
|
|
5bbce4c4
|
2012-03-12T00:55:38
|
|
nonce check and error driven freq scaling
Following BTCMiner's algorithm.
|
|
0902f21a
|
2012-03-11T16:58:50
|
|
add license headers and some cleanup
|
|
99a188f9
|
2012-03-11T00:49:25
|
|
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
|