Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Error: could not open /dev/kbd to get keyboard Post 302072176 by reddymails on Friday 28th of April 2006 09:02:01 AM
Old 04-28-2006
Error: could not open /dev/kbd to get keyboard

hi,
Why do i get an error

"could not open /dev/kbd to get keyboard type US keyboard assumed"

wehn i execute the script on my AIX machine.

Just curious to know.
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

/dev/NULL can't open this file ??

when i write the following two statements : cp /dev/NULL /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp cat /dev/NULL > /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp its gives me errors like : cp: /dev/NULL: A file or directory in the path name does not exist. cat : /dev/NULL can't open... (2 Replies)
Discussion started by: varungupta
2 Replies

2. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

3. SuSE

can't open /dev/sda3 exclusively

Hi, please help!!! I'm installing an openSUSE 10.3 into a computer, after creating the following partitions: Primay Partition swap / LVM(volume manager) - /dev/sda3 /opt, /var, /tmp, /usr, /local when i tried to continue installing, after creating the partitions i am prompted with the... (2 Replies)
Discussion started by: etcpasswd
2 Replies

4. 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

5. Solaris

Can´t open /dev/dsk/c1t0d0s0 Clone/mirror

Hello friends, I Working with Solaris 8 on a SunFireV890, 150 GB SCSI HD's in Raid 1 (mirroring), my problem is that the master disk failed and going to put the slave (mirror) as a Master in the slot 0 (SCSI) will not start. The original mounting this, mirror in Raid 0: c1t0d0s0 (master)... (10 Replies)
Discussion started by: grymorum
10 Replies

6. UNIX for Advanced & Expert Users

Pvcreate can't open /dev/xvda2 exclusively mounted filesystem

I downloaded the oracle linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here's the steps I tried is : 1. Init 1 2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2 3. Re-create /dev/xvda2 with linux LVM using new end blocks ... (1 Reply)
Discussion started by: alnhk
1 Replies

7. Red Hat

Pvcreate can't open /dev/xvda2 exclusively mounted filesystem

I downloaded the RH Linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here’s the steps I tried is : 1. Init 1 2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2 3. Re-create /dev/xvda2 with linux LVM using new end... (7 Replies)
Discussion started by: alnhk
7 Replies
usbkbm(7M)																usbkbm(7M)

NAME
usbkbm - keyboard STREAMS module for Sun USB Keyboard SYNOPSIS
open("/dev/kbd", O_RDWR) The usbkbm STREAMS module processes byte streams generated by a keyboard attached to a USB port. USB keyboard is a member of Human Interface Device (HID) Class, and usbkbm only supports the keyboard protocol defined in the specification. Definitions for altering key- board translation and reading events from the keyboard are in <sys/kbio.h> and <sys/kbd.h>. The usbkbm STREAMS module adheres to the interfaces exported by kb(7M). Refer to the DESCRIPTION section of kb(7M) for a discussion of the keyboard translation modes and the IOCTL section for the supported ioctl(2) requests. USB Keyboard usbkbm returns different values for the following ioctls than kb(7M): KIOCTYPE This ioctl() returns a new keyboard type defined for the USB keyboard. All types are listed below: KB_SUN3 Sun Type 3 keyboard KB_SUN4 Sun Type 4 keyboard KB_ASCII ASCII terminal masquerading as keyboard KB_PC Type 101 PC keyboard KB_USB USB keyboard The USB keyboard type is KB_USB; usbkbm will return KB_USB in response to the KIOCTYPE ioctl. KIOCLAYOUT The argument is a pointer to an int. The layout code specified by the bCountryCode value returned in the HID descriptor is returned in the int pointed to by the argument. The countrycodes are defined in 6.2.1 of the HID 1.0 specifications. KIOCCMD KBD_CMD_CLICK/KBD_CMD_NOCLICK The kb(7M) indicates that inappropriate commands for particular keyboards are ignored. Because clicking is not supported on the USB keyboard, usbkbm ignores this command KBD_CMD_SETLED Set keyboard LEDs. Same as kb(7M). KBD_CMD_GETLAYOUT The country codes defined in 6.2.1 of the HID 1.0 specification are returned. KBD_CMD_BELL/KBD_CMD_NOBELL This command is supported although the USB keyboard does not have a buzzer. The request for the bell is rerouted. KBD_CMD_RESET There is no notion of resetting the keyboard as there is for the type4 keyboard. usbkbm ignores this command and does not return an error. FILES
/kernel/strmod/usbkbm 32-bit ELF kernel STREAMS module ( platform only) /kernel/strmod/sparcv9/usbkbm SPARC 64-bit ELF kernel STREAMS module See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |PCI-based systems | +-----------------------------+-----------------------------+ |Availability |SUNWusb | +-----------------------------+-----------------------------+ dumpkeys(1), kbd(1), loadkeys(1), ioctl(2), keytables(4), attributes(5), hid(7D), usba(7D), virtualkm(7D), kb(7M) STREAMS Programming Guide System Administration Guide: Basic Administration http://www.sun.com/io DIAGN0STICS None 27 June 2005 usbkbm(7M)
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy