I am trying to run kannel bearer box but i got error something like could not write/read device. I think kannel doest have permission to read/write bluetooth device /dev/rfcomm0
Thanks for reading. Any help would be appreciated.
From stackoverflow
-
with root account do
chmod a+rw /dev/rfcomm0
-
If you know which program is generating the error message, run the program with
strace
and see which system call yields the error. If it'sopen
, then thechmod
solution recommended by Francis should do the trick. If it'sread
orwrite
, then you should investigate further: is there a problem in the kernel or the appication code.
0 comments:
Post a Comment