LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-09-2010, 03:02 AM   #1
Киприан
LQ Newbie
 
Registered: Feb 2010
Location: Russia
Distribution: kubuntu, uclinux
Posts: 1

Rep: Reputation: 0
uclinux and custom keypad driver


[Log in to get rid of this advertisement]
Greetings to everyone,

I'm working on a driver for a custom-made keypad (3x4). Target OS - uClinux and target architecture - arm7 (LPC2468). The board is connected to PC via serial port, so at the moment i use usual PC keyboard to type commands in terminal(PuTTY) which is also connected to uClinux.

Problems appear right after insmod'ing of my keypad driver. A new input device is successfully registered and i can see correct keycodes on every key-pressing via printk, but these keycodes don't appear in terminal (like in case with PC-keyboard). The second problem is that after insmod'ing PC-keyboard behaves in a strange way. It means that only one key-pressing appears in the terminal while the rest are bufferized somewhere and appear only after key-pressing on my custom keypad.

I guess that the interaction of two registered in uclinux keyboards at the same time is the source of described above issues.

What do I want to achieve? I need to have only one (custom-made keypad) keyboard to be registered and used in a uClinux right after booting-up. And it's still unclear for me why do keycodes become detected correctly but don't appear in terminal - it's second question.

I'm totally new to device driver development for linux so please don't laugh after reading this post. Please help me or point to the place to start from because of at the moment i have no ideas at all.

Thank you very much for spending your time on me!

P.S.: If it's neccessary, i can post the source text of keypad driver

Last edited by Киприан; 02-09-2010 at 04:42 AM.
   
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
uclinux custom device driver not loading, possibly multiple problems godzilla Linux - Kernel 12 09-10-2007 06:39 PM
Custom kernel device driver isalmbio Linux - Kernel 0 06-30-2007 10:50 AM
Linux KeyPad Driver on Target board MKSrivastava Linux - Laptop and Netbook 0 01-22-2006 10:18 PM
Creating custom driver disk. DDoS YourseLF Red Hat 1 08-07-2005 08:27 AM
how to install dynamic device driver in uClinux chandansingh Programming 1 04-26-2005 03:02 PM


All times are GMT -5. The time now is 10:16 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Free Publications
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration