Re: Connecting a wireless keyboard via Bluetooth

2023-10-26 Thread David Coppa
On Wed, Oct 25, 2023 at 3:49 PM Zé Loff  wrote:
>
>
> On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote:
> > Hi all,
> >
> > I have a computer with openBSD V7.4 without X11, to which I want to connect
> > a wireless keyboard via Bluetooth. The keyboard is connected via a separate
> > USB Bluetooth receiver. What software do I need for this, and how do I
> > configure it? I hope someone responds to this.
>
> I've read tales of some legendary (literally, not in the "awesome" sense
> of the word) bluetooth adapters that could be switched in to "HID proxy
> mode", and present themselves as uhid(4) devices, which would then be
> picked up by the OS as HIDs.  Supposedly those devices would remember
> the pairings with keyboards/mice, and that would stick across boots.
> Apparently, they're very hard to find, and even harder to get to work
> properly.

I have one of these:

https://www.ebay.nl/itm/155745705345

And it's working with my Anne Pro 2 keyboard on OpenBSD (and Linux).

Cheers,
David



Re: Connecting a wireless keyboard via Bluetooth

2023-10-26 Thread Stuart Henderson
On 2023-10-25, Marcus MERIGHI  wrote:
> I suppose you need something equivalent to the above solution for audio,
> but for keyboards. 
>
> Keyboard <-> Bluetooth <-> Dongle <-> USB-HID <-> OpenBSD

In theory they might exist, but I was never able to track one down, the
best I came up with was pihidproxy (which is quite bulky, needing to
plug in a pi zero). In theory it might be possible with a
microcontroller with USB and bluetooth support but I'm not aware of any
already-existing firmware.

> BTW, keyboards with a proprietary (non-bluetooth) dongle for the radio
> interface have always worked for me with OpenBSD.

Yes - most wireless keyboards that don't soecifically say "bluetooth"
have a good chsnce of working via their own USB dongle.


-- 
Please keep replies on the mailing list.



Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Ampie Niemand
On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote:
> Hi all,
> 
> I have a computer with openBSD V7.4 without X11, to which I want to connect
> a wireless keyboard via Bluetooth. The keyboard is connected via a separate
> USB Bluetooth receiver. What software do I need for this, and how do I
> configure it? I hope someone responds to this.
> 

I have one of those PST mini wireless backlit keyboards with the included
dongle. It also has a built-in mousepad and works beautifully on a Rasp-
berry Pi.

When I attach the dongle to my OpenBSD system the following lines are
added to my dmesg.:


uhidev0 at uhub0 port 1 configuration 1 interface 0 "vendor 0x0627 2.4G 
Composite Devic" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "vendor 0x0627 2.4G 
Composite Devic" rev 1.10/1.10 addr 2
uhidev1: iclass 3/1, 3 report ids
ucc0 at uhidev1 reportid 1: 1085 usages, 20 keys, array
wskbd2 at ucc0 mux 1
wskbd2: connecting to wsdisplay0
ums0 at uhidev1 reportid 2: 5 buttons, Z and W dir
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=1, output=0, feature=0


I'm sure this is the setup you were referring to, and not Bluetooth proper.

Regards
-Ampie



Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Zé Loff


On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote:
> Hi all,
> 
> I have a computer with openBSD V7.4 without X11, to which I want to connect
> a wireless keyboard via Bluetooth. The keyboard is connected via a separate
> USB Bluetooth receiver. What software do I need for this, and how do I
> configure it? I hope someone responds to this.

I've read tales of some legendary (literally, not in the "awesome" sense
of the word) bluetooth adapters that could be switched in to "HID proxy
mode", and present themselves as uhid(4) devices, which would then be
picked up by the OS as HIDs.  Supposedly those devices would remember
the pairings with keyboards/mice, and that would stick across boots.
Apparently, they're very hard to find, and even harder to get to work
properly.

If you are really desperate, apparently you can use a whole computer
with a full OS just for the task: https://github.com/mikerr/pihidproxy


-- 
 



Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Marcus MERIGHI
Hello Karel, 

cahlu...@planet.nl (Karel Lucas), 2023.10.25 (Wed) 15:24 (CEST):
> I have a computer with openBSD V7.4 without X11, to which I want to connect
> a wireless keyboard via Bluetooth. The keyboard is connected via a separate
> USB Bluetooth receiver. What software do I need for this, and how do I
> configure it? I hope someone responds to this.
 
to quote a real source...

"Bluetooth support was incomplete and not useful in that state,
it has been removed several years ago.
You can use Bluetooth headphones via Creative BT-W1 / BT-W2 /
BT-W3, there are also similar devices from other vendors which
may work (they're often used with nintendo switch) - these
attach as a USB audio device and handle the Bluetooth connection
internally."
Stuart Henderson 2022-11-05 misc@openbsd.org

I suppose you need something equivalent to the above solution for audio,
but for keyboards. 

Keyboard <-> Bluetooth <-> Dongle <-> USB-HID <-> OpenBSD

BTW, keyboards with a proprietary (non-bluetooth) dongle for the radio
interface have always worked for me with OpenBSD.

Marcus



Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Peter Hessler
On 2023 Oct 25 (Wed) at 15:24:27 +0200 (+0200), Karel Lucas wrote:
:Hi all,
:
:I have a computer with openBSD V7.4 without X11, to which I want to connect a
:wireless keyboard via Bluetooth. The keyboard is connected via a separate USB
:Bluetooth receiver. What software do I need for this, and how do I configure
:it? I hope someone responds to this.
:

OpenBSD does not support Bluetooth.


-- 
THE GOLDEN RULE OF ARTS AND SCIENCES
The one who has the gold makes the rules.



Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Karel Lucas

Hi all,

I have a computer with openBSD V7.4 without X11, to which I want to 
connect a wireless keyboard via Bluetooth. The keyboard is connected via 
a separate USB Bluetooth receiver. What software do I need for this, and 
how do I configure it? I hope someone responds to this.