[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] log file...!



Hi,
 
Are you able to see your device from another BT device? It seems like the communication with the HW
is OK as I can't see any errors when sending commands. Try to run btinq and see if you can find
other BT devices, just to make sure the module works properly.
 
Regards,
Anders
 
-----Original Message-----
From: owner-bluetooth-dev On Behalf Of axis
Sent: den 30 oktober 2003 21:43
To: Bluetooth-dev
Subject: [bluetooth-dev] log file...!

Sir,
      The following is the boot message and Iam sure
there is something wierd going on while booting..my
boards ip is 192.168.2.80 .In the end of the following
boot messages...I even added debug info of my
application..please look into these and help me in
this regard..
Thank you..
[root@picolibre AP]# sermon
Sniffing /dev/ttyS0 at 115200 Baud
Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.19 (root@xxxxxxx.com) (gcc version
2.96 Axis releas
e R46/1.25) #1 Thu Oct 30 11:00:48 CET 2003
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis
Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14640k/16384k available (1003k kernel code,
1744k reserved, 403k data, 4
0k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 2048 (order: 1, 16384
bytes)
Inode cache hash table entries: 1024 (order: 0, 8192
bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192
bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192
bytes)
Page-cache hash table entries: 2048 (order: 0, 8192
bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
kmem_create: Forcing size word alignment - sock
Initi! alizing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file lock
cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications
AB
kmem_create: Forcing size word alignment - jffs_node
Bluetooth Driver v1.3, Copyright (c) 2000, 2001, 2002
Axis Communications AB
BT SYS: Bluetooth driver registered as ttyBT
BT SYS: Bluetooth line discipline registered.
BT SYS: Registering BT proc files
Proc entry registered
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data),
ttyBTC (ctrl [7])
BNEP driver v0.1 (c) 2002 Axis Communications AB
bnep0 initialized
bnep1 initialized
bnep2 initialized
bnep3 initialized
bnep4 initialized
bnep5 initialized
bnep6 initialized
kmem_create: Forcing size word alignment -
blkdev_requests
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001
Axis Communications AB
eth0 initializedeth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver 1.40 $, (c) 2000-2002 Axis
Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
fast_timer_init()
cse0: Probing a 0x04000000 bytes large window at
0xe0000000.
cse0: Probing for AMD compatible flash...
cse0: Found 1 x 2MiB Fujitsu MBM29LV160TE at 0x0
cse1: Probing a 0x04000000 bytes large window at
0xe4000000.
cse1: Probing for AMD compatible flash...
cse1: Found 1 x 2MiB Fujitsu MBM29LV160TE at 0x0
Concatenating MTD devices:
(0): "cse0"
(1): "cse1"
into device "cse0+cse1"
cse0+cse1: 0x00400000 bytes of flash memory.
Found a valid partition table at
0xf001000a-0xf0010056.
  /dev/flash1 at 0x00010000, size 0x003a0000
  /dev/flash2 at 0x003b0000, size 0x00050000
Adding readonly flash partition for romfs image:
  /dev/flash3 ! at 0x000aa8b8, size 0x0015e000
Creating 4 MTD partitions on "cse0+cse1":
0x00000000-0x00010000 : "part0"
0x00010000-0x003b0000 : "part1"
0x003b0000-0x00400000 : "part2"
0x000aa8b8-0x002088b8 : "romfs"
GPIO port G: in_bits: 0x3FFF003F out_bits: 0x3E00FF3E
val: 7DFF00C1
GPIO port G: dir: 0000FF00 changeable: 01FFFF01
ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis
Communications AB
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
kmem_create: Forcing size word alignment -
ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind
2048)
ip_conntrack (128 buckets, 1024 max)
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
kmem_create: Forcing size word alignment -
ip6_dst_cache
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NE! T4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 40k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash
Axis Developer Board for Bluetooth release 1.0.0

Mounting tmpfs on /var
Initializing /var
Setting up eth0 with ip 192.168.2.80 and mac
00:40:8C:5B:A4:38
eth0: changed MAC to 00:40:8C:5B:A4:38
Setting up lo with ip 127.0.0.1
Default gateway is 192.1.1.1
Hostname is "AxisProduct"
Domainname is ""
Nameserver is ""
Masquerading outgoing packets on eth0
IP forwarding started
Jan  1 00:00:03 AxisProduct syslogd 1.3-3: restart.
boa: servername set to 192.168.2.80.
Jan  1 00:00:04 AxisProduct boa[60]: starting server
Jan  1 00:00:05 AxisProduct btsec: BT Security Manager
starting
open_device: /dev/ttyBTC
Jan  1 00:00:05 AxisProduct btsec: BT Security Manager
waiting for requests...
Jan!   1 00:00:05 AxisProduct btdm: Bluetooth daemon
starting
BT SYS: Setting BT driver to use serial tty
BT SYS: Setting btdm_pid (64)
Jan  1 00:00:05 AxisProduct btdm: Registered bluetooth
line discipline on /dev/ttyS3
Jan  1 00:00:05 AxisProduct sdp_server: SDP Server
starting
Axis Developer Board for Bluetooth release 1.0.0
Linux 2.4.19 on a cris (console)

AxisProduct login: Jan  1 00:00:06 AxisProduct
sftpd[58]: sftpd $Revision: 1.105 $ starting up
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [25000 bytes]
BT SYS: Initialising HCI
BT SYS: HCI emulator off
BT SYS: Initialising HCI inbuffers [16386]
BT SYS: Reading buffer sizes in HW module
Jan  1 00:00:07 AxisProduct btdm: Init stack

HW module contains...
8 ACL buffers at 192 bytes
8 SCO buffers at 64 bytes

