Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 20:44:00 -0600
From:      Jon Passki <jon@caffeinated-systems.com>
To:        freebsd-questions@freebsd.org
Subject:   Elo Touchscreen and uhid(4)
Message-ID:  <20030310024400.GD98190@hope.caffeinated-systems.com>

next in thread | raw e-mail | index | archive | help
Hello all,

uname -a
FreeBSD roam.caffeinated-systems.com 4.7-STABLE FreeBSD 4.7-STABLE #0: 
Wed Dec 25 11:36:16 CST 2002     
root@roam.caffeinated-systems.com:/usr/obj/usr/src/sys/GENERIC  i386

I have an Elo Touchscreen Intellitouch E281-2310 (as reported by XFree) 
serial controller.  If I connect the USB port, this is what I get:

Feb 28 11:30:58 roam /kernel: uhid0: Elo TouchSystems, Inc. Elo 
TouchSystems USB Touchscreen, rev 1.00/1.01, addr 2, iclass 3/0

usbhidctl(8) shows the following...

# usbhidctl -a -r -v -l -f uhid0
Report descriptor:
Collection page=Generic_Desktop usage=Pointer
Collection page=Generic_Desktop usage=Pointer
Input   size=8 count=1 page=Generic_Desktop usage=Undefined Const, 
logical range -128..127
Input   size=1 count=1 page=Generic_Desktop usage=Undefined, logical 
range 0..1, physical range 0..1
Input   size=1 count=7 page=0x0000 usage=0x0000 Const, logical range 
0..1, physical range 0..1
Input   size=16 count=1 page=Generic_Desktop usage=X, logical range 
184..3932, physical range 0..32767
Input   size=16 count=1 page=Generic_Desktop usage=Y, logical range 
184..3932, physical range 0..32767
Input   size=16 count=1 page=Generic_Desktop usage=Byte_Count, logical 
range 0..256, physical range 0..256
End collection
End collection
Total   input size 8 bytes
Total  output size 0 bytes
Total feature size 0 bytes

And quick touches shows this:

Generic_Desktop:Pointer.Generic_Desktop:Undefined=0
Generic_Desktop:Pointer.Generic_Desktop:X=3482
Generic_Desktop:Pointer.Generic_Desktop:Y=3344
Generic_Desktop:Pointer.Generic_Desktop:Byte_Count=19

Generic_Desktop:Pointer.Generic_Desktop:Undefined=1
Generic_Desktop:Pointer.Generic_Desktop:X=3482
Generic_Desktop:Pointer.Generic_Desktop:Y=3344
Generic_Desktop:Pointer.Generic_Desktop:Byte_Count=39

...

Logically, what would it take to utilize this device as a mouse under 
FreeBSD?

Thanks,

Jon


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030310024400.GD98190>