Pablo Manalastas wrote:

>The usual way to compile a driver of a modem is to apply the modem
>source code to the /usr/src/linux kernel tree as a patch, using a 
>method like this:
>
>cd /usr/src
>patch -p0 < modem_code_patch.diff
>cd /usr/src/linux
>make mrproper
>make menuconfig  # here choose the new modem code as a module
>make dep ; make clean ; make bzImage
>make modules
>make modules_install
>cp arch/i386/boot/bzImage /boot/vmlinuz
>cp System.map /boot
>vi /etc/lilo.conf  #enter data about the new kernel
>lilo -v
>shutdown -r -t0 now
>
>In effect you are actually building aa new kernel with the modem
>code as a module.  There must be an easier way of doing this, but
>the way given here always works for me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sorry but i'm not a programmer, i don't know how to produce
this "modem_code_patch.diff" :)

i believe the driver i downloaded would compile into a module,
thus not needing to build a new kernel. if there is a howto
i can follow in order to convert this driver to a patch, then
i wont mind building a new kernel :)


Jonathan N.







_______________________________________
EDSAMAIL. Internet the way YOU WANT IT.
www.edsamail.com.ph
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to