ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] USB-BlueTooth-IP
@ 2003-10-16 14:54 iLya Bryzgalow
  2003-10-17  8:34 ` Grigory Milev
  0 siblings, 1 reply; 12+ messages in thread
From: iLya Bryzgalow @ 2003-10-16 14:54 UTC (permalink / raw)
  To: community

Hi!
Кто запускал в Линуксе (в АЛТ в частности) USB-BlueTooth и создавал
через них сетевое соединение между компьютерами?
У меня вышло вот что:
1. ALT Linux Sisyphus (20031015)
2. MSI PC2PC USB BlueTooth
3. #rpm -qp bluez*
bluez-hcidump-1.5-alt1
bluez-hciemu-1.0-alt1
bluez-pan-1.1-alt1.rc2
bluez-sdp-1.5-alt1
bluez-sdp-devel-1.5-alt1
bluez-utils-2.3-alt1
4. Воткнул
5. В /proc/bus/usb/devices:
T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0db0 ProdID=1967 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=250mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
4. На 12 консоли сразу:
/sbin/hotplug: no runnable /etc/hotplug/bluetooth.agent is installed
/etc/hotplug/usb.agent: Setup hci_usb for USB product db0/1967/525
5. #service bluetooth start
Starting Bluetooth: Starting hcid service:[DONE]
Starting sdpd service:[DONE]
6. #lsmod
rfcomm                 29088   1 (autoclean)
l2cap                  15756   2 (autoclean) [rfcomm]
hci_usb                 8312   1
bluez                  29764   3 (autoclean) [rfcomm l2cap hci_usb]
7. #hciconfig
hci0:	Type: USB 
	BD Address: 00:xx:xx:xx:xx:xx ACL MTU: 192:8  SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:99 acl:0 sco:0 events:13 errors:0
	TX bytes:296 acl:0 sco:0 commands:12 errors:0
(вместо xx реальный BD MAC адрес)
8. #hcitool scan
Scanning ...
	00:xx:xx:xx:xx:xx	familiar (0)
9. #l2ping <bt-addr>
пингует
BT устройства друг-друга видят!
Но дальше идут непонятки. Что пропускать через BT?
Ethernet?
10. #modprobe bnep
11. В доке на bluez-pan написано создать
pan-interface:
 #pantool -i eth1 insert
Но в пакете нет файла pantool!
Или надо через ppp?
#cat /proc/tty/drivers
rfcomm               /dev/rfcomm   216   0-255 serial
usb-serial           /dev/ttyUSB   188   0-254 serial
serial               /dev/cua        5  64-127 serial:callout
serial               /dev/ttyS       4  64-127 serial
pty_slave            /dev/pts      136   0-255 pty:slave
pty_master           /dev/ptm      128   0-255 pty:master
pty_slave            /dev/ttyp       3   0-255 pty:slave
pty_master           /dev/pty        2   0-255 pty:master
/dev/vc/0            /dev/vc/0       4       0 system:vtmaster
/dev/ptmx            /dev/ptmx       5       2 system
/dev/console         /dev/console    5       1 system:console
/dev/tty             /dev/tty        5       0 system:/dev/tty
unknown              /dev/vc/%d      4    1-63 console
И /dev/rfcomm0 использовать вместо /dev/ttyS0?

Помогите, ступор.
-- 
=-iLya Bryzgalow aka iLL-LinuxUser#301257-=
=-Linux-=-Astronomy-=-Krasnodar-=-Russia-=
    _ I don't smoke, so wish to you!
   (_)  ___    ___   JID:ill@jabber.org
  /  / /  /   /  /   http://62.183.37.10/
 /  / /  /__ /  /__  ftp://62.183.37.10/pub
/__/ /_____//_____/  mailto:ill@krumn.oilnet.ru
=-My Linux is: ALT Linux Sisyphus (20031015)


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

end of thread, other threads:[~2003-10-20 12:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 14:54 [Comm] USB-BlueTooth-IP iLya Bryzgalow
2003-10-17  8:34 ` Grigory Milev
2003-10-17  8:40   ` Grigory Milev
2003-10-17  8:47     ` iLya Bryzgalow
2003-10-17 14:51     ` iLya Bryzgalow
2003-10-17 15:12       ` iLya Bryzgalow
2003-10-17 16:02         ` Grigory Milev
2003-10-20  8:59           ` iLya Bryzgalow
2003-10-20 12:26             ` Grigory Milev
2003-10-17 15:57       ` Grigory Milev
2003-10-18  7:52   ` [Comm] USB-BlueTooth-IP Michael Shigorin
2003-10-20  8:10     ` Grigory Milev

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git