hcitool scan and dev return empty although BT works

Bug #66884 reported by Kristoffer Lundén
4
Affects Status Importance Assigned to Milestone
bluez-utils (Ubuntu)
Fix Released
Medium
Bluetooth

Bug Description

stoffe@homer:~$ hcitool scan
Device is not available: No such device
stoffe@homer:~$ hcitool dev
Devices:
stoffe@homer:~$

I have a DiNovo media keyboard + mouse that works via a bluetooth USB dongle, and this has been working for a long time, and still works. But now I wanted to connect to a cell phone as well (it's enabled, visible and all) but it seems Ubuntu thinks I have no bluetooth devices after all.

Updated edgy, Fujitsu Siemens Amilo laptop that does not have BT built in.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Which dongle is it? May be the problem is specific to the dongle you are using. Please provide output of 'lsusb'.

Also can you please make sure that bluetooth services are started.
Output of 'ps -ef | grep hci' would help.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

It's the dongle that came with the Logitech DiNovo keyboard and mouse, not sure if it has any specific name or so...

The following outputs are with the dongle plugged and working:

stoffe@homer:~$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 007: ID 046d:c70c Logitech, Inc.
Bus 003 Device 006: ID 046d:c70b Logitech, Inc.
Bus 003 Device 005: ID 046d:0b02 Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

stoffe@homer:~$ ps -ef | grep hci
root 13752 1 0 00:14 ? 00:00:00 /usr/sbin/hcid
stoffe 22332 22287 0 14:24 pts/0 00:00:00 grep hci

I have tried to start and restart bluetooth services too.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

This was just posted to the bluez-utils list in response to my asking there a while back. It seems all it takes is a simple addition of two IDs (see below, patch included) for the Laser version (which I have) but the bluez team has apparently been unresponsive so far.

I would love for this to get into Ubuntu at least - if someone can help me by building a patched version or step me throught the process I'd love to help trying it out. I have at least two friends more with the same keyboard/mouse, so I would guess that there are a few of us out there who'd benefit. :)

Thanks!

Message from the list:

Hi,

I found your mail on the bluez mailing list that you have trouble switching your DiNovo to bluetooth mode. The problem is, that Logitech has changed IDs when releasing the Laser-version.

The following patch will solve your problem. (At least I hope so :-) )

I have posted this patch to the devel list but got no reaction from the responsible persons. So I do not know whether this patch will be integrated in bluez some day.

Good luck,

G.len

--- hid2hci.c.dinovo.diff 2006-10-01 22:39:55.000000000 +0200
+++ tools/hid2hci.c 2006-10-01 22:45:50.000000000 +0200
@@ -223,7 +223,9 @@
        { HCI, 0x046d, 0xc703, switch_logitech },
        { HCI, 0x046d, 0xc704, switch_logitech },
        { HCI, 0x046d, 0xc705, switch_logitech },
        { HCI, 0x046d, 0xc70a, switch_logitech }, /* Logitech diNovo mouse */
 + { HCI, 0x046d, 0xc70b, switch_logitech }, /* Logitech diNovo Laser keyboard */
 + { HCI, 0x046d, 0xc70c, switch_logitech }, /* Logitech diNovo Laser mouse */
        { HCI, 0x046d, 0xc70e, switch_logitech }, /* logitech diNovo keyboard */
        { -1 }
 };

Revision history for this message
Marcel Holtmann (holtmann) wrote :

The Logitech HID proxy switching has been always some kind of blackbox magic, because we don't know how it actually works. Neverless, this patch has been accepted upstream.

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

Thanks! Great news. Any chance of a backport?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks Marcel, thanks Kristoffer.

 bluez-utils (3.7-1ubuntu5) feisty; urgency=low
 .
   * debian/patches/015-add-ids-for-logitech-dinovo-laser.patch:
     - add IDs for Logitech diNovo Laser keyboard and mouse (Malone: #66884)

Changed in bluez-utils:
assignee: nobody → bluetooth
importance: Undecided → Medium
status: Unconfirmed → Fix Released
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

Daniel,

How do I get this patch in Edgy, please?

I'd love to recover the Bluetooth capabilities I had when I was on Bug #1

Thanks in advance,
Alex

Revision history for this message
Amedee Van Gasse (amedee) wrote :

This bug looks like a duplicate of https://bugs.launchpad.net/ubuntu/+source/bluez-utils/+bug/32415

Can anyone confirm?

I have exactly the same problem, only I don't have a Lenovo keyboard but a Logitech MX5000.

When I execute this script:

hid2hci --tohci
sleep 1
/etc/init.d/bluetooth restart
sleep 1
hidd -i hci0 --connect 00:07:61:48:71:DE
hidd -i hci0 --connect 00:07:61:3F:DA:41

bluetooth works for the mouse and phone (nokia) but the keyboard doesn't work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.