New Zealand Broadband Mailing List


Re: Driver for Telemann sm200d card for Linux Kernel 2.6*

From: Bryan Christianson <bryan_at_whatroute.net>
Date: Wed, 28 Jul 2004 19:23:26 +1200
Message-Id: <p06110401bd2d0317f3d5@[203.109.158.136]>

Hi Tony

Thanks for the kind words :-)

Yes - It will work with a current kernel - I just recompiled the
kernel (2.4.26) and re-linked the driver last weekend

I got the kernel source from ftp.nz.kernel.org

unzipped it in /usr/src
copied .config from my old kernel tree

make sure gcc is a symlink to gcc-2.95 coz apt-get seems to overwrite
that symlink every time it upgrades gcc

e.g.
root@cora:/usr/bin# ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 8 Jul 25 11:23 /usr/bin/gcc -> gcc-2.95

cd to the top of your kernel tree
make oldconfig
make depend
etc etc etc

make sure /usr/src/linux is pointing to your new kernel tree

cd /home/sm200d (or wherever you unzipped the driver)
make
make install

that will put the module and a few scripts and config files into
/usr/local/sm200d

etc etc

You can get the driver tarball from

http://cora.whatroute.net:1953/sm200d/

Hope that helps
Bryan

At 5:14 PM +1200 7/28/04, Tony McGregor wrote:
>Hi Bryan
>
>I've had no luck with recent 2.4 kernels (and gcc 2.95.4). Do you know
>that the driver will compile and link with recent versions of 2.4.x?
>If so, could you post a pointer to the appropriate archive?
>
>Thanks
>
>Tony
>
>
>PS FWIW IMHO Ihug lost a gem when you moved.
>
>
>
>
>On Wed, 28 Jul 2004, Bryan Christianson wrote:
>
>> At 11:41 AM +1200 7/28/04, John Williams wrote:
>> >Hello, It seems that Linux users of IHUG Ultra must look after
>>themselves. I
>> >can happily use the sm200d card with FC1 but the new format for loadable
>> >modules in kernel 2.6 is incompatible with the previous kernels.
>> >I wonder if there is a person on this list who would write a new driver for
>> >the card?
>> >I'm sure lots of people would be interested besides me.
>> >Thanks, John.
>> >
>> >
>> >To unsubscribe: send mail to majordomo@lists.unixathome.org
>> >with "unsubscribe broadband" in the body of the message
>> >
>>
>>
>> John
>>
>> In a previous lifetime when working for IHUG, I did the port of the
>> Telemann driver from Linux 2.2.x to 2.4.x
>>
>> I have not investigated a 2.6.x port as I am still using a 2.4.x
>> kernel in my old P133.
>>
>> The major problem is binary incompatibility between kernels compiled
>> with gcc 3.x.x and modules containing any component part compiled
>> with a gcc 2.9.5 compiler. Unfortunately Telemann have never released
>> the full source code to the driver - only a wrapper containg kernel
>> interfaces for a binary object they supply. That binary object was
>> compiled with gcc 2.9.5 and thus the module will not load.
>>
>> It may be possible to compile a Linux 2.6.x kernel with gcc 2.9.5 -
>> (however I would not bet the farm on it) and then it may be possible
>> to simply port the driver to Linux 2.6.
>>
>> Rewriting the driver is not really an option unless someone can
>> persuade Telemann to disclose the source code for the hardware
>> specific parts of the card.
>>
>> --
>> Bryan Christianson
>> email: <mailto:bryan@whatroute.net>
>> Home Page: <http://www.whatroute.net/>
>>
>> To unsubscribe: send mail to majordomo@lists.unixathome.org
>> with "unsubscribe broadband" in the body of the message
>>
>>
>
>----------------------------------------------------------------------------
>Tony McGregor Mail: T.McGregor@cs.waikato.ac.nz
>Department of Computer Science Phone: +64 7 838 4651
>Waikato University Fax: +64 7 858 5095(w) +64 7 825 5047(h)
>Private Bag 3105 Home: +64 7 825 5040 mobile: (021)313004
>Hamilton, New Zealand www: http://www.cs.waikato.ac.nz/~tonym
>----------------------------------------------------------------------------

-- 
Bryan Christianson
email:		<mailto:bryan@whatroute.net>
Home Page:	<http://www.whatroute.net/>
 
To unsubscribe: send mail to majordomo@lists.unixathome.org 
with "unsubscribe broadband" in the body of the message 
 
Received on Wed Jul 28 19:23:38 2004

This archive was generated by hypermail 2.2.0 : Sat Dec 2 21:25:49 2006 EST