Skip to content

Commit

Permalink
test: fix udev rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ponty committed Nov 1, 2023
1 parent 4a13725 commit aa18ac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: build
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5 1 * *'
- cron: '30 5 1 */3 *'
push:
pull_request:

Expand Down
4 changes: 2 additions & 2 deletions vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ insmod /home/vagrant/vfb/vfb.ko vfb_enable=1 videomemorysize=32000000
chmod +x /usr/local/bin/vfbload.sh
/usr/local/bin/vfbload.sh >/tmp/vfbload.log 2>&1

echo 'ENV{ID_INPUT_MOUSE}==\"?*\",ENV{ID_PATH}==\"pci-0000:00:04.0\", SYMLINK+=\"input/ms\"' >/etc/udev/rules.d/98-input.rules
echo 'ENV{ID_INPUT_KEYBOARD}==\"?*\", SYMLINK+=\"input/kbd\"' >>/etc/udev/rules.d/98-input.rules
echo 'ENV{ID_INPUT_MOUSE}=="?*",ENV{ID_PATH}=="pci-0000:00:04.0", SYMLINK+="input/ms"' >/etc/udev/rules.d/98-input.rules
echo 'ENV{ID_INPUT_KEYBOARD}=="?*", SYMLINK+="input/kbd"' >>/etc/udev/rules.d/98-input.rules
udevadm control --reload-rules
udevadm trigger

Expand Down

0 comments on commit aa18ac1

Please sign in to comment.