Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-grdwine
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-grdwine
Commits
e80aa427
Commit
e80aa427
authored
May 17, 2024
by
Ivan Ivlev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added guardant Stealth 2 support eterbug#17339
parent
f42f4421
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
90-grdnt.rules
90-grdnt.rules
+2
-0
grdnt.udev
wine-grdwine/etc/grdnt.udev
+4
-1
grdnt.usermap
wine-grdwine/etc/grdnt.usermap
+1
-1
grdimpl_linux.c
wine-grdwine/src/grdimpl_linux.c
+2
-1
No files found.
90-grdnt.rules
View file @
e80aa427
# Guardant Stealth 2
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="0a89", SYSFS{idProduct}=="0003",>MODE="0666"
# Guardant ID
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="0002", MODE="0666"
# Guardant Sign/Time
...
...
wine-grdwine/etc/grdnt.udev
View file @
e80aa427
...
...
@@ -12,4 +12,7 @@ SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="0a89", SYSFS{idProduct
# Guardant Code WinUsb
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="0a89", SYSFS{idProduct}=="00c3", MODE="0666"
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="0a89", SYSFS{idProduct}=="00c3", MODE="0666"
# Guardant Stealth 2 USB
# (for device created by udev in /dev/bus/usb)
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="0a89", SYSFS{idProduct}=="0003", MODE="0666"
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="0a89", SYSFS{idProduct}=="0003", MODE="0666"
wine-grdwine/etc/grdnt.usermap
View file @
e80aa427
# module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
grdnt 0x0003 0x0a89 0x0008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
grdnt 0x0003 0x0a89 0x0009 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
grdnt 0x0003 0x0a89 0x0003 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
wine-grdwine/src/grdimpl_linux.c
View file @
e80aa427
...
...
@@ -46,6 +46,7 @@
#define GRD_PRODID_S3C 0x09
/* Guardant Code USB */
#define GRD_PRODID_S3C_HID 0x0D
/* Guardant Code USB HID */
#define GRD_PRODID_S3C_WINUSB 0xC3
/* Guardant Code USB (WINSUB) */
#define GRD_PRODID_S2 0x03
/* Guardant Stealth 2 USB */
#define USBFS_PATH_ENV "USB_DEVFS_PATH"
#define GRD_IPC_NAME_ENV "GRD_IPC_NAME"
#define USBFS_PATH_1 "/dev/bus/usb"
...
...
@@ -415,7 +416,7 @@ int grd_probe_device(const char* dev_path, unsigned int* prod_id)
else
{
unsigned
char
p
=
0
;
unsigned
char
prod_ids
[
4
]
=
{
GRD_PRODID_S3S
,
GRD_PRODID_S3S_WINUSB
,
GRD_PRODID_S3C
,
GRD_PRODID_S3C_WINUSB
};
unsigned
char
prod_ids
[
5
]
=
{
GRD_PRODID_S3S
,
GRD_PRODID_S3S_WINUSB
,
GRD_PRODID_S3C
,
GRD_PRODID_S3C_WINUSB
,
GRD_PRODID_S2
};
ret
=
-
1
;
assert
(
sizeof
(
buf_tmpl
)
==
4
);
for
(;
p
<
sizeof
(
prod_ids
);
++
p
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment