summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2009-04-17redirected some debugging output through log_debug_msg instead of printfGravatar Nikias Bassen1-13/+11
2009-04-17damn typoGravatar Nikias Bassen1-1/+1
2009-04-17fix: don't free the connection in iphone_mux_free_clientGravatar Nikias Bassen1-20/+33
let it happen inside iphone_mux_pullbulk after append_receive_buffer
2009-04-17fix: don't init or destroy static mutexGravatar Nikias Bassen1-38/+14
plus: some indentation, error message, and used code cleanup
2009-04-17Fixed datatypes and added a comment for 'recv_from_phone_timeout'Gravatar Nikias Bassen1-30/+34
2009-04-14Logging and debugging refined.Gravatar Nikias Bassen2-93/+107
2009-04-13This _should_ fix a race condition that happens when a client is aboutGravatar Nikias Bassen3-9/+8
to cleanup the stuff that is used by another client that is about to set up a new connection. Increased timeout in sock_stuff from 10 to 20 seconds and decreased the pullbulk recv timeout from 5 to 3 seconds.
2009-04-13[URGENT][BUGFIX] use device_count++ instead of device++. No further comment.Gravatar Nikias Bassen1-1/+1
2009-04-13Check for set usb_device in iphone_free_device to avoid libusb segfaultGravatar Martin Szulecki1-3/+5
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-04-12better error handling, some cleanup, and changed confusingGravatar Nikias Bassen3-94/+86
struct/variable naming.
2009-04-12silence debugging output (error messages remain)Gravatar Nikias Bassen1-4/+4
2009-04-10suppressed warning about wrong configuration value.Gravatar Nikias Bassen1-1/+1
libusb does not seem to know about the change that was made via the udev rule/sysfs change
2009-04-09better(?) error handlingGravatar Nikias Bassen1-6/+16
2009-04-08Start bulk reader thread _after_ successfully creating a connection toGravatar Nikias Bassen1-2/+9
to prevent pthread locking with uninitialized locking variable. Still only started once per device.
2009-04-08increased read timeout for the device record reading procedure, asGravatar Nikias Bassen1-1/+1
the short wait sometimes results in "no devices found"