主题 : [已OK]請問tether bluetooth部份 复制链接 | 浏览器收藏 | 打印
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
贡献值: 0 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
楼主  发表于: 2011-08-23 14:31

 [已OK]請問tether bluetooth部份

RT,

已知我在Ubuntu10.10 中使用blueman 軟體,硬體為 USB dongle(BC4)與WinXP IVT  的USB dongle(broadcom)相連,可以正常傳送物件、檔案、A2DP-----

但是在Friendarm Mini6410上的Adnroid2.3 上,直接使用USB dongle(BC4),與WinXP IVT  的USB dongle(broadcom)相連,目前只有正常使用A2DP,這是什麼原因?

目前我在使用Obex傳名片、檔案都失敗了(mini6410正常開機後,我直接使用 UI的setting/bluetooth操作, 沒有 下bcccmd)

另外,Mini6410上,GUI上只有看到Obex及A2DP(client),請問Mini6410上到底 支持那些有用的profile?

modprobe l2cap 錯誤
modprobe bnep 錯誤

所以我沒有辦法正常載入pan
pand –s –i <BDA>
[ 此帖被kazaya在2011-12-19 14:29重新编辑 ]
级别: 荣誉会员
UID: 34761
精华: 0
发帖: 1348
金钱: 6835 两
威望: 1367 点
贡献值: 0 点
综合积分: 2696 分
注册时间: 2010-12-21
最后登录: 2017-06-02
1楼  发表于: 2011-08-25 10:14
详见手册  6.1.15
可使用 Bluetooth File Transfer 来传输文件
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
贡献值: 0 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
2楼  发表于: 2011-08-25 11:34
根據手冊  上說明是  先pair 再看裝置  支援那些profile...我是先pair OK後,才check有那些服務....目前為止....我的Mini6410(不含屏)更新後沒有辦法正常進入系統....需先解決
感謝您的提醒....
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
贡献值: 0 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
3楼  发表于: 2011-08-25 12:38
目前已經可以正常進入系統, 但因為沒有 屏....
在為如何這參數苦


/ # hciconfig hci0 up
/ # hciconfig hci0
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:80:98:E7:32:EC  ACL MTU: 384:8  SCO MTU: 64:8
        UP RUNNING
        RX bytes:1283 acl:0 sco:0 events:33 errors:0
        TX bytes:117 acl:0 sco:0 commands:27 errors:0

hciconfig hci0 piscan

但是WinXP 一連線這個dev hci0 就重新開機?
請問如何解決?
[ 此帖被kazaya在2011-08-25 15:30重新编辑 ]
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
贡献值: 0 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
4楼  发表于: 2011-12-16 18:18
1.重新編譯kernel,
iptable/netfileter選項開啟, 並停用bridge

-> Networking support
  -> Wireless  --->
     [*] Network activity statistics tracking
     [*] Network packet filtering framework (Netfilter)  --->
        [*]  Advanced netfilter configuration
             Core Netfilter Configuration  --->
               <*> Netfilter NFQUEUE over NFNETLINK interface
               <*> Netfilter connection tracking support
               <*>   NetBIOS name service protocol support
               -*- Netfilter Xtables support (required for ip_tables)
               <*>   "multiport" Multiple port match support
               <*>   "owner" match support
               <*>   "state" match support  
             IP: Netfilter Configuration  --->
               <*> IPv4 connection tracking support (required for NAT)
               [*]   proc/sysctl compatibility with old connection tracking
               <*> IP tables support (required for filtering/masq/NAT)
               <*>   Packet filtering
               <*>     MASQUERADE target support
               <*>     REDIRECT target support



  -> Bluetooth subsystem support                                  
     <M>   L2CAP protocol support                                      
     <*>   SCO links support                                          
     <M>   RFCOMM protocol support                                  
     [*]     RFCOMM TTY support                                      
     <M>   BNEP protocol support                                        
     [*]     Multicast filter support                                
     [*]     Protocol filter support                                  
     <M>   HIDP protocol support                                    
         Bluetooth device drivers  --->
        <*> HCI USB driver                                                  
        < > HCI SDIO driver                                                
        <M> HCI UART driver                                                
        [ ]   UART (H4) protocol support                                    
        [*]   BCSP protocol support                                        
        [ ]   Atheros AR300x serial support                                
        [*]   HCILL protocol support                                        
        < > HCI BCM203x USB driver                                          
        < > HCI BPA10x USB driver                                          
< > HCI BlueFRITZ! USB driver  

make CC=arm-lilnux-gcc -j2
make CC=arm-linux-gcc INSTALL_MOD_PATH=/tmp/mini6410-modules modules_install

linux:
yum install blue*
yum install blueman
modprobe bluetooth
modprobe hci_uart
modprobe l2cap
modprobe rfcomm
modprobe hidp
modprobe bnep
pand --listen --role NAP --master


mini6410:
insmod /system/libmodules/bluetooth/l2cap.ko
insmod /system/libmodules/bluetooth/rfcomm.ko
insmod /system/libmodules/bluetooth/hidp.ko
insmod /system/libmodules/bluetooth/bnep.ko
hciconfig hci0 up
hciconfig hci0 scan
hciconfig hci0 piscan
pand --connect 00:80:98:E7:32:EC --role NAPU


一連線就重新開機?我已經簡化kernel 的Module,請問如何解決?
這個問題難不成要用GUI來解決?
[ 此帖被kazaya在2011-12-19 17:47重新编辑 ]
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
贡献值: 0 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
5楼  发表于: 2011-12-19 14:28
已經OK了,不過很奇怪pair必須透過GUI才會正常??

其餘可以參考
http://www.xxlinux.com/linux/article/accidence/install/20060705/2426.html