Sponsored Content
Operating Systems Linux How to read keys from USB keyboard on AT91SAM9260 Post 302348517 by Corona688 on Friday 28th of August 2009 01:19:41 PM
Old 08-28-2009
Your embedded system's kernel may not have been built with keyboard support, being an embedded system...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USB keyboard in Solaris

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

How to read arrow keys on really old bash?

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

Detect USB keyboard and other peripherals

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

SCO 6.0-Keys in keyboard function differently

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

Keys on Keyboard stop working

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

read from terminal/keyboard > /dev/tty

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

Input keyboard keys upon program launch

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

While read won't run keyboard function

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

Configure X windows with both keyboard and USB barcode reader

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
IFMCSTAT(8)						    BSD System Manager's Manual 					       IFMCSTAT(8)

NAME
ifmcstat -- dump multicast group management statistics per interface SYNOPSIS
ifmcstat [-i interface] [-f address-family] [-v] [-K] [-M core] [-N system] DESCRIPTION
The ifmcstat command dumps multicast group information from the kernel. The following options are supported: -i interface specifies the interface to be displayed. -f address-family specifies the address family to be displayed; inet, inet6 and link are supported. -v specifies that link-layer memberships should be printed; they are suppressed by default. It may not be specified for -f link. Source lists for each group will also be printed. If specified twice, and kvm(3) is in use, the control plane timers for each interface and the source list counters for each group will also be printed. The following options are only available if ifmcstat has been built with support for kvm(3): -K attempts to use kvm(3) to retrieve the multicast group information. -M core extracts values associated with the name list from the specified core, instead of the default /dev/kmem. -N system extracts the name list from the specified kernel instead of the default, which is the kernel image the system has booted from. IMPLEMENTATION NOTES
ifmcstat will always print the embedded scope IDs of IPv6 multicast group memberships. This is because memberships are always scoped to an interface. When run with the -v option, ifmcstat may print multicast MAC addresses twice if they are referenced by a layer 3 protocol. When run with kvm(3) support, the names of all interfaces configured in the system will be printed in the first column of output, even if no multicast group memberships are present on those interfaces. The output may also be slightly different, as the kernel data structures are being traversed with minimal post-processing of the output. When built without kvm(3) support, the information displayed by ifmcstat is more limited. This support is recommended for debugging pur- poses. It requires super-user privilege if used to inspect a running kernel. SEE ALSO
netstat(1), getifaddrs(3), getifmaddrs(3), kvm(3) BSD
May 27, 2009 BSD
All times are GMT -4. The time now is 04:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy