summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03Fix usb communication problemGravatar Nikias Bassen1-1/+32
To do this properly, we just have to send an additional zero length usb packet when we encounter a packet of size wMaxPacketSize or one of its multiplicants.
2009-08-03Revert "Workaround for usb communication issue aka 'N*128 problem' or 'N*512 ↵Gravatar Nikias Bassen1-59/+10
problem'" This reverts commit 3d517f6879b0c476a2e1ac9a55bb7d436977e3b6.
2009-08-03Revert "include config.h and defined ENABLE_HACKS"Gravatar Nikias Bassen1-5/+0
This reverts commit 6fbd2a72122d6bcd70edbf599baa7465e3e9acb6.
2009-08-03Revert "Added missing __func__ to printf"Gravatar Nikias Bassen1-1/+1
This reverts commit 843db538ed4b75d0d5943f0df5ba7ab1ce4e65f9.
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>