Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-03-01 Thread Sergey V. Dyatko
On Mon, 22 Feb 2016 17:51:00 +0100
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
> 

wow...
Thanks for your work :) 

Yesterday I update -CURRENT on my lenovo z400 touch ( r296180),  after
suspend-resume I spotted that is my usb mouse didn't work (touchpad works as
before)
I had the feeling that I read something about hid_get_item: Number of
items(256) truncated to 255 on ML, so I'm here. 

What I do: 
laptop# webcamd -l
Available device(s):

webcamd [-d ugen0.2] -N Synaptics-Large-Touch-Screen-SYNAPTICS -S unknown -M 0
...
Show webcamd usage:
webcamd -h
laptop# webcamd  -N Synaptics-Large-Touch-Screen-SYNAPTICS -S unknown -M 0
Attached to ugen0.2[0]
Creating /dev/input/event0

after that I reconnect my mouse and 'it works' (c) 
How I can do this   automatically right?

--
wbr, tiger

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-23 Thread Lars Engels
On Mon, Feb 22, 2016 at 11:39:12AM -0500, 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!

I might be about time to re-name webcamd to something else.


pgppTw7gHrGpY.pgp
Description: PGP signature


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Larry Rosenman

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@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to 
"freebsd-current-unsubscr...@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: l...@lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Hans Petter Selasky

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@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Larry Rosenman

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

Didn't seem to attach to mine, running from /etc/rc.d / devd
$ ls
acpicttyled psm0ttyv8
ada0cuselog pts ttyv9
ada0p1  devctl  mdctl   random  ttyva
ada0p2  devctl2 mem reroot  ttyvb
ada0p3  devstat midistatses0ufssuspend
ada1dumpdev mixer0  sndstat ugen0.1
ada1p1  fd  mixer1  stderr  ugen0.2
ada1p2  fidomixer2  stdin   ugen0.3
apm fullmsdosfs stdout  uhid0
apmctl  geom.ctlnetmap  sysmouseuhid1
atkbd0  gpt nfslock ttyv0   urandom
audit   hpet0   nullttyv1   usb
auditpipe   io  nvidia0 ttyv2   usbctl
bpf kbd0nvidiactl   ttyv3   video0
bpf0kbd1pass0   ttyv4   xpt0
bpsm0   kbdmux0 pass1   ttyv5   zero
console klogpass2   ttyv6   zfs
consolectl  kmempci ttyv7
$ ls /dev/in*
ls: /dev/in*: No such file or directory
$

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Anthony Jenkins
On 02/22/2016 11:51 AM, 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

Well that's one of the higher priority items - Xorg doesn't work with my
AMD Radeon video device and FreeBSD's drm2/radeonkms... I'm going to try
the vesa driver today.

-- 
Anthony Jenkins

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Hans Petter Selasky

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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Anthony Jenkins


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...

-- 
Anthony Jenkins


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"