Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
usb touchscreen programming


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, 08:46 AM   #2
ne pas
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.


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 09:31 AM
Touchscreen Fujitsu USB JoseLP Linux - Hardware 0 06-24-2008 08:18 PM
USB Touchscreen in linux / MDK 10.2 ZX_SA Linux - Hardware 23 09-10-2007 01:52 PM
Liyitec USB touchscreen houndo Linux - Laptop and Netbook 0 07-09-2006 12:11 PM
looking for a USB touchscreen calibration tool hutcheson83 Linux - Hardware 1 05-27-2006 10:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration