虚心求教gnome环境下手机与电脑蓝牙传输问题?

笔记本/超便携移动PC软硬件相关支持,包括硬件、安装和驱动等
回复
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

虚心求教gnome环境下手机与电脑蓝牙传输问题?

#1

帖子 pocoyo » 2008-08-21 0:19

本本上装有蓝牙适配器(Brodcom corp HP Integrated Module 型号),lsusb输出如下:
debian:bluetooth# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002即是蓝牙适配器.
按照网上的教程编辑了一下/etc/bluetooth/hcid.conf 内容如下:
# HCId options
options {
autoinit yes;
security auto;
pairing multi;
passkey "1234";
}

# Default settings for HCI devices
device {
name "%h-%d";
class 0x000100;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

然后启用bluetooth 服务:/etc/init.d/bluetooth start
hciconfig -a
hcitool scan 命令输出如附件.
命令sdptool browse 我的motorola L6手机输出如下:
debian:bluetooth# sdptool browse 00:18:A4:E4:3A:7A
Browsing 00:18:A4:E4:3A:7A ...
Service RecHandle: 0x0
Service Class ID List:
"SDP Server" (0x1000)
Protocol Descriptor List:
"L2CAP" (0x0100)
"SDP" (0x0001)
Profile Descriptor List:
"SDP Server" (0x1000)
Version: 0x0100

Service Name: Dialup Networking Gateway
Service Description: Dialup Networking Gateway
Service Provider: Motorola
Service RecHandle: 0x10001
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

Service Name: Voice Gateway
Service Description: Headset Audio Gateway
Service Provider: Motorola
Service RecHandle: 0x10003
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100

Service Name: Handsfree Voice Gateway
Service Description: Handsfree Voice Gateway
Service Provider: Motorola
Service RecHandle: 0x10007
Service Class ID List:
"Handfree Audio Gateway" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 7
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"Handsfree" (0x111e)
Version: 0x0101

Service Name: OBEX Object Push
Service Description: OBEX Object Push
Service Provider: Motorola
Service RecHandle: 0x10008
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 8
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100

Service Name: OBEX File Transfer
Service Description: OBEX File Transfer
Service Provider: Motorola
Service RecHandle: 0x10009
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 9
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100

Service Name: Image Push
Service Description: Image Push
Service Provider: Motorola
Service RecHandle: 0x1000a
Service Class ID List:
"Imaging Responder" (0x111b)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x7a68
encoding: 0x6a
base_offset: 0xc800
Profile Descriptor List:
"Imaging" (0x111a)
Version: 0x0100

但是在用bluetooth-applet小插件浏览设备时总是出现如附图2所示的结果....
另外用手机搜索设备时也总是发现不了设备???
请教一下怎么才能用手机和电脑用蓝牙传输文件...??
附件
hcitool.png
Screenshot-nautilus.png
附图2
Screenshot-nautilus.png (7.58 KiB) 查看 871 次
gaby
帖子: 184
注册时间: 2008-06-05 16:41
送出感谢: 0
接收感谢: 0

#2

帖子 gaby » 2008-08-27 22:09

这么长我不喜欢看。

我的适配器看起来和你差不多,电脑可以连手机,手机连不上电脑。

所以通常我用电脑操作而不用手机。
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

#3

帖子 pocoyo » 2008-08-28 15:26

gaby 写了:这么长我不喜欢看。

我的适配器看起来和你差不多,电脑可以连手机,手机连不上电脑。

所以通常我用电脑操作而不用手机。
是啊,我的现在也是电脑可以连手机,手机不能向电脑发送东西 ,,,
gaby
帖子: 184
注册时间: 2008-06-05 16:41
送出感谢: 0
接收感谢: 0

#4

帖子 gaby » 2008-08-28 20:05

qkbeyond 写了:
gaby 写了:这么长我不喜欢看。

我的适配器看起来和你差不多,电脑可以连手机,手机连不上电脑。

所以通常我用电脑操作而不用手机。
是啊,我的现在也是电脑可以连手机,手机不能向电脑发送东西 ,,,
难道你不会在电脑上复制手机里的东西吗?
qianghr
帖子: 67
注册时间: 2007-03-09 14:23
送出感谢: 0
接收感谢: 0

#5

帖子 qianghr » 2008-08-29 12:07

sudo apt-get install gnome-vfs-obexftp
回复

回到 “笔记本、UMPC支持”