summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-02Added missing __func__ to printfv0.1.1Gravatar Nikias Bassen1-1/+1
2009-08-02include config.h and defined ENABLE_HACKSGravatar Nikias Bassen1-0/+5
Use --disable-hacks to NOT enable hacks like the N*128/N*512 hack when running configure. Hacks are enabled by default.
2009-08-02Workaround for usb communication issue aka 'N*128 problem' or 'N*512 problem'Gravatar Nikias Bassen1-10/+59
For some strange reason packets that are N*128 bytes long via USB 1.1, or N*512 bytes long via USB 2.0, the device will not send an answer and any following packet will cause a connection reset. See this as a workaround until the usb issue has been resolved.
2009-08-02Replaced HEADERLEN with sizeof(usbmux_tcp_header)Gravatar Nikias Bassen1-7/+6
2009-06-29use TCP_RST instead of TCP_FIN when closing the connection so the device ↵Gravatar Nikias Bassen1-1/+1
does not complain with messages like handleMuxTCPInput th.th_flags = 0x1, not TH_ACK(0x10)
2009-06-20hopefully fixed race condition on connection setupGravatar Nikias Bassen1-0/+13
2009-06-15removed some #ifdefs to make debugging output more verboseGravatar Nikias Bassen1-10/+3
2009-05-23Make usb enumeration work properly.Gravatar Nikias Bassen1-11/+11
2009-05-23Some debugging output for usb_open().Gravatar Nikias Bassen1-0/+3
2009-05-04Use autotools build system and add licenseGravatar Martin Szulecki1-0/+1259
Signed-off-by: Nikias Bassen <nikias@gmx.li>