bluetooth+slackware 12.2=не работает!

SLAX, Deep Style, ZenWalk

Модератор: Модераторы разделов

Аватара пользователя
mist404
Сообщения: 106
ОС: Free Mandriva 2009

bluetooth+slackware 12.2=не работает!

Сообщение mist404 »

Народ, такая проблема: не работает блютух на слаке: демон врублен (/etc/rc.d/bluetooth), просканировать может (hcitool scan), а вот уже sdptool browse xx.xx.xx.xx и sdptool records xx.xx.xx.xx выдаёт ошибку по таймауту запроса. И сопряжиние не выполнить.
--------------
В федора 8 всё работало на ура.
Спасибо сказали:
frik
Сообщения: 41

Re: bluetooth+slackware 12.2=не работает!

Сообщение frik »

sdptool на сколько мне известно показывает только список служб,которые предоставляет удаленный девайс будь то NAP DUND и не помню что еще. Попробуй выполнить l2ping <mak> девайса, должны пойти ответы как при пинге. Когда я крутил блютуз у меня sdptool вообще ниче не показывал для моей мобилы конкретно. Попробуй выполнить sdptool browse не для своей мобилы,а для чьей нить другой
Спасибо сказали:
Аватара пользователя
xar0h
Сообщения: 164
ОС: разные

Re: bluetooth+slackware 12.2=не работает!

Сообщение xar0h »

не за будь про пин в /etc/bluetooth/passkeys/
I'm just a bastard but at least i admit it.
Спасибо сказали:
chuprin
Сообщения: 5
ОС: Slackware 12

Re: bluetooth+slackware 12.2=не работает!

Сообщение chuprin »

mist404 писал(а):
27.03.2009 16:19
Народ, такая проблема: не работает блютух на слаке: демон врублен (/etc/rc.d/bluetooth), просканировать может (hcitool scan), а вот уже sdptool browse xx.xx.xx.xx и sdptool records xx.xx.xx.xx выдаёт ошибку по таймауту запроса. И сопряжиние не выполнить.
--------------
В федора 8 всё работало на ура.

Я когда поставил 12.2 столкнулся с той же самой проблемой.
Во первых нужно прописать в /etc/bluetooth/passkeys/default пин для паринга. Во-вторых немного подкорректировать настройки d-bus как написано здесь. Сделать #/erc/rc.d/rc.messagebus restart и #/etc/rc.d/rc,bluetooth restart. Мне во всяком случае помогло.

P.S. Ноут Dell Latitude 520
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

chuprin писал(а):
14.04.2009 14:52
mist404 писал(а):
27.03.2009 16:19
Народ, такая проблема: не работает блютух на слаке: демон врублен (/etc/rc.d/bluetooth), просканировать может (hcitool scan), а вот уже sdptool browse xx.xx.xx.xx и sdptool records xx.xx.xx.xx выдаёт ошибку по таймауту запроса. И сопряжиние не выполнить.
--------------
В федора 8 всё работало на ура.

Я когда поставил 12.2 столкнулся с той же самой проблемой.
Во первых нужно прописать в /etc/bluetooth/passkeys/default пин для паринга. Во-вторых немного подкорректировать настройки d-bus как написано здесь. Сделать #/erc/rc.d/rc.messagebus restart и #/etc/rc.d/rc,bluetooth restart. Мне во всяком случае помогло.

P.S. Ноут Dell Latitude 520

