Re: Makefile for kernel 3.2.x build of martian-full-20100123 Package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


The 3.n.n competent Makefile is:
KERNEL_DIR:=/lib/modules/$(shell uname -r)/build

        $(MAKE) -C kmodule/ modules
        $(MAKE) -C modem/ all

        $(MAKE) -C kmodule/ install
        $(MAKE) -C modem/ install

        $(MAKE) -C kmodule/ clean
        $(MAKE) -C modem/ clean
differing from the old Makefile by elimination of a few lines,
which were a 2.6.n kernel subversion constraint.
Just remember that the indents above are done using TAB
and not SPACEs

Additionally,  martian support is now part of the Debian/Ubuntu tree
and you may prefer that standard servicing
Just do:
$ sudo apt-get update
$ sudo apt-get install martian-modem martian-modem-source

The martian-modem package will install:  /usr/sbin/martian-helper
Check with:
$ martian_modem --help
This helper is kernel version independent, i.e. does not have to be
recompiled with each update.

The martian-modem-source package only installs automatically source
code for the driver as /usr/src/martian-modem.tar.bz2
Manually do:
$ cd /usr/src/
$ sudo tar jxf martian-modem.tar.bz2
$ cd modules/martian-modem/
See documentation info
$ ls
To compile
$ cd source
$ sudo make clean
$ sudo make
$ sudo  make install

All OK on my
$ uname -r

To load:
$ sudo modprobe martian_dev

On my System the driver loads:
$ lsmod | grep martian_dev
martian_dev            26538  0
Though I can't further test without the modem hardware.

There is no reason why this source package should not be DKMS enabled,
to provide automatic driver compiles with kernel upgrades.  While I am
not the Debian package maintainer, I'll work DKMS  support through for
you & him.


On Sun, Feb 12, 2012 at 6:56 PM, <j75080@xxxxxxxxxxxx> wrote:
> Hello Marv,
> I am trying to install the martian-full-20100123 package and in need of the Makefile you gave
> Edwin in the following referenced email message:
> As I am using kernel 3.2.5-3, I thought this new Makefile would be needed for the package build
> to get my old Agere v92 winmodem working.  I tried looking on the
> website, but I could not find the new Makefile.
> Thank you,
> John

[Index of Archives]     [Linux DVB]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Xfree86]     [Fedora Women]     [Linux USB]

Powered by Linux