Skip to content

Add support for Dell AW1022z USB-C to 2.5GbE adapter device ID (413c:b097) #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/r8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ enum rtl8152_flags {
#define VENDOR_ID_LINKSYS 0x13b1
#define VENDOR_ID_NVIDIA 0x0955
#define VENDOR_ID_TPLINK 0x2357
#define VENDOR_ID_DELL 0x413c

#define MCU_TYPE_PLA 0x0100
#define MCU_TYPE_USB 0x0000
Expand Down Expand Up @@ -21270,6 +21271,9 @@ static const struct usb_device_id rtl8152_table[] = {
/* ASUSTek */
REALTEK_USB_DEVICE(0x0b05, 0x1976),

/* Dell */
REALTEK_USB_DEVICE(VENDOR_ID_DELL, 0xb097),

{}
};

Expand Down
3 changes: 3 additions & 0 deletions udev/rules.d/50-usb-realtek-net.rules
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ ATTR{idVendor}=="0955", ATTR{idProduct}=="09ff", ATTR{bConfigurationValue}!="$en
# LINKSYS
ATTR{idVendor}=="13b1", ATTR{idProduct}=="0041", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"

# Dell
ATTR{idVendor}=="413c", ATTR{idProduct}=="b097", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"

LABEL="usb_realtek_net_end"