This rule does not make much sense, though. (ID_MODEL comes from usb_id, thus calling it after querying ID_MODEL is redundant). I also don't know which of the two lines fails now. Please reset your rules file to
[...] SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{program}="usb_id --export %p", GOTO="keyboard_usbcheck" [...] ENV{ID_VENDOR}=="Logitech*", ATTRS{name}=="Logitech USB Multimedia Keyboard", RUN+="keymap $name logitech-wave" [...]
then unplug the keyboard, run
udevadm monitor -e --udev
plug it in, and then press control-c and copy&paste the output here.
This rule does not make much sense, though. (ID_MODEL comes from usb_id, thus calling it after querying ID_MODEL is redundant). I also don't know which of the two lines fails now. Please reset your rules file to
[...] program} ="usb_id --export %p", GOTO="keyboard_ usbcheck" VENDOR} =="Logitech* ", ATTRS{name} =="Logitech USB Multimedia Keyboard", RUN+="keymap $name logitech-wave"
SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{
[...]
ENV{ID_
[...]
then unplug the keyboard, run
udevadm monitor -e --udev
plug it in, and then press control-c and copy&paste the output here.