Почетак › Форуми › Линукс дистрибуције › Mandriva › Хардвер › ltmodem-kv-2.6.8.1_10mdksmp-8.31a9-1.i686.rpm
- This topic has 18 одговора, 4 гласа, and was last updated 19 years, 10 months раније by koma.
-
АуторЧланци
-
20. новембар 2004. у 1:03 pm #22520pascalУчесник
pokusao sam i ovako izgleda.
[pascal@localhost source]$ ./configure
loading cache ./config.cache
Checking OS
Checking machine type
Processor i686 is supported.
checking for gcc… (cached) gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… (cached) yes
checking whether gcc accepts -g… (cached) yes
Checking gcc major version 3
Checking for rpm build… which: no rpmbuild in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/jre-1.4.2_04/bin:/home/pascal/bin)
rpm
checking for a BSD compatible install… (cached) /usr/bin/install -c
checking for make… (cached) yes
checking for ld… (cached) yes
Checking for kernel headers
… in /usr/src/linux: Kernel headers found in /usr/src/linux
… in /usr/src/kernel-headers-2.6.8.1-10mdksmp: nope
… in /usr/src/linux-2.6.8.1: nope
… in /usr/src/linux-2.6.8.1-10mdksmp: nope
… in /lib/modules/2.6.8.1-10mdksmp/build: Kernel headers found in /lib/modules/2.6.8.1-10mdksmp/build
using /lib/modules/2.6.8.1-10mdksmp/build
Checking kernel header version
kernel headers are version 2.6.8.1-10mdksmp
No /lib/modules/2.6.8.1-10mdksmp/build/Module.symvers file
System has rpm. Checking for standard installed kernel packages
No kernel package, test for package that provides the kernel (SuSe)
rpmq: no arguments given for query
has irq_spinlock in async_struct 0
checking for fakeroot… (cached) no
+—————————————————————————–+
| WARNING: fakeroot not found – if you want to build the debian package you |
| will have to be root. Otherwise this won’t affect you. |
+—————————————————————————–+
deb package will require kernel-image-2.6.8.1-10mdksmp
creating ./config.status
creating Makefile
creating Makefile.2.6
creating autoload
creating cleanup
creating ltmodem.spec
creating debian/changelog
creating debian/control
[pascal@localhost source]$ make
make M=`pwd` -C /lib/modules/2.6.8.1-10mdksmp/build modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk’
/bin/sh: line 1: /home/pascal/Desktop/ltmodem-8.31a9/source/.tmp_versions/lt_modem.mod: Permission denied
/bin/sh: line 1: /home/pascal/Desktop/ltmodem-8.31a9/source/.tmp_versions/lt_serial.mod: Permission denied
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk’
[pascal@localhost source]$ su
[root@localhost source]# make
make M=`pwd` -C /lib/modules/2.6.8.1-10mdksmp/build modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk’
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk’
[root@localhost source]# make install
make M=`pwd` -C /lib/modules/2.6.8.1-10mdksmp/build modules_install
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk’
INSTALL /home/pascal/Desktop/ltmodem-8.31a9/source/lt_modem.ko
INSTALL /home/pascal/Desktop/ltmodem-8.31a9/source/lt_serial.ko
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk’
depmod -a
[root@localhost source]# ./ltmodem_inst
bash: ./ltmodem_inst: Permission denied
[root@localhost source]# su
[root@localhost source]# ./ltmodem_inst
bash: ./ltmodem_inst: Permission denied
[root@localhost source]# ./ltmodem_boot
bash: ./ltmodem_boot: Permission denied
[root@localhost source]# sh ltmodem_inst
FATAL: Module lt_modem not found.
FATAL: Module lt_modem not found.
lt_modem nije ucitan
[root@localhost source]#20. новембар 2004. у 3:36 pm #22521Li-nuxУчесникNisi radio kako treba.
Kao prvo savetujem ti da instaliras drajver http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-6.tar.bz2 posto je instalacija tog drajvera jednostavnija.
Kada raspakujes arhivu drajvera kreiraj fajlove ltmodem_boot i ltmodem_inst u direktorijumu gde je raspakovan drajver.
Zatim sa komandom “chmod 755 ltmodem_inst” treba da omogucis izvrsavanje skripta ltmodem_inst.
Nakon toga izvrsi sledece komandesu
make
./ltmodem_inst
exit20. новембар 2004. у 4:56 pm #22522sholastikУчесникKod mene je drajver verzija ltmodem-2.6-alk-4 – mozda probati sa tom verzijom?
20. новембар 2004. у 6:08 pm #22523Li-nuxУчесникMoze i ltmodem-2.6-alk-4 ili neki drugi ltmodem-2.6-alk-X. Bitno je da kompajliranje prodje bez problema. Nakon tog treba instalirati drajver sa skriptom ltmodem_inst
20. новембар 2004. у 7:38 pm #22524pascalУчесникHvala CARE proradilo je!!!
deinstalirao sam ceo sistem i koristio ltmodem-2.6-alk-6 i nacin koji si prvi put pokazao tj treci od gore.20. новембар 2004. у 8:29 pm #22525pascalУчесникispravka modem sam instalirao sa tutorialom koji se nalazi na README fajlu koji se nalazi zajednosa ltmodem-2.6-alk-6
You may need to create /dev/ttyLT0 if you haven’t used 2.4 version
of driver. Just do:
a. mknod –mode=0640 /dev/ttyLT0 c 62 64
b. Change owner and group owner to match /dev/ttyS0
(Debian users: set group to dialout)
c. Create symlink /dev/modem to it (‘ln -s /dev/ttyLT0 /dev/modem’)Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir.
Then just run make. You will get ltmodem.ko & ltserial.ko.
Copy them to /lib/modules/`uname -r`/other/ dir and
run depmod -a.Edit your modprobe.conf to load ltserial (not lt_serial)
for /dev/ttyLT0.My modprobe.conf contains following lines:
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial
sada je problem zato sto svaki put kada restertujem racunar modem se izgubi i moram da ponovim instalaciju.20. новембар 2004. у 8:33 pm #22526pascalУчесникispravka modem sam instalirao sa tutorialom koji se nalazi na README fajlu koji se nalazi zajednosa ltmodem-2.6-alk-6
You may need to create /dev/ttyLT0 if you haven’t used 2.4 version
of driver. Just do:
a. mknod –mode=0640 /dev/ttyLT0 c 62 64
b. Change owner and group owner to match /dev/ttyS0
(Debian users: set group to dialout)
c. Create symlink /dev/modem to it (‘ln -s /dev/ttyLT0 /dev/modem’)Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir.
Then just run make. You will get ltmodem.ko & ltserial.ko.
Copy them to /lib/modules/`uname -r`/other/ dir and
run depmod -a.Edit your modprobe.conf to load ltserial (not lt_serial)
for /dev/ttyLT0.My modprobe.conf contains following lines:
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial
sada je problem zato sto svaki put kada restertujem racunar modem se izgubi i moram da ponovim instalaciju.21. новембар 2004. у 1:09 pm #22527pascalУчесникmoja greska modem radi odlicno i radi bez problema kada se instalira na nacin koji je li-nux objasnio HVALA
25. новембар 2004. у 9:54 am #22528komaУчесникmeni radi po uputstvu koje se nalazi uz drajver pa sad kako kome proradi 🙂
-
АуторЧланци
Форум ‘Хардвер’ је закључан за нове теме и одговоре.