10-01-2009
Thanks for your response.
I have enabled the following options in the menuconfig file while building uImage.
Input Device Support --> Event Interface
Keyboards --> AT Keyboard
HID Devices --> USB Human Interface Device support
HID Devices --> PID device support
Special HID Drivers --> Logitech and Logitech force feedback
After booting the kernel, USB key board detected as "/dev/input/event0".
I don't know why I can't use this as stdin?
Am I missing some thing here?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a USB keyboard/mouse combo hooked up to an x86 box and when it loads the mouse works fine, but the ctrl, shift, alt, and i think the function keys don't do anything. Is there a setting I need to change, or a way to manually configure them. There are no drivers, it is supposed to emulate a... (0 Replies)
Discussion started by: Winzernotman
0 Replies
2. Shell Programming and Scripting
I would like to get a script to respond to arrow key presses to scroll up and down a menu.
The platform is CDLinux which uses a prehistoric version of bash, version 1.14.7.
I would like to do something like "read -sn 1 keyin" but the "read" command is so primative that it only has the -r... (1 Reply)
Discussion started by: simonb
1 Replies
3. Shell Programming and Scripting
Hi there,
I have a Debian machine without any peripherals (no screen, no keyboard, etc.). I'd like to be able to detect and log when someone plugs a USB keyboard. Something like : 2009-07-04 12:21 warning: keyboard pluged!
Is that possible?
I see two ways :
1. Either actively react to the... (4 Replies)
Discussion started by: chebarbudo
4 Replies
4. SCO
Sir
I have HP installed with SCO 6.0. The problems are (1) some keys in board like 'del' 'backspace', 'pageup/dn" do not function and display some special characters on conole. (2) Files transferred from Windows machine invariably contain control Z/M characters. How to resolve these issues.
... (4 Replies)
Discussion started by: chssastry
4 Replies
5. Solaris
Hello,
I hope I put this in the right forum...
I searched for similar threads, but I couldn't find any that seem to deal with the problem I am having.
My workplace is using (among other Solaris-machines) Dell Dimension T3500 as workstations (running Solaris 10 X86 10/09 u8,... (0 Replies)
Discussion started by: areichart
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to provide more than one character to "> /dev/tty" through terminal/keyboard input, I have this:
ok=false
while
do
echo " Enter r1 to reformat "
> /dev/tty
read choice
case $choice in
)
echo " bla bla bla "
;;
done
However, in this way,... (3 Replies)
Discussion started by: Gery
3 Replies
7. Shell Programming and Scripting
Hey guys, first post! I want to write a script that will wait 1 second and then input the keys CTRL+ALT+J to the application i just opened.
The program is dosbox, and thay key combination starts video recording :) I have no idea how to program this, can anyone help please?
thanks in advance! (2 Replies)
Discussion started by: brunobliss
2 Replies
8. Shell Programming and Scripting
I am using while read do/ done to retrieve menu item.
Works as advertised, no problem.
I am using this hack function "pause" to stop script execution and wait for keyboard "enter" key to continue. Sort of break point function. Also works fine with one exception - it does not work when used... (4 Replies)
Discussion started by: annacreek
4 Replies
9. HP-UX
Greetings.
Seeking guidance on adding a USB barcode reader (BCR) to an HP c3750 workstation with HP-UX 11.11 which is essentially configuring X windows to accept input from both a primary keyboard and a secondary keyboard that happens to be the BCR.
Historically, I have successfully added a BCR... (2 Replies)
Discussion started by: mnkaltenbach
2 Replies
LEARN ABOUT MOJAVE
usb_ah
usb_ah(7M) STREAMS Modules usb_ah(7M)
NAME
usb_ah - USB audio HID STREAMS module
DESCRIPTION
The usb_ah STREAMS module enables the USB input control device which is a member of the Human Interface Device (HID) class and provides
support for volume change and mute button. The usb_ah module is pushed on top of a HID class driver instance (see hid(7D)) and below an
Audio Control class driver instance (see usb_ac(7D)). It translates the HID specific events to the events that are supported by the Solaris
audio mixer framework.
FILES
/kernel/strmod/usb_ah
32-bit ELF kernel STREAMS module. (x86 platform only.)
/kernel/strmod/sparcv9/usb_ah
SPARC 64-bit ELF kernel STREAMS module
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |PCI-based systems |
+-----------------------------+-----------------------------+
|Availability |SUNWusb |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
mixerctl(1), hid(7D), usba(7D), usb_ac(7D), usb_as(7D), usb_mid(7D), audio(7I), mixer(7I)
STREAMS Programming Guide
System Administration Guide: Basic Administration
Universal Serial Bus Specification 1.0 and 1.1
Device Class Definition for Human Interface Devices (HID) 1.1
DIAGNOSTICS
None
NOTES
If USB audio drivers are not loaded, buttons will not be active.
SunOS 5.10 27 Sep 2004 usb_ah(7M)