Ciao a tutti, io sto cercando di leggere e scrivere su un device a caratteri con ubuntu ma quando provo a creare l'outputstream ho questa eccezione:
Questo è il codice che uso:java.io.FileNotFoundException: /dev/usb/legousbtower0 (Device or resource busy)
L'inputstream funziona e provando dal terminale funziona anche la scrittura usandocodice:myInputStream = new FileInputStream("/dev/usb/legousbtower0"); myOutputStream = new FileOutputStream("/dev/usb/legousbtower0");
Ho cercato chi sta usando il device con fuser ma non risulta niente.echo test > /dev/usb/legousbtower0