Как установить свойства xinput, запускаемые подключением устройства udev?

If you did your upgrade using the repository in /etc/apt/sources.list then you probably don't have a wheezy repository in there - you had a stable repository.

You see, in /etc/apt/sources.list you can put the repositories using codenames ('wheezy', 'jessie', 'sid'...) or you can address the repositories as 'stable', 'testing', 'unstable'. During the lifetime of a Debian release, there is no difference.

But when a new stable version is released, then those associations change. If you had 'wheezy' in you 'sources.list' then you still have 'wheezy'. But if you had 'stable' then suddenly your 'stable'-repository points to 'jessie'.

Since something changed your /etc/debian_version to the jessie version you are probably using a repository for jessie. And since you apparently didn't change your repository, it is most likely that it points to stable.

Update

In your /etc/apt/sources.list all the repositories should use the same method - either all use codenames (wheezy, jessie, etc.) or stable/testing/unstable. So you can be sure, that all repositories will alway point to the same release. Otherwise you might end with using "jessie" but only receiving security updates for "wheezy".

1
23.04.2018, 16:21
2 ответа

Обычный метод заключается в записи файла xorg.conf, использовании методов сопоставления InputClassи установке свойств непосредственно в xorg.conf. Нет скрипта, нет условий гонки, нет явного вмешательства в udev; он просто работает, хотя и не использует xinputнапрямую...

Подробнее см. man xorg.conf.

2
27.01.2020, 23:43

У меня была такая же проблема. Мое решение состояло в том, чтобы активировать правило udev с ACTION=="bind"вместо ACTION=="add"(, потому что я видел с udevadm monitor, что это было последнее действие, когда я подключал мышь )

.
1
27.01.2020, 23:43

Теги

Похожие вопросы