PDA

View Full Version : I need ptserial.o and pctel.o from pctel-0.9.6.tar.gz



bongski55
04-27-2003, 06:52 PM
I downloaded pctel-0.9.6.tar.gz for my hsp 56 micromodem. This driver is said to work on a mandrake 8.2 installation but using the instructions there is no way to install the drivers. Have to use./configure command for my particular chipset.

Can anybody help me? I just need the files pctel.o and the ptserial.o .

rickenbacherus
04-28-2003, 03:56 PM
OK- I assume you've installed Knoppix to hard drive yes? If so, what exactly is wrong with the modem driver installation? What is it that you cannot do?

Something you may want to keep in mind is that Mandrake 8.2 is an older kernel version and there is no reason this driver has to work with Knoppix. It might, it might not. (that was very insightful huh?).

I assume you are not asking simply how to untar pctel-0.9.6.tar.gz? Post some more information.

bongski55
04-28-2003, 06:32 PM
i already "untared" pctel.0.9.6.tar.gz. In the instruction(for a full linux install) for installing the driver in knoppix,I am getting a "read only file" error message. So an alternative would be to manually place pctel.o and ptserial.o on a floppy or a vf partition. I do not have ptserial.o and pctel.o because you have to "./configure --with-hal cm8738" and in so doing you compile the cm8738 files into the ptseial.o and pctel.o driver files.At least this is how I understand it,please correct me if I am wrong. The tar file does not contain a compiled pctel and ptseral.o files. This have to be configured depending on the chip set-I have 8738 chipset.

Below is the instruction I used :


5.2. Installing the pctel-0.9.6 driver
Make sure that you have kernel 2.4.0 or greater by the command

bash$ uname -r

Unpack the downloaded files with the commands

bash$ tar -xzvf pctel-0.9.6.tar.gz

Now you will have a pctel-0.9.6 directory

cd into that with the command

bash$ cd pctel-0.9.6/

Now comes the complicated part.

To proceed further you will have to know what chip set your modem has.See section 9.4 for more information on this.

Once you have got the name of the chip set, just type one of the following commands (depending on the chip set)

If you have a PCT 789 chip set,

bash$ ./configure --with-hal=pct789

If you have a CM8738 chip set,

bash$ ./configure -with-hal=cm8738

If you have a chip set integrated with an i8** chip set based box,

bash$ ./configure --with-hal=i8xx

If you have a chip set integrated with an VIA 686a chip set based motherboard ,

bash$ ./configure --with-hal=via686a

The configure script will run and a number of messages will fly past. Check for any error messages that may fly past. When you have the prompt again, (and if you have not got any errors), compile the drivers with the command

bash$ make

Then if you do not get any error messages , install the drivers with the command

bash$ make install

(You will have to be logged in as root for performing the last step)

Then just load the drivers with the commands

bash$ insmod pctel

bash$ insmod ptserial

NOTE: These commands can be issued from any directory as the insmod program will automatically find the drivers pctel.o and ptserial.o in /lib/modules/`your kernel version`/misc/ )



NOTE: If you get a message that says configure: error: You must have linux kernel >= 2.4.0 installed, then please refer to section 8.1.1 for ways to solve this.



However, if you have an AMR modem, then you will have to use the 0.9.6 drivers.

rickenbacherus
04-28-2003, 09:15 PM
I don't suppose you have another Linux machine you could compile the driver on do you? I'll have a look at the driver when I get back to my Linbox and see if I can get anywhere with it.

Stephen
04-28-2003, 10:35 PM
I am getting a "read only file" error message.

Have you tried ls -la to see which file is read only and the changing the permission with chmod +rw file maybe even +x if it is the configure script to make it executable.

bongski55
04-29-2003, 03:57 AM
No I don't have access to any LINUX pc. Nobody here even knows what linux is!

Here is the error message I get when after ./configure --with-hal cm8738;

./configure:line 85:/conftest.h:Read-only file system
./configure:line86:conftest.sh:Read-only file system
chmod:failed to get attributes of'conftest.sh:No such file or directory
./configure:line 196:conf1897.file:Read-only file system
./configure:line 925:config.log:Read-only file system

Stephen
04-29-2003, 05:19 AM
I just downloaded and configured the driver you should use ./configure --with-hal=cm8738 then the rest of the steps in the README.

output from my configure:


[01:15 AM Tue Apr 29: stephen @ /stephen/archives/source/pctel-0.9.6]
>$ ./configure --with-hal=cm8738
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_CM8738
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... yes
checking /usr/src/linux/include/linux/modversions.h presence... yes
checking for /usr/src/linux/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands



The rest of the process:

make clean
make
su -c 'make install' - then enter root password

If your compile fails I compiled and put the files here:
pctel.o (http://www3.ns.sympatico.ca/scormier/pctel.o)
ptserial..o (http://www3.ns.sympatico.ca/scormier/ptserial.o)
right click and save as.

bongski55
04-29-2003, 08:30 AM
Thanks very much Stephen! I'll try out the files.

Just curious, what distro did you use? I don't think you can use knoppix, or did you?

Thanks again!

bong
oman

Stephen
04-29-2003, 09:01 AM
Your weIcome, I used 2003-04-15 version of knoppix that I installed to HD.

bongski55
04-29-2003, 02:07 PM
At last I am online.Using konqueror on this reply. Used the files that Stephen compiled for me(thanks again). Will post the procedure I used on a new post.

thanks all

Stephen
04-29-2003, 05:48 PM
Good to hear, good luck and post back if you have any more problems.

rickenbacherus
04-29-2003, 05:59 PM
At last I am online.Using konqueror on this reply. Used the files that Stephen compiled for me(thanks again). Will post the procedure I used on a new post.

thanks all

Right on Stephen- definitely the spirit of Linux to compile something on your own system for someone else. The best advice I ever got from a wimpdoze user was Ctrl+Alt+Del :)

cisco
09-29-2003, 09:28 AM
I have install knoppix 3.3 on my hard disk
download and make
http://www.medres.ch/%7Ejstifter/pctel/pctel-0.9.7.html

when I try "insmod -f pctel.o "
it told me "unresolved symbols ....."

I am supprise than Knopper did not put good sources in /usr/src/linux ???

any help ? or tip ?

DELL inspiron 8500 NVidia GeForce 4200

brauchlik
10-16-2003, 01:21 PM
I just installed Knoppix 3.3 on my laptop (Dell Inspiron 4100). To get the internal modem working I used the pctel v0.9.6 driver. Before you can "./confivure" you need to do this:
...$ aclocal
...$ automake

then "./configure --with-hal=i8xx", "make" and "make install" (last must be as root). Worked on first try!

jMon54
11-22-2004, 04:39 PM
On my system, I got my winmodem to work but only as root. When I login as user, my modem will not work. I am forced to SU, then "insmod pctel" and "insmod ptserial" in order to use the modem. How can I get this to work for me as user?