Il forum di Galexonline

Il forum di Galexonline
[ Home | Registrati | Discussioni Attive | Discussioni Recenti | Segnalibro | Msg privati | Sondaggi Attivi | Utenti | Download | Cerca | FAQ ]
Nome Utente:
Password:
Salva Password
Password Dimenticata?

 Tutti i Forum
 TECHNET
 Linux & Open Source
 USB to RS232 adapter in Linux
 Nuova Discussione  Rispondi
 Versione Stampabile Bookmark this Topic Aggiungi Segnalibro
I seguenti utenti stanno leggendo questo Forum Qui c'è:
Autore Discussione Precedente Discussione Discussione Successiva  

galexonline
Amministratore



Regione: Lazio
Prov.: Viterbo
Città: Civita Castellana


122 Messaggi

Inserito il - 20/03/2008 : 11:34:10  Mostra Profilo  Visita l'Homepage di galexonline Invia a galexonline un Messaggio Privato  Rispondi Quotando
usb to RS232 adapter,

1) check the so detect the device:

plug the device and check that the device was detected:

dmesg

at the end of the messages, you should see something like:

usb 1-1: new full speed USB device using uhci_and address 2
usb 1-1: configuration #1 chosen from 1 choice


2) check the vendor and the product

unplug the device then run

lsusb


You will see a summary list of your USB devices on the system, for example :

Bus 001 Device 001: ID 0000:0000


plug the device back then run lsusb again:

lsusb

it returns the summary list again showing the new USB device:

Bus 001 Device 002: ID 4348:5523
Bus 001 Device 001: ID 0000:0000


3) load up the driver for the device:

sudo modprobe usbserial vendor=0x4348 product=0x5523

4) check weather it loaded properly.

dmesg

see at the end if something appear like:

usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic


the device can be used on /dev/ttyUSB0. As much fun as you had doing this, there is some chance you want to do this automatically in the future. Just add this line:

usbserial vendor=0x4348 product=0x5523

to /etc/modules with the vendor and product numbers you found. Now, you should have no problem using this device for RepRap like a normal serial port. Huzzah! grinning smiley


  Discussione Precedente Discussione Discussione Successiva  
 Nuova Discussione  Rispondi
 Versione Stampabile Bookmark this Topic Aggiungi Segnalibro
Vai a:
Il forum di Galexonline © 2002-05 Galexonline Torna all'inizio della Pagina
Questa pagina è stata generata in 0,08 secondi. TargatoNA.it | SuperDeeJay.Net | Snitz Forums 2000

Home