Доброго времени суток! Убив сутки на поиск, я все же нашел решение проблемы как заставить работать kdebluetooth в Slackware 12.2. Итак, по пунктам (все делаем от root'а):
1. #chmod +x /etc/rc.d/rc.bluetooth
2. #chmod +x /etc/rc.d/rc.bluetooth.conf
3. #/etc/rc.d/bluetooth start (если не сделать как было описано в п. 1 - то данная команда работать не будет). Не знаю почему, но у меня в свежеустановленной Slackware 12.2 данные файлы не были исполняемыми.
4. #cp /etc/dbus-1/system.conf system.conf.bak
5. #kwrite /etc/dbus-1/system.conf
N.B. Никакие строки из этого файла не удаляем, как это рекомендуется, если посмотреть ссылку http://chuprin.blogspot.com/2009/04/dbus.html . Все равно ничего работать не будет!!! Наоборот, нужно вписать недостающую строку:
До:
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
После:
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
<allow send_requested_reply="true"/>
6. Перегружаемся
7. Наслаждаемся работающим kdebluetooth!
P.S. Как настроить GPRS, а так же ряд других моментов - смотрите в Гугле, благо источников достаточно.
Have Fun! :rolleyes:
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

А под 4-е кеды есть на слаку kdebluetooth, а то из исходников не собирается, выдает вот такое:

Код: Выделить всё

bash-3.1# make
[  0%] Built target kbluetooth4_automoc
[  3%] Building CXX object src/CMakeFiles/kbluetooth4.dir/agent/agent.o
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘void Agent::Authorize(QDBusObjectPath, const QString&)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:72: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:73: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:74: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:81: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘setTrusted’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:82: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘QString Agent::RequestPinCode(QDBusObjectPath)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:102: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:104: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:105: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘quint32 Agent::RequestPasskey(QDBusObjectPath)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:122: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:124: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:125: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
make[2]: *** [src/CMakeFiles/kbluetooth4.dir/agent/agent.o] Ошибка 1
make[1]: *** [src/CMakeFiles/kbluetooth4.dir/all] Ошибка 2
make: *** [all] Ошибка 2
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

Archangel писал(а):
30.04.2009 01:37
А под 4-е кеды есть на слаку kdebluetooth, а то из исходников не собирается, выдает вот такое:

Код: Выделить всё

bash-3.1# make
[  0%] Built target kbluetooth4_automoc
[  3%] Building CXX object src/CMakeFiles/kbluetooth4.dir/agent/agent.o
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘void Agent::Authorize(QDBusObjectPath, const QString&)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:72: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:73: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:74: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:81: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘setTrusted’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:82: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘QString Agent::RequestPinCode(QDBusObjectPath)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:102: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:104: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:105: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp: In member function ‘quint32 Agent::RequestPasskey(QDBusObjectPath)’:
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:122: ошибка: ‘class Solid::Control::BluetoothInterface’ has no member named ‘findBluetoothRemoteDeviceUBI’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:124: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘name’
/mnt/sda6_E/Linux/Install/bluetooth/kdebluetooth4-0.3_install/kdebluetooth4-0.3/src/agent/agent.cpp:125: ошибка: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named ‘address’
make[2]: *** [src/CMakeFiles/kbluetooth4.dir/agent/agent.o] Ошибка 1
make[1]: *** [src/CMakeFiles/kbluetooth4.dir/all] Ошибка 2
make: *** [all] Ошибка 2

Доброго времени суток! Может этот топик натолкнет на мысль http://forum.sources.ru/index.php?showtopic=264050 ?
Такие ошибки возникают не только у Вас! Вот некоторые примеры:
https://lists.ubuntu.com/archives/kubuntu-b...ary/064468.html
http://www.kde-apps.org/content/show.php?c...8e79822f1e40768
http://bbs.archlinux.org/viewtopic.php?id=63508
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Спасибо за ссылочки. У меня и так стоит kde 4.2, kdebluetooth4-0.3, bluez 4.17. Скачал последний еще с оф сайта, только это делу не помогло. Точнее kdebluetooth пытаюсь поставить.
PS Почитал, понял что с 4 kdebluetooth пока туго. Но и старый у меня работать не хочет. В трее появляется, но ничего с ним сделать нельзя, kbluemon крашится. Если в консоли запускать, выдает вот такой текст:

Код: Выделить всё

bash-3.1$ kbluetooth
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultPasskeyAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultPasskeyAgent): The name org.bluez was not provided by any .service files
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultAuthorizationAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultAuthorizationAgent): The name org.bluez was not provided by any .service files
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files

Что за /org/bluez??? Куда это он ломится?
Чего с ним делать, а то совсем без блютуза тоскливо.
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

