حاولت تعريف جهاز قارمن على مندريفا 2008 ، لكن الدريفر يحتاج إلى معرفة مسار الكيرنل ، أتمنى من الاخوة مساعدتي لاتمام التعريف :
كود:
#!/bin/sh
#
# Garmin GPSMAP 60C driver
#
# Copyright (C) 2006 Hermann Kneissel [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
#


if [ a$1 = a ] ; then
	echo "Usage: $0 <path to your kernel sources>" 1>&2
	exit 1
fi


# set this variable to the location of your kernel sources
KERNEL=${1:=/usr/src/linux}

DIR=`pwd`

# for kernels below 2.6.20 ...
if [ -f ${KERNEL}/drivers/usb/serial/usb-serial.h ] ; then
  cp ${KERNEL}/drivers/usb/serial/usb-serial.h .
fi

rm -f *.o *.ko *.mod.c .*.cmd

cd ${KERNEL} ; make V=1 M=${DIR}
make V=1 M=${DIR} modules_install

cd ${DIR} ; rm -f usb-serial.h  *.o *.ko *.mod.c .*.cmd