All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Mario Lang <mlang@delysid.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: User-space Keyboard input?
Date: Fri, 23 Jul 2004 16:52:35 +0200	[thread overview]
Message-ID: <1090594355.4791.56.camel@pegasus> (raw)
In-Reply-To: <87bri6n7nz.fsf@lexx.delysid.org>

Hi Mario,

> >> I'm working on BRLTTY[1], a user-space daemon which handles braille displays
> >> on UNIX platforms.  One of our display drivers recently gained the ability
> >> to receive (set 2) scancodes from a keyboard connected directly to the display.
> >> This is a very cool feature, since the display in question has
> >> a bluetooth interface, making it effectively into a complete wireless
> >> terminal (input and output through the same connection).
> >
> > tell me more about this Bluetooth device.
> 
> Its a Braille Star 40 from HandyTech.  Originally sold, the device had two
> alternative ports, serial or USB.  They recently offered an additional
> bluetooth module.  I don't really know what you want to know though :-).

what kind of profiles do this Bluetooth module support? Is it a HID
compatible device or do it uses a vendor specific protocol? Do you
tested it with Linux?

> >> However, this creates some problems.  First of all, we now have to deal
> >> with keyboard layouts.  Additionally, since we currently insert via
> >> TIOCSTI I think this might get problematic as soon as one switches
> >> to an X Windows console and modifiers come into play.
> >> 
> >> Does anyone know (and can point me into the right direction) if
> >> Linux has some mechanism to allow for user-space keyboard data to
> >> be processed by the kernel as if it were received from the system
> >> keyboard?  I.e., keyboard layout would be handled by the same
> >> mapping which is configured for the system.
> >
> > Take a look at the user level driver support (uinput).
> Yup, thats it, thanks.  Now I just need to find some example code on how
> to use it :-).

The BlueZ CVS repository utils2 contains the old bthid code that makes
use of the uinput kernel module.

Regards

Marcel



  parent reply	other threads:[~2004-07-23 14:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 10:36 User-space Keyboard input? Mario Lang
2004-07-23 10:54 ` Marcel Holtmann
     [not found]   ` <87bri6n7nz.fsf@lexx.delysid.org>
2004-07-23 14:52     ` Marcel Holtmann [this message]
2004-07-24  1:02 ` Samuel Thibault
2004-07-24  6:09   ` Mario Lang

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=1090594355.4791.56.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mlang@delysid.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.