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

RE: [bluetooth-dev] Cannot run stack in kernal mode.



If you provided the log messages from the kernel we might
be able to see what is going on...

//Peter

> -----Original Message-----
> From: Tummaru .com [mailto:tummaru@xxxxxxx.com] 
> Sent: Sunday, January 20, 2002 22:23
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Cannot run stack in kernal mode.
> 
> I use openbt 0.0.8 on slakware 8.1 with ericsson bluetooth 
> application & training tool kit. I try to run btdm. But it
> will hang and show the message
> 
> root@xxxxxxx./btdm 
> -u /dev/ttyS2 -R
> Please reset HW board within 5 seconds
> Shutting down Bluetooth stack
> Bluetooth stack shut down
> Please reset HW board within 5 seconds
> Shutting down Bluetooth stack
> Bluetooth stack shut down
> 
> Jan 21 03:52:02 network15 kernel: hub.c: USB new device connect on 
> bus1/2,assigned device number 2
> Jan 21 03:52:04 network15 btduser: Starting SDP server [sdp_user]
> Jan 21 03:52:04 network15 btduser: Opening dev /dev/ttyS2
> Jan 21 03:52:05 network15 kernel: usb.c: USB disconnect on 
> device 2 Jan 21 
> 03:56:28 network15 btduser: Killing SDP server
> Jan 21 03:56:28 network15 btduser: Shutting down bluetooth stack
> Jan 21 03:56:28 network15 btduser: close_device
> Jan 21 03:56:28 network15 btduser: close_device
> Jan 21 03:57:17 network15 btdm: Bluetooth daemon starting
> Jan 21 03:57:17 network15 sdp_server: SDP Server starting
> Jan 21 03:57:32 network15 btdm: Registered bluetooth line discipline 
> on/dev/ttyS2
> Jan 21 03:57:37 network15 btdm: Init stack
> Jan 21 03:57:41 network15 btdm: Init stack
> Jan 21 03:57:46 network15 btdm: Init failed, lets try restarting btd
> Jan 21 03:57:46 network15 btdm: Shutting down bluetooth stack
> Jan 21 03:57:46 network15 btdm: Restart...
> Jan 21 03:57:47 network15 sdp_server: SDP Server starting
> Jan 21 03:58:02 network15 btdm: Registered bluetooth line 
> discipline on /dev/ttyS2
> Jan 21 03:58:07 network15 btdm: Init stack
> Jan 21 03:58:11 network15 btdm: Init stack
> Jan 21 03:58:15 network15 btdm: Init failed after second try, 
> giving up...
> Jan 21 03:58:15 network15 btdm: Shutting down bluetooth stack
> 
> So I change to run "btd" instead. I run it on 2 linux PC.
> ./btd -R -u /dev/ttyS2 -m and
> ./btd -R -u /dev/ttyS1 -m -r client
> Everything seem no error. But when I try to use command "inq 
> <Max number of responses> (inquiry scan)" it cannot find another
> bluetooth device like this.
> 
> >inq 3 3
> Inquiry: Timer expired
> 
> I don't know what i am wrong. Can anyone tell me what should I do?
> Thank everybody
> Best regard.
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com