Archangel писал(а):
01.05.2009 19:27
Спасибо за ссылочки. У меня и так стоит kde 4.2, kdebluetooth4-0.3, bluez 4.17. Скачал последний еще с оф сайта, только это делу не помогло. Точнее kdebluetooth пытаюсь поставить.
PS Почитал, понял что с 4 kdebluetooth пока туго. Но и старый у меня работать не хочет. В трее появляется, но ничего с ним сделать нельзя, kbluemon крашится. Если в консоли запускать, выдает вот такой текст:

Код: Выделить всё

bash-3.1$ kbluetooth
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
QSettings::sync: filename is null/empty
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Manager conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultPasskeyAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultPasskeyAgent): The name org.bluez was not provided by any .service files
kbluetooth: [KBluetooth::DBusSignal::DBusSignal(const QString&, const QString&, const QString&, DBusConnection*)] : org.bluez path: /org/bluez interface: org.bluez.Security conn: 0x812cce0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Security method: RegisterDefaultAuthorizationAgent
kbluetooth: libkbluetooth: setString(RegisterDefaultAuthorizationAgent): The name org.bluez was not provided by any .service files
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files
kbluetooth: [QValueList<QString> KBluetooth::Manager::listAdapters()] 0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE: org.bluez.Manager method: ListAdapters
kbluetooth: libkbluetooth: getStringList(): The name org.bluez was not provided by any .service files

Что за /org/bluez??? Куда это он ломится?
Чего с ним делать, а то совсем без блютуза тоскливо.

Про 4-е кеды ничего не могу сказать, так как их у меня просто нет. Но, в 3-х кедах kdebluetooth - 1.0-beta8 полностью рабочий, нужно только подкорректировать один файлик (см. пост выше). Проверено мной лично на свежеустановленной слаке.
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Да вот в том и беда, что тянется это все еще с тех пор как у меня 3 кеды были. То же самое было, сколько я с ним не бился. Сейчас стоят 4 с либами от 3.5.10. То что вы писали сделал, все равно не работает. Писали что проблема может быть с тем что блютуз то ли должен быть включен, то ли выключен при загрузке. Но у меня на ноуте кнопки нет такой(вернее есть, но она системой обрабатывается), только програмно.
Да и странно, навожу на иконку БТ в трее говорит - "No BT adapter found", хотя:

Код: Выделить всё

bash-3.1# lsusb
...
Bus 008 Device 002: ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth
...
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

Ах ты... Меня этот вопрос "постоянно неработающего" kdebluetooth уже просто достал заинтересовал :g: . Поэтому я расскажу все шаги, которые я сделал, чтобы у меня в системе все заработало (прием-передача файлов с мобильного телефона на компьютер и обратно).
Входные данные: ОС - Slackware 12.2 (свежеустановленная); DE - KDE 3.5.10; Bluetooth Dongle (какой-то китайский :rolleyes: "Liwei Electronics"); Мобильный телефон - Nokia 6300; kdebluetooth - 1.0-beta8, можно скачать здесь! Кроме того, в системе должны быть установлены все пакеты bluez*, которые идут вместе с ней на диске. Итак, будем настраивать bluetooth "step by step"!
1. #chmod +x /etc/rc.d/rc.bluetooth
2. #chmod +x /etc/rc.d/rc.bluetooth.conf
3. #/etc/rc.d/bluetooth start (можно и перезагрузиться)
4. Вставляем bluetooth-адаптер в разъем USB и проверяем, найдено ли устройство:

Код: Выделить всё

root@darkstar:/home/alex# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 007: ID 0a5c:2100 Broadcom Corp. Bluetooth 2.0+eDR dongle
Bus 006 Device 006: ID 0a5c:4500 Broadcom Corp.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Можно также посмотреть на предмет загружаемых модулей ядра:

Код: Выделить всё

root@darkstar:/home/alex# /sbin/lsmod | grep usb
usbhid                 45696  0
hid                      42240  1 usbhid
btusb                  15384  2
bluetooth             58212  8 btusb,bnep,rfcomm,l2cap
snd_usb_audio     82016  1
snd_usb_lib         18688  1 snd_usb_audio
snd_hwdep          10756  1 snd_usb_audio
snd_rawmidi        22688  2 snd_usb_lib,snd_ca0106
snd_pcm             70788  6 snd_pcm_oss,snd_usb_audio,snd_ca0106,snd_ac97_codec
snd                     51748  20 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_ca0106
,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer

