* pppd and it's baud rate setting with HSDPA gsm modems
@ 2008-10-27 6:37 Jar
2008-10-27 8:41 ` Paulius Zaleckas
2008-10-27 22:08 ` James Cameron
0 siblings, 2 replies; 3+ messages in thread
From: Jar @ 2008-10-27 6:37 UTC (permalink / raw)
To: linux-ppp
Hello
I am using usbserial+option kernel modules with my HSDPA gsm modem. The
dialer is wvdial.
wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 3600000
...
...
When I use "Baud = 3600000" in wvdial's config file, the pppd complains
"pppd[12246]: speed 3600000 not supported". But still I get the 1Mbit/s
download speed. However if I set "Baud = 460800" the I get also 1Mbit/s
download speed. But 460800bit/s < 1Mbit/s ??
Is this kind of "USB serial link" some special case, where pppd doesn't
use the speed setting at all?
--
Best Regards, Jar
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pppd and it's baud rate setting with HSDPA gsm modems
2008-10-27 6:37 pppd and it's baud rate setting with HSDPA gsm modems Jar
@ 2008-10-27 8:41 ` Paulius Zaleckas
2008-10-27 22:08 ` James Cameron
1 sibling, 0 replies; 3+ messages in thread
From: Paulius Zaleckas @ 2008-10-27 8:41 UTC (permalink / raw)
To: linux-ppp
Jar wrote:
> Hello
>
> I am using usbserial+option kernel modules with my HSDPA gsm modem. The
> dialer is wvdial.
>
> wvdial.conf
>
> [Dialer Defaults]
> Modem = /dev/ttyUSB0
> Baud = 3600000
> ...
> ...
>
> When I use "Baud = 3600000" in wvdial's config file, the pppd complains
> "pppd[12246]: speed 3600000 not supported". But still I get the 1Mbit/s
> download speed. However if I set "Baud = 460800" the I get also 1Mbit/s
> download speed. But 460800bit/s < 1Mbit/s ??
Option driver doesn't care about baudrate. It can be 9600 and you would
still get 1Mbit/s. This is virtual serial port and it has little common
with real UART.
> Is this kind of "USB serial link" some special case, where pppd doesn't
> use the speed setting at all?
thats driver who is not using speed setting, not pppd.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pppd and it's baud rate setting with HSDPA gsm modems
2008-10-27 6:37 pppd and it's baud rate setting with HSDPA gsm modems Jar
2008-10-27 8:41 ` Paulius Zaleckas
@ 2008-10-27 22:08 ` James Cameron
1 sibling, 0 replies; 3+ messages in thread
From: James Cameron @ 2008-10-27 22:08 UTC (permalink / raw)
To: linux-ppp
Setting the speed on a HSDPA or GPRS modem is done using AT commands,
and this is part of the negotiation between the modem firmware and the
service provider's radio network. The service provider may constrain
the speed. The received signal strength and bit error rate may
constrain the speed. The base station's uplink may constrain the speed.
To fiddle with the Quality of Service settings to change the speed, look
for the modem documentation. The exact command depends on the modem,
but I've been able to reduce the speed using one of these: +CGEQREQ
+CGEQMIN +CGQREQ +CGQMIN ... I've never got it to go faster without
fixing the root cause of why it is slow.
The speed between the modem and the host is constrained by the USB
drivers. Ensure you are using a USB 2.0 port. Ensure you are using a
USB driver that pre-queues URBs. The current usbserial and option
module in kernel 2.6.27 do this fine.
--
James Cameron
http://ftp.hp.com.au/sigs/jc/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-27 22:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 6:37 pppd and it's baud rate setting with HSDPA gsm modems Jar
2008-10-27 8:41 ` Paulius Zaleckas
2008-10-27 22:08 ` James Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).