* [Bluez-users] Can't open device hci0. No such device(19)
@ 2003-09-10 15:37 Daniel Haensse
0 siblings, 0 replies; only message in thread
From: Daniel Haensse @ 2003-09-10 15:37 UTC (permalink / raw)
To: bluez-users
Hi list,
On the embedded platform when I call hciattach, it generates some error, on
which I need a hint now to search the bug.
I'm working on a bluez port for uclinux running on the dragonix platform which
uses a 68vz328 uP.I did cross compile the latest bluez kernel and userland stuff
for the 2.4.20 kernel and did substitute fork with vfork in hcid for support of
uclinux.
On my SuSE 8.2 box (pretty outdated bluez sources), I have the bluetooth
modules running without any problem (attached on ttyS0), however the
embedded modules are a newer version with larger flash memory (class1, Mitsumi
WML-C20, CSR chipset on UART).
Find attached the error log, with debug enabled in the kernel net tree.
What is this timeout OCF_WRITE_PG_TIMEOUT? Sometimes I also get a
OCF_WRITE_CA_TIMEOUT succeseful. Might this be related to our "slow" cpu
(68vz328)?
Could anybody please point out where to start?
regards
Dani
--------------------------------------------------------
hci_register_proto: 0002a100 name L2CAP id 0
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
hci_register_proto: 0002a188 name SCO id 1
BlueZ SCO ver 0.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ RFCOMM ver 1.0
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
BlueZ BNEP ver 1.1
Copyright (C) 2001,2002 Inventel Systemes
Written 2001,2002 by Clement Moreau <clement.moreau@inventel.fr>
Written 2001,2002 by David Libault <david.libault@inventel.fr>
Copyright (C) 2002 Maxim Krasnyanskiy <maxk@qualcomm.com>
l2cap_sock_create: sock 000b2f4e
l2cap_sock_init: sk 000f3cb0
l2cap_sock_bind: sk 000f3cb0, 00:00:00:00:00:00 768
l2cap_sock_setsockopt: sk 000f3cb0
l2cap_sock_listen: sk 000f3cb0 backlog 10
VFS: Mounted root (romfs filesystem) readonly.
eth0: using half-duplex 10Base-T (RJ-45)
dragonix login: root
Password:
# hcid &
31
# hci_sock_create: sock 001af30e
hci_sock_setsockopt: sk 001a6030, opt 2
hci_sock_bind: sock 001af30e sk 001a6030
hci_sock_ioctl: cmd 800448d2 arg 17c058
# hciattach /dev/ttyS1 csr 115200 flow
CSR build ID 0x01-0x75
ttyS1 console mode off
hci_register_dev: 01c1a204 name type 3
hci_sock_dev_event: hdev hci0 event 1
hci_send_to_sock: hdev 00000000 len 8
hci_sock_recvmsg: sock 001af30e, sk 001a6030
hci_sock_create: sock 001afd8e
hci_sock_bind: sock 001afd8e sk 001a6350
hci_dev_get: 0
hci_sock_ioctl: cmd 400448c9 arg 0
hci_dev_get: 0
hci_dev_open: hci0 01c1a204
__hci_request: hci0 start
hci_init_req: hci0 0
hci_send_cmd: hci0 ogf 0x4 ocf 0x3 plen 0
hci_send_cmd: skb len 3
hci_send_cmd: hci0 ogf 0x4 ocf 0x5 plen 0
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 3
hci_send_to_sock: hdev 01c1a204 len 3
hci_recv_frame: hci0 type 4 len 14
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 14
hci_event_packet: hci0 evt 0xe
hci_cc_info_param: hci0 ocf 0x3
hci_cc_info_param: hci0: features 0xff 0xff 0xf
hci_send_cmd: skb len 3
hci_send_cmd: hci0 ogf 0x4 ocf 0x9 plen 0
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 3
hci_send_to_sock: hdev 01c1a204 len 3
hci_send_cmd: skb len 3
hci_send_cmd: hci0 ogf 0x3 ocf 0x25 plen 0
hci_cmd_task: hci0 cmd 0
hci_send_cmd: skb len 3
hci_send_cmd: hci0 ogf 0x3 ocf 0x5 plen 1
hci_recv_frame: hci0 type 4 len 13
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 13
hci_event_packet: hci0 evt 0xe
hci_cc_info_param: hci0 ocf 0x5
hci_cc_info_param: hci0 mtu: acl 192, sco 64 max_pkt: acl 8, sco 8
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 3
hci_send_to_sock: hdev 01c1a204 len 3
hci_recv_frame: hci0 type 4 len 12
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 12
hci_event_packet: hci0 evt 0xe
hci_cc_info_param: hci0 ocf 0x9
hci_req_complete: hci0 result 0x00
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 3
hci_send_to_sock: hdev 01c1a204 len 3
hci_recv_frame: hci0 type 4 len 8
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 8
hci_event_packet: hci0 evt 0xe
hci_cc_host_ctl: hci0 ocf 0x25
hci_cc_host_ctl: hci0: voice setting 0x0060
hci_send_cmd: skb len 4
hci_send_cmd: hci0 ogf 0x3 ocf 0x18 plen 2
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 4
hci_send_to_sock: hdev 01c1a204 len 4
hci_send_cmd: skb len 5
hci_recv_frame: hci0 type 4 len 6
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 6
hci_event_packet: hci0 evt 0xe
hci_cc_host_ctl: hci0 ocf 0x5
hci_cc_host_ctl: hci0 SET_EVENT_FLT succeseful
hci_send_cmd: hci0 ogf 0x3 ocf 0x16 plen 2
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 5
hci_send_to_sock: hdev 01c1a204 len 5
hci_send_cmd: skb len 5
hci_recv_frame: hci0 type 4 len 6
hci_rx_task: hci0
hci_send_to_sock: hdev 01c1a204 len 6
hci_event_packet: hci0 evt 0xe
hci_cc_host_ctl: hci0 ocf 0x18
hci_cc_host_ctl: hci0: OCF_WRITE_PG_TIMEOUT succeseful
hci_unregister_dev: 01c1a204 name hci0 type 3
hci_dev_do_close: hci0 01c1a204
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 5
hci_send_to_sock: hdev 01c1a204 len 5
hci_req_cancel: hci0 err 0x13
__hci_request: hci0 end: err 0
hci_sock_dev_event: hdev hci0 event 3
hci_send_to_sock: hdev 00000000 len 8
inquiry_cache_flush: cache 01c1a2fa
hci_conn_hash_flush: hdev hci0
hci_sock_dev_event: hdev hci0 event 4
hci_send_to_sock: hdev 00000000 len 8
__hci_request: hci0 start
hci_reset_req: hci0 0
hci_send_cmd: hci0 ogf 0x3 ocf 0x3 plen 0
hci_send_cmd: skb len 3
hci_sock_ioctl: cmd 400448e2 arg 1aba22
hci_dev_get: 0
hci_cmd_task: hci0 cmd 1
hci_send_frame: hci0 type 1 len 3
hci_send_to_sock: hdev 01c1a204 len 3
hci_sock_ioctl: cmd 400448e1 arg 1aba22
hci_dev_get: 0
hci_sock_release: sock 001afd8e sk 001a6350
hci_sock_recvmsg: sock 001af30e, sk 001a6030
hci_sock_create: sock 001afd8e
hci_sock_bind: sock 001afd8e sk 001a6350
hci_dev_get: 0
hci_sock_release: sock 001afd8e sk 001a6350
hci_sock_create: sock 001afd8e
hci_sock_bind: sock 001afd8e sk 001a6350
hci_dev_get: 0
hci_sock_release: sock 001afd8e sk 001a6350
hci_sock_recvmsg: sock 001af30e, sk 001a6030
__hci_request: hci0 end: err -110
hci_sock_dev_event: hdev hci0 event 2
hci_send_to_sock: hdev 00000000 len 8
# hci_sock_recvmsg: sock 001af30e, sk 001a6030
# cat /var/log/messages
<46> Jan 1 19:20:30 2001 syslogd started: BusyBox v0.60.4=20
(2003.09.07-17:38+0000)
<86> Jan 1 19:20:44 2001 login: Authentication successful for root from
<30> Jan 1 19:20:48 2001 hcid[32]: HCI daemon ver 2.3 started
<30> Jan 1 19:21:04 2001 hcid[32]: HCI dev 0 registered
<27> Jan 1 19:21:04 2001 hcid[35]: Can't set link mode on hci0. No such device
(19)
<27> Jan 1 19:21:04 2001 hcid[35]: Can't set link policy on hci0. No such
device(19)
<30> Jan 1 19:21:04 2001 hcid[32]: HCI dev 0 up
<27> Jan 1 19:21:04 2001 hcid[36]: Can't open device hci0. No such device(19)
<30> Jan 1 19:21:04 2001 hcid[32]: Starting security manager 0
<27> Jan 1 19:21:04 2001 hcid[32]: Can't open device hci0. No such device(19)
<30> Jan 1 19:21:04 2001 hcid[32]: HCI dev 0 down
<30> Jan 1 19:21:04 2001 hcid[32]: HCI dev 0 unregistered
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-10 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10 15:37 [Bluez-users] Can't open device hci0. No such device(19) Daniel Haensse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox