[Bug 658471] Re: udev fails to call hid2hci for Logitech USB Bluetooth adapter

JasonPorter jasonporter at gmail.com
Wed Jun 1 13:24:48 UTC 2011


Odd behavior is still present in Natty.  I use the Logitech MX-5500
Revolution combo, and the bluetooth dongle does not show up as a
Bluetooth device by default in Natty at all, though the keyboard/mouse
do work by default in Logitech's "fallback" mode which connects the
devices as pseudo-wired when the dongle is hotplugged.

The problem is that in fallback mode, I have been getting random
disconnections with the standard Natty configuration, which still splits
kernel conditions into hiddev and hidraw.  The device does not stay
connected for more than two hours or so, and I need to re-hotplug it.

By commenting out the leading kernel conditions entirely and leaving the
two declarations starting with ATTRS, as suggested here and in the
original bug report #444420, it is now being detected as a Bluetooth
dongle and allows me to do a proper pairing with the devices from within
Ubuntu.  So far this has been MUCH more stable and gives me greater
range as well.


Is the issue just that the default behavior desired by the devs was "just works" plug and play?  Relying on Logitech's fallback functionality for standard keyboard/mouse connection is less than desirable for real daily use.  Maybe a device-specific recommendation through the Additional Drivers detection process, along with an installable package to switch the default configuration for the dongle device to native Bluetooth functionality, would be a better way to approach it to "solve" the issue for everyone.  It could even include a description of the pairing process for the two devices as part of the package install.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/658471

Title:
  udev fails to call hid2hci for Logitech USB Bluetooth adapter

Status in “udev” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: udev

  This bug is related to Bug #444420, but I was told to file it as a new
  bug here.

  Here are the rules I have for Logitech USB Bluetooth dongles in
  /lib/udev/rules.d/70-hid2hci.rules:

  # Logitech devices
  KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[35e]", \
    RUN+="hid2hci --method=logitech-hid --devpath=%p"
  KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[4abc]|c71[34bc]", \
    RUN+="hid2hci --method=logitech-hid --devpath=%p"

  This is an upgrade from Lucid (on which hid2hci was called) to
  Maverick (at which point, hid2hci was no longer called).

  As seen in lsusb output, my adapter should have matched the second
  line:

  Bus 001 Device 006: ID 046d:c70c Logitech, Inc. BT Mini-Receiver (HID proxy mode)
  Bus 001 Device 005: ID 046d:c70b Logitech, Inc. BT Mini-Receiver (HID proxy mode)
  Bus 001 Device 003: ID 046d:0b02 Logitech, Inc. BT Mini-Receiver (HID proxy mode)

  I removed the KERNEL condition from the rules file:

  # Logitech devices
  ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[35e]", \
    RUN+="hid2hci --method=logitech-hid --devpath=%p"
  ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[4abc]|c71[34bc]", \
    RUN+="hid2hci --method=logitech-hid --devpath=%p"

  I restarted udev and re-inserted the adapter.  While everything seems
  to work correctly now, I am told that this is wrong because it could
  somehow overmatch something.

  Attached is the output of `udevadm monitor` when udev is running with
  the original Maverick 70-hid2hci.rules file and the adapter is
  inserted.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: udev 162-2
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Mon Oct 11 11:16:01 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  MachineType: System manufacturer System Product Name
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=b8e395c0-dc79-4ec7-8100-3d7b33afb2e4 ro quiet splash
  ProcEnviron:
   LC_COLLATE=C
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: udev
  dmi.bios.date: 02/24/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0703
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P6X58D PREMIUM
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0703:bd02/24/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58DPREMIUM:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer




More information about the foundations-bugs mailing list