commit f0d230cf84efc60101c98cfc1b69d79215aed7ad Author: PeteAU Date: Thu Nov 2 18:35:16 2017 +1100 New key for 'c' = context menu. E39/E46: Long 1 = 'c' Z4/X3: Long 3 = 'c' Signed-off-by: PeteAU commit 935b8ecc6d8f271d1e19e9ce8b3288d3b11ca304 Author: PeteAU Date: Thu Nov 2 18:33:38 2017 +1100 Never send back-to-back, leave a gap. Signed-off-by: PeteAU commit 93e3c655660f4c9459a98d3a2cf127309e000364 Author: PeteAU Date: Fri Oct 6 21:59:07 2017 +1100 Added -a9 parameter to run in no-input mode -a9 runs with no input and stops controlling CDC, AUX, video etc. This is intended for use by IBusCommunicator. Signed-off-by: PeteAU commit 026e3d804655878b917def86fdb8dffb7c70beba Author: PeteAU Date: Sun Apr 16 12:27:26 2017 +1000 Add TAPE message seen on BM24 Signed-off-by: PeteAU commit 94f2b00ab8a2b2e99e153cc62928965832e45ed7 Author: PeteAU Date: Fri Mar 10 12:30:11 2017 +1100 Add another counter for date requests Signed-off-by: PeteAU commit 7d72a6cfb3be0692ff33baaa4d299aa8baf50809 Author: PeteAU Date: Sun Dec 4 22:24:32 2016 +1100 Modify -a option to add TAPE -a Input select (0=CDC 1=AUX 2=TAPE) Signed-off-by: PeteAU commit d203bc346628fcfb4c59e23890ef7003fdf06609 Author: PeteAU Date: Sun Dec 4 22:02:48 2016 +1100 Minor fix for AUX Signed-off-by: PeteAU commit 713671ce0373b5c2d37a64f0ed602a96a967f834 Author: PeteAU Date: Fri Nov 4 21:07:42 2016 +1100 Add more IBUS message annotations Signed-off-by: PeteAU commit fce229b1cd42ff1dd9e65adb15638e245e344257 Author: PeteAU Date: Fri Nov 4 21:03:52 2016 +1100 Solve two CDC emulation issues 1) Cars with a single slot CD player would conflict with the pibus CDC emulation. After playing a CD for a few seconds the sound would stop. 2) Sometimes, when entering the pibus/Kodi screen, it would take a few seconds (up to 20) for the sound to begin. Signed-off-by: PeteAU commit d593ab75e71f523028be2dac4e08c231445bf78e Author: PeteAU Date: Mon Oct 31 20:20:06 2016 +1100 Add more IBUS message annotations Signed-off-by: PeteAU commit 22e52b43c555b12a4b23b6c35fdc7d58d7aeeaf2 Author: PeteAU Date: Sun Oct 30 14:14:32 2016 +1100 Logging refactor. Enhanced IBUS message annotations Signed-off-by: PeteAU commit 6ba2e476fc702e3e2f6ae40012c542cd4d08d59e Author: PeteAU Date: Mon Oct 17 23:37:17 2016 +1100 Add size 0x0C IKE sensor message Signed-off-by: PeteAU commit 45c9408c99e1a7b93d01e2c52dbedb3f432c645b Author: PeteAU Date: Tue Oct 11 19:10:05 2016 +1100 If >= 5 CDC interval timeouts occur, stop sending This was observed on one car, which did not issue an immobilized event and then stopped sending cd-info. The CDC interval timeout caused the Pi to stay awake forever. Signed-off-by: PeteAU commit a76769953065442c22508ae53fe5f627d606d537 Author: PeteAU Date: Thu Oct 6 20:00:38 2016 +1100 Changes to CDC reset announcement and -m flag - Change help text of -m flag to be more accurate. - Always send 1804FF0201E0 when running without -m, even if we receive a cd-poll early on. This is required by at least one German X3. - Send the 1804FF0201E0 when the first radio (0x68) message is seen. Signed-off-by: PeteAU commit 39e1f74d0f1e5644d47581393c1c2351d91d2c99 Author: PeteAU Date: Thu Oct 6 19:56:50 2016 +1100 Added CDC message for German X3 (Tom Z.) Signed-off-by: PeteAU commit 1a81bd0321980c44526aad3389ed1ba6144a45d9 Author: PeteAU Date: Sun Sep 25 23:16:03 2016 +1000 Add IBUS server socket on port 55537 This allows external programs or scripts to share the IBUS Signed-off-by: PeteAU commit 0636a0ebbc364449f751485985164f867bc16eba Author: PeteAU Date: Wed May 4 19:59:07 2016 +1000 Added CDC message for Spain E39 MK2 530d (phantrax) Signed-off-by: PeteAU commit 8b5f18606ab7d89b2c1aafea53719d494629c75f Author: PeteAU Date: Thu Apr 21 00:40:13 2016 +1000 Tweak behaviour when IBUS is dead - Double blink LED when there's no IBUS messages. - Don't request time and date if there's no IBUS messages. - Remove time & date requests from send-queue before sending more. Signed-off-by: PeteAU commit c6ffec2b57e14e999f73db95496c2da904e860e9 Author: PeteAU Date: Thu Apr 21 00:38:35 2016 +1000 Add CDC message for Norway E83 MK4 (WazKid) Signed-off-by: PeteAU commit 3cbe1fbbbe3ed4b9625953ca2e798a382c2cc1ca Author: PeteAU Date: Tue Mar 15 18:23:13 2016 +1100 Show version information when passed -V flag Signed-off-by: PeteAU commit b83a20d913245aff56272d35a307fa3a2180ed6b Author: PeteAU Date: Tue Mar 15 17:52:08 2016 +1100 Recognize ARMv8 as Pi2/3 (0x3F000000 base). Signed-off-by: PeteAU commit 4cd116f85855f27a9a92465aeb625d12c3633583 Author: PeteAU Date: Sat Feb 6 11:14:36 2016 +1100 Added CDC message seen on a Finnish MK2 system Signed-off-by: PeteAU commit abc3752b2e3691c1de4f0bbcf8cfe5fd73aeb792 Author: PeteAU Date: Thu Dec 31 09:17:45 2015 +1100 Allow pibus-event.sh execution even with -r flag Signed-off-by: PeteAU commit fc6b72765a45ed596428e86edb0b7631ae89b90d Author: PeteAU Date: Sat Oct 31 18:41:09 2015 +1100 Execute pibus-event.sh on gear change $HOME/pibus-event.sh is now execeuted when gear is changed to and from reverse. Parameter of "gear_reverse" and "gear_other" is passed. Signed-off-by: PeteAU commit b89b432bbb1d28bb0d3b192395faf456960530b6 Author: PeteAU Date: Fri Oct 30 20:51:12 2015 +1100 Add new keys: Long2=TAB and Long4=ESC Signed-off-by: PeteAU commit e143673f084b85d6efea47dfa3dead56080aede3 Author: PeteAU Date: Mon Oct 26 20:50:26 2015 +1100 New Z4/X3 keymap Signed-off-by: PeteAU commit 3ab82e95ff1057c77d922b75b249b9a657b4bdc4 Author: PeteAU Date: Sun Oct 18 20:14:43 2015 +1100 Add shorter AUX message for E83 Signed-off-by: PeteAU commit 361364761fc2578e2e502d6bab98fe36e091a5ba Author: PeteAU Date: Tue Sep 29 15:00:33 2015 +1000 Added option: -z4 Use alternative Z4 keymap Signed-off-by: PeteAU commit 6bc8ee1c70f1095d3c91b0602818d8f578439f39 Author: PeteAU Date: Sat Sep 12 16:17:56 2015 +1000 Read /storage/pibus-cdc.bin for custom CDC message Signed-off-by: PeteAU commit a803fa4c210324379c60493d50deab26271353e0 Author: PeteAU Date: Thu Jun 18 19:48:03 2015 +1000 Poweroff tweaks - Reduce gpio_set_pull sleep times. - Set up all GPIO pull-downs at startup. - Execute /storage/pibus-poweroff.sh if it exists. Signed-off-by: PeteAU commit 4f29ba589cf16dbcf913dba2a840f748f1995d53 Author: PeteAU Date: Wed May 27 19:50:52 2015 +1000 Add -o flag for opposite rotary direction Signed-off-by: PeteAU commit 8e3b81b709ed3a57f87523def1f92ea045a28697 Author: PeteAU Date: Wed May 27 19:41:37 2015 +1000 Add -n flag to enable Next/Prev for older radios Signed-off-by: PeteAU commit 9db513d1698aed42a52614dcf70e6b3ab17facd4 Author: PeteAU Date: Fri May 22 19:24:41 2015 +1000 Change KEY_ESC with KEY_BACKSPACE Signed-off-by: PeteAU commit 9d5454f1621f6562749d7e18d098492c313664fe Author: PeteAU Date: Tue May 5 22:42:04 2015 +1000 Add CDC message for 1998 750iL Signed-off-by: PeteAU commit a101b50665a5f8271bb415dd1d9b80030e26c0ef Author: PeteAU Date: Tue Mar 17 10:03:53 2015 +1100 limit time/date requests to 3 tries Signed-off-by: PeteAU commit d787222b6a9e4518213a76126eab320c18eb2827 Author: PeteAU Date: Tue Mar 17 09:52:20 2015 +1100 remove useless any_msgs field Signed-off-by: PeteAU commit 5a87f9a0bdce663e4d8efd4dc309b1f8aca649a0 Author: PeteAU Date: Sat Mar 14 19:19:51 2015 +1100 Add MG rover time/date messages Signed-off-by: PeteAU commit 58864dd7001bfea646ffb863aa2353eee7315d50 Author: PeteAU Date: Tue Mar 3 18:28:28 2015 +1100 fix parsing of -t and -a parameters Signed-off-by: PeteAU commit 12d9d82bfdeb8b584face06eae85d8e11bce7376 Author: PeteAU Date: Thu Feb 19 20:23:15 2015 +1100 add -a parameter to use AUX input Signed-off-by: PeteAU commit feecce1cb4068b8016ddc2a28ef2c9f7cf9aa1b2 Author: PeteAU Date: Sat Feb 14 21:11:09 2015 +1100 remove preset & radio-start messages Signed-off-by: PeteAU commit 719b2b9fe51ddefc2e946e25a07e2aa7ba2e3a11 Author: PeteAU Date: Sat Feb 14 21:06:36 2015 +1100 Add support for CTS needed by TH3122 Signed-off-by: PeteAU commit 3a69b1a37232924730c1e011d9fc10695beb7c08 Author: PeteAU Date: Thu Feb 12 22:20:39 2015 +1100 Work-around Pi2 UART quirk, don't use /storage Signed-off-by: PeteAU commit ae6e8a6b13d1549b77e1ea3ef145d08983f7bf20 Author: PeteAU Date: Fri Feb 6 21:19:13 2015 +1100 Add Pi2 support Signed-off-by: PeteAU commit 7fcf622939d2a595b3652522899e2b2381ca6449 Author: PeteAU Date: Sun Dec 21 19:49:29 2014 +1100 Add -t idle timeout parameter Signed-off-by: PeteAU commit 39ca4cf9bbdf9c90eb90bceca600abe15c950bdd Author: PeteAU Date: Tue Dec 16 14:58:44 2014 +1100 Remove interleaved send logic, it never happens Signed-off-by: PeteAU commit 18df5de8db8786d1b0149c3ba36789cc330e6f64 Author: PeteAU Date: Tue Dec 16 14:57:10 2014 +1100 Don't consider recovered messages as a good send Signed-off-by: PeteAU commit c85cbbcc8a7189fd1afeb90548d063a1b1fad81f Author: PeteAU Date: Tue Dec 16 14:52:48 2014 +1100 Merge fifo-check branch Signed-off-by: PeteAU commit 0a43cd44e8358a9eece005057ccc0ae9aaedbca8 Author: PeteAU Date: Thu Dec 4 17:52:14 2014 +1100 Add nfds count for select() Signed-off-by: PeteAU commit 7ba29588710f8495cd7dde7c486601b79c8976db Author: PeteAU Date: Wed Dec 3 20:21:40 2014 +1100 Add tone/select as outside keys. Add short IKE msg Signed-off-by: PeteAU commit 1f8931f5ea7ab4e7b21991af33517048db6c3945 Author: PeteAU Date: Sun Oct 12 12:51:15 2014 +1100 Allow tone key to work on V4 boards Signed-off-by: PeteAU commit 48ab2097cfacd775eace058d5a9e388aa815fe32 Author: PeteAU Date: Tue Sep 30 17:12:34 2014 +1000 For V4 boards, enable gpio pull-up resistor. Signed-off-by: PeteAU commit a4157689ac770e7cbd5ceee33ccd7e3d180953f9 Author: PeteAU Date: Sun Sep 21 22:09:14 2014 +1000 Add support for V4 boards without ATtiny Signed-off-by: PeteAU commit 2163af4635e082b6e348f111b9979b3036a150d4 Author: PeteAU Date: Wed Sep 10 12:33:19 2014 +1000 Add -v argument to set hw version Signed-off-by: PeteAU commit ca715f6ed4a4f04c6cf83fd9178599c471709f3e Author: PeteAU Date: Tue Aug 26 21:38:38 2014 +1000 -g0 and transmit logic improvements * -g0 can now be used to disable re-transmit and GPIO logic (e.g. for using Resler style interface). * Improved transmit logic in an attempt to avoid drop-outs back to AM/FM. Signed-off-by: PeteAU commit 96bbe9aa60f9d9b7efe7a67c978e40c642d978ee Author: PeteAU Date: Tue Aug 12 19:58:55 2014 +1000 Reduce timestamp digits Signed-off-by: PeteAU commit 7419c99b5df46ea0abf2f36c34285f2c5abe9379 Author: PeteAU Date: Tue Aug 12 19:55:32 2014 +1000 Add -g to select IBUS GPIO number Signed-off-by: PeteAU commit 3b9b00860d9ae44c29c99d78fc097d45c5da0ae3 Author: PeteAU Date: Tue Aug 12 17:48:01 2014 +1000 logging improvements * Improve logging format with timestamp. * Add -c parameter to force CDC cd-info replies every xx seconds. * Make CDC screen identification code identical to attiny code. * Fix path to /usr/sbin/poweroff. Signed-off-by: PeteAU commit dd125f5bf2d73ea70a6c1af2a2be8e68177d41a0 Author: PeteAU Date: Tue May 6 13:34:20 2014 +1000 Remove dead code Signed-off-by: PeteAU commit 60946a575ae08f79b9cdb7a60b6dcdcbe6a83fc3 Author: PeteAU Date: Tue May 6 13:18:58 2014 +1000 Lots of development * Add ability to send the ATtiny a different CDC text string * ATtiny startup now does a few 50% duty cycle blinks. * Add -s parameter to pibus: -s Send extra string to IBUS at startup * Add long-press Prev/Next to do CTRL Left/Right keys * Request Time & Date if they aren't seen for 15 seconds Signed-off-by: PeteAU commit 731e0b6a90307dfd9e102e22cac47c5c5673df80 Author: PeteAU Date: Tue Feb 25 20:37:25 2014 +1100 Add CDC messages for different model radios Signed-off-by: PeteAU commit 8b883ac65b6506371fc88232a3dd472d90447705 Author: PeteAU Date: Tue Feb 25 10:01:00 2014 +1100 Add command line parameters Add new command line parameters -b -m and -r. Signed-off-by: PeteAU commit 3c90590c737a2d5b96e410260fb5455ff6a5bc39 Author: PeteAU Date: Sat Jan 18 22:07:27 2014 +1100 Add double blink when no IBUS detected Signed-off-by: PeteAU commit 1bd79389791ab283847417a05cc31903bf68bef7 Author: PeteAU Date: Sat Jan 18 21:28:34 2014 +1100 Add config message & video switch from ibus Signed-off-by: PeteAU commit b176c8aabaecf4a707c6745168cc136203eecdcb Author: vtk Date: Sat Aug 10 09:42:09 2013 +0300 ... commit ac67cbc73619653d3be5d8cc65235419853e349a Author: vtk Date: Sat Aug 10 02:15:46 2013 +0300 TR 04 CDC message handling added commit 9a735b61bab88f10d297471107664f54a739d347 Author: vtk Date: Fri Aug 9 20:48:16 2013 +0300 CDC polling fixed commit a26dc21a93e32d040aca7e2bcdc689992bcc0668 Author: PeteAU Date: Tue Jul 30 20:14:41 2013 +1000 Initial Signed-off-by: PeteAU commit 05246942e1dd6d559c9b43d0891e7c6bdc0a95ba Author: PeteAU Date: Tue Jul 30 03:01:48 2013 -0700 Initial commit