Skip to content

Commit

Permalink
Update udev rules and help documentation
Browse files Browse the repository at this point in the history
- Fixed a typo in udev rules syntax in `src/renderer/screens/Help/Connection.js`.
- Updated udev rules instructions to include a notice about the update date (May 17, 2024) for Linux users.
- Added a recent update entry in `product-status.md` about the udev rules typo correction.
  • Loading branch information
obra committed May 18, 2024
1 parent cd163b2 commit 60292f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions product-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ _Note:_ On macOS, the Atreus and Model 01 may experience unreliable connectivity
Chrysalis requires a browser with WebSerial support. Right now, this means Chrome, Edge, Arc, Brave, and other browsers based on Chromium. We're hopeful that Firefox and Apple will implement WebSerial and WebUSB, but neither browser maker has yet announced their intention to do so.

## Recent updates
- 2024-05-17: Update udev rules to fix a typo.
- 2024-05-15: Clean up our tooltip presentation; improve print styling of layout cards
- 2024-05-14: Fixup our firefox support to at least explain that we don't support firefox.
- 2024-05-13: Update udev rules to match what we do in Kaleidoscope.
Expand Down
7 changes: 5 additions & 2 deletions src/renderer/screens/Help/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ const HelpConnection = () => {

// First build up a list of all known devices:
const rules = supportedDeviceVIDPIDs().map((device) => {
return `SUBSYSTEM=="usb", ATTRS{idVendor}=="${device.usbVendorId
return `SUBSYSTEMS=="usb", ATTRS{idVendor}=="${device.usbVendorId
.toString(16)
.padStart(4, "0")}", ATTRS{idProduct}=="${device.usbProductId.toString(16).padStart(4, "0")}", SYMLINK+="${
device.productName
}", ENV{ID_MM_DEVICE_IGNORE}:="1", ENV{ID_MM_CANDIDATE}:="0", TAG+="uaccess", TAG+="seat"\n`;
}", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_CANDIDATE}="0", TAG+="uaccess", TAG+="seat"\n`;
});
const linuxInstructions = (
<>
<h2>Linux</h2>
<p><b>These rules were last updated on May 17, 2024. If you installed the rules before this date, please replace
them with these new rules.</b>
</p>
<p>
If you are using Linux and aren't able to connect to your keyboard, it's likely that the <code>udev</code>,
system which controls pluggable devices like keyboards, isn't set up to let you access your keyboard. To grant
Expand Down

0 comments on commit 60292f4

Please sign in to comment.