PDA

View Full Version : Non ho mollato,rieccomi!!


Kaltet
14-06-2004, 13:38
Qualche giorno fa avevo postato i miei primi problemi con SuSE 9.1 Pro e il modem adsl ericsson 120 usb...
Beh, ho fatto qualke passo in avanti e sono riuscito a fare la configurazione solo che... non mi trova il modem!!! :O :O
Ho seguito la guida e le FAQ e vi riporto i messaggi che mi danno i comandi "startmodem", "probe_device.sh", "eci-doctor.sh":
-----STARTMODEM-----

setting up USB support (1/5)..


loading firmware (2/5)..


grep: /proc/bus/usb/devices: No such file or directory

grep: /proc/bus/usb/devices: No such file or directory

modem not found

----PROBE_DEVICE.SH---

WARNING: before probing, please ensure that your USB devices are plugged in

and that your system's USB support is properly configured


USB modem to probe must be UNinitialized, it will surely appear as an unknown

device (because it is not initialized yet), for instance: ? (0547:2131)


config read from /etc/eciadsl/eciadsl.conf


USB devices file not found!

----ECI-DOCTOR.SH----

You are using linux kernel version 2.6.4-52-smp

Support for USB is OK

Preliminary USB device filesystem is missing... trying to mount

mount: none già montato o /proc/bus/usb occupato

mount: in base a mtab, usbfs è già montato su /proc/bus/usb

Preliminary USB device filesystem: failed to load


Help me again! :sofico:

Kaltet
15-06-2004, 00:52
:mc:

e-Tip
15-06-2004, 01:07
ma scrivendo mount da shell (ovviamente da root) hai una cosa che dice circa cosi???
none on /proc/bus/usb type usbfs (rw)
al massimo prova a smontarlo e rimontarlo a mano con il comando
mount -t usbfs none /proc/bus/usb
lsusb ti fornisce qualche cosa di interessante?

Kaltet
15-06-2004, 11:18
Allora, ho fatto un passetto in avanti: ho scoperto che sotto SuSE 9.1 la gestione dei devices è cambiata, lo script startmodem.sh cerca :
/proc/bus/usb/devices
che in suse 9.1 è stato rinominato (perversamente) in
/proc/bus/usb/devices_please-use-sysfs-instead
Quindi bisogna cambiare a mano un paio di righe di comando nello startmodem... ora ottengo questo output:

linux:/usr/local/bin # ./startmodem

setting up USB support (1/5)..

loading firmware (2/5)..

modem not found

Visto che su eciadsl c'è un punto in cui si parla di modem usb che posso venire riconisciuti come periferiche audio, come faccio a vedere che sulla porte usb me lo veda come modem? Non c'è come "gestione perifeiche di windows", dove posso vedere cosa c'è caricato sul io sistema?

Dai che ci sono quasi!

:muro:

e-Tip
15-06-2004, 12:28
lsusb (comando che si trova all'interno del pacchetto usbutils) mi sorge una domanda usi kernel 2.4 o 2.6? se usi il 2.6 hai patchato il kernel?

Kaltet
15-06-2004, 12:56
Si uso il 2.6 ma non l'ho patchato. Ho messo USBViewer, un tool presente all'interno del dvd di installazione di SuSE e il modem sembra rilevarlo correttamente: LINK (http://nuitari.altervista.org/immagini/Varie/USB_VIEWER.jpg)
Qualcuno mi ha consigliato di controllare che avessi USBDEVFS montato correttamente, ho fatto "mount -t usbdevfs usbfs /proc/bus/usb" e mi dice: "il mount point /proc/bus/usb non esiste".

:mc: :mc:

e-Tip
15-06-2004, 13:07
gia come hai detto tu prima il mountpoint ha un'altro nome....
comunque per far funzionare quel modem con il 2.6 sul mio pc ho dovuto applicare la patch che trovi nel sito eciadsl.sf.net (a meno che la nuova release dei driver non tolga la necessita della patch)
senza la patch mi dava lo stesso errore che ti dava a te:)

eciadsl dice
EciAdsl driver is compatible with 2.6 kernels since version 0.9.
All 2.6 kernels between 2.6.0 and 2.6.6 have to be patched (look at link below).
Kernel 2.6.7-rc2 does not need patch, but seems unstable compared to 2.6.6 (for example disconnections when uploading).

patch :
patch (http://eciadsl.flashtux.org/download/beta/2.6.x-usb.patch)

Kaltet
15-06-2004, 13:32
Ok, ma se installo la patch devo ricompilare e reinstallare il kernel... Non ne sono capace, come si fa?