Наш bluetooth-адаптер найден - идем дальше!
5. C помощью hciconfig, входящей в комплект bluez-utils, смотрим, как система видит наш адаптер:

Код: Выделить всё

root@darkstar:/home/alex# hciconfig -a
hci0:   Type: USB
        BD Address: AC:22:15:05:A7:42 ACL MTU: 1017:8 SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:2779 acl:0 sco:0 events:37 errors:0
        TX bytes:389 acl:0 sco:0 commands:37 errors:0
        Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x180100
        Service Classes: Capturing, Object Transfer
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x4000 LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
        Manufacturer: Broadcom Corporation (15)

N.B. Главное, чтобы BD-адрес bluetooth-адаптера не был равен нулям и статус не равнялся DOWN. Если это так, то это означает, что демон hcid (Bluetooth Host Controller Interface Demon) не запущен. Лично у меня (да я думаю, что и вообще в Slackware 12.2 ), после выше описанных манипуляций, все должно быть в норме без каких-либо дополнительных телодвижений. Если что, то настойки демона хранятся в файле /etc/bluetooth/hcid.conf. Слегка подредактируем данный файл:

Код: Выделить всё

# HCId options
options {
    # Automatically initialize new devices
    autoinit yes;

    # Security Manager mode
    #   none - Security manager disabled
    #   auto - Use local PIN for incoming connections
    #   user - Always ask user for a PIN
    #
    security auto;

    # Pairing mode
    #   none  - Pairing disabled
    #   multi - Allow pairing with already paired devices
    #   once  - Pair once and deny successive attempts
    pairing multi;

    # Default PIN code for incoming connections
    passkey "1234";
}

Здесь показан фрагмент файла hcid.conf. Я лишь поставил параметр "security auto" в разделе "Security Manager mode" (по умолчанию "user") и ввел свой PIN "1234" (по умолчанию "BlueZ"). Этот же PIN (1234) вносим в файл /etc/bluetooth/passkeys/default.
6. Включаем bluetooth на своем мобильном телефоне.
7. И снова проверяем, обнаружено ли наше Bluetooth-устройство (мобильный телефон). Найти все активные устройства можно с помощью:

Код: Выделить всё

root@darkstar:/home/alex# hcitool scan
Scanning ...
        00:22:66:E3:3A:88       Nokia 6300

Наш телефон благополучно нашелся. Теперь мы знаем, что его BD-адрес 00:22:66:E3:3A:88. Проверяем, насколько надежно работает передача пакетов между двумя устройствами. Для этого воспользуемся программой l2ping:

Код: Выделить всё

root@darkstar:/home/alex# l2ping 00:22:66:E3:3A:88
Ping: 00:22:66:E3:3A:88 from AC:22:15:05:A7:42 (data size 44) ...
0 bytes from 00:22:66:E3:3A:88 id 0 time 48.95ms
0 bytes from 00:22:66:E3:3A:88 id 1 time 27.87ms
0 bytes from 00:22:66:E3:3A:88 id 2 time 26.28ms
0 bytes from 00:22:66:E3:3A:88 id 3 time 29.15ms
0 bytes from 00:22:66:E3:3A:88 id 4 time 8.06ms
5 sent, 5 received, 0% loss

8. Теперь можно узнать, какие сервисы Nokia 6300 может нам предоставить:

Код: Выделить всё

root@darkstar:/home/alex# sdptool browse 00:22:66:E3:3A:88
Browsing 00:22:66:E3:3A:88 ...
Service Name: Dial-up networking
Service RecHandle: 0x10000
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Nokia PC Suite
Service RecHandle: 0x10001
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: COM 1
Service RecHandle: 0x10002
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10003
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: Audio Gateway
Service RecHandle: 0x10004
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Network Access Point Service
Service Description: Personal Ad-hoc Network Service which provides access to a network
Service RecHandle: 0x1000a
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: dd 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x1000c
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x1000d
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x1000f
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Music-Player
Service Provider: Nokia
Service RecHandle: 0x10010
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: Media Player
Service Provider: Nokia
Service RecHandle: 0x10011
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0100

