PCTel modem
Alexandre Strube
surak at surak.eti.br
Mon Jan 19 19:14:56 UTC 2004
Hello people from the list:
I have some issues with a onboard pctel modem - on a machine of a friend
of mine - I removed winxp, put fedora, now modem is gone :-(
Googling I found this site,
http://www.linuxquestions.org/questions/archive/23/2003/11/3/118250
which lead me to download latest pctel modem driver, trick make with
export CC=gcc32, and compile it.
Compilation is not sucessful. Tried in 2 machines, with 2 different
2.4.22 kernels.
The output from make is:
gcc -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-DAUDIO_ROUTING -DSIS540 -DVERSION=\"0.9.7-9\" -DGCC_VERSION=\"3.3.2\"
-DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r
-p`\"" -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2140.nptl/include/
-DHAL_I8XX -include
/usr/src/linux-2.4.22-1.2140.nptl/include//linux/modversions.h -o
ptserial.o -c ptserial-2.4.7.c
ptserial-2.4.7.c: In function `rs_close':
ptserial-2.4.7.c:2815: error: invalid operands to binary ==
make: ** [ptserial.o] Erro 1
The function which has error is:
*****this one if ((tty->count == 1) && (state->count != 1)) {
/*
* Uh, oh. tty->count is 1, which means that the tty
* structure will be freed. state->count should always
* be one in these conditions. If it's greater than
* one, we've got real problems, since it means the
* serial port won't be shutdown.
*/
printk("rs_close: bad serial port count; tty->count is
1, "
"state->count is %d\n", state->count);
state->count = 1;
}
In fact, I just downloaded the same version the guy in howto said, same
trouble.
I don't want to reverse this friend's machine to windows, can someone
help me? Does someone have pctel driver compiled for fc1? Wouldn't this
be a interesting RFE for FC2?
--
[]s
Alexandre Ganso
500 FOUR vermelha - Diretor Steel Goose Moto Group
More information about the fedora-list
mailing list