ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry <tssb@mail.ru>
To: Sysadmins@lists.altlinux.org
Subject: [Sysadmins] Интерактивная доска
Date: Mon, 9 May 2011 21:05:00 +0400
Message-ID: <20110509210500.2e966ccc@samsung.localdomain> (raw)

Здравствуйте.


Пытаюсь заставить работать интерактивную доску Mimio Interactive Xi
на branch/p5 и ядре 2.6.32-un-def.

С драйвером ядра проблем не возникло - он автоматически загрузился
при подключении доски

------- dmesg | grep mimio --------------------
mimio: module is from the staging directory, the quality is unknown, you have been warned.
input: VirtualInk mimio-Xi as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input13
usbcore: registered new interface driver mimio
mimio:USB mimio-xi driver v0.031
-----------------------------------------------

Добавил в /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
описание устройства

    <match key="input.product" contains="VirtualInk mimio-Xi">
       <merge key="input.x11_driver" type="string">evdev</merge>
    </match>

и оно подхватилось в xorg

------ /var/log/Xorg.0.log | tail -15 --------------------- 
(II) config/hal: Adding input device VirtualInk mimio-Xi
(**) VirtualInk mimio-Xi: always reports core events
(**) VirtualInk mimio-Xi: Device: "/dev/input/event13"
(II) VirtualInk mimio-Xi: Found 10 mouse buttons
(II) VirtualInk mimio-Xi: Found x and y absolute axes
(II) VirtualInk mimio-Xi: Found absolute touchpad
(II) VirtualInk mimio-Xi: Configuring as touchpad
(**) VirtualInk mimio-Xi: YAxisMapping: buttons 4 and 5
(**) VirtualInk mimio-Xi: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "VirtualInk mimio-Xi" (type: TOUCHPAD)
(**) VirtualInk mimio-Xi: (accel) keeping acceleration scheme 1
(**) VirtualInk mimio-Xi: (accel) filter chain progression: 2.00
(**) VirtualInk mimio-Xi: (accel) filter stage 0: 20.00 ms
(**) VirtualInk mimio-Xi: (accel) set acceleration profile 0
(II) VirtualInk mimio-Xi: initialized for absolute axes.
-----------------------------------------------------------

Теперь при перемещении пера выполняется перемещение курсора мыши. И
больше ничего.

Вопросы:
1. Как перемещать курсор мыши в заданную точку экрана при
непосредственном указании ее пером?
2. Как эмулировать "залипание" левой кнопки мыши, например,
для рисования tuxpaint?


Спасибо.

-- 
С наилучшими пожеланиями,
			Дмитрий



             reply	other threads:[~2011-05-09 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 17:05 Dmitry [this message]
2011-05-09 19:04 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110509210500.2e966ccc@samsung.localdomain \
    --to=tssb@mail.ru \
    --cc=Sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git