Andrej Lucny(deleted)
|
Re: How to employ /dev/elousb0 (QNX4)
|
Andrej Lucny(deleted)
05/21/2010 12:35 PM
post55387
|
Re: How to employ /dev/elousb0 (QNX4)
I would prefer to start existing devu-elo and replace Input by my program. Now I know that such program would need to
open /dev/elousb0 and receive 5bytes packets and interpret them according the generic protocol. Perfect by my problem is
that when I open /dev/elousb0 nothing is coming from the device.
io-usb &
usb
# usb
USB 0 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
USB 1 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
USB 2 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
USB 3 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
Device Address : 1
Vendor : 0x04e7 (EloTouchSystems,Inc)
Product : 0x0050 (Elo TouchSystems 2216 AccuTouch® USB Touch
monitor Interface)
Class : 0x00 (Independant per interface)
# devu-elo &
now /dev/elousb0 appears in /dev
But:
# /bin/Input -vvvvvvvvvv generic fd -d/dev/elousb0 &
Allocated static manipulator generic at 0001f324
Initializing: generic
Allocated static manipulator fd at 0001eb30
Initializing: fd
fd - Parameter d >/dev/elousb0<
Input = fd
Located manipulator Abs at 0001f5dc
Protocol = generic
Filter = Abs
Resetting: fd
fd: opening /dev/elousb0
Auto-allocated code [16] to fd
fd: registered pulse code 432
Resetting: generic
Calling read on fd [3]
Armed for 5 chars
Resetting: Abs
Cannot open calibration file: No such file or directory
Did not find calib info for [639x479]
Could not attach to target device: errno=6#
I cannot try this with Photon, as Photon detects just vesabios and screen is just black if I start ph (I tried this just
for test, I do not plan to use Photon but QNX Windows)
|
|
|