ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] bluetooth service
Date: Mon, 16 Oct 2006 14:44:48 +0300
Message-ID: <453370B0.2000203@iop.kiev.ua> (raw)
In-Reply-To: <452FB3F1.4020409@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 3692 bytes --]

Andrei Bulava пишет:
> Andrii Dobrovol`s`kii wrote:
>> Andrey Rahmatullin пишет:
>>> On Fri, Oct 13, 2006 at 02:55:42PM +0300, Andriy Dobrovol`s`kii wrote:
>>>> Проверка показала, что никакого сервиса bluetooth в выводе chkconfig
>>>> не числится. Кто отвечает за его появление? Сами файлы в /etc/init.d
>>>> /etc/sysconfig есть.
>>>> Делать добавление службы руками? Или оно так и было задумано?
>>> Сервис запускает хотплаг при обнаружении адаптера.
>>>
>> Так я же пишу, что не запускает. И никто ничего не обнаруживает...
>> Так может кто-нибудь озвучить "механику"? Чтоб было понятно, что
>> искать?..
>> А то ведь уже фриз "давит"...
> 
> Судя по /etc/udev/rules.d/80-bluetooth.rules, сервис bluetooth
> запускается по инициативе udev.
> 
> Иллюстрирую:
> 
> # modprobe -r bluez
> # modprobe -r hci_usb
> # tail -f /var/log/messages
> Oct 13 18:37:52 cairo kernel: ohci_hcd 0000:00:02.1: wakeup
> Oct 13 18:37:52 cairo kernel: usb 2-3: new full speed USB device using
> ohci_hcd and address 5
> Oct 13 18:37:52 cairo kernel: usb 2-3: configuration #1 chosen from 1 choice
> Oct 13 18:37:54 cairo kernel: Bluetooth: Core ver 2.8
> Oct 13 18:37:54 cairo kernel: NET: Registered protocol family 31
> Oct 13 18:37:54 cairo kernel: Bluetooth: HCI device and connection
> manager initialized
> Oct 13 18:37:54 cairo kernel: Bluetooth: HCI socket layer initialized
> Oct 13 18:37:55 cairo kernel: Bluetooth: HCI USB driver ver 2.9
> Oct 13 18:37:55 cairo kernel: usbcore: registered new driver hci_usb
> Oct 13 18:37:55 cairo hcid[15388]: Bluetooth HCI daemon
> Oct 13 18:37:55 cairo hcid[15388]: Unknown option 'auth' line 60
> Oct 13 18:37:55 cairo hcid[15388]: Register path:/org/bluez fallback:1
> Oct 13 18:37:55 cairo hcid[15388]: Device hci0 has been added
> Oct 13 18:37:55 cairo bluetooth: hcid startup succeeded
> Oct 13 18:37:55 cairo kernel: Bluetooth: L2CAP ver 2.8
> Oct 13 18:37:55 cairo kernel: Bluetooth: L2CAP socket layer initialized
> Oct 13 18:37:55 cairo sdpd[15398]: Bluetooth SDP daemon
> Oct 13 18:37:55 cairo bluetooth: sdpd startup succeeded
> Oct 13 18:37:55 cairo hcid[15388]: Device hci0 has been activated
> Oct 13 18:37:55 cairo hcid[15388]: Register path:/org/bluez/hci0 fallback:0
> Oct 13 18:37:55 cairo hid2hci: No devices in HCI mode found
> Oct 13 18:37:55 cairo bluetooth: hid2hci startup failed
> Oct 13 18:37:55 cairo kernel: Bluetooth: RFCOMM socket layer initialized
> Oct 13 18:37:55 cairo kernel: Bluetooth: RFCOMM TTY layer initialized
> Oct 13 18:37:55 cairo kernel: Bluetooth: RFCOMM ver 1.7
> Oct 13 18:37:55 cairo bluetooth: rfcomm startup succeeded
> Oct 13 18:37:55 cairo hcid[15388]: HCI dev 0 up
> Oct 13 18:37:55 cairo hcid[15388]: Starting security manager 0
> Oct 13 18:37:55 cairo hcid[15388]: Device hci0 has been activated
> 
> "А у вас?" (c) не мой. Набортный блутуз? Тады ой, я слабо представляю,
> как будут работать hotplug и udev в таком случае. УМВР через драйвер
> hci_usb.
> 
Как показало более вдумчивое отношение к ситуации, :) служба
стартует если встроенный зуб включать а не выключать перед её
запуском... :) :)
Проблема в другом. Для работы нужны соответствующие устройства в
/dev если я ничего не путаю. А они не создаются. И соответственно
не работает ничего кроме низкоуровневого пинга.
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-10-16 11:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 11:55 Andriy Dobrovol`s`kii
2006-10-13 13:20 ` Andrey Rahmatullin
2006-10-13 13:57   ` Dmitriy L. Kruglikov
2006-10-13 14:15   ` Andrii Dobrovol`s`kii
2006-10-13 15:42     ` Andrei Bulava
2006-10-16 11:44       ` Andrii Dobrovol`s`kii [this message]

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=453370B0.2000203@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --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