Here are a few more points you might find to be of interest/useful.
# for pctel modem alias char-major-62 ptserial below ptserial pctel # country code for pctel modem options ptserial country_code=1 |
bash$ insmod ptserial country_code=x
country_code country name 1 USA 2 FRANCE 3 GERMANY 4 ITALY 5 SWEDEN 6 UK 7 JAPAN 8 AUSTRALIA 9 SPAIN 10 TAIWAN 11 SINGAPORE 12 KOREA 13 SWITZERLAND 14 NORWAY 15 NETHERLANDS 16 BELGIUM 17 CANADA 18 IRELAND 19 PORTUGAL 20 POLAND 21 HUNGARY 22 FINLAND 23 DENMARK 24 AUSTRIA 25 S.AFRICA 26 CTR21 COUNTRIES 27 CHINA 28 MALAYSIA 29 LUXUMBURG 30 GREECE 31 ICELAND 32 NEW ZEALAND 33 BRAZIL |
The other options that you may want to use while loading ptserial.o are:
- iobase: Force to use iobase for modem detection.
ááNOTE: if you want to set iobase or iobase1, you should use
áááááááááirq/iobase/iobase1 at same time.
- vendor_id: vendor ID of the modem
- device_id: device ID of the modem.
ááNOTE: vendor_id and device_id should be used at the same time,
ábut you cannot combinate this two options with
ááááááááiobase, iobase prevail to (vendor/device)_id detection.
When you load the modules, you must load the pctel.o module at first
> There is a serious bug in the drivers for the kernel 2.4x The modem often seems to stop working/hang while dialing out, and you get nothing but a beeeeeeeeee... sound from the modem speaker and later, the dialer gives a message No Carrier and disconnects.
This problem has no real workaround , but sometimes unloading and reloading of the modules work. For that the commands will be (assuming that you have the modules in /lib/modules/'your kernel version`/misc/ )
bash$ rmmod ptserial
bash$ rmmod pctel
bash$ insmod pctel
bash$ insmod ptserial
NOTE:You must exit from your dialer before trying to unload the drivers, otherwise you will get a device or resource busy error.
When the problems become too acute, the only solution seems to be rebooting.
It has been also noticed that sometimes, this problem is ISP dependent, with the problem surfacing when using a particular ISP.
> If you get an error saying /usr/src/linux/include/linux/modversions.h : no such file or directory, look in your /usr/src directory for the kernel source. The default location is /usr/src/linux/ but some distributions may install the files somewhere else.
If you find that the files are somewhere else, say in the directory, /usr/src/myspecialsource/ , do not try to move the files, just create a symbolic link with the command
bash$ ln -s /usr/src/myspecialdirectory/ /usr/src/linux/
NOTE: In case of the PCTel-0.8.6 drivers you can also specify the location of your kernel source by using the option
bash$ --with-kernel-includes=your kernel source directory
during running the configure script.