[ubuntu-it] Bluetooth - rfcomm0

s@mba samba a autistici.org
Dom 19 Apr 2009 14:41:24 BST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aldo Calvi wrote:

> Grazie, ma già provato!
> Nel gruppo dialout, nel file /ert/group, è già presente il mio utente.
> 
> Altre idee?

$ ls -l /dev/rfcomm0
$ groups
$ cat  /etc/bluetooth/rfcomm.conf

Io credo che il device /dev/rfcomm0 setti ad ogni boot del sistema
l'owner del device come root:dialup con permessi 440. La mia tesi è
supportata da un vecchio bug descritto qui:
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg34747.html

Per fixare puoi usare molti workaround, io ti consiglio di mettere una
regola in /etc/udev/rules.d/ come descritto nel link che ti ho passato.

$ echo 'KERNEL="rfcomm",        GROUP="dialout"' | sudo tee
/etc/udev/rules.d/bluez_hack.rules

e riavviare udev: /etc/init.d/udev restart

Altrimenti metti una riga di questo tipo nel tuo /etc/rc.local file:
sudo chown dialup:dialup /dev/rfcomm0


ciao
- --
               .-.
         .-'``(   )
      ,`\ \    `-`.
     /   \ '``-.   `   Ubuntu 9.04 (jaunty)
   .-.  ,       `___:  ɐqɯ@s   -  Linux User N°#481469
  (   ) :        ___   http://sambismo.wordpress.com
   `-`  `       ,   :
     \   / ,..-`   ,
      `./ /    .-.`
         `-..-(   )
               `-`

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknrKf4ACgkQhRVBzt2pXnx6mwCgh0fwPWrCnIdVRF6/mgpH4hOL
OWkAoLpHqlYG6z0lAhfuUb8D3diISyOT
=K+LX
-----END PGP SIGNATURE-----



Maggiori informazioni sulla lista ubuntu-it