|
galexonline
Amministratore
 
 Regione: Lazio
Prov.: Viterbo
Città: Civita Castellana
122 Messaggi |
Inserito il - 20/03/2008 : 11:34:10
|
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
|
|