Index: src/svxlink/trx/LocalTx.h
===================================================================
--- src/svxlink/trx/LocalTx.h	(revision 2040)
+++ src/svxlink/trx/LocalTx.h	(working copy)
@@ -213,6 +213,7 @@
     SineGenerator           *siglev_sine_gen;
     std::vector<int>        tone_siglev_map;
     Async::Timer            *ptt_hangtimer;
+    bool 		     bumbleb;
     
     void txTimeoutOccured(Async::Timer *t);
     int parsePttPin(const char *str, Async::Serial::Pin &pin, bool &rev);
Index: src/svxlink/trx/LocalTx.cpp
===================================================================
--- src/svxlink/trx/LocalTx.cpp	(revision 2040)
+++ src/svxlink/trx/LocalTx.cpp	(working copy)
@@ -46,6 +46,7 @@
 #include <cstring>
 #include <algorithm>
 #include <cmath>
+#include <fstream>
 
 #include <sigc++/sigc++.h>
 
@@ -228,7 +229,7 @@
 
 LocalTx::LocalTx(Config& cfg, const string& name)
   : name(name), cfg(cfg), audio_io(0), is_transmitting(false),
-    serial(0), ptt_pin1(Serial::PIN_NONE), ptt_pin1_rev(false),
+    serial(0),bumbleb(false), ptt_pin1(Serial::PIN_NONE), ptt_pin1_rev(false),
     ptt_pin2(Serial::PIN_NONE), ptt_pin2_rev(false), txtot(0),
     tx_timeout_occured(false), tx_timeout(0), sine_gen(0), ctcss_enable(false),
     dtmf_encoder(0), selector(0), dtmf_valve(0), input_handler(0),
@@ -321,8 +322,11 @@
   {
     tx_delay = atoi(value.c_str());
   }
-
-  if (ptt_port != "NONE")
+  if (ptt_port == "/dev/radio"){
+    bumbleb = true;
+    cout << "bumbleb activated";
+  }
+  else if (ptt_port != "NONE")
   {
     serial = new Serial(ptt_port.c_str());
     if (!serial->open())
@@ -747,6 +751,8 @@
 
 bool LocalTx::setPtt(bool tx, bool with_hangtime)
 {
+  cout << "set ptt triggred"; 
+  /*
   if (ptt_hangtimer != 0)
   {
     if (!tx && with_hangtime)
@@ -766,7 +772,24 @@
   {
     return false;
   }
-
+   */
+  if (bumbleb){
+    cout << "yay bb";
+  }
+  ofstream pptFile;
+  pptFile.open ("/dev/radio");
+  
+  if(tx){
+    pptFile << "y\n";
+    //system("echo y > /dev/radio");
+  }
+  else{
+    pptFile << "n\n";
+    //system("echo n > /dev/radio");
+  }
+  pptFile.close();
+  
+  
   return true;
 
 } /* LocalTx::setPtt */

