How to write a keyboard driver?

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
How to write a keyboard driver?

How to write a keyboard driver with interrupt driven? the platform is ARM and the interface is SRAMC with I/O mapped. What should my handler and read fucntions contains? and I want to know how to map the memory by using the ioremap() function? when exactly we have to use mmap()can you please help me out with some kinda psuedo code.
warm regards,
Ravi Kulkarni
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

7 More Discussions You Might Find Interesting

1. Debian

Debian Etch - install us-keyboard driver

Hi, i'm using a debian-4.0r1 on an old subnet machine. I have to extend it with an other keyboard . What i have is a DVD of etch 4.0r7. How can i install and load the keyboard-driver for the us-keyboard? Can anybody please give me a hint how to do that? Thanks in advance (0 Replies)
Discussion started by: IMPe
0 Replies

2. Ubuntu

Kernel panics : trying to write / read on tiny tty driver

I'm a beginner to the Linux programming and trying my hands on some device driver examples while practising. The below code (a trimmed down version of tiny_tty.c from ldd3 book) loads perfectly using insmod and I'm able to see it in /proc/tty/drivers , /proc/modules and device nodes are getting... (1 Reply)
Discussion started by: diwsdiwa
1 Replies

3. UNIX for Dummies Questions & Answers

Problem getting vertical bar with British keyboard layout on US (physical) keyboard

Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it. I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies

4. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

5. Programming

Access keyboard driver

(USING FEDORA 16) I am using following command: cat `pwd`/pci-0000:00:1d.0-usb-0:1.3:1.0-event-kbd to access the keyboard driver to make a key logger ,but what i am getting is just some hash code ,please help me decrypt it. Thanks. (1 Reply)
Discussion started by: jayeshsharma52
1 Replies

6. UNIX for Advanced & Expert Users

Questions about the Linux console keyboard driver / translation tables

Hi there, I am trying to understand the logic of the Linux keyboard driver, I am not sure if this is the right place to ask, but I don't know where else I could. Btw. I am talking about an unicode console here. 1.) The Linux kernel (currently) can take 256 translation tables (keymaps),... (2 Replies)
Discussion started by: Bill Cosby
2 Replies

7. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies
ATKBDC(4)						   BSD Kernel Interfaces Manual 						 ATKBDC(4)

atkbdc -- the AT keyboard controller interface SYNOPSIS
options KBD_RESETDELAY=N options KBD_MAXWAIT=N options KBDIO_DEBUG=N device atkbdc In /boot/device.hints:"isa" hint.atkbdc.0.port="0x060" DESCRIPTION
The keyboard controller atkbdc provides I/O services for the AT keyboard and PS/2 mouse style pointing devices. This controller is required for the keyboard driver atkbd and the PS/2 pointing device driver psm. There can be only one atkbdc device configured in the system. DRIVER CONFIGURATION
Kernel Configuration Options The following kernel configuration options can be used to control the atkbdc driver. They may be set in the kernel configuration file (see config(8)). KBD_RESETDELAY=X, KBD_MAXWAIT=Y The keyboard driver atkbd and the pointing device driver psm may ask the atkbdc driver to reset these devices during the boot process. It sometimes takes a long time before these devices respond to the reset command. These options control how long the atkbdc driver should wait before eventually giving up -- the driver will wait X * Y msecs at most. If the drivers seem unable to detect devices, you may want to increase these values. The default values are 200 msec for X and 5 for Y. KBDIO_DEBUG=N Sets the debug level to N. The default value is zero, which suppresses all debugging output. SEE ALSO
atkbd(4), psm(4), config(8) HISTORY
The atkbdc driver first appeared in FreeBSD 3.1. It is based on the kbdio module in FreeBSD 2.2. AUTHORS
The kbdio module, the atkbdc driver and this manual page were written by Kazutaka Yokota <>. BSD
February 9, 1999 BSD

Featured Tech Videos