1. 04 12月, 2013 6 次提交
  2. 11 10月, 2013 22 次提交
  3. 03 10月, 2013 1 次提交
    • H
      Bluetooth: revert: "Bluetooth: Add missing reset_resume dev_pm_ops" · b1a80144
      Hans de Goede 提交于
      Many btusb devices have 2 modes, a hid mode and a bluetooth hci mode. These
      devices default to hid mode for BIOS use. This means that after having been
      reset they will revert to HID mode, and are no longer usable as a HCI.
      
      Therefor it is a very bad idea to just blindly make reset_resume point to
      the regular resume handler. Note that the btusb driver has no clue how to
      switch these devices from hid to hci mode, this is done in userspace through
      udev rules, so the proper way to deal with this is to not have a reset-resume
      handler and instead let the usb-system re-enumerate the device, and re-run
      the udev rules.
      
      I must also note, that the commit message for the commit causing this
      problem has a very weak motivation for the change:
      
      "Add missing reset_resume dev_pm_ops. Missing reset_resume results in the
      following message after power management device test. This change sets
      reset_resume to btusb_resume().
      
      [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for driver btusb?
      [ 2506.936137] btusb 1-1.5:1.1: no reset_resume for driver btusb?"
      
      Making a change solely to silence a warning while also changing important
      behavior (normal resume handling versus re-enumeration) requires a commit
      message with a proper explanation why it is safe to do so, which clearly lacks
      here, and unsurprisingly it turns out to not be safe to make this change.
      
      Reverting the commit in question fixes bt no longer working on my Dell
      E6430 after a suspend/resume, and I believe it likely also fixes the
      following bugs:
      https://bugzilla.redhat.com/show_bug.cgi?id=988481
      https://bugzilla.redhat.com/show_bug.cgi?id=1010649
      https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1213239
      
      This reverts commit 502f7696.
      
      Cc: Shuah Khan <shuah.kh@samsung.com>
      Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
      Cc: stable@vger.kernel.org
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      b1a80144
  4. 02 10月, 2013 5 次提交
  5. 24 9月, 2013 1 次提交
    • K
      Bluetooth: btusb: Add support for Belkin F8065bf · 5bcecf32
      Ken O'Brien 提交于
      Add generic rule on encountering Belkin bluetooth usb device F8065bf.
      
      Relevant section from /sys/kernel/debug/usb/devices:
      
      T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
      D:  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=050d ProdID=065a Rev= 1.12
      S:  Manufacturer=Broadcom Corp
      S:  Product=BCM20702A0
      S:  SerialNumber=0002723E2D29
      C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      Signed-off-by: NKen O'Brien <kernel@kenobrien.org>
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      5bcecf32
  6. 17 9月, 2013 4 次提交
  7. 21 8月, 2013 1 次提交