Newsgroup: it.comp.os.linux.iniziare
Titolo: Modem 56k

Ciao, ho una Arch (kernel 2.6.19) e devo installare un modem 56k sul
mio portatile. Il portatile è un Vaio S5. Dopo averle provate tutte
per installare il modem interno ma senza risultati ho deciso di usare
il mio vecchio modem esterno seriale che però devo collegare tramite
usb perché il mio portatile non ha la seriale. Il modem è un wytek,
non riesco però a capire che tipo di modem sia e quali driver devo
scaricare per usarlo. Qualcuno mi sa aiutare? Può essere un problema
collegare questo modem seriale tramite adattatore all'usb? Grazie.


Non Ã del modem che devi preoccuparti ma dell'adattatore.. il modem
seriale una volta assegnatoli un device si usa cosÃ com'Ã¨non servono i
driver. Devi vedere se l'adattatore viene riconosciuto e gli viene
assegnato un device tipo ttyUSB0 o robe simili.. lo puoi vedere con dmesg,
tail -f /var/log/messages.log, lsusb, e con arch probabilmente anche lshwd
o hwd ti diranno qualcosa
-- 
[Filippo...........................]
[Linux User #342745................]
        ==[...penguin powered...]==

 o hwd ti diranno qualcosa
[root@darch dario]# tail -f /var/log/messages.log
Jan  5 15:47:15 darch usbcore: registered new interface driver hiddev
Jan  5 15:47:15 darch input: Logitech USB Receiver as
/class/input/input4
Jan  5 15:47:15 darch input: USB HID v1.10 Mouse [Logitech USB
Receiver] on usb-
0000:00:1d.1-1
Jan  5 15:47:15 darch usbcore: registered new interface driver usbhid
Jan  5 15:47:15 darch drivers/usb/input/hid-core.c: v2.6:USB HID core
driver
Jan  5 15:47:15 darch eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet
(fw-host0
)
Jan  5 15:47:15 darch Adding 1028120k swap on /dev/sda6.  Priority:-1
extents:1
across:1028120k
Jan  5 15:48:21 darch NET: Registered protocol family 10
Jan  5 15:48:21 darch lo: Disabled Privacy Extensions
Jan  5 15:48:21 darch Mobile IPv6
[root@darch dario]# lshwd
00:00.0 Host bridge: Intel Corp.|Mobile Memory Controller Hub
(intel-agp)
00:01.0 PCI bridge: Intel Corp.|Mobile Memory Controller Hub PCI
Express Port (u
nknown)
00:1b.0 Audio device: Intel Corp.|I/O Controller Hub Audio
(snd-hda-intel)
00:1d.0 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.1 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.2 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.3 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.7 USB Controller: Intel Corp.|I/O Controller Hub USB2 (unknown)
00:1e.0 PCI bridge: Intel Corp.|82801 Hub Interface to PCI Bridge
(hw_random)
00:1f.0 ISA bridge: Intel Corp.|I/O Controller Hub LPC (i810-tco)
00:1f.1 IDE interface: Intel Corp.|I/O Controller Hub PATA (piix)
00:1f.2 IDE interface: Intel Corp.|82801FR/FRW (ICH6R/ICH6RW) SATA
Controller (a
                 ta_piix)
00:1f.3 SMBus: Intel Corp.|I/O Controller Hub SMBus (i2c-i801)
01:00.0 VGA compatible controller: nVidia Corp.|GeForce Go 6400 (vesa)
06:05.0 CardBus bridge: Texas Instruments|PCI7420 CardBus Controller
(yenta_sock
               et)
06:05.2 FireWire (IEEE 1394): Texas Instruments|PCI7x20 1394a-2000 OHCI
Two-Port
             PHY/Link-Layer Controller (unknown)
06:05.3 Mass storage controller: Texas Instruments|PCI7420 Flash Media
Controlle
             r (unknown)
06:08.0 Ethernet controller: Intel Corp.|Ethernet Controller (e100)
06:0b.0 Network controller: Intel Corp.|Intel(R) PRO/Wireless 2200BG
(ipw2200)
003:002 USB Human Interface Devices: USB Receiver [/dev/input/mice]
(usbhid)
003:001 USB Hub: Virtual|Hub (hub)
002:002 USB Vendor Specific Class: Prolific Technology, Inc.|PL2303
Serial Port
                (pl2303)
002:001 USB Hub: Virtual|Hub (hub)
005:001 USB Hub: Virtual|Hub (hub)
004:001 USB Hub: Virtual|Hub (hub)
001:001 USB Hub: Virtual|Hub (hub)
---:--- Mouse: PS/2 Mouse port [/dev/psaux] (msintellips/2)
Non capisco se me lo vede o meno, è questo per caso?
002:002 USB Vendor Specific Class: Prolific Technology, Inc.|PL2303
Serial Port
                (pl2303)

                 (pl2303)
si èproprio questo, il device dovrebbe essere /dev/ttyUSB0 o
/dev/tts/USB0. tail -f /var/log/messages.log lo devi dare prima di
attaccare il modem, attaccare quindi il modem e leggere quello che
succede.. tra le varie scritte dovrebbe dirti il device assegnato al modem


 succede.. tra le varie scritte dovrebbe dirti il device assegnato al modem
[root@darch dario]# tail -f /var/log/messages.log
Jan  7 18:03:10 darch usbcore: registered new interface driver
usbserial_generic
Jan  7 18:03:10 darch drivers/usb/serial/usb-serial.c: USB Serial
Driver core
Jan  7 18:03:10 darch drivers/usb/serial/usb-serial.c: USB Serial
support registered for pl2303
Jan  7 18:03:10 darch pl2303 2-1:1.0: pl2303 converter detected
Jan  7 18:03:10 darch usb 2-1: pl2303 converter now attached to ttyUSB0
Jan  7 18:03:10 darch usbcore: registered new interface driver pl2303
Jan  7 18:03:10 darch drivers/usb/serial/pl2303.c: Prolific PL2303 USB
to serial adaptor driver
Jan  7 18:03:48 darch usb 2-1: USB disconnect, address 3
Jan  7 18:03:48 darch pl2303 ttyUSB0: pl2303 converter now disconnected
from ttyUSB0
Jan  7 18:03:48 darch pl2303 2-1:1.0: device disconnected
Jan  7 18:03:56 darch usb 2-1: new full speed USB device using uhci_hcd
and address 4
Jan  7 18:03:56 darch usb 2-1: configuration #1 chosen from 1 choice
Jan  7 18:03:56 darch pl2303 2-1:1.0: pl2303 converter detected
Jan  7 18:03:56 darch usb 2-1: pl2303 converter now attached to ttyUSB0
Ho provato sulle varie porte /dev/... ma mi risponde sempre "unable to
open the modem".

 Jan  7 18:03:10 darch usb 2-1: pl2303 converter now attached to ttyUSB0
ln -s /dev/ttyUSB0 /dev/modem
-- 
Signature automatica inserita a mano.
In God we trust, all others we monitor 
(National Security Agency)

 ln -s /dev/ttyUSB0 /dev/modem
Ho fatto ma continua a dirmi "unable to open the modem" quando faccio
"query modem". Forse sbaglio in qualcosa di banale?! Uso kppp per
effettuare la connessione:
modem device: /dev/modem
flow control: none
Line termination: CR
Connection speed: 921600 (ho anche provato ad impostarla su 46000 ma
non cambia nulla)
Use lock file: attivo
Modem timeout: 60 sec

 effettuare la connessione:
Permessi di /dev/ttyUSB0 ?
-- 
Ciao.
Alessandro 
"Ubuntu" - an African word, meaning "Slackware is too hard for me".

 Permessi di /dev/ttyUSB0 ?
E' normale che non esista? Ho eseguito "ls -l /dev" ma non vedo ttyUSB0
lrwxrwxrwx 1 root root           12  7 gen  2007 agpgart ->
misc/agpgart
lrwxrwxrwx 1 root root           11  7 gen  2007 audio -> sound/audio
drwxr-xr-x 3 root root            0  7 gen  2007 bus
drwxr-xr-x 2 root root            0  7 gen  2007 cd
lrwxrwxrwx 1 root root           17  7 gen  2007 cdrom ->
/dev/cd/cdrom-hda
lrwxrwxrwx 1 root root           17  7 gen  2007 cdrom0 ->
/dev/cd/cdrom-hda
lrwxrwxrwx 1 root root           16  7 gen  2007 cdrw ->
/dev/cd/cdrw-hda
lrwxrwxrwx 1 root root           16  7 gen  2007 cdrw0 ->
/dev/cd/cdrw-hda
crw-rw---- 1 root tty       5,    1  7 gen 22:41 console
lrwxrwxrwx 1 root root           11  7 gen  2007 core -> /proc/kcore
drwxr-xr-x 6 root root            0  7 gen 22:40 disk
lrwxrwxrwx 1 root root            9  7 gen  2007 dsp -> sound/dsp
lrwxrwxrwx 1 root root           15  7 gen  2007 dvd -> /dev/cd/dvd-hda
lrwxrwxrwx 1 root root           15  7 gen  2007 dvd0 ->
/dev/cd/dvd-hda
lrwxrwxrwx 1 root root           13  7 gen  2007 fd -> /proc/self/fd
crw-rw-rw- 1 root root      1,    7  7 gen  2007 full
brw-rw---- 1 root optical   3,    0  7 gen  2007 hda
prw------- 1 root root            0  7 gen 22:40 initctl
drwxr-xr-x 3 root root            0  7 gen  2007 input
crw-r----- 1 root kmem      1,    2  7 gen  2007 kmem
crw-rw---- 1 root root      1,   11  7 gen  2007 kmsg
srw-rw-rw- 1 root root            0  7 gen 22:40 log
drwxr-xr-x 2 root root            0  7 gen  2007 loop
lrwxrwxrwx 1 root root            6  7 gen  2007 loop0 -> loop/0
lrwxrwxrwx 1 root root            6  7 gen  2007 loop1 -> loop/1
lrwxrwxrwx 1 root root            6  7 gen  2007 loop2 -> loop/2
lrwxrwxrwx 1 root root            6  7 gen  2007 loop3 -> loop/3
lrwxrwxrwx 1 root root            6  7 gen  2007 loop4 -> loop/4
lrwxrwxrwx 1 root root            6  7 gen  2007 loop5 -> loop/5
lrwxrwxrwx 1 root root            6  7 gen  2007 loop6 -> loop/6
lrwxrwxrwx 1 root root            6  7 gen  2007 loop7 -> loop/7
crw-r----- 1 root kmem      1,    1  7 gen  2007 mem
drwxr-xr-x 2 root root            0  7 gen  2007 misc
lrwxrwxrwx 1 root root           11  7 gen  2007 mixer -> sound/mixer
crw-rw-rw- 1 root root      1,    3  7 gen  2007 null
crw-rw-rw- 1 root root    195,    0  7 gen 22:41 nvidia0
crw-rw-rw- 1 root root    195,  255  7 gen 22:41 nvidiactl
crw-r----- 1 root kmem      1,    4  7 gen  2007 port
lrwxrwxrwx 1 root root           10  7 gen  2007 psaux -> misc/psaux
crw-rw-rw- 1 root tty       5,    2  7 gen 22:45 ptmx
drwxr-xr-x 2 root root            0  7 gen  2007 pts
lrwxrwxrwx 1 root root            4  7 gen  2007 ram0 -> rd/0
lrwxrwxrwx 1 root root            4  7 gen  2007 ram1 -> rd/1
lrwxrwxrwx 1 root root            5  7 gen  2007 ram10 -> rd/10
lrwxrwxrwx 1 root root            5  7 gen  2007 ram11 -> rd/11
lrwxrwxrwx 1 root root            5  7 gen  2007 ram12 -> rd/12
lrwxrwxrwx 1 root root            5  7 gen  2007 ram13 -> rd/13
lrwxrwxrwx 1 root root            5  7 gen  2007 ram14 -> rd/14
lrwxrwxrwx 1 root root            5  7 gen  2007 ram15 -> rd/15
lrwxrwxrwx 1 root root            4  7 gen  2007 ram2 -> rd/2
lrwxrwxrwx 1 root root            4  7 gen  2007 ram3 -> rd/3
lrwxrwxrwx 1 root root            4  7 gen  2007 ram4 -> rd/4
lrwxrwxrwx 1 root root            4  7 gen  2007 ram5 -> rd/5
lrwxrwxrwx 1 root root            4  7 gen  2007 ram6 -> rd/6
lrwxrwxrwx 1 root root            4  7 gen  2007 ram7 -> rd/7
lrwxrwxrwx 1 root root            4  7 gen  2007 ram8 -> rd/8
lrwxrwxrwx 1 root root            4  7 gen  2007 ram9 -> rd/9
crw-rw-rw- 1 root root      1,    8  7 gen  2007 random
drwxr-xr-x 2 root root            0  7 gen  2007 rd
lrwxrwxrwx 1 root root            8  7 gen  2007 rtc -> misc/rtc
brw-rw---- 1 root disk      8,    0  7 gen  2007 sda
brw-rw---- 1 root disk      8,    1  7 gen  2007 sda1
brw-rw---- 1 root disk      8,    2  7 gen  2007 sda2
brw-rw---- 1 root disk      8,    3  7 gen  2007 sda3
brw-rw---- 1 root disk      8,    5  7 gen  2007 sda5
brw-rw---- 1 root disk      8,    6  7 gen  2007 sda6
brw-rw---- 1 root storage   8,   16  7 gen 22:40 sdb
brw-rw---- 1 root storage   8,   17  7 gen 22:40 sdb1
lrwxrwxrwx 1 root root           15  7 gen  2007 sequencer ->
sound/sequencer
lrwxrwxrwx 1 root root           16  7 gen  2007 sequencer2 ->
sound/sequencer2
drwxrwxrwt 2 root root           40  7 gen 22:40 shm
crw-rw---- 1 root root     10,  231  7 gen  2007 snapshot
drwxr-xr-x 2 root root            0  7 gen  2007 snd
drwxr-xr-x 2 root root            0  7 gen  2007 sound
lrwxrwxrwx 1 root root           15  7 gen  2007 stderr ->
/proc/self/fd/2
lrwxrwxrwx 1 root root           15  7 gen  2007 stdin ->
/proc/self/fd/0
lrwxrwxrwx 1 root root           15  7 gen  2007 stdout ->
/proc/self/fd/1
drwxr-xr-x 2 root root            0  7 gen  2007 tts
crw-rw-rw- 1 root tty       5,    0  7 gen  2007 tty
lrwxrwxrwx 1 root root            4  7 gen  2007 tty0 -> vc/0
lrwxrwxrwx 1 root root            4  7 gen  2007 tty1 -> vc/1
lrwxrwxrwx 1 root root            5  7 gen  2007 tty10 -> vc/10
lrwxrwxrwx 1 root root            5  7 gen  2007 tty11 -> vc/11
lrwxrwxrwx 1 root root            5  7 gen  2007 tty12 -> vc/12
lrwxrwxrwx 1 root root            5  7 gen  2007 tty13 -> vc/13
lrwxrwxrwx 1 root root            5  7 gen  2007 tty14 -> vc/14
lrwxrwxrwx 1 root root            5  7 gen  2007 tty15 -> vc/15
lrwxrwxrwx 1 root root            5  7 gen  2007 tty16 -> vc/16
lrwxrwxrwx 1 root root            5  7 gen  2007 tty17 -> vc/17
lrwxrwxrwx 1 root root            5  7 gen  2007 tty18 -> vc/18
lrwxrwxrwx 1 root root            5  7 gen  2007 tty19 -> vc/19
lrwxrwxrwx 1 root root            4  7 gen  2007 tty2 -> vc/2
lrwxrwxrwx 1 root root            5  7 gen  2007 tty20 -> vc/20
lrwxrwxrwx 1 root root            5  7 gen  2007 tty21 -> vc/21
lrwxrwxrwx 1 root root            5  7 gen  2007 tty22 -> vc/22
lrwxrwxrwx 1 root root            5  7 gen  2007 tty23 -> vc/23
lrwxrwxrwx 1 root root            5  7 gen  2007 tty24 -> vc/24
lrwxrwxrwx 1 root root            5  7 gen  2007 tty25 -> vc/25
lrwxrwxrwx 1 root root            5  7 gen  2007 tty26 -> vc/26
lrwxrwxrwx 1 root root            5  7 gen  2007 tty27 -> vc/27
lrwxrwxrwx 1 root root            5  7 gen  2007 tty28 -> vc/28
lrwxrwxrwx 1 root root            5  7 gen  2007 tty29 -> vc/29
lrwxrwxrwx 1 root root            4  7 gen  2007 tty3 -> vc/3
lrwxrwxrwx 1 root root            5  7 gen  2007 tty30 -> vc/30
lrwxrwxrwx 1 root root            5  7 gen  2007 tty31 -> vc/31
lrwxrwxrwx 1 root root            5  7 gen  2007 tty32 -> vc/32
lrwxrwxrwx 1 root root            5  7 gen  2007 tty33 -> vc/33
lrwxrwxrwx 1 root root            5  7 gen  2007 tty34 -> vc/34
lrwxrwxrwx 1 root root            5  7 gen  2007 tty35 -> vc/35
lrwxrwxrwx 1 root root            5  7 gen  2007 tty36 -> vc/36
lrwxrwxrwx 1 root root            5  7 gen  2007 tty37 -> vc/37
lrwxrwxrwx 1 root root            5  7 gen  2007 tty38 -> vc/38
lrwxrwxrwx 1 root root            5  7 gen  2007 tty39 -> vc/39
lrwxrwxrwx 1 root root            4  7 gen  2007 tty4 -> vc/4
lrwxrwxrwx 1 root root            5  7 gen  2007 tty40 -> vc/40
lrwxrwxrwx 1 root root            5  7 gen  2007 tty41 -> vc/41
lrwxrwxrwx 1 root root            5  7 gen  2007 tty42 -> vc/42
lrwxrwxrwx 1 root root            5  7 gen  2007 tty43 -> vc/43
lrwxrwxrwx 1 root root            5  7 gen  2007 tty44 -> vc/44
lrwxrwxrwx 1 root root            5  7 gen  2007 tty45 -> vc/45
lrwxrwxrwx 1 root root            5  7 gen  2007 tty46 -> vc/46
lrwxrwxrwx 1 root root            5  7 gen  2007 tty47 -> vc/47
lrwxrwxrwx 1 root root            5  7 gen  2007 tty48 -> vc/48
lrwxrwxrwx 1 root root            5  7 gen  2007 tty49 -> vc/49
lrwxrwxrwx 1 root root            4  7 gen  2007 tty5 -> vc/5
lrwxrwxrwx 1 root root            5  7 gen  2007 tty50 -> vc/50
lrwxrwxrwx 1 root root            5  7 gen  2007 tty51 -> vc/51
lrwxrwxrwx 1 root root            5  7 gen  2007 tty52 -> vc/52
lrwxrwxrwx 1 root root            5  7 gen  2007 tty53 -> vc/53
lrwxrwxrwx 1 root root            5  7 gen  2007 tty54 -> vc/54
lrwxrwxrwx 1 root root            5  7 gen  2007 tty55 -> vc/55
lrwxrwxrwx 1 root root            5  7 gen  2007 tty56 -> vc/56
lrwxrwxrwx 1 root root            5  7 gen  2007 tty57 -> vc/57
lrwxrwxrwx 1 root root            5  7 gen  2007 tty58 -> vc/58
lrwxrwxrwx 1 root root            5  7 gen  2007 tty59 -> vc/59
lrwxrwxrwx 1 root root            4  7 gen  2007 tty6 -> vc/6
lrwxrwxrwx 1 root root            5  7 gen  2007 tty60 -> vc/60
lrwxrwxrwx 1 root root            5  7 gen  2007 tty61 -> vc/61
lrwxrwxrwx 1 root root            5  7 gen  2007 tty62 -> vc/62
lrwxrwxrwx 1 root root            5  7 gen  2007 tty63 -> vc/63
lrwxrwxrwx 1 root root            4  7 gen  2007 tty7 -> vc/7
lrwxrwxrwx 1 root root            4  7 gen  2007 tty8 -> vc/8
lrwxrwxrwx 1 root root            4  7 gen  2007 tty9 -> vc/9
lrwxrwxrwx 1 root root            5  7 gen  2007 ttyS0 -> tts/0
lrwxrwxrwx 1 root root            5  7 gen  2007 ttyS1 -> tts/1
lrwxrwxrwx 1 root root            5  7 gen  2007 ttyS2 -> tts/2
lrwxrwxrwx 1 root root            5  7 gen  2007 ttyS3 -> tts/3
cr--r--r-- 1 root root      1,    9  7 gen 22:40 urandom
crw-rw---- 1 root root    442,    0  7 gen  2007 usbdev1.1_ep00
crw-rw---- 1 root root    442,    0  7 gen  2007 usbdev1.1_ep81
crw-rw---- 1 root root    442,    3  7 gen  2007 usbdev1.4_ep00
crw-rw---- 1 root root    442,    3  7 gen  2007 usbdev1.4_ep81
crw-rw---- 1 root root    442, 2048  7 gen  2007 usbdev2.1_ep00
crw-rw---- 1 root root    442, 2048  7 gen  2007 usbdev2.1_ep81
crw-rw---- 1 root root    442, 4096  7 gen  2007 usbdev3.1_ep00
crw-rw---- 1 root root    442, 4096  7 gen  2007 usbdev3.1_ep81
crw-rw---- 1 root root    442, 6144  7 gen  2007 usbdev4.1_ep00
crw-rw---- 1 root root    442, 6144  7 gen  2007 usbdev4.1_ep81
crw-rw---- 1 root root    442, 8192  7 gen  2007 usbdev5.1_ep00
crw-rw---- 1 root root    442, 8192  7 gen  2007 usbdev5.1_ep81
crw-rw---- 1 root root    442, 8194  7 gen  2007 usbdev5.3_ep00
crw-rw---- 1 root root    442, 8194  7 gen  2007 usbdev5.3_ep02
crw-rw---- 1 root root    442, 8194  7 gen  2007 usbdev5.3_ep81
drwxr-xr-x 2 root root            0  7 gen  2007 vc
drwxr-xr-x 2 root root            0  7 gen 22:41 vcc
crw-rw-rw- 1 root root      1,    5  7 gen  2007 zero

 E' normale che non esista? Ho eseguito "ls -l /dev" ma non vedo ttyUSB0
ma il modem è sempre attaccato? magari dipende da come è configurato
udev prova a usare /dev/tts/USB0 invece che /dev/ttyUSB0


 
Sicuro che il modulo (usb-serial) fosse caricato?


 Sicuro che il modulo (usb-serial) fosse caricato?
Ho provato a caricare il modulo dal file rc.conf ma all'avvio mi dice:
module not found.

dario wrote:

Eppure nel log di prima il modulo appariva.....
Forse il nome e' sbagliato? Non so se nella tua distro c'e' installato udev
(ma credo di si, visto il kernel che usi), nel caso il modulo dovrebbe
caricarsi automaticamente inserendo l'adattatore.
