Re: [debian][neo1973] Forwarding GSM port to PC
Michael 'Mickey' Lauer pisze: You can use the nc/pty combination for that as described in http://unadventure.wordpress.com/2007/10/28/qpe-430-plus-qemu/ Note though that due to some weird bug this doesn't work for multiplexing mode :/ I took a solution mentioned in this article and worked perfectly for my Neo 1973. killall gsmd nc -l -p 5000 /dev/ttySAC0 /dev/ttySAC0 Only conditions is that you have to use Openmoko distro. I'm using latest Debian distro and I have old OM lying on Flash. Under Debian my modem hangs after manually connecting via cu from Phone, so the hack above doesn't work. I suppose the problem is connected with multiplexing bug that Mickey mentioned, as multiplexing in Debian is enabled . So I used OM and it worked well. I can call my Neo's GSM modem from any network machine. Best regards, -- *Bartlomiej Zdanowski* Lead Programmer Product Research Development Department AutoGuard S.A. Place of registration: Regional Court for the Capital City of Warsaw Registration no.: 287629 Share capital: 1 059 000 PLN Polish VAT and tax ID no.: PL1132219747 Omulewska 27 street 04-128 Warsaw Poland phone +48 22 611 69 23 www.autoguard.pl http://www.autoguard.pl ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
Bartlomiej Zdanowski [Zdanek] [EMAIL PROTECTED] writes: multiplexing bug that Mickey mentioned, as multiplexing in Debian is enabled . Instead of killall gsmd you want to say killall gsm0710muxd and ps -eo pid,cmd|grep framework[d]|awk '{print $1}'|xargs kill ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
You can use the nc/pty combination for that as described in http://unadventure.wordpress.com/2007/10/28/qpe-430-plus-qemu/ Note though that due to some weird bug this doesn't work for multiplexing mode :/ -- :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
Timo Juhani Lindfors pisze: (...) would at least give you gsm.pipe that allows you to read and write to GSM. If you really need a tty with all the odd ioctls then it's bit more challenging and you probably want to use Thank you Juhani and Clemens (from other post) for response. I'll try to play with it. As I'm using Debian with OpenmokoFramework, I've found *gsm0710muxd* http://www.freesmartphone.org/index.php/Implementations/gsm0710muxd than can be accessed throught DBus which can be accessible from local network, not only from localhost. And that can be a solution too if I could really access GSM modem throught it. Anybody used *gsm0710muxd*? Best regards, -- *Bartlomiej Zdanowski* Lead Programmer Product Research Development Department AutoGuard S.A. Place of registration: Regional Court for the Capital City of Warsaw Registration no.: 287629 Share capital: 1 059 000 PLN Polish VAT and tax ID no.: PL1132219747 Omulewska 27 street 04-128 Warsaw Poland phone +48 22 611 69 23 www.autoguard.pl http://www.autoguard.pl ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
Bartlomiej Zdanowski [Zdanek] wrote: Greetings, I want to write small app on my PC using neo1973's GSM modem. I'd like to somehow forward /dev/ttySAC0 and have serial device in my Linux' /dev and connect to it as to ordinary serial port. I have debian installed so I have an access to plenty of packages. Any ideas? Thank you in advance. Best regards, Qtextended's 'phonebounce' was written for exactly this. http://doc.trolltech.com/qtopia4.3/phonebounce.html -- Lorn 'ljp' Potter Software Engineer, Systems Group, Qt Software, Nokia Pty Ltd ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
Bartlomiej Zdanowski [Zdanek] [EMAIL PROTECTED] wrote: I want to write small app on my PC using neo1973's GSM modem. I'd like to somehow forward /dev/ttySAC0 and have serial device in my Linux' /dev and connect to it as to ordinary serial port. I have debian installed so I have an access to plenty of packages. Any ideas? Thank you in advance. first thing that crosses my mind is netcat. with some clever scripting it might even be possble to do it in bash alone. (man nc) best regards ... clemens ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [debian][neo1973] Forwarding GSM port to PC
Bartlomiej Zdanowski [Zdanek] [EMAIL PROTECTED] writes: I want to write small app on my PC using neo1973's GSM modem. I'd like to somehow forward /dev/ttySAC0 and have serial device in my Linux' /dev and connect to it as to ordinary serial port. I have debian installed so I have an access to plenty of packages. 1) sudo apt-get install ser2net 2) edit /etc/ser2net.conf to include 2000:raw:600:/dev/ttySAC0:38400 8DATABITS NONE 1STOPBIT 3) socat TCP4:192.168.0.202:2000 PIPE:gsm.pipe would at least give you gsm.pipe that allows you to read and write to GSM. If you really need a tty with all the odd ioctls then it's bit more challenging and you probably want to use fusd-kor-source - Source for the fusd kernel module to build a serial port redirector. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[debian][neo1973] Forwarding GSM port to PC
Greetings, I want to write small app on my PC using neo1973's GSM modem. I'd like to somehow forward /dev/ttySAC0 and have serial device in my Linux' /dev and connect to it as to ordinary serial port. I have debian installed so I have an access to plenty of packages. Any ideas? Thank you in advance. Best regards, -- *Bartlomiej Zdanowski* Lead Programmer Product Research Development Department AutoGuard S.A. Place of registration: Regional Court for the Capital City of Warsaw Registration no.: 287629 Share capital: 1 059 000 PLN Polish VAT and tax ID no.: PL1132219747 Omulewska 27 street 04-128 Warsaw Poland phone +48 22 611 69 23 www.autoguard.pl http://www.autoguard.pl ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community