Greets.
I recently dug up an old Lucent Winmodem (supported) and decided to see if I could get it functioning with Linux.
So far, I have discovered that the modem IS compatible with Linux. Getting the drivers to compile is another story.
Code:
diablos:/home/reth/lucent/ltmodem-2.6-alk-8# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/reth/lucent/ltmodem-2.6-alk-
8 modules
make[1]: Entering directory `/usr/src/linux-2.6.18'
CC [M] /home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.o
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:123: error: syntax error before string constant
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:123: warning: type defaults to `i
nt' in declaration of `MODULE_PARM' /home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:123: warning: function declaration isn't a prototype
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:123: warning: data definition has no type or storage class
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:125: error: syntax error before string constant
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:125: warning: type defaults to `int' in declaration of `MODULE_PARM'
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:125: warning: function declaration isn't a prototype
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:125: warning: data definition has no type or storage class
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:130: error: syntax error before string constant
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:130: warning: type defaults to `int' in declaration of `MODULE_PARM'
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:130: warning: function declaration isn't a prototype
/home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.c:130: warning: data definition has no type or storage class
make[2]: *** /home/reth/lucent/ltmodem-2.6-alk-8/lt_modem.o] Error 1
make[1]: *** [_module_/home/reth/lucent/ltmodem-2.6-alk-8] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18'
make: *** [module] Error 2
I googled on the errors, but didn't really come up with much. I'm running 2.6.18 (custom), and I don't really see a problem where the compiler complains.
Line 123 (the first error) of lt_modem.c is:
Code:
MODULE_PARM(vendor_id, "i");
I can't see anything wrong with that. My guess is that there's something wrong with MODULE_PARM.
System specs:
Debian 3.1
Kernel 2.6.18
Code:
diablos:/home/reth/lucent/ltmodem-2.6-alk-8# lspci -vv | grep Lucent
0000:00:09.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
Subsystem: Lucent Microelectronics LT WinModem
Any help would be greatly appreciated.
-Reth