Service Name: Media Player
Service Provider: Nokia
Service RecHandle: 0x10012
Service Class ID List:
  "AV Remote" (0x110e)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0100

Service Name: SIM ACCESS
Service RecHandle: 0x10013
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0101

9. Если планируем выходить в интернет, то редактируем файл /etc/bluetooth/rfcomm.conf. У меня он имеет следующий вид:

Код: Выделить всё

#
# RFCOMM configuration file.
#

rfcomm0 {
#    # Automatically bind the device at startup
          bind yes;
#
#    # Bluetooth address of the device
          device 00:22:66:E3:3A:88;
#
#    # RFCOMM channel for the connection
          channel 1;
#
#    # Description of the connection
          comment "Dial-up Networing Gateway";
}

rfcomm1 {
#    # Automatically bind the device at startup
          bind yes;
#
#    # Bluetooth address of the device
          device 00:22:66:E3:3A:88;
#
#    # RFCOMM channel for the connection
          channel 9;
#
#    # Description of the connection
          comment "OBEX Object Push";
}

где device 00:22:66:E3:3A:88 - BD-адрес мобильного телефона (hcitool scan), а channel 1 и channel 9 - номера каналов (sdptool browse 00:22:66:E3:3A:88)
10. Редактируем файл /etc/dbus-1/system.conf:

Код: Выделить всё

До:
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
После:
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
<allow send_requested_reply="true"/>

Собственно говоря и все! Осталось только настроить дозвон. Лично для меня это дорого не очень актуально, поэтому могу порекомендовать лишь прочитать об этом в интернете, например здесь, здесь и здесь.
11. Have Fun!
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Вот попробовал, вроде все оно так, только немного не так.

Код: Выделить всё

bash-3.1# hciconfig -a
hci0:   Type: USB
        BD Address: 00:21:19:30:13:CA ACL MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:3805 acl:76 sco:0 events:96 errors:0
        TX bytes:1470 acl:22 sco:0 commands:44 errors:0
        Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x080100
        Service Classes: Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x2162 LMP Ver: 2.0 (0x3) LMP Subver: 0x41d3
        Manufacturer: Broadcom Corporation (15)

Вроде тут все нормально.
А вот тут, по моему чего-то не хватает:

Код: Выделить всё

bash-3.1# /sbin/lsmod | grep usb
btusb                  15384  4
bluetooth              58212  8 bnep,rfcomm,l2cap,btusb

Вот оно и с телефоном вроде нормально обращается:

Код: Выделить всё

bash-3.1# l2ping 00:01:E3:5F:E0:11
Ping: 00:01:E3:5F:E0:11 from 00:21:19:30:13:CA (data size 44) ...
0 bytes from 00:01:E3:5F:E0:11 id 0 time 130.93ms
0 bytes from 00:01:E3:5F:E0:11 id 1 time 33.78ms
0 bytes from 00:01:E3:5F:E0:11 id 2 time 20.11ms
0 bytes from 00:01:E3:5F:E0:11 id 3 time 17.13ms
0 bytes from 00:01:E3:5F:E0:11 id 4 time 32.11ms
0 bytes from 00:01:E3:5F:E0:11 id 5 time 26.18ms

А вот с гарнитурой не хочет:

Код: Выделить всё

ash-3.1# hcitool scan
Scanning ...
        00:0D:FD:1A:CE:B2       Motorola S9
bash-3.1# l2ping 00:0D:FD:1A:CE:B
Can't connect: Host is down

Не хватает сервисов, как бы их запустить?
Меня как раз больше интересует блютуз наушники подключить.
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

Archangel писал(а):
02.05.2009 18:11
А вот с гарнитурой не хочет:

Код: Выделить всё

ash-3.1# hcitool scan
Scanning ...
        00:0D:FD:1A:CE:B2       Motorola S9
bash-3.1# l2ping 00:0D:FD:1A:CE:B
Can't connect: Host is down

Не хватает сервисов, как бы их запустить?
Меня как раз больше интересует блютуз наушники подключить.

