21 Aug 11:01
Using DKU2 cable with Linux 2.6
From: marc impini <m.impini <at> gmail.com>
Subject: Using DKU2 cable with Linux 2.6
Newsgroups: gmane.linux.drivers.gammu
Date: 2008-08-21 09:02:59 GMT
Subject: Using DKU2 cable with Linux 2.6
Newsgroups: gmane.linux.drivers.gammu
Date: 2008-08-21 09:02:59 GMT
Hi,
I'm trying to use a Nokia 6680 phone with gammu on a 2.6 system and a DKU2 cable without success.
According to http://osdir.com/ml/drivers.gammu/2006-11/msg00021.html i have to install the dku2 driver which is contained in gammu archive.
But when i try to build it, it fails:
[root <at> box kernel_2.6]# chmod +x configure
[root <at> box kernel_2.6]# ./configure
configure: error: cannot find install-sh or install.sh in ../../config ./../../config
[root <at> box kernel_2.6]# pwd
/tmp/gammu-1.20.0/other/driver/dku2/kernel_2.6
[root <at> admin1005 kernel_2.6]# find /tmp/gammu-1.20.0/ -name '*install*'
/tmp/gammu-1.20.0/templates/gammu-uninstalled.pc.cmake
[root <at> admin1005 kernel_2.6]#
[root <at> box kernel_2.6]# ./configure
configure: error: cannot find install-sh or install.sh in ../../config ./../../config
[root <at> box kernel_2.6]# pwd
/tmp/gammu-1.20.0/other/driver/dku2/kernel_2.6
[root <at> admin1005 kernel_2.6]# find /tmp/gammu-1.20.0/ -name '*install*'
/tmp/gammu-1.20.0/templates/gammu-uninstalled.pc.cmake
[root <at> admin1005 kernel_2.6]#
What should I do now? I've downloaded gnokii archive and read Docs/README-DKU2 and followed instructions:
* Install *
| Get / configure / build a set of kernel sources.
$ cd $gnokii_sources/patches/kernel_2.{4,6}
| If you have the gnokii CVS version
$ autoconf
| See ./configure --help for the available options
| Defaults are:
| kernsrcdir: /lib/modules/`uname -r`/build -- directory where the sources are
| kernmoddir: /lib/modules/`uname -r` -- base module installation directory
$ ./configure --with-kernsrcdir=dir1 --with-kernmoddir=dir2
| replace dir1 and dir2 with real paths
$ make
| Become root
# make install
# modprobe nokia_dku2
# dmesg
| Look for the lines as shown above!
| Edit .gnokiirc to include port=/dev/ttyUSB.. and connection=dku2
$ cd $gnokii_sources/patches/kernel_2.{4,6}
| If you have the gnokii CVS version
$ autoconf
| See ./configure --help for the available options
| Defaults are:
| kernsrcdir: /lib/modules/`uname -r`/build -- directory where the sources are
| kernmoddir: /lib/modules/`uname -r` -- base module installation directory
$ ./configure --with-kernsrcdir=dir1 --with-kernmoddir=dir2
| replace dir1 and dir2 with real paths
$ make
| Become root
# make install
# modprobe nokia_dku2
# dmesg
| Look for the lines as shown above!
| Edit .gnokiirc to include port=/dev/ttyUSB.. and connection=dku2
But there's no configure script in kernel_2.6 directory:
[root <at> admin1005 kernel_2.6]# pwd
/tmp/gnokii-0.6.26/patches/kernel_2.6
[root <at> admin1005 kernel_2.6]# ls
configure.in Makefile.in nokia_dku2.c nokia_dku2.c.2_6_15 nokia_dku2.h
[root <at> admin1005 kernel_2.6]#
/tmp/gnokii-0.6.26/patches/kernel_2.6
[root <at> admin1005 kernel_2.6]# ls
configure.in Makefile.in nokia_dku2.c nokia_dku2.c.2_6_15 nokia_dku2.h
[root <at> admin1005 kernel_2.6]#
Is there a clear and working procedure to use a DKU2 cable ?
Regards,
Marc
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
RSS Feed