Date: Tue, 15 May 2007 01:39:45 +0200 From: Stefan `Sec` Zehl <sec@42.org> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: send something TO a hid device Message-ID: <20070514233945.GE24803@ice.42.org> In-Reply-To: <bb4a86c70705141041s64b5e9dat98cf57ee3f6c3e3f@mail.gmail.com> References: <20070513140148.GA24803@ice.42.org> <bb4a86c70705131614t76526fbbya3a5253fe2e742a9@mail.gmail.com> <20070514082040.GB24803@ice.42.org> <bb4a86c70705141041s64b5e9dat98cf57ee3f6c3e3f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 14, 2007 at 10:41 -0700, Maksim Yevmenkin wrote: > how about posting descriptor here in hex form, i.e. the same form you > put it into bthidd.conf? Oh, if you don't like the parsed output in my last mail, here is the binary descriptor: hid_descriptor { 0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x85 0x01 0x19 0xe0 0x29 0xe7 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x95 0x01 0x75 0x08 0x81 0x01 0x95 0x05 0x75 0x01 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01 0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xa4 0x00 0x05 0x07 0x19 0x00 0x29 0xa4 0x81 0x00 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x60 0xc0 0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0 0x05 0x06 0x09 0x27 0xa1 0x01 0x85 0xff 0x95 0x01 0x75 0x02 0x09 0x24 0x09 0x26 0x81 0x02 0x75 0x06 0x81 0x01 0xc0 }; > again, you do not really need a device. socket will do just fine. > local client(s) can connect to the bthidd and identify which hid > device it (they) will be taking to, i.e. tell hid device's bd_addr. > then client(s) simply sends hid reports to the bthidd via socket and > it will relay them the hid device via bluetooth. Ok, sorry. I think I misunderstood part of your mail. I'm planning on using a socket, and selecting via the bd_addr. My first attempt will probably do a binary pass-through to the HID until I figure out how to use libusbhid to use the Output definitions of the descriptor. CU, Sec -- Consider the need for having to type "www.domain.name" a little IQ test that you have to take before you can access my web site.' -- Wietse
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070514233945.GE24803>