linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikko Vinni <mmvinni@yahoo.com>
To: linux-bluetooth@vger.kernel.org
Cc: "Justin P. Mattock" <justinmattock@gmail.com>,
	Ed Tomlinson <edt@aei.ca>,
	"Gustavo F. Padovan" <padovan@profusion.mobi>,
	Johan Hedberg <johan.hedberg@nokia.com>
Subject: re "bluetooth disabled" and "[BUG] usb problems in .38-rc3+"
Date: Mon, 28 Feb 2011 14:29:07 -0800 (PST)	[thread overview]
Message-ID: <635561.59590.qm@web161820.mail.bf1.yahoo.com> (raw)

Hi all,

Just wondering what is the status of "bluetooth disabled with current 
2.6.38-rc4"
from Justin (http://www.spinics.net/lists/linux-bluetooth/msg10745.html) and
"[BUG] usb problems in .38-rc3+"" (http://marc.info/?t=129693396800003&r=1&w=2)
from Ed? (apologies for not being able to reply to those threads)

The first one because I think I see the same problem and the second one because
for me also "hciconfig -a" makes the bluetooth adapter work. Maybe they have
a common cause.

For me, reverting 23bb57633df ("Bluetooth: Fix __hci_request synchronization
for hci_open_dev"; suggested by Justin) on top of
2.6.38-rc6-166-g493f335 makes everything work as before.

bluez version and bluetooth adapter model:

[root@koni ~]# pacman -Qo /usr/sbin/bluetoothd
/usr/sbin/bluetoothd is owned by bluez 4.89-1
[root@koni ~]# lsusb | grep i.Tech
Bus 003 Device 002: ID 13dd:0001 i.Tech Dynamic Limited

Part of bluetoothd -d dump below. The printout only really got started when
I run "hciconfig -a" after 22:01:42 (hciconfig hci0 down and hciconfig hci0 up
can also be used to make it work):

[root@koni ~]# hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:0D:3C:38:xx:yy  ACL MTU: 384:8  SCO MTU: 64:8
        UP RUNNING
        RX bytes:356 acl:0 sco:0 events:13 errors:0
        TX bytes:53 acl:0 sco:0 commands:13 errors:0

[root@koni ~]# date
Mon Feb 28 22:01:42 EET 2011
[root@koni ~]# hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:0D:3C:38:xx:yy  ACL MTU: 384:8  SCO MTU: 64:8
        UP RUNNING
        RX bytes:356 acl:0 sco:0 events:13 errors:0
        TX bytes:53 acl:0 sco:0 commands:13 errors:0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DH1 HV1
        Link policy:
        Link mode: SLAVE ACCEPT
        Name: 'CSR - bc4'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Version: 2.0 (0x3)  Revision: 0x7a6
        LMP Version: 2.0 (0x3)  Subversion: 0x7a6
        Manufacturer: Cambridge Silicon Radio (10)


Feb 28 21:55:39 koni bluetoothd[3256]: src/rfkill.c:rfkill_event() RFKILL event 
idx 0 type 1 op 0 soft 1 hard 0
Feb 28 21:55:39 koni bluetoothd[3256]: plugins/hciops.c:init_known_adapters() 
Feb 28 21:56:14 koni blueman-mechanism: Starting blueman-mechanism 
Feb 28 21:56:14 koni kernel: fuse init (API version 7.16)
Feb 28 21:56:14 koni blueman-mechanism: reload 0 0 
Feb 28 21:56:15 koni kernel: Bluetooth: RFCOMM TTY layer initialized
Feb 28 21:56:15 koni kernel: Bluetooth: RFCOMM socket layer initialized
Feb 28 21:56:15 koni kernel: Bluetooth: RFCOMM ver 1.11
Feb 28 21:56:28 koni kernel: usb 6-1: new full speed USB device using ohci_hcd 
and address 2
Feb 28 21:56:29 koni kernel: usb 6-1: New USB device found, idVendor=13dd, 
idProduct=0001
Feb 28 21:56:29 koni kernel: usb 6-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
Feb 28 21:56:29 koni kernel: usb 6-1: Product: BlueCON U2
Feb 28 21:56:29 koni kernel: usb 6-1: Manufacturer: i.Tech Dynamic
Feb 28 21:56:29 koni kernel: Bluetooth: Generic Bluetooth USB driver ver 0.6
Feb 28 21:56:29 koni bluetoothd[3256]: src/rfkill.c:rfkill_event() RFKILL event 
idx 1 type 2 op 0 soft 0 hard 0
Feb 28 21:56:29 koni bluetoothd[3256]: HCI dev 0 registered
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:init_device() hci0
Feb 28 21:56:29 koni bluetoothd[3256]: Listening for HCI events on hci0
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:init_device() child 3317 
forked
Feb 28 21:56:29 koni bluetoothd[3256]: src/rfkill.c:rfkill_event() RFKILL event 
idx 1 type 2 op 2 soft 0 hard 0
Feb 28 21:56:29 koni kernel: usbcore: registered new interface driver btusb
Feb 28 21:56:29 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_version_complete() Got version for hci0
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:read_bd_addr_complete() 
hci0 status 0
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:read_bd_addr_complete() 
Got bdaddr for hci0
Feb 28 21:56:29 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_name_complete() hci0 status 0
Feb 28 21:56:29 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_name_complete() Got name for hci0
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:child_exit() child 3317 
exited
Feb 28 21:56:29 koni bluetoothd[3256]: HCI dev 0 up
Feb 28 21:56:29 koni bluetoothd[3256]: plugins/hciops.c:device_devup_setup() 
hci0
Feb 28 21:56:44 koni blueman-mechanism: Exiting 
Feb 28 22:01:45 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_name_complete() hci0 status 0
Feb 28 22:01:45 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_name_complete() Got name for hci0
Feb 28 22:01:45 koni bluetoothd[3256]: 
plugins/hciops.c:read_local_features_complete() Got features for hci0
Feb 28 22:01:45 koni bluetoothd[3256]: src/adapter.c:btd_adapter_ref() 
0x7f2d7b862e10: ref=1
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:hciops_read_bdaddr() 
hci0
Feb 28 22:01:45 koni bluetoothd[3256]: 
plugins/hciops.c:hciops_read_local_version() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: 
plugins/hciops.c:hciops_read_local_features() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: 
src/sdpd-database.c:sdp_init_services_list() 

Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:hciops_add_uuid() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:update_service_classes() 
hci0 value 0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:hciops_add_uuid() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:update_service_classes() 
hci0 value 0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:hciops_add_uuid() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:update_service_classes() 
hci0 value 16
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:hciops_add_uuid() hci0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/hciops.c:update_service_classes() 
hci0 value 16
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/service.c:register_interface() 
path /org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: plugins/service.c:register_interface() 
Registered interface org.bluez.Service on path /org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: network/manager.c:network_server_probe() 
path /org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: src/adapter.c:btd_adapter_ref() 
0x7f2d7b862e10: ref=2
Feb 28 22:01:45 koni bluetoothd[3256]: network/server.c:server_register() 
Registered interface org.bluez.NetworkServer on path /org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: serial/manager.c:proxy_probe() path 
/org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: src/adapter.c:btd_adapter_ref() 
0x7f2d7b862e10: ref=3
Feb 28 22:01:45 koni bluetoothd[3256]: serial/proxy.c:proxy_register() 
Registered interface org.bluez.SerialProxyManager on path /org/bluez/3256/hci0
Feb 28 22:01:45 koni bluetoothd[3256]: src/adapter.c:btd_adapter_ref() 
0x7f2d7b862e10: ref=4
...

Mikko


      

             reply	other threads:[~2011-02-28 22:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 22:29 Mikko Vinni [this message]
2011-03-01  5:51 ` re "bluetooth disabled" and "[BUG] usb problems in .38-rc3+" Justin Mattock
2011-03-02 14:00 ` Johan Hedberg
2011-03-03 10:54   ` Mikko Vinni
2011-03-03 14:31     ` Johan Hedberg
2011-03-04  4:47       ` Ville Tervo
2011-03-07 19:50       ` Mikko Vinni
2011-03-08 22:30         ` Justin P. Mattock
2011-03-09 21:23         ` Justin P. Mattock
2011-03-10  2:54           ` Ed Tomlinson
2011-03-10  7:32             ` Johan Hedberg
2011-03-10 18:02               ` Justin P. Mattock
2011-03-12  1:33               ` Gustavo F. Padovan
2011-03-12 17:44                 ` Justin P. Mattock
2011-03-16 18:44                   ` [PATCH] Bluetooth: Fix HCI_RESET command syncronization Gustavo F. Padovan
2011-03-16 18:46                     ` Gustavo F. Padovan
2011-03-16 18:48                       ` Anderson Lizardo
2011-03-16 19:01                         ` Gustavo F. Padovan
2011-03-16 19:11                           ` Justin P. Mattock
2011-03-16 19:15                             ` Gustavo F. Padovan
2011-03-16 20:02                               ` Justin Mattock
2011-03-16 21:13                                 ` Mikko Vinni
2011-03-16 22:33                                 ` Ed Tomlinson
2011-03-17 10:35                     ` Szymon Janc
2011-03-17 16:48                       ` Gustavo F. Padovan

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=635561.59590.qm@web161820.mail.bf1.yahoo.com \
    --to=mmvinni@yahoo.com \
    --cc=edt@aei.ca \
    --cc=johan.hedberg@nokia.com \
    --cc=justinmattock@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    /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;
as well as URLs for NNTP newsgroup(s).