1
0

107 Commits

Author SHA1 Message Date
michael
cdc9c5bf09 Add hack to force the detection of a parallel cable by Stefan Ziegenbalg.
This hack is activated by preloading libusb-driver-trenz.so.
2007-04-02 08:22:08 +00:00
michael
e6293f4578 really support multiple parallel ports 2007-04-01 15:47:52 +00:00
michael
1f62c14e4f BUGFIX: enable cables not connected to the primary parallel port 2007-04-01 14:37:55 +00:00
michael
54fc45085e add other tested software
change some parallel port variables
2007-03-17 19:10:54 +00:00
michael
28e7c3682e parallel cable transfer cleanup 2007-03-17 00:43:00 +00:00
michael
ae413cee9c cleanup parallel support a bit 2007-03-17 00:13:23 +00:00
michael
57fade8e35 always set ecpbase correctly. 2007-03-15 08:29:53 +00:00
michael
889bee692a impact requests ECP addresses, even when ECP is not available. Ignore
requests with base address == 0x0000
2007-03-14 23:34:34 +00:00
michael
459c6ef789 print errorstring when /dev/parportX can't be opened 2007-03-14 23:22:50 +00:00
michael
543579946c Add support for Parallel Cable III (and clones) 2007-03-14 23:13:37 +00:00
michael
ac9e3f59d8 handle other TRANSFER commands not used by USB ;-) 2007-03-14 21:08:43 +00:00
michael
576995a866 add another ioctl-stub 2007-03-14 19:15:00 +00:00
michael
bdc65937d6 remove ugly defines for 64bit support and solve the problem in a
better way
2007-03-14 17:09:01 +00:00
michael
f152c04870 add support for ise 8.1i 2007-03-14 16:58:35 +00:00
michael
010cbaa6cd allow concurrent access to the cable 2007-03-11 12:52:26 +00:00
michael
7216ce6cb7 fix 64bit and add DEBUG shared object 2007-03-10 10:51:06 +00:00
michael
b72b86b42a revert most of last 64bit cleanup, as windrvr doesn't do it this way
this version might work on 64bit
2007-03-10 01:25:19 +00:00
michael
f42065a398 do not undef DEBUG 2007-03-10 00:58:15 +00:00
michael
11d017427f fix some 64bit issues, probably... 2007-03-10 00:56:45 +00:00
michael
332ced7a9c better fix for windrvrfd when device is not opened
prevents "!!!ERROR: magic header does not match!!!" message
2007-03-04 22:44:13 +00:00
michael
f0bfb2db7d BUG-Fix: Do not do ioctls on fd == 0 2007-03-04 20:32:32 +00:00
michael
9ba1e383d1 be a bit more intelligent in 'interrupt' handling 2007-02-25 14:10:06 +00:00
michael
f1405f1379 some cleanups 2007-02-25 14:04:15 +00:00
michael
419f2c983b emulate access function, too. now even the device node /dev/windrvr6 is
no longer needed
2007-02-25 10:51:28 +00:00
michael
90831fba7f return wd version 802 2007-02-25 00:45:20 +00:00
michael
16f6b16428 return parport_pc in list of loaded modules so impact does not show
popups all the time
2007-02-25 00:34:50 +00:00
michael
8923df66b0 replace a magic value by its name 2007-02-25 00:15:33 +00:00
michael
be452175b8 some small cleanups 2007-02-25 00:13:06 +00:00
michael
2c0c12554e rename sources 2007-02-25 00:04:39 +00:00
michael
533f4b68ba use a pthread mutex for interrupts 2007-02-24 23:58:54 +00:00
michael
dbda1264f8 emulate /proc/modules, too 2007-02-24 16:20:30 +00:00
michael
723d9aa0ce this works :-) 2007-02-24 15:58:01 +00:00
michael
a70f4f388b Transferred: 180 (write)
in USB_TRANSFER unique: 110, pipe: 134, read: 1, options: 0, size: 4, timeout: bb8
setup packet: 00 00 00 00 00 00 00 00
Transferred: 4 (read)
Read: 00 00 18 37
CRC error                                         :         0
RESERVED                                          :         0
DCM locked                                        :         1
DCI Matched                                       :         1
legacy input error                                :         0
status of GTS_CFG_B                               :         1
status of GWE                                     :         1
status of GHIGH                                   :         1
value of MODE pin M0                              :         0
value of MODE pin M1                              :         0
value of MODE pin M2                              :         0
value of CFG_RDY (INIT_B)                         :         1
DONEIN input from DONE pin                        :         1
ID_ERROR                                          :         0
RESERVED                                          :         0
RESERVED                                          :         0
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 0111 0001 1000 0000 0000 0000 0000
INFO:iMPACT:579 - '3': Completed downloading bit file to device.
2007-02-24 15:16:19 +00:00
michael
411af37385 Ho Hum
Cable connection established.
in USB_TRANSFER unique: 110, pipe: 0, read: 1, options: 0, size: 2, timeout: bb8
setup packet: c0 b0 50 00 00 00 02 00
requesttype: c0, request: b0, value: 80, index: 0, size: 2
Transferred: 2 (read)
Read: 01 04
Firmware version = 1025.
in USB_TRANSFER unique: 110, pipe: 0, read: 1, options: 0, size: 2, timeout: bb8
setup packet: c0 b0 50 00 01 00 02 00
requesttype: c0, request: b0, value: 80, index: 1, size: 2
Transferred: 2 (read)
Read: 12 00
CPLD file version = 0012h.
CPLD version = 0012h.
2007-02-24 15:04:39 +00:00
michael
d067696441 Halleluja
faking USB_GET_DEVICE_DATA
unique: 110, bytes: 276, options: 0
Vendor: 3fd
Calling setinterface num=0, alternate=0.
DeviceAttach: received and accepted attach for:
  vendor id 0x3fd, product id 0x8, device handle 0x8215178
 Cable PID = 0008.
 Max current requested during enumeration is 280 mA.
