FabioPD Inserito: 24 ottobre 2019 Segnala Inserito: 24 ottobre 2019 [Aiuto con raspberry] quando collego ad una porta USB del raspy un convertitore seriale (232 o 485) come posso vedere se la porta viene vista nel sistema? mi viene assegnata una porta COM (come in Windows?) grazie
ilguargua Inserita: 24 ottobre 2019 Segnala Inserita: 24 ottobre 2019 Lancia in console il comando : tail -f /var/log/syslog e successivamente collega il tuo dispositivo. L'output dovrebbe essere simile a questo : Oct 24 18:24:33 guargua-desktop kernel: [ 3687.913357] usb 5-2: new full-speed USB device number 2 using xhci_hcd Oct 24 18:24:33 guargua-desktop kernel: [ 3688.079168] usb 5-2: New USB device found, idVendor=067b, idProduct=2303 Oct 24 18:24:33 guargua-desktop kernel: [ 3688.079173] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Oct 24 18:24:33 guargua-desktop kernel: [ 3688.079176] usb 5-2: Product: USB-Serial Controller Oct 24 18:24:33 guargua-desktop kernel: [ 3688.079178] usb 5-2: Manufacturer: Prolific Technology Inc. Oct 24 18:24:33 guargua-desktop mtp-probe: checking bus 5, device 2: "/sys/devices/pci0000:00/0000:00:10.0/usb5/5-2" Oct 24 18:24:33 guargua-desktop mtp-probe: bus: 5, device: 2 was not an MTP device Oct 24 18:24:33 guargua-desktop kernel: [ 3688.109071] usbcore: registered new interface driver usbserial_generic Oct 24 18:24:33 guargua-desktop kernel: [ 3688.109088] usbserial: USB Serial support registered for generic Oct 24 18:24:33 guargua-desktop kernel: [ 3688.111244] usbcore: registered new interface driver pl2303 Oct 24 18:24:33 guargua-desktop kernel: [ 3688.111264] usbserial: USB Serial support registered for pl2303 Oct 24 18:24:33 guargua-desktop kernel: [ 3688.111295] pl2303 5-2:1.0: pl2303 converter detected Oct 24 18:24:33 guargua-desktop kernel: [ 3688.139028] usb 5-2: pl2303 converter now attached to ttyUSB0 L'ultima riga è quella che ti interessa, potrai usare il tuo dispositivo come /dev/ttyUSB0 (o quello che ti appare, questo è solo l'esempio con un convertitore che ho sottomano). Ciao, Ale. +
Messaggi consigliati
Crea un account o accedi per commentare
Devi essere un utente per poter lasciare un commento
Crea un account
Registrati per un nuovo account nella nostra comunità. è facile!
Registra un nuovo accountAccedi
Hai già un account? Accedi qui.
Accedi ora