09-05-2016
I can't say anything about Linux, but in FreeBSD it would not be really hard.
You just have to tell devd (and possibly Xorg) to ignore that specific keyboard. If can do that, you are free to read /dev/ukbd0 (or ukbd1) as you please. What you get from there might be ascii or scancodes, or you might be able to choose.
It should be similar in Linux, devd is called udev there, I think.
Juha
This User Gave Thanks to Juha Nurmela For This Post:
10 More Discussions You Might Find Interesting
1. AIX
Hello, I'm new here and I come from Germany.
At our AIX-ORACLE-System someone has deleted one important file and we'd like to find out who did this, next time.
Is there any command to find out who is connected?
I'm not trying to find out if it's root, etc., I'd like to get the DNS-Name or... (3 Replies)
Discussion started by: Huch
3 Replies
2. Programming
Hello !
I've got a question . I really don't het this point. Let's supose that I have a client connected to a server.
I want the server IMEDIATLY know if the client is diconnected . How can I realize this ? :mad:
Amd I'm just curios about one thing. I have a server and multiple clients... (3 Replies)
Discussion started by: !_30
3 Replies
3. IP Networking
hi...
can anyone pls suggest a few methods to check whether a computer is connected to any network, using the terminal, not GUI.
thanks
eskay (1 Reply)
Discussion started by: eskay_karthik
1 Replies
4. UNIX for Advanced & Expert Users
we have a as400 5rev4 and want to use a rhel server to use as a file server. We exported a drive on the rhel box and then mounted it on the as400. We can see the top directory in our mounted as400 directory but when we attempt access subdirectories we get a no matching object error.
When we open... (2 Replies)
Discussion started by: javagair
2 Replies
5. AIX
Hello everyone.
We have a environment where we have DS8K storage and ES800 storage, the way to check to which storage the box is connected is using the LUN ID I get frm " pcmpath query device " command.
for ex:
75CXX - DS8K storage
26860 - ES 800 Storage
I was told to check... (4 Replies)
Discussion started by: nivaspIND
4 Replies
6. IP Networking
Be Gentle folks, I am a baby OpenSuSe 11.2 user :-)
In windows Vista, there is a world in the systray when you are Internet connected and not just local.
I have searched all over for a .RPM for the Network Manager or another packeg in Suse that can show me the same thing or something close.
... (0 Replies)
Discussion started by: donmaxwelliii
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all
I've been a Debian user since solidly since about 1997 so I'm fairly experienced Linux user as a whole but unfortunately the monoculture has hit be hard recently. I'm working off a Laptop a lot of the time which spends up to 2-4 weeks without an Internet connection. A few weeks ago it... (1 Reply)
Discussion started by: pointyhat
1 Replies
8. UNIX for Dummies Questions & Answers
hi,
good morning.
Anyone can help me out. A trying to ftp from server A to server B.
from server A to B its working fine but from server B to A, its only showing connected only:
finap7 #ftp 10.10.10.210
Connected to 10.10.10.210.
I refresh the inetd but nothing is happening.
Please... (1 Reply)
Discussion started by: kamaldev
1 Replies
9. OS X (Apple)
Been a while since I've been here; I have my iMac and MBpro connected via firewire, and they can see each other when I open the finder windows.
But I'd like to be able to 'see' each computer on the other via the terminal application; and I can't see them right now. I can transfer files via the... (0 Replies)
Discussion started by: Straitsfan
0 Replies
10. IP Networking
May someone can answer this. Anytime I ignite my laptop to go online I see via etherape that I am connected to IANA as shown below. Is my provider redirecting me there, the cable under the sea, what is the reason for this?
This happened with a pretty normal desktop PC, as well with my ancient... (2 Replies)
Discussion started by: 1in10
2 Replies
UKBD(4) BSD Kernel Interfaces Manual UKBD(4)
NAME
ukbd -- USB keyboard driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device ukbd
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
ukbd_load="YES"
DESCRIPTION
The ukbd driver provides support for keyboards that attach to the USB port. usb(4) and one of uhci(4) or ohci(4) must be configured in the
kernel as well.
CONFIGURATION
By default, the keyboard subsystem does not create the appropriate devices yet. Make sure you reconfigure your kernel with the following
option in the kernel config file:
options KBD_INSTALL_CDEV
If both an AT keyboard USB keyboards are used at the same time, the AT keyboard will appear as kbd0 in /dev. The USB keyboards will be kbd1,
kbd2, etc. You can see some information about the keyboard with the following command:
kbdcontrol -i < /dev/kbd1
or load a keymap with
kbdcontrol -l keymaps/pt.iso < /dev/kbd1
See kbdcontrol(1) for more possible options.
You can swap console keyboards by using the command
kbdcontrol -k /dev/kbd1
From this point on, the first USB keyboard will be the keyboard to be used by the console.
If you want to use a USB keyboard as your default and not use an AT keyboard at all, you will have to remove the device atkbd line from the
kernel configuration file. Because of the device initialization order, the USB keyboard will be detected after the console driver initial-
izes itself and you have to explicitly tell the console driver to use the existence of the USB keyboard. This can be done in one of the fol-
lowing two ways.
Run the following command as a part of system initialization:
kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null
(Note that as the USB keyboard is the only keyboard, it is accessed as /dev/kbd0) or otherwise tell the console driver to periodically look
for a keyboard by setting a flag in the kernel configuration file:
device sc0 at isa? flags 0x100
With the above flag, the console driver will try to detect any keyboard in the system if it did not detect one while it was initialized at
boot time.
DRIVER CONFIGURATION
options KBD_INSTALL_CDEV
Make the keyboards available through a character device in /dev.
options UKBD_DFLT_KEYMAP
makeoptions UKBD_DFLT_KEYMAP=fr.iso
The above lines will put the French ISO keymap in the ukbd driver. You can specify any keymap in /usr/share/syscons/keymaps with this
option.
options KBD_DISABLE_KEYMAP_LOADING
Do not allow the user to change the keymap. Note that these options also affect the AT keyboard driver, atkbd(4).
FILES
/dev/kbd* blocking device nodes
EXAMPLES
device ukbd
Add the ukbd driver to the kernel.
SEE ALSO
kbdcontrol(1), ohci(4), syscons(4), uhci(4), usb(4), config(8)
AUTHORS
The ukbd driver was written by Lennart Augustsson <augustss@cs.chalmers.se> for NetBSD and was substantially rewritten for FreeBSD by
Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>.
This manual page was written by Nick Hibma <n_hibma@FreeBSD.org> with a large amount of input from Kazutaka YOKOTA
<yokota@zodiac.mech.utsunomiya-u.ac.jp>.
BSD
November 22, 2006 BSD