LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-06-2011, 11:16 AM   #1
jinxin16897123
LQ Newbie
 
Registered: Aug 2011
Location: Shanghai,China
Posts: 9

Rep: Reputation: Disabled
data from usb


Hello,I'm a new comer in linux .forgive my poor English.
I want to get the data from usb mouse,something like the mouse displacement,wheel and so on.
How could I obtain the data when I'm in application layer.
Thank you...
 
Old 08-07-2011, 04:19 AM   #2
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
are you looking for mouse specs? if so, run this:

Code:
lsusb | grep mouse
if you are trying to find which button is which, do this in terminal:

Code:
xev
once the little window comes up, click in the square and scroll the wheel once and read the output to the terminal. that shows the button mappings.

Last edited by archtoad6; 09-07-2011 at 01:30 PM. Reason: disable traffic driving sig spam
 
  


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
[SOLVED] Amount of data passed through a USB device (from USB stick) grayFalcon Linux - Software 4 08-18-2010 01:26 AM
[SOLVED] Can't get data from usb GPS em21701 Slackware 5 08-13-2009 08:26 AM
Where to see the USB data after attaching USB device to PC? Nishant Desai Linux - General 8 07-15-2006 08:41 AM
USB data aquasition. Any one tried it? TheBrick Linux - Hardware 1 06-05-2006 01:34 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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