|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
(linux) xchè non si installano i driver x il modem???
ciao
ho da poco installato linux mandrake 9.1 purtroppo quando provo ad installare i driver mi da sempre lo stesso errore visto che non conosco linux volevo chiedervi se potevate aiutarmi a capire ed eventualmente spiegarmi come poter risolvere il problema gli unici driver che ho trovato per il mio modem Trust PCI con chip intel536ep sono quelli x la mandrake 9.0 questo è quello che ho fatto Password: [root@localhost asghan]# ls Desktop/ Documents/ tmp/ [root@localhost asghan]# cd Desktop [root@localhost Desktop]# ls Cestino/ Home.desktop Intel-536ep-M.tgz* Welcome.desktop [root@localhost Desktop]# tar -zxvf Intel-536ep-M.tgz Intel536-460-M90/ Intel536-460-M90/536ep-boot Intel536-460-M90/536ep-inst Intel536-460-M90/coredrv/ Intel536-460-M90/coredrv/clmmain.c Intel536-460-M90/coredrv/coredrv.c Intel536-460-M90/coredrv/rts.c Intel536-460-M90/coredrv/task.c Intel536-460-M90/coredrv/uart.c Intel536-460-M90/coredrv/makefile Intel536-460-M90/coredrv/536epcore.lib Intel536-460-M90/coredrv/wwh_dflt.c Intel536-460-M90/inc/ Intel536-460-M90/inc/hamdefs.h Intel536-460-M90/inc/hamcore.h Intel536-460-M90/inc/rts.h Intel536-460-M90/inc/uart.h Intel536-460-M90/inc/tasker.h Intel536-460-M90/inc/sys_ver.h Intel536-460-M90/inc/softcore.h Intel536-460-M90/inc/wwh_dflt.h Intel536-460-M90/license.txt Intel536-460-M90/makefile Intel536-460-M90/readme.txt Intel536-460-M90/serialdrv/ Intel536-460-M90/serialdrv/softserial.c Intel536-460-M90/serialdrv/softserial_io.c Intel536-460-M90/serialdrv/softserial_ioctl.c Intel536-460-M90/serialdrv/softserial.h Intel536-460-M90/serialdrv/makefile Intel536-460-M90/hamregistry Intel536-460-M90/config_check Intel536-460-M90/536epcore.o Intel536-460-M90/536ep.o [root@localhost Desktop]# ls Cestino/ Intel536-460-M90/ Welcome.desktop Intel-536ep-M.tgz* Home.desktop [root@localhost Desktop]# cd Intel536-460-M90 [root@localhost Intel536-460-M90]# ls 536ep-boot* 536ep.o hamregistry* makefile 536epcore.o config_check inc/ readme.txt 536ep-inst* coredrv/ license.txt serialdrv/ [root@localhost Intel536-460-M90]# make clean cd coredrv; make clean make[1]: Entering directory `/home/asghan/Desktop/Intel536-460-M90/coredrv' rm -f *.o *~ core make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M90/coredrv' cd serialdrv; make clean make[1]: Entering directory `/home/asghan/Desktop/Intel536-460-M90/serialdrv' rm -f *.o *~ core make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M90/serialdrv' rm -f *.o rm -f *.o [root@localhost Intel536-460-M90]# make 536ep Module precompile check Current running kernel is: 2.4.21-0.13mdk /lib/modules... autoconf.h does not exist please install kernel source make: *** [check] Error 1 [root@localhost Intel536-460-M90]# make install bash 536ep-inst running kernel 2.4.21-0.13mdk installing hamregistry, used for persistant storage installing 536EP module install: impossibile fare stat di `536ep.o': No such file or directory installing 536ep core module install: impossibile fare stat di `536epcore.o': No such file or directory mandrake 536ep-boot script starting module and utilities rm: impossibile rimuovere `/dev/536ep': Operation not permitted done [root@localhost Intel536-460-M90]# queste sono le istruzioni x installarli ReadMe file for the Intel® 536EP V.92 chipset Linux driver contents: 1. License 2. Release Notes 3. Installation 4. File Descriptions 5. International Users 6. Beta Tester appreciation 7. Security issues 8. Compilation issues a. Instructions for Debian Users b. Kernel Source 9. What is the Hamregistry? 10. what's v92 and v44? 11. The Hamregistry tool (for persistance) 12. Known Bugs/Issues 13. Comments, ideas, problems, fixes ------------------------------------------------------------------------------- 1. LICENSE IMPORTANT - read the file "LICENSE.txt" for the INTEL SOFTWARE LICENSE AGREEMENT BEFORE COPYING, INSTALLING OR USING. ------------------------------------------------------------------------------- 2. Release Notes This release supports 2.4.x kernels. This release is not compatible with kernels prior to 2.4. The 536EP corecode binary was compiled with gcc version 3.2 v92 support added: modem on hold AT command set, PCM upstream, v44, and quick connect are implemented. Linux Compatability tests are performed on the latest or previous versions of the following distributions: Mandrake, RedHat, and SuSE ------------------------------------------------------------------------------- 3. INSTALLATION Prerequisites: 1. root access 2. bash shell to run install scripts 3. a 536EP modem 4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING. and programming development tools installed as well 6 steps to install 1. login as ROOT 2. extract the archive into a directory with "tar -zxvf <archivename>.tgz" 3. cd into the directory it created. 4. Type: make clean 5. Type: make 536ep 6. Type: make install Please examine the 536ep-inst script if you have a different distribution. The driver is split in two. A serial driver and core driver. The core driver must be loaded first since the serial driver depends on it. The serial driver registers itself as character device major number 240, minor number 1. ATTENTION: if the driver compiles but the script just wont work for you. Here are the bare minimum steps to get your modem to work. 0. log in as root. 1. insmod -f 536epcore.o 2. insmod -f 536ep.o 2a. you can start "hamregistry" at this point if you wish. 3. rm /dev/536ep 4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not work see what /proc/devices says 536ep's major number is) 5. ln -s /dev/536ep /dev/modem 6. start a comm application like minicom and use the modem. 7. see section 3 (International Users) for info on setting the correct country settings. ------------------------------------------------------------------------------- 4. FILE DESCRIPTIONS 536ep-inst installation script to install 536ep modules and supporting files files copied to /lib/modules/(kernel-version)/misc 536epcore.o driver core code module 536ep.o pseudo serial driver for 536ep, depends on 536epcore.o files copied to /etc/rc.d/... (path differes per distribution) 536ep-boot boot scrip to start and stop 536ep modules files copied to /usr/sbin hamregistry hamregistry is the "registry" like tool that the modem uses to get and store persistant data such as county info and profile strings. files copied to /etc hamregistry.bin file that stores the initial persistant data for modem. ------------------------------------------------------------------------------- 5. INTERNATIONAL USERS hamregistry will store the last country setting you set in the modem. in minicom (or equivalent comm application) the commmand to change country setting is "AT+GCI=" the command takes a t.35 country code in hexadecimal. below is a list of currently supported t.35 country codes. you can also put this "AT" command in the init string of the comm application you are using. if you are a CTR-21 country I think you should be able to choose a CTR-21 country on the list and be ok. but that's no guarantee. The same goes for countries that are "USA" compatable. (this table also exist in the source file wwh_dflt.c that ships with the 536epcore driver) inspect the wwh_dflt.c file provided to find out what your country's t.35 code is. ------------------------------------------------------------------------------- 6. Thanks to the following beta testers for ..... and all of the helpful Linux HaM users around the world and at www.linmodems.org ------------------------------------------------------------------------------- 7. Security issues the 536ep-inst and 536ep-boot file install the files and device nodes as root for the owner and group. this will cause problems for those who want to user the modem to dialout using an account other than root. In SuSE, "dialout" is the group used to install the files and device node. This way, anyone belonging to the "dialout" group can use the modem to dialout. (take a look at /etc/group) I did not want the script to allow full access of the modem to everyone without "root" knowing. Edit the 536ep-boot and 536ep-inst scripts to fit your needs. ------------------------------------------------------------------------------- 8. Compile issues a. this driver will now compile with the this path: /lib/modules/<kernel version>/build/include the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h over to the kernel build path. I have the makefile do this if this file exists. You must install the kernel source code anyways. It should be on your distribution's CD. ------------------------------------------------------------------------------- 9. What is the Hamregistry? The hamregistery is an application that stores data for the 536ep driver onto the disk. hamregistry stores information from the driver that needs to persist from reboot to reboot such as you current country setting. The 536ep-inst install script and the 536ep-boot script start this utility automatically for you. If this tool is not present when the driver gets used your profile, quickconnect, and current country setting will not be saved but the driver should still work fine. The only step that would need to be done is to make sure that the driver is set to the correct country with at+gci= (see section 5) ------------------------------------------------------------------------------- 10. What's v92 and v44? a. modem on hold: (ISP and your ISP dialer must also support this) This will allow you to pause your ppp connection to answer an incoming call. You will need call waiting, dialer, and ISP support for this to work. When you are done with the call you can resume your ppp connection without having to reconnect. The AT command set for this feature exist in the driver. b, pcm upstream: (ISP must also support this, as of version 4.32 I dont know any ISP's that do) This will allow faster upload speeds. to enable: at+pig=0 to disable: at+pig=1 c. quickconnect: Once you make a call to a v92 modem, your phoneline characteristics are stored. Whenever you make a new v92 connection it will use this data to make the call negotiation quicker (approx 10 seconds). to enable: at+pqc=0 at+pss=0 to disable: at+pss=2 d. v44: (ISP must also support this) A better compression protocol than v42 which can give you better transfer speeds. ------------------------------------------------------------------------------- 11. The Hamregistry tool The hamregistry tool is used to provide persistance of settings across reboots. The haminst and hamboot scripts automatically setup and start the hamregistry background task for the modem to use. The hamregistry tool has command line arguments for those who wish to customize persistant settings. To use these command lines you must first stop the driver with "bash hamboot stop". Once the driver has been stopped you may run hamregistry with one of these arguments to store into the /etc/hamregistry.bin persistance file: (supply value for items in < > ![]() -mfg <Modem manufactures name> -mod <Modem model name> -hookflash <0,1,2> hookflash method: 0=(default)without tone 1=with tone 2=reserved -v92rptopt <0,1> control v92 reporting: 0=PCM upsteam only 1=(default) all v92 -gpio_lpohd <0,1> Handset Hook detection: 0=not supported 1=(default)supported -currentcountry <t.35 code> This info is written to the /etc/hamregistry.bin file. If hamregistry.bin exists along with the installation files, haminst will copy it to /etc/hamregistry.bin when installing the modem. ------------------------------------------------------------------------------- 12. Known Bugs/Issues a. If you see this message "536ep:rs_open: DSP did not reset. try again or restart computer" and you KNOW you have a HaM modem installed Disable "PNP OS" in your bios. There is a problem with the driver and linux PNP. After a time, Linux PNP will disable the card and the driver currently can not reenable itself. b. Be aware that the build replaces your /lib/module/<kernver>//build/include/linux/version.h file with /boot/vmlinuz.version.h (this is what Linus T. told me to do with a compiler error) c. There may be an incompatibility with DevFS. The 536ep device may be located in /dev/tts/536ep instead of /dev/536ep. Be aware of this and link /dev/modem to the 536ep device that corresponds to your setup. e. Incase you are having problems making a ppp connection try using wvidal with this information below. execute the script and it will have wvdial make the ppp connection ------my script---------------------- #! /bin/sh /usr/sbin/pppd -detach lock asyncmap 00000000 \ defaultroute debug /dev/modem 57600 \ ipparam ppp0 linkname ppp0 \ noauth \ connect "/usr/bin/wvdial --chat bellsouth" ------my /etc/wvdial.conf section --- [Dialer bellsouth] Modem = /dev/modem Baud = 57600 Init1 = ATZ Inti2 = ATQ0 V1 E1 S0=0 &C1 &D2 Dial Command = ATDT Phone = 6859500 Username = myloginname Password = mysecretpassword #Ask Password = 1 Stupid Mode = 0 ------------------ ------------------------------------------------------------------------------- 13. Comments, ideas, problems, fixes? please contact: Linux Voice Band Modems (VBM) of Intel Residential Access Division (RAD) vbm.linux@intel.com http://developer.intel.com/design/modems/ To restrict email volume, please email only development related issues that are needed to fix a bug or improve the driver. General questions on how to use the Linux may not be responed to. Other resources and information on Linux controllerless modems can be found on these usefull sites http://www.linmodems.org and http://linmodems.technion.ac.il grazie e ciao |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Sembra che non hai installate le sorgenti del kernel.
Cos'hai nella cartella /usr/src ? Ciao
__________________
GPU Compiler Engineer |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
ESATTO non hai i sorgenti... I driver vanno benissimo io li ho installati da 10 giorni e il Modem è perfetto
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
Quote:
ti rispondo solo ora x che ho dovuto riavviare il pc con linux c’era questo [root@localhost /]# ls bin/ dev/ home/ lib/ opt/ root/ tmp/ var/ boot/ etc/ initrd/ mnt/ proc/ sbin/ usr/ [root@localhost /]# cd usr [root@localhost usr]# ls bin/ etc/ games/ include/ lib/ local/ sbin/ share/ src/ tmp@ X11R6/ [root@localhost usr]# cd src [root@localhost src]# ls RPM/ [root@localhost src]# cd RPM [root@localhost RPM]# ls BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/ [root@localhost RPM]# |
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Appunto , mancano i kernel Sources (o i kernel headers) .
Installali con RPMDrake, non avendo MDK non so dirti di meglio CIao
__________________
GPU Compiler Engineer |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
Quote:
dove trovo i sorgenti, come si installano ![]() |
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
ciao e grazie x l’aiuto
![]() ho installato i sorgenti, almeno credo ora nella directory usr/src ci sono questi queste 3 directory linux linux-2.4.21-0.13mdk RPM quindi ho provato a reinstallare i driver (vedi sotto) ma alla fine mi da ancora errori ![]() ho anche provato a controllare dal centro di controllo mankrake x vedere se era cambiato qualcosa ma il modem (fa ancora compagnia alle altre due periferiche) risulta ancora sconosciuto ![]() [root@localhost Desktop]# tar -zxvf Intel-536ep-M.tgz ............ .................. [root@localhost Desktop]# cd Intel536-460-M90 [root@localhost Intel536-460-M90]# ls 536ep-boot* 536ep.o hamregistry* makefile 536epcore.o config_check inc/ readme.txt 536ep-inst* coredrv/ license.txt serialdrv/ [root@localhost Intel536-460-M90]# make clean cd coredrv; make clean make[1]: Entering directory `/home/asghan/Desktop/Intel536-460- M90/coredrv' rm -f *.o *~ core make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M 90/coredrv' cd serialdrv; make clean make[1]: Entering directory `/home/asghan/Desktop/Intel536-460- M90/serialdrv' rm -f *.o *~ core make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M 90/serialdrv' rm -f *.o rm -f *.o [root@localhost Intel536-460-M90]# make 536ep Module precompile check Current running kernel is: 2.4.21-0.13mdk /lib/modules... autoconf.h exists diff: /boot/vmlinuz.autoconf.h: No such file or directory autoconf.h matches running kernel diff: /boot/vmlinuz.version.h: No such file or directory version.h matches running kernel cd coredrv; make \ "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \ 536ep; make[1]: Entering directory `/home/asghan/Desktop/Intel536-460- M90/coredrv' cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv .c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain .c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o rts.o rts.c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o task.o task.c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o uart.o uart.c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_df lt.c ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epc ore.lib -o 536epcore.o make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M 90/coredrv' cp coredrv/536epcore.o . cd serialdrv; make \ "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \ 536ep; make[1]: Entering directory `/home/asghan/Desktop/Intel536-460- M90/serialdrv' cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I ../inc -c -o softserial.o sof tserial.c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I ../inc -c -o softserial_io.o softserial_io.c cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modul es/`uname -r`/build/include -I ../inc -c -o softserial_ioctl .o softserial_ioctl.c ld -r softserial.o softserial_io.o softserial_ioctl.o -o 536ep. o make[1]: Leaving directory `/home/asghan/Desktop/Intel536-460-M 90/serialdrv' cp serialdrv/536ep.o . [root@localhost Intel536-460-M90]# make install bash 536ep-inst running kernel 2.4.21-0.13mdk installing hamregistry, used for persistant storage installing 536EP module installing 536ep core module mandrake 536ep-boot script starting module and utilities rm: impossibile rimuovere `/dev/536ep': Operation not permitted done [root@localhost Intel536-460-M90]# [/b] |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Ora non da gli errori di prima però... Sembra che non riesca a cancellare /dev/536ep
Prova a cancellarlo a mano sempre da root |
![]() |
![]() |
![]() |
#9 | |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
Quote:
ho provato a guardare ma non ho trovato alcun file o directory con quel nome inoltre mi sembra di aver trovato un altro problema/errore [root@localhost Intel536-460-M90]# make 536ep Module precompile check Current running kernel is: 2.4.21-0.13mdk /lib/modules... autoconf.h exists diff: /boot/vmlinuz.autoconf.h: No such file or directory autoconf.h matches running kernel diff: /boot/vmlinuz.version.h: No such file or directory version.h matches running kernel cd coredrv; make \ "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX |
|
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Continui ad aver problemi... In /boot non trova quel file ma non ti so dire a cosa serve...
Ah Mandrake! Io con la Slackware 9.0 ho messo il Modem su in 5 minuti ![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Perchè non scarichi i .tar.gz generici per Kernel 2.4.x?
|
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
|
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
hai provato a dare il comando "modprobe 536ep" da root? I moduli sembrano installati, magari non riesce solo a caricarli prova a caricarli a mano
Ciao
__________________
GPU Compiler Engineer |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
ciao
intendi dire così........ ho sbagliato qualcosa??? [root@localhost root]# modprobe 536ep [root@localhost root]# [root@localhost root]# [root@localhost root]# "modprobe 536ep" bash: modprobe 536ep: command not found [root@localhost root]# non so come si caricano a mano, non saprei da che parte incominciare |
![]() |
![]() |
![]() |
#15 | |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
Quote:
ciao ![]() |
|
![]() |
![]() |
![]() |
#16 | |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
Quote:
ho provato anche cosi ma non succede niente |
|
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
Quote:
![]() ciao ![]() |
|
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: May 2001
Messaggi: 438
|
ciao
ora finalmente posso rispondervi anche con "linux" grazie x l'aiuto ![]() |
![]() |
![]() |
![]() |
#19 |
Member
Iscritto dal: Apr 2003
Messaggi: 253
|
Tanto x raccontare anch'io vi dico di essere riuscito ad installare un modem Intel536ep. Ora navigo ma sto avendo grossi problemi con la post. Dice di non trovare il 'localhost' anche quando sono conneso....
...continuerò a provare...troppo bello...
__________________
Asus W3450NBP ![]() |
![]() |
![]() |
![]() |
#20 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Quando mi disconnetto va a culo la Rete e devo riavviare, per il resto tutto bene...
![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:05.