Hello! I'm currently trying to upgrade bluez to the newest stable version (4.39-r2) but I got several issues. First of all, when running bluetooth initscript there are some errors appearing into syslog's messages: Sep 27 13:41:09 whitebox bluetoothd[3950]: Bluetooth daemon 4.39 Sep 27 13:41:09 whitebox bluetoothd[3950]: Starting SDP server Sep 27 13:41:09 whitebox bluetoothd[3950]: Starting experimental netlink support Sep 27 13:41:09 whitebox bluetoothd[3950]: Failed to find Bluetooth netlink family Sep 27 13:41:09 whitebox bluetoothd[3950]: Can't create GN bridge Sep 27 13:41:09 whitebox bluetoothd[3950]: HCI dev 0 registered Sep 27 13:41:09 whitebox bluetoothd[3950]: HCI dev 0 up Sep 27 13:41:09 whitebox bluetoothd[3950]: Starting security manager 0 Sep 27 13:41:09 whitebox bluetoothd[3950]: Adapter /org/bluez/3950/hci0 has been enabled I can't figure out what does that "Bluetooth netlink family" means. Maybe is something missing from my kernel's configuration? What about that 'GN bridge'. The real weird thing is that I have to restart the initscript two-three times before getting the working icon in the traybar (provided by gnome-bluetooth:2). Atm I can't use that helper to browse devices/connect to devices. hcitool {scan,dev} seems to work, though.
whitebox ~ # emerge --info Portage 2.2_rc42 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 27 Sep 2009 11:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="gentoo.tiscali.nl" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en" MAKEOPTS="-j4 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gechi /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd eds encode esd evo fam firefox flac gif gmail gnome gstreamer gtk hal hddtemp iconv imap java java6 jpeg laptop libnotify lm_sensors mad midi mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pdf png ppds pppd qt3support quicktime readline reflection samba sdl session sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vorbis wifi x264 xml xorg xulrunner xv xvid zlib zsh-completition" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Have same problem Portage 2.1.7.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo-r2.new i686) ================================================================= System uname: Linux-2.6.31-gentoo-r2.new-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1 Timestamp of tree: Fri, 16 Oct 2009 17:40:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.3, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.1 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/pcsx2 /usr/local/portage /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi alsa apache2 arts bash-completion berkdb bluetooth bzip2 cdr cifs cleartype cli community consolekit cracklib crypt cups cvidix dbus djvu dri dvb dvd embedded encode esd exif fbcon ffmpeg flac fortran gdbm gif gimp glitz google-gadgets gpm groupwise hal iconv imagemagick isdnlog java jpeg jpg kde kerberos lame ldap libcaca mjpeg mmx mng modules mp3 msn mudflap mysql ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl php plugins png pnm pppd python qt3 qt3support qt4 raw readline reflection ru-dv ru-i ru-k samba sdl semantic-desktop session skype sockets speex spell spl sql sqlite sse sse2 ssl svg symlink sysfs syslog tcpd threads tiff truetype unicode usb v4l v4l2 vcd vdpau vidix vim-syntax vorbis wacom webkit winbind x509 x86 xinerama xml xorg xscreensaver xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It's solved for me After this manipulations it works fine. I just add /etc/dbus-1/system.d/bluetooth.conf : <policy group="users"> <allow own="org.bluez"/> <allow send_destination="org.bluez"/> <allow send_interface="org.bluez.Agent"/> </policy>
(In reply to comment #3) > It's solved for me > After this manipulations it works fine. > > I just add > /etc/dbus-1/system.d/bluetooth.conf : > > > > <policy group="users"> > <allow own="org.bluez"/> > <allow send_destination="org.bluez"/> > <allow send_interface="org.bluez.Agent"/> > </policy> > I added directly my user name, seems to solve the problem. Thanks!
You either have to add yourself to the plugdev group, or use consolekit. This is by design.