From: Epiphanov Sergei <serpiph@nikiet.ru> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] Bluetooth Date: Mon, 12 Mar 2007 12:59:02 +0300 Message-ID: <200703121259.02718.serpiph@nikiet.ru> (raw) Вчера прикупил bluetooth-адаптер, подключил к компьютеру. Но при попытке настроить получил 2 проблемы: 1) с hcid. Есть файл /etc/bluetooth/hcid.conf, где есть секция: device { # параметры по-умолчанию } Решил сделать такую же секцию, но только для моего адаптера. И по man написал device hci0 { name "HOME"; } Перезапустил hcid через передёргивание адаптера, в hciconfig -a вижу: name: "HOME" В man написано, что вместо hci0 могу вписать bdaddr, который я взял из того же hciconfig -a из строки BDARRD (nn:nn:nn:nn:nn:nn). Меняю hci0 на адрес адаптера, передёргиваю модуль и... по команде hciconfig -a вижу, что имя вернулось на умолчальное. Чего я только не делал, но секция device отрабатывалась только с hci0. В интернете все КакСде единогласно правят device по-умолчанию. 2) Решил спарить адаптер и телефон. Даю 'rfcomm connect rfcomm0' (в /etc/bluetooth/rfcomm.conf секция rfcomm0 описана как предлагается). Получаю ошибку подключения, типа нет агента для получения PIN. В другой консоли набираю 'passkey-agent -d /usr/bin/pinentry', в логах вижу регистрацию агента, повторяю команду спаривания, но от pinentry так и не получил запроса на ввод кода. Подскажите, что делал не так? Версия bluez-utils и libbluez - 3.8-alt1, система Сизиф месячной давности на x86_64. Может, кто пришлёт работающий вариант настроек? Вчера угробил целый день, но работы не добился. Кстати, модуль bluetooth работает, через 'hcitool scan' видит другие BT-устройства. -- С уважением, Епифанов Сергей
next reply other threads:[~2007-03-12 9:59 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-12 9:59 Epiphanov Sergei [this message] 2007-03-12 11:06 ` Evgenii Terechkov 2007-03-12 11:51 ` Epiphanov Sergei 2007-03-12 12:27 ` Nick S. Grechukh 2007-03-12 14:15 ` ABATAPA 2007-03-12 14:29 ` Nick S. Grechukh 2007-03-13 7:35 ` ABATAPA 2007-03-13 8:24 ` Andrey Rahmatullin 2007-03-13 9:44 ` Epiphanov Sergei 2007-03-12 15:07 ` Andrey Rahmatullin 2007-03-12 15:05 ` Andrey Rahmatullin 2007-03-13 9:42 ` Epiphanov Sergei 2007-03-13 16:36 ` Andrey Rahmatullin 2007-03-14 9:09 ` Epiphanov Sergei 2007-03-14 10:30 ` Evgenii Terechkov 2007-03-14 11:42 ` Epiphanov Sergei 2007-03-14 12:00 ` Epiphanov Sergei 2007-03-13 2:54 ` Evgenii Terechkov 2007-03-13 9:45 ` Epiphanov Sergei 2007-03-12 15:02 ` Andrey Rahmatullin 2007-03-13 2:55 ` Evgenii Terechkov 2007-03-12 14:58 ` Andrey Rahmatullin 2007-03-13 9:40 ` Epiphanov Sergei
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200703121259.02718.serpiph@nikiet.ru \ --to=serpiph@nikiet.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git