Gdzie są/były regułki ustawiające "keycodes"?

Łukasz Maśko masko w ipipan.waw.pl
Śro, 14 Sie 2013, 13:22:53 CEST


Dnia środa, 14 sierpnia 2013 11:41:16 Jan Rękorajski pisze:
[...]
> Zobacz co pokaże:
> udevadm --debug test /devices/virtual/dmi/id
> może MODALIAS nie zgadza się z tym co jest w hwdb dla della?

# udevadm --debug test /devices/virtual/dmi/id
calling: test
version 206
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

=== trie on-disk ===
tool version:          206
file size:         5786203 bytes
header size             80 bytes
strings            1279179 bytes
nodes              4506944 bytes
load module index
Skipping overridden file: /lib/udev/rules.d/80-net-name-slot.rules.
read rules file: /etc/udev/rules.d/09-network.rules
read rules file: /lib/udev/rules.d/10-dm.rules
read rules file: /lib/udev/rules.d/11-dm-lvm.rules
read rules file: /lib/udev/rules.d/13-dm-disk.rules
read rules file: /etc/udev/rules.d/40-alsa-restore.rules
read rules file: /lib/udev/rules.d/40-hplip.rules
read rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
read rules file: /lib/udev/rules.d/42-usb-hid-pm.rules
read rules file: /etc/udev/rules.d/49-udev-default.rules
read rules file: /lib/udev/rules.d/50-udev-default.rules
read rules file: /lib/udev/rules.d/56-hpmud_add_printer.rules
read rules file: /lib/udev/rules.d/56-hpmud_support.rules
IMPORT found builtin 'usb_id --export %p', replacing /lib/udev/rules.d/56-
hpmud_support.rules:9
read rules file: /lib/udev/rules.d/60-cdrom_id.rules
read rules file: /lib/udev/rules.d/60-keyboard.rules
read rules file: /lib/udev/rules.d/60-pcmcia.rules
read rules file: /lib/udev/rules.d/60-persistent-alsa.rules
read rules file: /lib/udev/rules.d/60-persistent-input.rules
read rules file: /lib/udev/rules.d/60-persistent-serial.rules
read rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /lib/udev/rules.d/60-persistent-storage.rules
read rules file: /lib/udev/rules.d/60-persistent-v4l.rules
read rules file: /lib/udev/rules.d/61-accelerometer.rules
read rules file: /lib/udev/rules.d/64-btrfs.rules
read rules file: /lib/udev/rules.d/69-libmtp.rules
read rules file: /lib/udev/rules.d/70-pcscd_ccid.rules
read rules file: /etc/udev/rules.d/70-persistent-cd.rules
read rules file: /lib/udev/rules.d/70-power-switch.rules
read rules file: /lib/udev/rules.d/70-uaccess.rules
read rules file: /lib/udev/rules.d/70-udev-acl.rules
read rules file: /etc/udev/rules.d/70-udev-pld.rules
read rules file: /lib/udev/rules.d/71-seat.rules
read rules file: /lib/udev/rules.d/73-seat-late.rules
read rules file: /lib/udev/rules.d/75-net-description.rules
read rules file: /lib/udev/rules.d/75-probe_mtd.rules
read rules file: /lib/udev/rules.d/75-tty-description.rules
read rules file: /lib/udev/rules.d/78-sound-card.rules
read rules file: /lib/udev/rules.d/80-drivers.rules
skip empty file: /etc/udev/rules.d/80-net-name-slot.rules
read rules file: /lib/udev/rules.d/80-udisks.rules
read rules file: /lib/udev/rules.d/80-udisks2.rules
read rules file: /lib/udev/rules.d/86-hpmud_plugin.rules
read rules file: /lib/udev/rules.d/90-alsa-restore.rules
read rules file: /lib/udev/rules.d/90-pulseaudio.rules
read rules file: /etc/udev/rules.d/91-Plugdev-OnUSB.rules
read rules file: /lib/udev/rules.d/95-dm-notify.rules
read rules file: /lib/udev/rules.d/95-udev-late.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-dell.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-gateway.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-ibm.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
read rules file: /lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
read rules file: /lib/udev/rules.d/95-upower-csr.rules
read rules file: /lib/udev/rules.d/95-upower-hid.rules
read rules file: /lib/udev/rules.d/95-upower-wup.rules
read rules file: /lib/udev/rules.d/97-bluetooth-hid2hci.rules
read rules file: /lib/udev/rules.d/97-bluetooth-serial.rules
read rules file: /lib/udev/rules.d/99-ntfs3g.rules
read rules file: /lib/udev/rules.d/99-systemd.rules
read rules file: /etc/udev/rules.d/virtualbox.rules
rules contain 196608 bytes tokens (16384 * 12 bytes), 23674 bytes strings
11053 strings (98591 bytes), 9012 de-duplicated (76959 bytes), 2042 trie 
nodes used
device 0x8d238d8 has devpath '/devices/virtual/dmi/id'
no db file to read /run/udev/data/+dmi:id: No such file or directory
IMPORT builtin 'hwdb' /lib/udev/rules.d/50-udev-default.rules:11
IMPORT builtin 'hwdb' returned non-zero
RUN 'kmod load $env{MODALIAS}' /lib/udev/rules.d/80-drivers.rules:5
ACTION=add
DEVPATH=/devices/virtual/dmi/id
MODALIAS=dmi:bvnDellInc.:bvrA09:bd01/04/2010:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn0F331C:rvr:cvnDellInc.:ct8:cvr:
SUBSYSTEM=dmi
UDEV_LOG=7
USEC_INITIALIZED=298787616
run: 'kmod load 
dmi:bvnDellInc.:bvrA09:bd01/04/2010:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn0F331C:rvr:cvnDellInc.:ct8:cvr:'
unload module index

Nie wiem, czy to istotne, ale w powyższej liście plików NIE MA ani jednego z 
katalogu /lib/udev/hwdb.d/

> Byc może trzeba zmienić w /lib/udev/hwdb.d/60-keyboard.hwdb
> 
> keyboard:dmi:bvn*:bvr*:bd*:svnDell:pvr*
> 
> na
> 
> keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pvr*

Logika podpowiada, że zdecydowanie z gwiazdką (lub svnDellInc.). Ale nawet po 
poprawce nic to nie zmienia, udevadm test /sys/class/input/event0 nie 
wypisuje ŻADNEGO powiązania klawiszy. Jakiś problem z konfiguracją?
-- 
Łukasz Maśko                                                            _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"


Więcej informacji o liście pld-users-pl