in USB_TRANSFER unique: 110, pipe: 0, read: 1, options: 0, size: 1, timeout: bb8
setup packet: c0 b0 20 00 00 00 01 00
Transferred: 0 (read)
Loopback test failed. Sent character = 00, Received character = 1A.
Cable connection failed.
2007-02-24 14:28:49 +00:00
michael
ca18111bc1 hmmpf
DeviceAttach: WDU_SetInterface failed (num. 0, alternate 0) device 0x8215178: error 0xffffffff ("Invalid WinDriver handle")
2007-02-24 14:01:57 +00:00
michael
adfa522169 hint for me how to solve current problem 2007-02-22 23:17:35 +00:00
michael
94038a57ca ... 2007-02-22 23:09:38 +00:00
michael
2a7af8126d more working code 2007-02-22 23:07:34 +00:00
michael
3664a3e3ec impact loops now... 2007-02-22 22:24:15 +00:00
michael
792bf5f262 small fixes
still segfault
2007-02-22 21:34:50 +00:00
michael
f95f1d2e4e fill in struct
impact still segfaults...
2007-02-22 21:29:38 +00:00
michael
795992adaf correctly calculate device_info_size, as all struct members are known now 2007-02-22 20:43:06 +00:00
michael
3be69a94fa config descriptor 2007-02-22 18:36:36 +00:00
michael
01b99d5242 ... 2007-02-22 18:00:15 +00:00
michael
e71b6bf3f3 more 2007-02-22 17:02:14 +00:00
michael
292160ed59 impact finds the device! 2007-02-22 15:35:57 +00:00
michael
ac22d975d4 find the device! 2007-02-22 15:11:56 +00:00
michael
f10480d179 init libusb 2007-02-22 14:22:31 +00:00
michael
b1831983e1 tracefor event_pull 2007-02-22 14:12:30 +00:00