Hallo,
ich habe mir einen Bluetooth-to-Serial Adapter zugelegt, der auch grundlegend funktioniert aber wenn ich per picocom, putty, etc. versuche auf das device /dev/rfcomm0 zuzugreifen, bekomme ich mit meinem normalen User den Fehler "FATAL: cannot open /dev/rfcomm0: Device or resource busy". Mit root bzw. mit sudo geht es. Ein USB-Seriell Adapter funktioniert nach hinzufügen des users zur Gruppe "dialout" problemlos. Da das Device /dev/rfcomm0 ebenfalls der Gruppe "dialout" zugeordnet ist und auch die selben Berechtigungen hat, habe ich keine Idee woran es gerade klemmt...
Hier die Devices:
crw-rw---- 1 root dialout 216, 0 Apr 9 12:23 rfcomm crw-rw---- 1 root dialout 188, 0 Apr 9 14:17 ttyUSB0
Hier der Output von picocom (USB Adapter, BT Adapter, BT Adapter sudo)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | tobias@xps:/dev$ picocom /dev/ttyUSB0 picocom v2.2 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 9600 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, Type [C-a] [C-h] to see available commands Terminal ready tobias@xps:/dev$ picocom /dev/rfcomm0 picocom v2.2 port is : /dev/rfcomm0 flowcontrol : none baudrate is : 9600 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, FATAL: cannot open /dev/rfcomm0: Device or resource busy tobias@xps:/dev$ tobias@xps:/dev$ sudo picocom /dev/rfcomm0 picocom v2.2 port is : /dev/rfcomm0 flowcontrol : none baudrate is : 9600 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, Type [C-a] [C-h] to see available commands Terminal ready Code |
Jemand eine Idee?
Gruß Tobias