А с гарнитурой не хочет? :console: Вы когда делали копипаст, то цифру два скопировать забыли! Вот так у вас: bash-3.1# l2ping 00:0D:FD:1A:CE:B, а должно быть вот так: bash-3.1# l2ping 00:0D:FD:1A:CE:B2. Поправьте BD-адрес устройства и все должно пинговаться. Каких уже Вам сервисов не хватает? Может быть иногда не хватает внимательности,а? :rolleyes:
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Да, извиняюсь, там просмотрел немного, только проблем меньше не стало:

Код: Выделить всё

bash-3.1# hcitool scan
Scanning ...
        00:22:FC:06:BE:3A       n/a
        00:0D:FD:1A:CE:B2       Motorola S9
bash-3.1# l2ping 00:0D:FD:1A:CE:B2
Can't connect: Invalid exchange

И такое вот:

Код: Выделить всё

bash-3.1# hcitool cc 00:0D:FD:1A:CE:B2
Can't create connection: Input/output error

Кажется мне, что вот без этого:

Код: Выделить всё

snd_usb_audio     82016  1
snd_usb_lib         18688  1 snd_usb_audio
snd_hwdep          10756  1 snd_usb_audio
snd_rawmidi        22688  2 snd_usb_lib,snd_ca0106
snd_pcm             70788  6 snd_pcm_oss,snd_usb_audio,snd_ca0106,snd_ac97_codec
snd                     51748  20 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_ca0106
,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer

Передачи звуков по блютуз не будет.
Спасибо сказали:
Аватара пользователя
dr_alex
Сообщения: 230
ОС: Slackware 13.37

Re: bluetooth+slackware 12.2=не работает!

Сообщение dr_alex »

А ядро часом у вас не самосборное?
Intel® Core&#153;2 Duo CPU E6750 @ 2.60GHz / 4Gb / 500Gb HDD Samsung / GeForce GTX 260 896Mb / Creative Labs SB Audigy LS
Slackware 13.37 / kernel-2.6.37.6-smp i686 / xorg-server-1.9.5 / KDE 4.7.3
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Нет, ставил все на автомате, включал все что можно.
2.6.27.7-smp slackware 12.2
Если верить вот этим ребятам, то utils вообще пересобирать надо. Хотя там версии староватые приводят, думал может уже не надо.
Спасибо сказали:
Аватара пользователя
Kostoprav74
Сообщения: 305
ОС: Gentoo, FedoraCore19, Windows8

Re: bluetooth+slackware 12.2=не работает!

Сообщение Kostoprav74 »

Привет, Архангел! Вот мой конфиг /etc/dbus-1/system.conf

Код:

<!-- This configuration file controls the systemwide message bus. Add a system-local.conf and edit that rather than changing this file directly. --> <!-- Note that there are any number of ways you can hose yourself security-wise by screwing up this file; in particular, you probably don't want to listen on any more addresses, add any more auth mechanisms, run as a different user, etc. --> <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <!-- Our well-known bus type, do not change this --> <type>system</type> <!-- Run as special user --> <user>messagebus</user> <!-- Fork into daemon mode --> <fork/> <!-- We use system service launching using a helper --> <standard_system_servicedirs/> <!-- This is a setuid helper that is used to launch system services --> <servicehelper>/usr/libexec/dbus-daemon-launch-helper</servicehelper> <!-- Write a pid file --> <pidfile>/var/run/dbus/dbus.pid</pidfile> <!-- Only allow socket-credentials-based authentication --> <auth>EXTERNAL</auth> <!-- Only listen on a local socket. (abstract=/path/to/socket means use abstract namespace, don't really create filesystem file; only Linux supports this. Use path=/whatever on other systems.) --> <listen>unix:path=/var/run/dbus/system_bus_socket</listen> <policy context="default"> <!-- Deny everything then punch holes --> <deny send_interface="*"/> <deny receive_interface="*"/> <deny own="*"/> <!-- But allow all users to connect --> <allow user="*"/> <!-- Allow anyone to talk to the message bus --> <!-- FIXME I think currently these allow rules are always implicit even if they aren't in here --> <allow send_destination="org.freedesktop.DBus"/> <allow receive_sender="org.freedesktop.DBus"/> <!-- allow sending valid replies --> <allow send_requested_reply="true"/> <allow send_requested_reply="true"/> <!-- allow receiving valid replies --> <allow receive_requested_reply="true"/> <deny send_destination="org.freedesktop.DBus" send_interface="org.freedesktop.DBus" send_member="UpdateActivationEnvironment"/> </policy> <!-- Config files are placed here that among other things, punch holes in the above policy for specific services. --> <includedir>system.d</includedir> <!-- This is included last so local configuration can override what's in this standard file --> <include ignore_missing="yes">system-local.conf</include> <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include> </busconfig>

