summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03Bump version to 0.1.3Gravatar Nikias Bassen1-1/+1
2009-08-03Use udev mode in the udev rulesv0.1.2Gravatar Bastien Nocera1-2/+2
Otherwise this only works on Debian-based systems. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-03Add udev mode of operationGravatar Bastien Nocera1-4/+21
When starting up, force background operation when in udev mode and don't error out when already running. When disconnecting, check if there are any devices left-over, and exit if not. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-03Bump version to 0.1.2Gravatar Nikias Bassen1-1/+1
2009-08-03Fix build warningsGravatar Bastien Nocera2-3/+3
usbmux.c: In function ‘usbmux_free_device’: usbmux.c:412: warning: ‘bytes’ may be used uninitialized in this function main.c: In function ‘usbmuxd_client_init_thread’: main.c:197: warning: dereferencing pointer ‘s_req.55’ does break strict-aliasing rules main.c:613: note: initialized from here main.c:944: warning: ‘j’ may be used uninitialized in this function Signed-off-by: Nikias Bassen <nikias@gmx.li>
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 Bassen2-19/+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-02Bump version to 0.1.1Gravatar Nikias Bassen1-1/+1
2009-08-02include config.h and defined ENABLE_HACKSGravatar Nikias Bassen2-0/+19
Use --disable-hacks to NOT enable hacks like the N*128/N*512 hack when running configure. Hacks are enabled by default.
2009-08-02Automatically execute configure from inside autogen.shGravatar Nikias Bassen1-0/+4
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-07-13Added support for PTP + Apple Mobile Device + Apple USB Ethernet interfacesv0.1.0Gravatar Nikias Bassen1-1/+1
by setting to the highest configuration value available(thanks Martin).
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-20Do not wait for connection request after scan requestGravatar Nikias Bassen1-2/+4
2009-06-20removed debugging outputGravatar Nikias Bassen1-4/+1
2009-06-20hopefully fixed race condition on connection setupGravatar Nikias Bassen3-0/+37
2009-06-19Add product ids to support iPhone 3GSGravatar Martin Szulecki2-4/+4
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-06-15removed some #ifdefs to make debugging output more verboseGravatar Nikias Bassen1-10/+3
2009-06-15Additional mutex when writing to device.Gravatar Nikias Bassen1-2/+4
2009-05-24Make udev symlink rules work with recent udev by using usb_idGravatar Nikias Bassen1-2/+2
2009-05-24Removed parameter -p and added parameter -d to allow to drop privileges.Gravatar Nikias Bassen1-7/+7
Default is to NOT drop the privileges as is causes permission problems on some systems.
2009-05-24Make udev rules set the right usb config and create pretty usbmux symlinksGravatar Martin Szulecki1-24/+10
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-05-23Make usb enumeration work properly.Gravatar Nikias Bassen2-43/+36
2009-05-23Enable libusb debugging when verbose is >= 2Gravatar Nikias Bassen1-0/+3
2009-05-23Some debugging output for usb_open().Gravatar Nikias Bassen2-6/+8
2009-05-23Debugging: print correct usb bus location and dev filename.Gravatar Nikias Bassen1-3/+3
2009-05-21Added parameter -p to prevent usbmuxd from dropping privilegesGravatar Nikias Bassen1-5/+12
(see this as a workaround for systems where the usb device access is restricted)
2009-05-19Let the daemon terminate only when no more device is attachedGravatar Nikias Bassen2-16/+31
2009-05-19modified udev rules file to reflect autoconf prefix specificationGravatar Nikias Bassen2-2/+3
2009-05-19WTF?! echo mkdir m4 --> mkdir m4. Now it's correct.Gravatar Nikias Bassen1-1/+1
2009-05-19Create m4 directory if not present.Gravatar Nikias Bassen1-0/+1
2009-05-18renamed libusbmuxd-1.0.pc.in to libusbmuxd.pc.inGravatar Nikias Bassen3-2/+2
2009-05-18Added pkgconfig file for usbmuxd.Gravatar Nikias Bassen3-0/+16
2009-05-18Added usbmuxd_recv, usbmuxd_recv_timeout, usbmuxd_send, and usbmuxd_disconnectGravatar Nikias Bassen2-0/+92
2009-05-18mall change to recv_buf_timeout for easier debugging.Gravatar Nikias Bassen1-1/+4
2009-05-05Makefile removed.Gravatar Nikias Bassen1-641/+0
2009-05-05README updatedGravatar Nikias Bassen1-0/+2
2009-05-04null children[i] pointers after freeing them and check for errors whenGravatar Nikias Bassen1-3/+10
calling freopen (prevents compiler warnings).
2009-05-04Use autotools build system and add licenseGravatar Martin Szulecki18-55/+1061
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-04-25removed unused buffer variable from usbmux_device_tGravatar Nikias Bassen1-7/+6
2009-04-25indent -kr -utGravatar Nikias Bassen5-1264/+1559
2009-04-241. renamed iphone.c to usbmux.c and iphone.h to usbmux.hGravatar Nikias Bassen6-1294/+1255
2. renamed iphone* function to usbmux* 3. got rid of iphone_error_t type and constants 4. indentation adjustments
2009-04-17removed unused functionGravatar Nikias Bassen2-11/+3
2009-04-17removed some compiler warningsGravatar Nikias Bassen4-46/+13
2009-04-17more warning optionsGravatar Nikias Bassen1-1/+1
2009-04-17Drop privileges after startupGravatar Nikias Bassen1-2/+23