Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
92679738
Commit
92679738
authored
May 03, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Add more traces on hidraw communication errors.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4b3b27a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bus_udev.c
dlls/winebus.sys/bus_udev.c
+4
-1
No files found.
dlls/winebus.sys/bus_udev.c
View file @
92679738
...
...
@@ -765,7 +765,7 @@ static DWORD CALLBACK device_report_thread(void *args)
break
;
size
=
read
(
plfds
[
0
].
fd
,
report_buffer
,
sizeof
(
report_buffer
));
if
(
size
==
-
1
)
TRACE_
(
hid_report
)(
"Read failed. Likely an unplugged device
\n
"
);
TRACE_
(
hid_report
)(
"Read failed. Likely an unplugged device
%d %s
\n
"
,
errno
,
strerror
(
errno
)
);
else
if
(
size
==
0
)
TRACE_
(
hid_report
)(
"Failed to read report
\n
"
);
else
...
...
@@ -827,6 +827,7 @@ static NTSTATUS hidraw_set_output_report(DEVICE_OBJECT *device, UCHAR id, BYTE *
}
else
{
TRACE
(
"write failed: %d %d %s
\n
"
,
rc
,
errno
,
strerror
(
errno
));
*
written
=
0
;
return
STATUS_UNSUCCESSFUL
;
}
...
...
@@ -847,6 +848,7 @@ static NTSTATUS hidraw_get_feature_report(DEVICE_OBJECT *device, UCHAR id, BYTE
}
else
{
TRACE_
(
hid_report
)(
"ioctl(HIDIOCGFEATURE(%d)) failed: %d %s
\n
"
,
length
,
errno
,
strerror
(
errno
));
*
read
=
0
;
return
STATUS_UNSUCCESSFUL
;
}
...
...
@@ -887,6 +889,7 @@ static NTSTATUS hidraw_set_feature_report(DEVICE_OBJECT *device, UCHAR id, BYTE
}
else
{
TRACE_
(
hid_report
)(
"ioctl(HIDIOCSFEATURE(%d)) failed: %d %s
\n
"
,
length
,
errno
,
strerror
(
errno
));
*
written
=
0
;
return
STATUS_UNSUCCESSFUL
;
}
...
...
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