Попрбуй, должно получиться.
С уважением, модератор форума по мануальной терапии на Medicinform.Ru
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Kostoprav74, а что пробовать, это ж вроде дефолтный system.conf.
Спасибо сказали:
Аватара пользователя
Kostoprav74
Сообщения: 305
ОС: Gentoo, FedoraCore19, Windows8

Re: bluetooth+slackware 12.2=не работает!

Сообщение Kostoprav74 »

Archangel писал(а):
02.05.2009 23:32
Kostoprav74, а что пробовать, это ж вроде дефолтный system.conf.

Да не совсем- в нём нескольо строк не хватает :)
С уважением, модератор форума по мануальной терапии на Medicinform.Ru
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Нет, вс е равно Input/Output error. Когда соеденить пытаюсь.
PS Попробовал я пакет kbluetooth собрать, раз готовый не работает. А он собираться не хочет. Вырисовывается проблема как вот здесь. Подскажите пожалуйста, что с этим патчем делать, чтобы заработало. А то я в ru.xml заглянул - там написано "руками не трогать".
Спасибо сказали:
Аватара пользователя
Kostoprav74
Сообщения: 305
ОС: Gentoo, FedoraCore19, Windows8

Re: bluetooth+slackware 12.2=не работает!

Сообщение Kostoprav74 »

Попробуй отсюда найти решение http://forum.mopslinux.org/viewtopic.php?f=7&t=1983
С уважением, модератор форума по мануальной терапии на Medicinform.Ru
Спасибо сказали:
frik
Сообщения: 41

Re: bluetooth+slackware 12.2=не работает!

Сообщение frik »

Здравствуйте товарищи,снова злополучный блютуз. Работал работал и вдруг перестал работать. Проблема в следующем. При потпытке выполнить pand -c <mak> на телефоне выскакивает запрос на пин. ввод заведомо верного пина результата не приносит,ошибка связи говорит мне телефон. Раньше после ошибки он выкидывал повторный запрос и после ввода пина все работало,а щас не выкидывает. Конфиги не менялись
в /etc/bluetooth/passkeys/default пин прописан, в hcid.conf прописан, че делать ума не приложу,может кто подскажет?
Спасибо сказали:
zenitur
Сообщения: 594
Статус: Одмин
ОС: openSuSE 10.2

Re: bluetooth+slackware 12.2=не работает!

Сообщение zenitur »

Автор темы, к тебе вопрос! Я установил на нетбук Gentoo с KDE 3. А в KDE 3 нет kdebluetooth, вот не знаю почему не добавили в оверлей (сторонний репозитарий). На форуме мне сказали что это потому что kdebluetooth этот не работает с bluez 4, только с 3. Ну так вот вопрос к тебе: ты получил действительно работающий kdebluetooth от KDE 3 с bluez 4?
А йа Ктулху! А йа - Медве-ед! А где Путин? Путина не-ет! Если встретишь - зохавай моск! А вернёшься - скажи ПРЕВЕД! Превед, Ктулху! Превед, Медвед!
Спасибо сказали:
Аватара пользователя
Archangel
Сообщения: 431
ОС: Slackware64-14.1

Re: bluetooth+slackware 12.2=не работает!

Сообщение Archangel »

Я конечно не топикстартер, да и вопрос про генту в слаковской ветке не совсем в тему. Но думаю такого сочетания никто и не получал. kdebluetooth 3 не работает с bluez 4, для этого есть kdebluetooth 4. Если сильно нужно, советую использовать blueman с gtk'шными библиотеками. Правда тоже надо смотреть на версии blueman и bluez, чтобы были совместимы. Хотя лично я так и не понял, что было не так с bluez 3, возможно проще будет как раз просто поставить 3-й bluez.
Спасибо сказали: