Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-04 | udev operation mode; -x and -X options to exit a running instance | Nikias Bassen | 1 | -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-04 | Revert "Add udev mode of operation" | Nikias Bassen | 1 | -21/+4 | |
This reverts commit b7d4f48d7e85c43f0dd1111619acf79aba535371. Not working as expected. | |||||
2009-08-03 | Removed unused commented out code. | Nikias Bassen | 1 | -44/+0 | |
2009-08-03 | Add udev mode of operation | Bastien Nocera | 1 | -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-03 | Fix build warnings | Bastien Nocera | 2 | -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-03 | Fix usb communication problem | Nikias Bassen | 1 | -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-03 | Revert "Workaround for usb communication issue aka 'N*128 problem' or 'N*512 ↵ | Nikias Bassen | 1 | -59/+10 | |
problem'" This reverts commit 3d517f6879b0c476a2e1ac9a55bb7d436977e3b6. | |||||
2009-08-03 | Revert "include config.h and defined ENABLE_HACKS" | Nikias Bassen | 1 | -5/+0 | |
This reverts commit 6fbd2a72122d6bcd70edbf599baa7465e3e9acb6. | |||||
2009-08-03 | Revert "Added missing __func__ to printf" | Nikias Bassen | 1 | -1/+1 | |
This reverts commit 843db538ed4b75d0d5943f0df5ba7ab1ce4e65f9. | |||||
2009-08-02 | Added missing __func__ to printfv0.1.1 | Nikias Bassen | 1 | -1/+1 | |
2009-08-02 | include config.h and defined ENABLE_HACKS | Nikias Bassen | 1 | -0/+5 | |
Use --disable-hacks to NOT enable hacks like the N*128/N*512 hack when running configure. Hacks are enabled by default. | |||||
2009-08-02 | Workaround for usb communication issue aka 'N*128 problem' or 'N*512 problem' | Nikias Bassen | 1 | -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-02 | Replaced HEADERLEN with sizeof(usbmux_tcp_header) | Nikias Bassen | 1 | -7/+6 | |
2009-06-29 | use TCP_RST instead of TCP_FIN when closing the connection so the device ↵ | Nikias Bassen | 1 | -1/+1 | |
does not complain with messages like handleMuxTCPInput th.th_flags = 0x1, not TH_ACK(0x10) | |||||
2009-06-20 | Do not wait for connection request after scan request | Nikias Bassen | 1 | -2/+4 | |
2009-06-20 | removed debugging output | Nikias Bassen | 1 | -4/+1 | |
2009-06-20 | hopefully fixed race condition on connection setup | Nikias Bassen | 3 | -0/+37 | |
2009-06-19 | Add product ids to support iPhone 3GS | Martin Szulecki | 1 | -2/+2 | |
Signed-off-by: Nikias Bassen <nikias@gmx.li> | |||||
2009-06-15 | removed some #ifdefs to make debugging output more verbose | Nikias Bassen | 1 | -10/+3 | |
2009-06-15 | Additional mutex when writing to device. | Nikias Bassen | 1 | -2/+4 | |
2009-05-24 | Removed parameter -p and added parameter -d to allow to drop privileges. | Nikias Bassen | 1 | -7/+7 | |
Default is to NOT drop the privileges as is causes permission problems on some systems. | |||||
2009-05-23 | Make usb enumeration work properly. | Nikias Bassen | 2 | -43/+36 | |
2009-05-23 | Enable libusb debugging when verbose is >= 2 | Nikias Bassen | 1 | -0/+3 | |
2009-05-23 | Some debugging output for usb_open(). | Nikias Bassen | 2 | -6/+8 | |
2009-05-23 | Debugging: print correct usb bus location and dev filename. | Nikias Bassen | 1 | -3/+3 | |
2009-05-21 | Added parameter -p to prevent usbmuxd from dropping privileges | Nikias Bassen | 1 | -5/+12 | |
(see this as a workaround for systems where the usb device access is restricted) | |||||
2009-05-19 | Let the daemon terminate only when no more device is attached | Nikias Bassen | 1 | -15/+30 | |
2009-05-18 | Added usbmuxd_recv, usbmuxd_recv_timeout, usbmuxd_send, and usbmuxd_disconnect | Nikias Bassen | 2 | -0/+92 | |
2009-05-18 | mall change to recv_buf_timeout for easier debugging. | Nikias Bassen | 1 | -1/+4 | |
2009-05-04 | null children[i] pointers after freeing them and check for errors when | Nikias Bassen | 1 | -3/+10 | |
calling freopen (prevents compiler warnings). | |||||
2009-05-04 | Use autotools build system and add license | Martin Szulecki | 9 | -0/+3317 | |
Signed-off-by: Nikias Bassen <nikias@gmx.li> |