summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-30too much stuff and it WORKSGravatar Hector Martin11-130/+1301
2009-04-28USB TX/RX, device framework, version packetsGravatar Hector Martin8-29/+384
2009-04-28poll on listenfdGravatar Hector Martin1-1/+4
2009-04-28rename mux -> clientGravatar Hector Martin3-1/+1
2009-04-28USB mostly complete, main loop added, polls for devicesGravatar Hector Martin10-36/+440
2009-04-27general framework, unix socket listen, utilsGravatar Hector Martin10-9/+344
2009-04-26Hello, world!Gravatar Hector Martin8-0/+954
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"
2009-04-08added --exit-on-no-devices option.Gravatar Nikias Bassen1-1/+42
2009-04-08Implemented lockfile stuff to prevent multiple running instances.Gravatar Nikias Bassen2-27/+190
Implemented daemonizing, use -f to run in foreground. Implemented logging to syslog (or to std{out,err} when running in foreground). Modified the udev rules file (removed --pidfile etc.).
2009-04-06silence some debugging outputGravatar Nikias Bassen1-2/+2
2009-03-29ifdefs updatedGravatar Nikias Bassen2-5/+5
2009-03-29[PATCH] build libusbmuxd.so before iproxyGravatar Nikias Bassen1-1/+1
2009-03-29Added file 85-usbmuxd.rulesGravatar Paul Sladen1-0/+37
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29Added missing usbmuxd-proto.h fileGravatar Paul Sladen1-0/+52
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] Add a "README.devel"Gravatar Paul Sladen1-0/+50
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] Expand READMEGravatar Paul Sladen1-12/+51
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] install udev rules into /etc/udev/rules.d/ install to make them workGravatar Paul Sladen1-2/+4
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] Makefile: fix libusbmux_d_.so for uninstall tooGravatar Paul Sladen1-1/+1
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] use install -D for unusual udev/rules.dGravatar Paul Sladen1-2/+2
fix Makefile to be libusbmux_d_.so in one place Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] install in /usr/localGravatar Paul Sladen1-1/+11
add uninstall target add 85-usbmuxd.rules + install in /usr/local/lib/udev/rules.d (if that directory even gets scanned) Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] update .gitignore (really)Gravatar Paul Sladen1-1/+1
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] renamed: usbmuxd.h -> usbmuxd-proto.hGravatar Paul Sladen5-15/+23
renamed: libusbmuxd.h -> usbmuxd.h Use 'install' in Makefile build libusbmuxd.so (use with '#include <usbmux.h>' and -lusbmuxd add *.so to .gitignore Really this time. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] renamed: usbmuxd.h -> usbmuxd-proto.hGravatar Paul Sladen2-97/+45
renamed: libusbmuxd.h -> usbmuxd.h Use 'install' in Makefile build libusbmuxd.so (use with '#include <usbmux.h>' and -lusbmuxd Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] iproxy: print count and serial_number of device(s)Gravatar Paul Sladen1-2/+5
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-29[PATCH] usbmuxd/libusbmuxd.h: separate logic from implementationGravatar Paul Sladen4-33/+59
tweak public parameter and struct names for clarity fix usbmuxd_scan() to return number of devices per documentation expand public documentation in libusbmux.h Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-28debugging output fixedGravatar Nikias Bassen8-303/+253
'libusbmuxd' added to simplify use of usbmuxd in external tools testclient removed setting of configuration 3 disabled (to be handled by udev)