Skip to content

Instantly share code, notes, and snippets.

@nayutaya
Created May 11, 2022 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nayutaya/0e48e707ea397db1137050d5ffa342cb to your computer and use it in GitHub Desktop.
Save nayutaya/0e48e707ea397db1137050d5ffa342cb to your computer and use it in GitHub Desktop.
エレコム製2.5Gbps Ethernet/USBアダプタを使うためのパッチ
--- 50-usb-realtek-net.rules.orig 2022-05-10 19:06:50.312255170 +0900
+++ 50-usb-realtek-net.rules 2022-05-10 19:07:51.472438505 +0900
@@ -43,4 +43,7 @@
# LINKSYS
ATTR{idVendor}=="13b1", ATTR{idProduct}=="0041", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
+# ELECOM
+ATTR{idVendor}=="056e", ATTR{idProduct}=="4017", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
+
LABEL="usb_realtek_net_end"
--- r8152.c.orig 2022-05-10 18:42:20.935229478 +0900
+++ r8152.c 2022-05-10 18:43:17.759407562 +0900
@@ -20734,6 +20734,9 @@
/* Getac */
REALTEK_USB_DEVICE(0x2baf, 0x0012),
+ /* ELECOM */
+ REALTEK_USB_DEVICE(0x056e, 0x4017),
+
{}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment