Re: Support for graphics tablets

2012-09-17 Thread Vitaly Magerya
Alexander Yerenkow wrote:
 I don't remember exact details, if I'm not mistaken, pressure was supported
 (it's basically sent by tablet as one byte).
 You should have three section of device in xorg, and xorg will take
 automatically one as mouse, one as tablet (weird, but working magic).
 Could you write later to this list about results :)

Yeah, so after updating [1] to the latest xf86-input-mouse (1.8.1),
the tablet seems to work.

The caveat is that I haven't found a way to detach ums(4) from
the device without recompiling the kernel with ums excluded.
A workaround is to use sysutils/uhidd which will emulate an
uhid(4) device from a given ugen(4) device, so pointing the
patched mouse driver to that emulation seems to work.

The few minor problems (compared to Linux) are: no proximity events,
no relative mode support, and too many events (i.e. the driver produces
input events even if pointer's coordinates did not change).

Finally, mav@ replied pointing to his original post at [2].

[1] http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1
[2] http://lists.freebsd.org/pipermail/freebsd-hardware/2011-July/006749.html
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Support for graphics tablets

2012-09-14 Thread Vitaly Magerya
Alexander Yerenkow yeren...@gmail.com wrote:
 mav@ did patch for x, and my cheap tablet from `genius` became working :)
 You probably should write to him, ask details on how make your device
 working.

That is good news then; do you have pressure sensitivity working in
programs like gimp?

I did mail mav@ (avg@ suggested this too), but got no response so
far. There are however his patches at people.freebsd.org that look
useful. Is [1] the one you're using? I shall look into it.

From the first glance the patch seems to assume a uhid(4) device
though; does ums(4) not grab your tablet before uhid(4)?

[1] http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Support for graphics tablets

2012-09-14 Thread Alexander Yerenkow
2012/9/15 Vitaly Magerya vmage...@gmail.com

 Alexander Yerenkow yeren...@gmail.com wrote:
  mav@ did patch for x, and my cheap tablet from `genius` became working
 :)
  You probably should write to him, ask details on how make your device
  working.

 That is good news then; do you have pressure sensitivity working in
 programs like gimp?

 I did mail mav@ (avg@ suggested this too), but got no response so
 far. There are however his patches at people.freebsd.org that look
 useful. Is [1] the one you're using? I shall look into it.

 From the first glance the patch seems to assume a uhid(4) device
 though; does ums(4) not grab your tablet before uhid(4)?


I don't remember exact details, if I'm not mistaken, pressure was supported
(it's basically sent by tablet as one byte).
You should have three section of device in xorg, and xorg will take
automatically one as mouse, one as tablet (weird, but working magic).
Could you write later to this list about results :)



 [1] http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1




-- 
Regards,
Alexander Yerenkow
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Support for graphics tablets

2012-09-13 Thread Hans Petter Selasky
On Wednesday 12 September 2012 23:13:10 Vitaly Magerya wrote:
 Hi, folks. I have a graphics tablet (a Waltop-based one, see [1]
 for it's USB ids and descriptors) and I want to make it work on
 FreeBSD.
 
 Currently (8.3-RC1) this is what happens when I attach it:
 ugen0.2: WALTOP International Corp. at usbus0
 ums0: WALTOP International Corp. Slim Tablet, class 0/0, rev
 1.10/11.05, addr 2 on usbus0 ums0: 5 buttons and [XYZ] coordinates ID=1
 
 So, ums(4) tries to grab it -- but that doesn't really work:
 # cat -v /dev/ums0
 no output here, ever
 
 In any case, the native mode for this tablet are events with
 absolute coordinates, so if my understanding is correct ums(4)
 is of no use here, as it is bound by mouse(4) protocol.
 
 So the first question I have is: do we have any kind of support
 for tablets (other than Wacom's)? Did we ever? Is/was there
 someone working on this?
 
 The second question: is there a way to disconnect ums(4) and
 make uhid(4) handle the device (while staying with GENERIC
 kernel)?
 
 [1]
 http://sourceforge.net/apps/mediawiki/digimend/index.php?title=Waltop_Slim
 _Tablet_12.1%22 ___

Hi,

Maybe webcamd in ports supports it.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Support for graphics tablets

2012-09-13 Thread Vitaly Magerya
Hans Petter Selasky hsela...@c2i.net wrote:
 On Wednesday 12 September 2012 23:13:10 Vitaly Magerya wrote:
 Hi, folks. I have a graphics tablet (a Waltop-based one, see [1]
 for it's USB ids and descriptors) and I want to make it work on
 FreeBSD.

 Currently (8.3-RC1) this is what happens when I attach it:

I have no idea why I wrote 8.3-RC1 here. It should be 9.1-RC1
instead.

 [...]

 Maybe webcamd in ports supports it.

 --HPS

I didn't know webcamd supports that kind of devices; I thought
it only supports video/audio stuff.

Anyway, here's what I get with webcamd-3.7.0.1:

# usbconf | grep WALTOP
ugen3.2: Slim Tablet WALTOP International Corp. at usbus3,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

# webcamd -d 3.2
webcamd: Cannot find USB device

The same thing happens if I use libusb_detach_kernel_driver(3)
to detach ums(4) from the tablet prior to trying webcamd.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Support for graphics tablets

2012-09-13 Thread Alexander Yerenkow
mav@ did patch for x, and my cheap tablet from `genius` became working :)
You probably should write to him, ask details on how make your device
working.

-- 
Regards,
Alexander Yerenkow
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Support for graphics tablets

2012-09-12 Thread Vitaly Magerya
Hi, folks. I have a graphics tablet (a Waltop-based one, see [1]
for it's USB ids and descriptors) and I want to make it work on
FreeBSD.

Currently (8.3-RC1) this is what happens when I attach it:
ugen0.2: WALTOP International Corp. at usbus0
ums0: WALTOP International Corp. Slim Tablet, class 0/0, rev 1.10/11.05, 
addr 2 on usbus0
ums0: 5 buttons and [XYZ] coordinates ID=1

So, ums(4) tries to grab it -- but that doesn't really work:
# cat -v /dev/ums0
no output here, ever

In any case, the native mode for this tablet are events with
absolute coordinates, so if my understanding is correct ums(4)
is of no use here, as it is bound by mouse(4) protocol.

So the first question I have is: do we have any kind of support
for tablets (other than Wacom's)? Did we ever? Is/was there
someone working on this?

The second question: is there a way to disconnect ums(4) and
make uhid(4) handle the device (while staying with GENERIC
kernel)?

[1] 
http://sourceforge.net/apps/mediawiki/digimend/index.php?title=Waltop_Slim_Tablet_12.1%22
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org