Вы здесь

Bluetooth

Не работает Bluetooth.
Все пакеты bluez поставлены.
# /etc/init.d/bluetooth start - без ошибок

# dmesg | grep Bluetooth
Bluetooth: Core ver 2.8
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.5
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.7
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.1

# hcitool scan
Device is not available: No such device

не знаю какое устройство ему надо указывать, не подскажете?

А другое устройство его видит?

emerge firmware (Помоему так пишется)

Наверное не стоит начинать новую тему...

Пытался поставить kdebluetooth4 который потянул за собой bluez-4.X. Но ничего путного не вышло и поэтому все снес. И ставил и удалял штатными средствами через emerge.
Вернул обратно bluez-util и bluez-libs стабильной версии 3.36.
Но rc-скрипт отказывается запускаться.
Попробовал вручную:

$ equery b /usr/sbin/hcid
[ Searching for file(s) /usr/sbin/hcid in *... ]
net-wireless/bluez-utils-3.36 (/usr/sbin/hcid)

$ /usr/sbin/hcid -n # *Это же сообщение в логах, при запуске из /etc/init.d/bluetooth start
hcid[14748]: Bluetooth HCI daemon
hcid[14748]: Parsing /etc/bluetooth/main.conf failed: No such file or directory
hcid[14748]: Unable to get on D-Bus

Теперь не понятно: откуда взялось требование файла "main.conf"? И как теперь разрулить этот косяк?

> Теперь не понятно: откуда взялось требование файла "main.conf"?

это нормально
не в этом суть.

вот причина, имхо hcid[14748]: Unable to get on D-Bus
/etc/dbus-1/system.d/bluetooth.conf у вас есть?
для bluez-3.xx он выглядит так (пример я взял с коммуникатора, но не суть важно):

<!-- This configuration file specifies the required security policies
     for Bluetooth core service to work. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- ../system.conf have denied everything, so we just punch some holes -->

  <policy user="root">
    <allow own="org.bluez"/>
  </policy>

  <policy at_console="true">
    <allow send_destination="org.bluez.Manager"/>
    <allow receive_sender="org.bluez.Manager"/>

    <allow send_path="/org/bluez"/>

    <allow send_destination="org.bluez.Adapter"/>
    <allow receive_sender="org.bluez.Adapter"/>

    <allow send_destination="org.bluez.Service"/>
    <allow receive_sender="org.bluez.Service"/>

    <allow send_destination="org.bluez.Database"/>
    <allow receive_sender="org.bluez.Database"/>

    <allow send_destination="org.bluez.Security"/>
    <allow receive_sender="org.bluez.Security"/>
  </policy>

</busconfig>

а вот для bluez-4 так (это уже с генты):

<!-- This configuration file specifies the required security policies
     for Bluetooth core daemon to work. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- ../system.conf have denied everything, so we just punch some holes -->

  <policy user="root">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.Agent"/>
  </policy>

  <policy at_console="true">
    <allow send_destination="org.bluez"/>
  </policy>

  <policy context="default">
    <deny send_destination="org.bluez"/>
  </policy>

</busconfig>

поройте в этом направлении

Спасибо. После Вашего поста все понял. Надо было dbus перезагрузить.