Linux bluetooth development
 help / color / mirror / Atom feed
From: Tedd Ho-Jeong An <tedd.an@intel.com>
To: Hui Wang <hui.wang@canonical.com>
Cc: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@intel.com>,
	xiong.y.zhang@intel.com,
	"Gustavo F. Padovan" <gustavo.padovan@collabora.co.uk>,
	"linux-bluetooth@vger.kernel.org development"
	<linux-bluetooth@vger.kernel.org>
Subject: Re: Intel 7260 bluetooth malfunction when it is connected to EHCI bus
Date: Wed, 30 Oct 2013 12:36:21 -0700	[thread overview]
Message-ID: <1415253.BKnruDjiCq@han1-desk-dev> (raw)
In-Reply-To: <52707428.9070908@canonical.com>

[-- Attachment #1: Type: text/plain, Size: 5449 bytes --]

On Wednesday, October 30, 2013 10:51:20 AM Hui Wang wrote:
> On 10/29/2013 07:16 PM, Marcel Holtmann wrote:
> > Hi Hui,
> > 
> >> The problem is:
> >> On the machine which has Intel 7260 BT module, i use it to connect a
> >> bluetooth headset, it can successfully scan and connect to the headset,
> >> when i play sound to the bt headset, the problem comes, if the bt module
> >> is connected to the XHCI, it can work very well.
> >> 
> >> u@u-Lenovo-B4400:~$ lsusb -t
> >> 1-7:1.0: No such file or directory
> >> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
> >> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
> >> 
> >>     |__ Port 6: Dev 8, If 0, Class=HID, Driver=usbhid, 1.5M
> >>     |__ Port 7: Dev 2, If 0, Class=vend., Driver=, 12M
> >>     |__ Port 11: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet
> >>     |handled', Driver=btusb, 12M __ Port 11: Dev 3, If 1,
> >>     |Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M>> 
> >> But if the bt module is connected to the EHCI, it always fails to play
> >> sound.
> >> 
> >> u@u-Lenovo-B4400:~$ lsusb -t
> >> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
> >> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
> >> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
> >> 
> >>     |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
> >> 
> >> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
> >> 
> >>     |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
> >>     |
> >>         |__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet
> >>         |handled', Driver=btusb, 12M __ Port 5: Dev 3, If 1,
> >>         |Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
> >>         |__ Port 6: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet
> >>         |handled', Driver=uvcvideo, 480M __ Port 6: Dev 4, If 1,
> >>         |Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo,
> >>         |480M> 
> > can you paste /sys/kernel/debug/usb/devices here.
> > 
> > If the uvcvideo driver is also using ISOC URBs, we might have just
> > exhausted the bandwidth of the USB bus here or these two devices just do
> > not play nice with each other.
> > 
> > Try to unload the uvcvideo driver and try it again.
> 
> Thanks for your reply, follow your instruction, i totally disabled the
> camera from the BIOS, then the usb tree like this,
>   u@u-Lenovo-B4400:~$ lsusb -t
> 1-1.3:1.0: No such file or directory
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
> 
>      |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
> 
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
> 
>      |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
>      |
>          |__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M
>          |__ Port 3: Dev 4, If 0, Class=vend., Driver=, 12M
>          |__ Port 5: Dev 5, If 0, Class='bInterfaceClass 0xe0 not yet
> 
> handled', Driver=btusb, 12M
> 
>          |__ Port 5: Dev 5, If 1, Class='bInterfaceClass 0xe0 not yet
> 
> handled', Driver=btusb, 12M
> u@u-Lenovo-B4400:~$ uname -a
> Linux u-Lenovo-B4400 3.12.0-031200rc6-generic #201310191635 SMP Sat Oct
> 19 20:36:43 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> I re-did the test, the result is same as before, after the headset is
> connected and i play audio, no sound is heard from the headset.
> And hciconfig output shows still no SCO packets received by BT driver.
> u@u-Lenovo-B4400:~$ hciconfig
> hci0:    Type: BR/EDR  Bus: USB
>      BD Address: 00:15:00:CC:2D:D2  ACL MTU: 1021:5  SCO MTU: 96:5
>      UP RUNNING PSCAN
>      RX bytes:5853 acl:61 sco:0 events:298 errors:0
>      TX bytes:19212 acl:68 sco:1 commands:179 errors:0
> 
> This is the debug output of "sudo cat /sys/kernel/debug/usb/devices"
> after those operations,
> u@u-Lenovo-B4400:~$ sudo cat /sys/kernel/debug/usb/devices
> 
> T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
> B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
> P:  Vendor=1d6b ProdID=0003 Rev= 3.05
> S:  Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd
> S:  Product=xHCI Host Controller
> S:  SerialNumber=0000:00:14.0
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
> 
> T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh=14
> B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=1d6b ProdID=0002 Rev= 3.05
> S:  Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ xhci_hcd
> S:  Product=xHCI Host Controller
> S:  SerialNumber=0000:00:14.0
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
> 
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 3
> B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1d6b ProdID=0002 Rev= 3.05
> S:  Manufacturer=Linux 3.12.0-rc6-WR5.0.1.4_standard+ ehci_hcd
> S:  Product=EHCI Host Controller

[-- Attachment #2: Type: text/html, Size: 39997 bytes --]

  reply	other threads:[~2013-10-30 19:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29 10:03 Intel 7260 bluetooth malfunction when it is connected to EHCI bus Hui Wang
2013-10-29 11:16 ` Marcel Holtmann
2013-10-30  2:51   ` Hui Wang
2013-10-30 19:36     ` Tedd Ho-Jeong An [this message]
2013-10-31  5:15       ` Hui Wang
2013-10-30 19:44     ` Marcel Holtmann
2013-10-31  5:29       ` Hui Wang
2013-10-31  9:49         ` Marcel Holtmann
2013-11-01  2:39           ` Hui Wang
2013-11-01  7:49             ` Marcel Holtmann
2013-11-01  9:18               ` Hui Wang
2013-11-02 19:05                 ` Marcel Holtmann
2013-11-04  5:59                   ` Hui Wang
2013-11-04 13:15                     ` Stevie Trujillo
2013-11-05  2:32                       ` Hui Wang
2013-11-05 18:44                         ` Stevie Trujillo
2013-11-07  3:45                           ` Hui Wang
2013-11-07 10:07                             ` Stevie Trujillo
2013-11-08  1:43                               ` Hui Wang
2013-11-08 11:17                                 ` Michal Labedzki
2013-11-26  9:11                                   ` Michal Labedzki
2013-12-20 12:30                                     ` Stevie Trujillo

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=1415253.BKnruDjiCq@han1-desk-dev \
    --to=tedd.an@intel.com \
    --cc=gustavo.padovan@collabora.co.uk \
    --cc=hui.wang@canonical.com \
    --cc=johan.hedberg@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=xiong.y.zhang@intel.com \
    /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