public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Phil Endecott" <spam_from_bluez_users@chezphil.org>
To: <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Apple wireless keyboard [hid2hci]
Date: Fri, 09 May 2008 10:14:04 +0100	[thread overview]
Message-ID: <1210324444433@dmwebmail.dmwebmail.chezphil.org> (raw)

A couple of weeks ago I asked:
> Dear Bluetooth experts,
>
> I think I am probably the bazillionth person to ask here about how to
> get the Apple wireless keyboard to work properly with Linux.
[snip]
> Firstly, I understand that some USB Bluetooth dongles have a "HID Mode"
> where they appear as USB HID devices and all of the Bluetooth
> complexity is avoided.
[snip]

I've acquired a second USB bluetooth dongle, and this one does have a
CSR chip:

$ lsusb|grep -i bluetooth
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)

I've got this working in normal Bluetooth mode in the same way that I
did with the other dongle and it works.  But I have failed to put it
into HID mode.  Am I doing the right thing?  I've tried this either
with the keyboard connected in HCI mode or with it not connected, with
the bluez daemons running or not running, and in all cases I get:

# hid2hci --tohid
Switching device 0a12:0001 to HID mode failed (Broken pipe)

strace shows this:

open("/dev/bus/usb/003/002", O_RDWR)    = 3
ioctl(3, USBDEVFS_CONTROL, 0xbfa9f64c)  = -1 EPIPE (Broken pipe)

Does anyone have any clues?  According to the kernel's
Documentation/usb/error-codes.txt, EPIPE means that the endpoint is stalled.


Cheers,  Phil.







-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2008-05-09  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09  9:14 Phil Endecott [this message]
2008-05-09 12:31 ` [Bluez-users] Apple wireless keyboard [hid2hci] Marcel Holtmann
2008-05-09 16:45   ` Phil Endecott

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=1210324444433@dmwebmail.dmwebmail.chezphil.org \
    --to=spam_from_bluez_users@chezphil.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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