summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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)
2009-03-28Readme.txt renamed to READMEGravatar Nikias Bassen1-0/+0
2009-03-27renamed struct usbmuxd_device_info_request to usbmuxd_device_info_recordGravatar Nikias Bassen2-10/+10
as it is infact an informational record for the client program and not a request.
2009-03-27Make all fprintf(stderr) be >= verbose levelGravatar Paul Sladen3-91/+109
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-03-27Makefile: install target addedGravatar Nikias Bassen1-0/+5
2009-03-26adopted for "hello" -> "scan" renameGravatar Nikias Bassen1-2/+2
2009-03-26adopted for "hello" -> "scan" renameGravatar Nikias Bassen2-127/+32
2009-03-23changed timeout in handleConnectRequestGravatar Nikias Bassen2-14/+14
renamed hello request to scan request
2009-03-19forgot setting device_use_count variable in cleanup codeGravatar Nikias Bassen1-0/+2
2009-03-15increased buffer size in client handler and added missing variableGravatar Nikias Bassen1-2/+2
initialization.
2009-03-12initialization was missing and causing strange segmentation faults.Gravatar Nikias Bassen1-0/+5
2009-03-12changed the usbReceive buffer to a per-device buffer insteadGravatar Nikias Bassen2-31/+44
of one global buffer for all devices (untested but should work).
2009-03-11debug message refinedGravatar Nikias Bassen1-1/+1
2009-03-11bug fix for connect_socket functionGravatar Nikias Bassen1-1/+1
2009-03-08Some more debugging output and more mutexes to help resolve theGravatar Nikias Bassen3-5/+33
f***ing SIGSEVs.
2009-03-04Modified handshake sequence so that connect request can be made withoutGravatar Nikias Bassen1-45/+69
prior hello, just as the usbmux-proxy utitliy does and most likely the original usbmuxd works too: - client opens a first connection to usbmuxd, sends hello, and receives the device list in return - client opens a second connection, sends a connect request and after successful connect the data packets are transferred via this connection. So the second connection does not begin with a hello but with a connection request directly -- currently the first connection still waits for a connect request but closes down if nothing is received. Changed all stdout to stderr in main.c
2009-02-27Removed the (already commented out) reader_mutex, as it is not needed, and ↵Gravatar Nikias Bassen1-12/+0
iphone_mux_pullbulk is only running once per device and the iphone_mux_recv_timeout function does it's own locking.
2009-02-271) Now, every device is only handled by one thread for bulk usb readingGravatar Nikias Bassen1-73/+110
instead of one thread for each connection to the same device. 2) Removed usbmuxd_accept_thread and moved code into main() directly.
2009-02-26proper multi-device support (untested)Gravatar Nikias Bassen1-18/+23
2009-02-25Authors file added.Gravatar Nikias Bassen1-0/+2
2009-02-25Removed the restart iproxy part, as it is history now.Gravatar Nikias Bassen1-2/+1
2009-02-25A Readme, Makefile updates and cosmetic changes.Gravatar Paul Sladen9-112/+157
2009-02-25big endian fix and some improvements, now multi-client capableGravatar Nikias Bassen2-48/+175
2009-02-25fix: close socket properlyGravatar Nikias Bassen1-0/+1
2009-02-23Small update. Now usbmuxd is only contacted when a client connects toGravatar Nikias Bassen1-36/+150
the local listen port. This allows re-connects afterwards.
2009-02-20Added comments and did some small code cleanup.Gravatar Nikias Bassen1-17/+54