Touchscreen support (was Re: new computer, strange usb messages at boot)
Larry Rosenman
ler at lerctr.org
Mon Feb 22 18:15:23 UTC 2016
On 2016-02-22 12:15, Hans Petter Selasky wrote:
> On 02/22/16 19:11, Larry Rosenman wrote:
>> On 2016-02-22 10:51, Hans Petter Selasky wrote:
>>> On 02/22/16 17:39, Anthony Jenkins wrote:
>>>>
>>>>
>>>> On 02/22/2016 02:11 AM, Hans Petter Selasky wrote:
>>>>> On 02/22/16 03:16, Anthony Jenkins wrote:
>>>>>> Yes. I have an eGalax touchscreen and it's doing the same thing.
>>>>>> The
>>>>>> number of items it's reporting is 256 (according to my preliminary
>>>>>> debugging), causing the warning. I think these things are a
>>>>>> special
>>>>>> subclass of HID for multitouch touchscreens which we don't support
>>>>>> (yet).
>>>>>
>>>>> /usr/ports/multimedia/webcamd will most likely attach if invoked
>>>>> manually, to this device and provide an event device for you!
>>>>>
>>>>> --HPS
>>>>
>>>> Okay that's /amazing/, and not at all intuitive! I mean I'd expect
>>>> multimedia/webcamd to only attach to "video" devices, but lo and
>>>> behold
>>>> I get a /dev/input/event0 device which spits out gibberish when
>>>> cat(1)'ed and I touch the screen!
>>>>
>>>> My intentions were to port Linux's hid-multitouch device in whole to
>>>> FreeBSD (it's what attaches to my eGalax device and probably to OP's
>>>> touchscreen device) and add support for the device to moused(8), but
>>>> it's not very high on my priority list...
>>>>
>>>
>>> Hi,
>>>
>>> If you apply these patches, will work with your X-org :-)
>>>
>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678
>>>
>>> --HPS
>
> Hi,
>
> Run:
>
> webcamd -l
>
> Then find your device, and run that command line.
>
> --HPS
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe at freebsd.org"
Aha.
$ sudo webcamd -l
Available device(s):
webcamd [-d ugen0.1] -N XHCI-root-HUB-0x8086 -S unknown -M 0
webcamd [-d ugen0.2] -N IntegratedWebcamHD-CN06307G7248759DE3VFA03 -S
unknown -M 0
webcamd [-d ugen0.3] -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0
Show webcamd usage:
webcamd -h
$ sudo webcamd -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0
Attached to ugen0.3[0]
Creating /dev/input/event0
^Z[1] + Suspended sudo webcamd -N
Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0
$ bg
[1] sudo webcamd -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0
$ ls /dev/input/event0
/dev/input/event0
$
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: ler at lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
More information about the freebsd-current
mailing list