LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-06-2004, 11:08 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
mouse device programming, differences between busmouse/mousedev?


i've been reading 'linux device drivers', i finally finished the interrupt chapter so it's time to finally write some sort of driver. i figured a mouse would be easiest, so i've been checking out the mouse code. i have some questions:

+there are many busmouse drivers in [ drivers/char/ ] that all use the functions defined in [ drivers/char/busmouse.c ] to register a busmouse.
+my mouse driver is [ drivers/input/mousedev.c ]

my question is, what is the difference between these types? is a busmouse something different? with the busmice, writing a driver seems pretty simple and all you do is provide an open/close method and the rest is done for you just by calling register_busmouse(). the mousedev driver is much more complex.
i keep trying to google to find out what exactly a busmouse is, but all i find is this same 'liinux busmouse HOWTO' guide.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
A4Tech 4D USB mouse and mousedev.c davidsrsb Linux - Hardware 0 05-26-2005 08:48 AM
Kernel Programming/Device Drivers Matir Programming 2 04-06-2005 03:07 PM
linux device driver programming chandansingh Programming 1 03-26-2005 07:30 AM
Programming a Device on Com1 Port oulevon Programming 1 07-15-2004 04:18 PM
Debian Sparc busmouse lock up rascal Linux - Software 0 10-18-2002 03:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration