LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-29-2008, 12:06 PM   #1
pradeepps
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
usb touchscreen programming


Hi,

I am trying to interface an iLCD touchscreen display which has an usb interface. The device shows up as /dev/hiddev0 and I am able to get the device info by ioctl in HIDIOCGDEVINFO. But how do I read or send commands to the device?

I am using RHEL 5 and 2.6.18 kernel. I am programming in C and trying to send commands and read the inputs from the screen. What I would really like to know is if I can use file streaming for that purpose. If not, is there any usb hid driver I need to install?
 
Old 07-30-2008, 07:46 AM   #2
ne pas
Member
 
Registered: Jul 2008
Posts: 55

Rep: Reputation: 23
Go to the vendors product page, download the "iLCD Command Set" PDF file, in the "Sample Source Code" chapter you will find links to two source code examples, one for serial/usb and one for I2C.
Studying the source code should give you a first insight on how to communicate with your iLCD.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with touchscreen TS2005F-USB webquinty Linux - Newbie 2 09-01-2008 08:31 AM
Touchscreen Fujitsu USB JoseLP Linux - Hardware 0 06-24-2008 07:18 PM
USB Touchscreen in linux / MDK 10.2 ZX_SA Linux - Hardware 23 09-10-2007 12:52 PM
Liyitec USB touchscreen houndo Linux - Laptop and Netbook 0 07-09-2006 11:11 AM
looking for a USB touchscreen calibration tool hutcheson83 Linux - Hardware 1 05-27-2006 09:18 AM


All times are GMT -5. The time now is 12:27 AM.

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