Dominko, Thinking about this some more, at least with the Raspberry Pi, using XMPP/Jabber to trigger relay events from Asterisk seems like a more general approach, without needing any USB cable connected to AstLinux.
Recent versions of AstLinux support the Prosody XMPP server as well as the shell command "sendxmpp" (or Asterisk 11 JabberSend function) XMPP client which could send a jabber message as a command. http://doc.astlinux.org/userdoc:tt-xmpp-server#xmpp_command_line_client The Raspberry Pi could run another Prosody server or some sort of XMPP/Jabber client. Different JID's could allow different permission levels by where and which are allowed as "buddies". Here is an example after a quick google search: Raspberry Pi Garage Door Project using the XMPP/Jabber protocol http://www.youtube.com/watch?v=97oZNOBbrfQ I have never tried this sort of thing, but it seems doable. I'm not sure if the arduino can run XMPP. Lonnie On May 6, 2013, at 10:04 AM, Lonnie Abelbeck wrote: > Hi Dominko, > > Interesting, it seems enabling CONFIG_USB_ACM=m would do the trick... > > But, say you have /dev/ttyACM0 as a serial device in AstLinux, are there > scripts to control the arduino or would you also require other binaries ? > > I understood the USB port was used by the SDK for programming the arduino, > but can it be also used for data transactions ? > > Lonnie > > > > On May 6, 2013, at 7:29 AM, Dominko Vrljic wrote: > >> My initial plan is make alam system with arduino and astlinux. Astlinux will >> call my mobile phone in case of alarm event. >> But, arduino will generally extend astlinux functionality widely: Home >> Automation, sensor reading and even Industry Automation. >> On internet you can found lot of information about raspberry pi and arduino >> integration. I think all can be applied to Astlinux. >> >> Dominko >> >> >> From: Darrick Hartman <[email protected]> >> To: "[email protected]" <[email protected]>; >> "[email protected]" >> <[email protected]> >> Sent: Monday, May 6, 2013 1:31 PM >> Subject: RE: [Astlinux-users] arduino >> >> Dominko, >> >> How are you planning to use this? What would be the benefit to the overall >> project? >> >> Darrick >> >> -----Original Message----- >> From: Dominko Vrljic [[email protected]] >> Received: Monday, 06 May 2013, 6:23AM >> To: AstLinux Users Mailing List [[email protected]] >> Subject: [Astlinux-users] arduino >> >> >> Hi all! I am playing with astlinux and arduino uno device >> (http://arduino.cc/en/Main/arduinoBoardUno) >> I am traying to establish serail communication with arduino over USB cable. >> Obvious I need driver: cdc_acm.ko. >> Is it posslible include this driver in next release of astlinux? >> Regards, >> Dominko > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. > > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
