summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-26Allow passing user_data to the callback function.Gravatar Nikias Bassen2-11/+11
2009-08-25Make usbmuxd_connect work again, MESSAGE_CONNECT processing was broken.Gravatar Nikias Bassen1-3/+3
2009-08-25Renamed directory 'usbmuxd' to more suitable 'daemon'.Gravatar Nikias Bassen11-2/+2
2009-08-25libusbmuxd: build .so instead of .aGravatar Nikias Bassen1-1/+1
2009-08-25Add uninstall target.Gravatar Nikias Bassen2-0/+25
2009-08-24ZLP flag is an enum, move check into CMake.Gravatar Hector Martin4-13/+59
Now prints the big fat warning at configure time
2009-08-21Warn if libusb is missing ZLP patch and keep old workaround in that case.Gravatar Hector Martin2-0/+100
Revert this once libusb has the patch in a stable release.
2009-08-21Fix ZLP issue with latest libusb-1.0 patch and use wMaxPacketSize instead of 512Gravatar Nikias Bassen1-14/+27
2009-08-21Updated usbmuxd protocol definition and public header.Gravatar Nikias Bassen10-156/+409
[Hector] Merged by putting utils.c into a common dir, avoiding log.c dependency for libusbmuxd, adding CMake magic to tie things up.
2009-08-21sock_stuff: allow 0 timeout (i.e. block until something happens)Gravatar Nikias Bassen1-5/+11
2009-08-21Only try to set configuration if needed.Gravatar Nikias Bassen2-3/+10
2009-08-20Merge the two development historiesGravatar Hector Martin23-62/+2001
2009-08-19Changed --udev back to -u and --user to -UGravatar Hector Martin1-6/+6
2009-08-19Fix daemonization and lockfile madnessGravatar Hector Martin1-61/+140
2009-08-19Remove trailing whitespace errorsGravatar Hector Martin4-52/+52
2009-08-19Reorder stuff in main() to be sanerGravatar Hector Martin1-26/+29
2009-08-19make udev mode use SIGUSR1 for quitting, improve behaviorGravatar Hector Martin1-14/+18
2009-08-19Change privilege droppingGravatar Hector Martin1-19/+39
- make it use a specific user (for usb access) - swap around -u and -d command line flags to be more in line with other apps (-u==--user) - improve privilege dropping and make sure we get additional group access
2009-08-19Logging fixes, change default loglevel to LL_WARNINGGravatar Hector Martin3-19/+27
2009-08-16Added udev operation mode and -x/-X options to kill a running instance.Gravatar Nikias Bassen1-13/+64
2009-08-16Added lockfile mechanism to prevent multiple running instances.Gravatar Nikias Bassen1-1/+37
2009-08-16Added option to drop privileges after startup.Gravatar Nikias Bassen1-2/+30
2009-08-16Implemented option handling providing daemonization, verbosity, and logging ↵Gravatar Nikias Bassen3-3/+157
to syslog
2009-08-16Send RST when unknown packets are received to kill any stale connectionsGravatar Hector Martin1-0/+20
2009-08-16Reduce ack timeout to improve receive performanceGravatar Hector Martin1-1/+1
2009-08-16Add usb ids for iPhone 3GS and iPod Touch 2GGravatar Martin Szulecki2-1/+5
2009-08-15Port udev rules to newer kernelsGravatar Bastien Nocera1-20/+4
Remove use of usb_endpoint, it's gone in newer kernels. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-15Install udev rules in the correct locationGravatar Bastien Nocera1-1/+1
The ones in /etc are supposed to be configurable ones. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-14usbmuxd: Change socket path to /var/run/usbmuxdGravatar Hector Martin1-1/+4
2009-08-14python stuff: default to /var/run/usbmuxd on linux and make it configurableGravatar Hector Martin2-2/+3
2009-08-13Remove obsolete patches, update code and comments for libusb git.Gravatar Hector Martin5-177/+16
Please use libusb git as of the time of this writing, or 1.0.3 whenever it comes out.
2009-08-10Bump version to 0.1.5Gravatar Nikias Bassen1-1/+1
2009-08-10Added missing LGPL license file.Gravatar Nikias Bassen1-0/+502
2009-08-09Reduce buffer size to prevent connection to freak out.Gravatar Nikias Bassen1-1/+1
There's a problem with packets larger than 65535 bytes, I suppose this has something to do with the length16 field in the usbmux_tcp_header.
2009-08-09Added mutex to prevent garbled debugging output (esp. packet data)Gravatar Nikias Bassen1-1/+11
2009-08-05Updated AUTHORS.Gravatar Nikias Bassen1-0/+2
2009-08-04Use udev -x/-u in udev rulesGravatar Bastien Nocera1-2/+2
This will make them work on non-Debian distributions. Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-04Fix compile-time warningsGravatar Bastien Nocera1-9/+9
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-08-04udev operation mode; -x and -X options to exit a running instanceGravatar Nikias Bassen1-6/+55
In udev mode (-u|--udev) the return value is 0 if another instance is already running -x|--exit tells a running instance to exit by sending signal 3 (SIGQUIT) -X|--force-exit tells a running instance to exit even if devices are still connected by sending signal 15 (SIGTERM)
2009-08-04Bump version to 0.1.4Gravatar Nikias Bassen1-1/+1
2009-08-04Revert "Use udev mode in the udev rules"v0.1.3Gravatar Nikias Bassen1-2/+2
This reverts commit 91fc30c3247dbc41ce2dfcedfd6086c513ffa80a. Not working as expected.
2009-08-04Revert "Add udev mode of operation"Gravatar Nikias Bassen1-21/+4
This reverts commit b7d4f48d7e85c43f0dd1111619acf79aba535371. Not working as expected.
2009-08-03Removed unused commented out code.Gravatar Nikias Bassen1-44/+0
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.