How to make /dev/input/mouse0 accessible for wine?
Clash Royale CLAN TAG#URR8PPP
I have a gaming mouse (specifically Genius DeathTaker) and its Windows driver. The configuration app (e.g. setting the meaning of the buttons) runs fine under wine. However, when I click "Apply", nothing happens.
I believe it has something to do with the fact that wine does not "see" the mouse at all.
I found out that there is a folder for mapping devices from Linux to wine. So
ls -l ~/.wine/dosdevices/
has the following output:
lrwxrwxrwx 1 user user 10 Jan 22 19:38 c: -> ../drive_c
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com1 -> /dev/ttyS0
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com2 -> /dev/ttyS1
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com3 -> /dev/ttyS2
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com4 -> /dev/ttyS3
lrwxrwxrwx 1 user user 1 Jan 22 19:38 z: -> /
Next, I found that if I do
cat /dev/input/mouse0
and start moving the mouse, I see characters appearing in my console. So I read this forum post, but even after that I don't know what to do.
usb mouse wine
|
show 2 more comments
I have a gaming mouse (specifically Genius DeathTaker) and its Windows driver. The configuration app (e.g. setting the meaning of the buttons) runs fine under wine. However, when I click "Apply", nothing happens.
I believe it has something to do with the fact that wine does not "see" the mouse at all.
I found out that there is a folder for mapping devices from Linux to wine. So
ls -l ~/.wine/dosdevices/
has the following output:
lrwxrwxrwx 1 user user 10 Jan 22 19:38 c: -> ../drive_c
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com1 -> /dev/ttyS0
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com2 -> /dev/ttyS1
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com3 -> /dev/ttyS2
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com4 -> /dev/ttyS3
lrwxrwxrwx 1 user user 1 Jan 22 19:38 z: -> /
Next, I found that if I do
cat /dev/input/mouse0
and start moving the mouse, I see characters appearing in my console. So I read this forum post, but even after that I don't know what to do.
usb mouse wine
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
Configuration utility just does nothing? Try toecho ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.
– val
Feb 16 at 7:59
sudo echo ooo > /dev/input/mouse0
saysbash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.
– karlosss
Feb 16 at 9:19
You make a common mistake here:sudo echo ooo > /dev/input/mouse0
executesecho
as root, but writes as user! Tryecho ooo | sudo tee /dev/input/mouse0
instead.
– val
Feb 16 at 12:18
|
show 2 more comments
I have a gaming mouse (specifically Genius DeathTaker) and its Windows driver. The configuration app (e.g. setting the meaning of the buttons) runs fine under wine. However, when I click "Apply", nothing happens.
I believe it has something to do with the fact that wine does not "see" the mouse at all.
I found out that there is a folder for mapping devices from Linux to wine. So
ls -l ~/.wine/dosdevices/
has the following output:
lrwxrwxrwx 1 user user 10 Jan 22 19:38 c: -> ../drive_c
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com1 -> /dev/ttyS0
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com2 -> /dev/ttyS1
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com3 -> /dev/ttyS2
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com4 -> /dev/ttyS3
lrwxrwxrwx 1 user user 1 Jan 22 19:38 z: -> /
Next, I found that if I do
cat /dev/input/mouse0
and start moving the mouse, I see characters appearing in my console. So I read this forum post, but even after that I don't know what to do.
usb mouse wine
I have a gaming mouse (specifically Genius DeathTaker) and its Windows driver. The configuration app (e.g. setting the meaning of the buttons) runs fine under wine. However, when I click "Apply", nothing happens.
I believe it has something to do with the fact that wine does not "see" the mouse at all.
I found out that there is a folder for mapping devices from Linux to wine. So
ls -l ~/.wine/dosdevices/
has the following output:
lrwxrwxrwx 1 user user 10 Jan 22 19:38 c: -> ../drive_c
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com1 -> /dev/ttyS0
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com2 -> /dev/ttyS1
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com3 -> /dev/ttyS2
lrwxrwxrwx 1 user user 10 Feb 15 16:23 com4 -> /dev/ttyS3
lrwxrwxrwx 1 user user 1 Jan 22 19:38 z: -> /
Next, I found that if I do
cat /dev/input/mouse0
and start moving the mouse, I see characters appearing in my console. So I read this forum post, but even after that I don't know what to do.
usb mouse wine
usb mouse wine
edited Feb 15 at 19:12
Rui F Ribeiro
41.4k1481140
41.4k1481140
asked Feb 15 at 15:37
karlossskarlosss
21728
21728
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
Configuration utility just does nothing? Try toecho ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.
– val
Feb 16 at 7:59
sudo echo ooo > /dev/input/mouse0
saysbash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.
– karlosss
Feb 16 at 9:19
You make a common mistake here:sudo echo ooo > /dev/input/mouse0
executesecho
as root, but writes as user! Tryecho ooo | sudo tee /dev/input/mouse0
instead.
– val
Feb 16 at 12:18
|
show 2 more comments
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
Configuration utility just does nothing? Try toecho ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.
– val
Feb 16 at 7:59
sudo echo ooo > /dev/input/mouse0
saysbash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.
– karlosss
Feb 16 at 9:19
You make a common mistake here:sudo echo ooo > /dev/input/mouse0
executesecho
as root, but writes as user! Tryecho ooo | sudo tee /dev/input/mouse0
instead.
– val
Feb 16 at 12:18
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
Configuration utility just does nothing? Try to
echo ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.– val
Feb 16 at 7:59
Configuration utility just does nothing? Try to
echo ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.– val
Feb 16 at 7:59
sudo echo ooo > /dev/input/mouse0
says bash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.– karlosss
Feb 16 at 9:19
sudo echo ooo > /dev/input/mouse0
says bash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.– karlosss
Feb 16 at 9:19
You make a common mistake here:
sudo echo ooo > /dev/input/mouse0
executes echo
as root, but writes as user! Try echo ooo | sudo tee /dev/input/mouse0
instead.– val
Feb 16 at 12:18
You make a common mistake here:
sudo echo ooo > /dev/input/mouse0
executes echo
as root, but writes as user! Try echo ooo | sudo tee /dev/input/mouse0
instead.– val
Feb 16 at 12:18
|
show 2 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500901%2fhow-to-make-dev-input-mouse0-accessible-for-wine%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500901%2fhow-to-make-dev-input-mouse0-accessible-for-wine%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
So mouse doesn't work? Does it work in windows without configuration/drivers? If not, first problem is that linux probably don't have a driver for it…
– val
Feb 15 at 19:19
The mouse itself works, the problem occurs when I try to assign functionalities to its buttons.
– karlosss
Feb 15 at 22:32
Configuration utility just does nothing? Try to
echo ooo > /dev/input/mouse0
and look at error message. But I think that it isn't problem with access but with fact that windows use different driver for it and wine doesn't emulate (yeah, in this case it IS emulation) it.– val
Feb 16 at 7:59
sudo echo ooo > /dev/input/mouse0
saysbash: /dev/input/mouse0: Permission denied
. Kindof expected (at least in my point of view), since mouse is an input device. I solved the problem in the meantime by downloading virtualbox, installing windows into it, installing the driver and successfully updating the mouse. However, it is not a very nice approach.– karlosss
Feb 16 at 9:19
You make a common mistake here:
sudo echo ooo > /dev/input/mouse0
executesecho
as root, but writes as user! Tryecho ooo | sudo tee /dev/input/mouse0
instead.– val
Feb 16 at 12:18