BT SYS: Reading firmware info in HW module
BT SYS: Host flow control not enabled
BT SYS: M/S switch enabled
BT SYS: Force M/S switch set to 1
BT SYS: Initialising L2CAP
BT SYS: Local bd [00:40:8c:5b:a4:38]
BT SYS: Initialising RFCOMM
BT SYS: Initialising SDP
BT SYS: Init SDP as server
BT SYS: Initialising TCS
BT SYS: Initializing BNEP
BT SYS: Initialising TEST
Jan  1 00:00:07 AxisProduct btdm: bt_set_classofdevice
: srv class 0x90, maj class 0x3, min class 0x0, format
0x0
Jan  1 00:00:07 AxisProduct btdm: Setting
write_scan_enable: 0x3
Jan  1 00:00:07 AxisProduct btdm: Setting
write_pagescan_activity: int:0x800 wind:0x12
Jan  1 00:00:07 AxisProduct btconfig:
bt_set_local_name: Axis Developer Board (192.168.2.80)
Jan  1 00:00:07 AxisProduct btdm: Setting event filter
Jan  1 00:00:07BT SYS: Force M/S switch set to 1
AxisProduct btdm: Setting event filter
Jan  1 00:00:08 AxisProduct btconfig:
bt_force_msswitch_as_server: 1
BT SYS: Setting ! max BT connections to 7
Jan  1 00:00:08 AxisProduct btconfig:
bt_set_max_conections: 7
Disabling IP of eth0 and bnep0-6
Adding brbnep bridge
Adding interfaces eth0 and bnep0-6 to brbnep
device eth0 entered promiscuous mode
device bnep0 entered promiscuous mode
device bnep1 entered promiscuous mode
device bnep2 entered promiscuous mode
device bnep3 entered promiscuous mode
device bnep4 entered promiscuous mode
device bnep5 entered promiscuous mode
device bnep6 entered promiscuous mode
Setting IP 192.168.2.80 on brebnep
brbnep: port 8(bnep6) entering listening state
brbnep: port 7(bnep5) entering listening state
brbnep: port 6(bnep4) entering listening state
brbnep: port 8(bnep6) entering learning state
brbnep: port 7(bnep5) entering learning state
brbnep: port 5(bnep3) entering listening state
brbnep: port 8(bnep6) entering forwarding state
brbnep: topology change detected, propagating
brbnep: port 7(bnep5) e! ntering forwarding state
brbnep: topology change detected, propagating
brbnep: port 6(bnep4) entering learning state
brbnep: port 6(bnep4) entering forwarding state
brbnep: topology change detected, propagating
brbnep: port 4(bnep2) entering listening state
brbnep: port 3(bnep1) entering listening state
brbnep: port 2(bnep0) entering listening state
brbnep: port 5(bnep3) entering learning state
brbnep: port 4(bnep2) entering learning state
brbnep: port 3(bnep1) entering learning state
brbnep: port 5(bnep3) entering forwarding state
brbnep: topology change detected, propagating
brbnep: port 4(bnep2) entering forwarding state
brbnep: topology change detected, propagating
brbnep: port 3(bnep1) entering forwarding state
brbnep: topology change detected, propagating
brbnep: port 1(eth0) entering listening state
brbnep: port 2(bnep0) entering learning state
brbnep: port 1(eth0) entering learning state
brbnep: port 2(bnep0) enter! ing forwarding state
brbnep: topology change detected, propagating
brbnep: port 1(eth0) entering forwarding state
brbnep: topology change detected, propagating
Jan  1 00:00:09BT SYS: ERROR: hci_receive_data:
discarding 2 bytes
AxisProduct btdm: bt_set_baudrate: 921600 baud
Adding default gateway 192.1.1.1 on brbnep
Masquerading outgoing packets on brbnep

*********************************************************
****** DEBUG FROM MY APPLICATION************
bd (6):
0x00 0xde 0x17 0xc6 0x10 0x00
l2ca_connect_req: wait baseband, sleep on wq
0xc03d1133
lp_connect_cfm (neg), wake up wq 0xc03d1133
BT SYS: process_event: CONNECTION_COMPLETE Page
Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find
connection with con_hdl 0
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req
failed, no connection (status 4)
BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req
failed
bd (6):
0xa9 0xe0 0x17 0xc6 0x10 0x00
l2ca_connect_req: wait baseband, sleep on wq
0xc03d1133
lp_connect_cfm (neg), wake up wq 0xc03d1133
BT SYS: process_event: CONNECTION_COMPLETE LMP
Response Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find
connection with con_hdl 40
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req
failed, no connection (status 34)
BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req
failed
BT SYS: process_return_param: READ_STORED_LINK_KEY
BT SYS: process_return_param: Max number of Linkkeys:
16
BT SYS: process_return_param: Number of Linkkeys read:
0

hci_link_key_request_negative_reply:  BD_addr (6):
0xa9 0xe0 0x17 0xc6 0x10 0x00
BT SYS: ERROR: process_return_param:
LINK_KEY_REQUEST_NEGATIVE_REPLY No Connection
hci_link_key_request_negative_reply: Returned from
send_secblock

bd (6):
0x00 0xde 0x17 0xc6 0x10 0x00
l2ca_connect_req: wait baseband, sleep on wq
0xc03d1133
lp_connect_cfm (neg), wake up wq 0xc03d1133
BT SYS: process_event: CONNECTION_COMPLETE Page
Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find
connection with con_hdl 0
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req
failed, no connection (status 4)
BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req
failed

bd (6):
0xa9 0xe0 0x17 0xc6 0x10 0x00
l2ca_connect_req: wait baseband, sleep on wq
0xc03d1133


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears