Re: [QtMoko v26] GSM Multiplexer (GPRS)

2010-09-19 Thread Radek Polak
Alex Samorukov wrote:

 After debugging i found that most of gprs related issues are coming from
 qtopia multiplexer. I decided to try to use external multiplexer with
 qtopia. For the initial experiment i did:
 
 1) compiled latest gsm0710muxd on debian (i know that there is
 fso-abyss, but i got some problems on compilation, gsm0710 is much easer
 to build, so i started with it).

Hi Alex,
what about using the multiplexer in kernel? We will probably need quite recent 
kernel but otherwise do see any problem with it? It was commited in mainline 
kernel - i think it's this commit [1]

Regards

Radek


[1] 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e1eaea46bb4020b38a141b84f88565d4603f8dd0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko v26] GSM Multiplexer (GPRS)

2010-09-19 Thread Alex Samorukov
On 09/19/2010 01:44 PM, Radek Polak wrote:

 1) compiled latest gsm0710muxd on debian (i know that there is
 fso-abyss, but i got some problems on compilation, gsm0710 is much easer
 to build, so i started with it).
  
 Hi Alex,
 what about using the multiplexer in kernel? We will probably need quite recent
 kernel but otherwise do see any problem with it? It was commited in mainline
 kernel - i think it's this commit [1]

I think that its very good idea - because it will be supported by 
community and also speed should be better then in user-land process 
(less userland-kernel jumps). Its interesting, how easy is to backport 
it to the current kernel. Also its currently in experimental status, so 
not sure how stable it is (but its not hard to be more stable then 
qtopia multiplexer ;)). It will also require to use another serial port 
driver in qtopia device profile, but its not a problem at all. May be i 
will try it.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[QtMoko v26] GSM Multiplexer (GPRS)

2010-09-18 Thread Alex Samorukov
Hi,

After debugging i found that most of gprs related issues are coming from 
qtopia multiplexer. I decided to try to use external multiplexer with 
qtopia. For the initial experiment i did:

1) compiled latest gsm0710muxd on debian (i know that there is 
fso-abyss, but i got some problems on compilation, gsm0710 is much easer 
to build, so i started with it).

2) Connected to phone using ssh and stopped qtmoko (/etc/init.d/qpe.sh stop)

3) started gsm0710muxd -v and requested virtual channel using dbus

dbus-send --system --print-reply --type=method_call 
--dest=org.pyneo.muxer /org/pyneo/Muxer 
org.freesmartphone.GSM.MUX.AllocChannel string:$id

I got pts /dev/pts/3, and modified /opt/qtmoko/qpe.env with export 
QTOPIA_PHONE_DEVICE=/dev/pts/3:115200. Also i disabled qtmoko 
multiplexing in the /home/root/Settings/Trolltech/Modem.conf 
([Mutiplexing] section, Active=no).

4) Then i started qpe. It started correctly, detected network, etc. Then 
i requested another virtual tty (see #3) and started manually pppd on it.

 From the first view - qtmoko works stable, gprs starts/stops much 
better, no problems found so far. I want to test this for some time and 
if it will work fine then i will try to build qtopia with 
QMultiPortMultiplexer to use external mutiplexer.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community