public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "device_driver" <device_driver@126.com>
To: "bluez development" <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] BGB204 Can't init device hci0: Connection timed out (110)
Date: Tue, 17 Oct 2006 11:02:10 +0800 (CST)	[thread overview]
Message-ID: <453447B2.000105.05297@bj126app48.126.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2023 bytes --]

Hello, all
I'm using Philips(NXP)BGB204 bluetooth Sip under the Linux 2.6.9 kernel and ran into problems now. The scenario was as follows:

[root@trina zhangqh]# insmod bluetooth.ko
Using bluetooth.ko
Bluetooth: Core ver 2.6
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized

[root@trina zhangqh]# insmod hci_uart.ko
Using hci_uart.ko
Bluetooth: HCI UART driver ver 2.1
Bluetooth: HCI H4 protocol initialized

[root@trina zhangqh]# insmod l2cap.ko
Using l2cap.ko
Bluetooth: L2CAP ver 2.4
Bluetooth: L2CAP socket layer initialized

[root@trina zhangqh]# ./hciattach ttyS1 ericsson 115200 noflow
hci_uart_tty_open: tty c38ae000
hci_uart_tty_ioctl:
h4_open: hu c3dfac40
hci_uart_register_dev:
[root@trina zhangqh]# h4_recv: hu c3dfac40 count 1 rx_state 0 rx_count 0
h4_recv: Unknown HCI packet type 00

[root@trina zhangqh]# ./hciconfig
hci0:   Type: UART
        BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
        DOWN
        RX bytes:1 acl:0 sco:0 events:0 errors:1
        TX bytes:0 acl:0 sco:0 commands:0 errors:0

[root@trina zhangqh]# ./hciconfig hci0 up
hci_uart_open: hci0 c0343c00
hci_uart_send_frame: hci0: type 1 len 3
h4_enqueue: hu c3dfac40 skb c396eb80
hci_uart_tx_wakeup:
hci_uart_tty_wakeup:
h4_recv: hu c3dfac40 count 1 rx_state 0 rx_count 0
h4_recv: Unknown HCI packet type 80
h4_recv: hu c3dfac40 count 1 rx_state 0 rx_count 0
h4_recv: SCO packet
h4_recv: hu c3dfac40 count 1 rx_state 3 rx_count 3
hci_uart_tx_wakeup:
h4_recv: hu c3dfac40 count 1 rx_state 3 rx_count 2
hci_uart_flush: hdev c0343c00 tty c38ae000
h4_flush: hu c3dfac40
hci_uart_close: hdev c0343c00
hci_uart_flush: hdev c0343c00 tty c38ae000
h4_flush: hu c3dfac40
Can't init device hci0: Connection timed out (110)

I searched in hciconfig.c and found this error was caused by ioctl(ctl, HCIDEVUP, hdev) when hciconfig up the hci0. Then who could tell me what is wrong during the procedure or give me a hint?

Thank you in advance

Qinghua



  

[-- Attachment #1.2: Type: text/html, Size: 2938 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2006-10-17  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17  3:02 device_driver [this message]
2006-10-18 17:20 ` [Bluez-devel] BGB204 Can't init device hci0: Connection timed out (110) Marcel Holtmann
2006-10-23  3:29   ` [Bluez-devel] BGB204 Can't init d evice " device_driver
2006-11-06  8:35     ` device_driver
2006-11-06 15:02       ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453447B2.000105.05297@bj126app48.126.com \
    --to=device_driver@126.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox