ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] bluetooth service
@ 2006-10-13 11:55 Andriy Dobrovol`s`kii
  2006-10-13 13:20 ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: Andriy Dobrovol`s`kii @ 2006-10-13 11:55 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi,
Продолжаем разборки с "Голубым зубом". :)
Проверка показала, что никакого сервиса bluetooth в выводе chkconfig
не числится. Кто отвечает за его появление? Сами файлы в /etc/init.d
/etc/sysconfig есть.
Делать добавление службы руками? Или оно так и было задумано?
И ещё. Сейчас попытка стартануть службу обламывается так:
 /etc/init.d/bluetooth start
Starting Bluetooth subsystem:
Starting hcid service:
    [ DONE ]
Starting sdpd service:
    [ DONE ]
Starting rfcomm service: Can't open RFCOMM control socket: Address
family not supported by protocol

   [FAILED]
В /dev устройств rfcommX не наблюдается. Так и задуманно? По моему,
всё описанное имеет очень мало отношения к Гному. ;)
-- 
Андрей


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] bluetooth service
  2006-10-13 11:55 [sisyphus] bluetooth service 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
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Rahmatullin @ 2006-10-13 13:20 UTC (permalink / raw)
  To: sisyphus

On Fri, Oct 13, 2006 at 02:55:42PM +0300, Andriy Dobrovol`s`kii wrote:
> Проверка показала, что никакого сервиса bluetooth в выводе chkconfig
> не числится. Кто отвечает за его появление? Сами файлы в /etc/init.d
> /etc/sysconfig есть.
> Делать добавление службы руками? Или оно так и было задумано?
Сервис запускает хотплаг при обнаружении адаптера.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> У меня размер TODO-листов на мегабайты пошёл.
bzip2 спасет отца русской демократии! ;)
		-- ns in devel@


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] bluetooth service
  2006-10-13 13:20 ` Andrey Rahmatullin
@ 2006-10-13 13:57   ` Dmitriy L. Kruglikov
  2006-10-13 14:15   ` Andrii Dobrovol`s`kii
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitriy L. Kruglikov @ 2006-10-13 13:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

На календаре было: Пятница, 13 Октябрь 2006 года,
Andrey Rahmatullin писал(а) в сообщении: 

AR == Andrey Rahmatullin

AR> > Делать добавление службы руками? Или оно так и было задумано?
AR> Сервис запускает хотплаг при обнаружении адаптера.
Было бы правильно, если бы этот самый хот, во время плаг, создавал
девайсы ... И удалял их, соответственно, потому как сервис-то и не стартует...
А если сделать руками 
В /etc/modules.conf 
alias net-pf-31 bluez
 alias tty-ldisc-15 hci_uart
 alias bt-proto-0 l2cap
 alias bt-proto-2 sco
 alias bt-proto-3 rfcomm
 alias bt-proto-5 bnep

А потом еще 
mknod /dev/rfcomm0 c 216 0

То, глядишь, и запустится, если звезды в нужную позу станут ...


--
Best regards,
 Dmitriy L. Kruglikov                     .--.
 Dmitriy.Kruglikov_at_orionagro.com.ua   |@_@ |
 DKR6-RIPE                               |!_/ |
 ICQ# 13047326                          //   \ \
 XMPP:dkr6@jabber.ru                   (|     | )
                                      /'\_   _/`\
Powered by Linux                      \___)=(___/
 
-- Мысль --
Самомнение - камень преткновения на пути к продвижению.
		-- Бион Борисфенит


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] bluetooth service
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Andrii Dobrovol`s`kii @ 2006-10-13 14:15 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

Andrey Rahmatullin пишет:
> On Fri, Oct 13, 2006 at 02:55:42PM +0300, Andriy Dobrovol`s`kii wrote:
>> Проверка показала, что никакого сервиса bluetooth в выводе chkconfig
>> не числится. Кто отвечает за его появление? Сами файлы в /etc/init.d
>> /etc/sysconfig есть.
>> Делать добавление службы руками? Или оно так и было задумано?
> Сервис запускает хотплаг при обнаружении адаптера.
> 
Так я же пишу, что не запускает. И никто ничего не обнаруживает...
Так может кто-нибудь озвучить "механику"? Чтоб было понятно, что
искать?..
А то ведь уже фриз "давит"...
-- 
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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] bluetooth service
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Andrei Bulava @ 2006-10-13 15:42 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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.

-- 
// AB1002-UANIC



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] bluetooth service
  2006-10-13 15:42     ` Andrei Bulava
@ 2006-10-16 11:44       ` Andrii Dobrovol`s`kii
  0 siblings, 0 replies; 6+ messages in thread
From: Andrii Dobrovol`s`kii @ 2006-10-16 11:44 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-16 11:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-13 11:55 [sisyphus] bluetooth service 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

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