LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Permissions problem - MX510 Optical Mouse (https://www.linuxquestions.org/questions/slackware-14/permissions-problem-mx510-optical-mouse-378482/)

athanatos 10-30-2005 09:17 PM

Permissions problem - MX510 Optical Mouse
 
Hi!

I have a Logitech mouse connected to an usb port. I tried to configure the buttons and went to ( in KDE control center) Peripherals ---> mouse and saw a tab named MX510 Optical Mouse. There it is written:

You have a Logitech Mouse connected, and libusb was found at compile time, but it was not possible to access this mouse. This is probably caused by a permissions problem - you should consult the manual on how to fix this.

..

Well, I don't have a manual, I never had one. Does anybody know what this means? The mouse is working well by the way and I have finally fixed the issue with the mouse wheel. It seems to me as if there is some kind of support in KDE for my mouse ( I did not tell KDE that I have a MX510 ) and if that is right I would like to use this support.

I have changed the permissions of /dev/input/mice to 666 but I still have this problem. The permissions of libusb are alright I think. I am using the imps2 protocol. I have also tried the explorerps2 protocol, but I still cannot use the KDE support for my mouse.

THX,

max.

imitheos 10-31-2005 04:43 PM

Re: Permissions problem - MX510 Optical Mouse
 
Quote:

Originally posted by athanatos
Hi!

I have a Logitech mouse connected to an usb port. I tried to configure the buttons and went to ( in KDE control center) Peripherals ---> mouse and saw a tab named MX510 Optical Mouse. There it is written:

You have a Logitech Mouse connected, and libusb was found at compile time, but it was not possible to access this mouse. This is probably caused by a permissions problem - you should consult the manual on how to fix this.

..

Well, I don't have a manual, I never had one. Does anybody know what this means? The mouse is working well by the way and I have finally fixed the issue with the mouse wheel. It seems to me as if there is some kind of support in KDE for my mouse ( I did not tell KDE that I have a MX510 ) and if that is right I would like to use this support.

I have changed the permissions of /dev/input/mice to 666 but I still have this problem. The permissions of libusb are alright I think. I am using the imps2 protocol. I have also tried the explorerps2 protocol, but I still cannot use the KDE support for my mouse.

THX,

max.

Firstly, let me say that i have the same mouse. I like it very much. It works great.
This "MX510" tab of the KDE control center is useless but anyway.
About your questions:

1) /dev/input/mice has nothing to do with this
If i am correct the problem is that libusb can't open the proc entry due to permissions problem as the error message suggest.
I will tell you what to try in order to check if this is the problem.

run lsusb (or cat /proc/usb/devices)
Code:

bash-3.00$ /sbin/lsusb     
Bus 003 Device 002: ID 046d:c01d Logitech, Inc.

You will get what bus and device is your mouse.
(In my case it is bus 003 and device 002)

Code:

bash-3.00$ cd /proc/bus/usb/_BUS_ (003 in my case)
ls -l _DEVICE_  (002 in my case)
chmod 666 _DEVICE_ (chmod 666 002 in my case)

Then run control center again and it should work.
I believe you can only change the resolution setting (400/800 dpi) that why i said it is useless.

I use lmctl to change the resolution to 800. It is a very good program and has many more features than the KDE panel.
I use it also to disable the SmartScroll/Cruise control because i don't like it.

I hope i helped.
If it doesn't work or you have any more questions please tell.

athanatos 11-01-2005 03:26 AM

Thx!

I changed the permissions of the device and I can use the pannel now. But you are right, this support pannel is not very useful at the moment. I thought it could be used to configure the buttons of the mouse once kde has access to the device. But thx anyway, I've learned something :-)

P.S.:

Yes the mouse is great. I love it. I bought it for playing Warcraft III because the mouse that came with my laptop really wasn't good enought for that game. I was impressed what big difference it is to play with a good mouse.

greetings,

max.

imitheos 11-01-2005 05:11 PM

Quote:

Originally posted by athanatos
Thx!

I changed the permissions of the device and I can use the pannel now. But you are right, this support pannel is not very useful at the moment. I thought it could be used to configure the buttons of the mouse once kde has access to the device. But thx anyway, I've learned something :-)

P.S.:

Yes the mouse is great. I love it. I bought it for playing Warcraft III because the mouse that came with my laptop really wasn't good enought for that game. I was impressed what big difference it is to play with a good mouse.

greetings,

max.

1) I didn't notice the username before :) "athanatos"
Are you Greek by any chance ?

2) You can use 7 keys by using "ExplorerPS/2" protocol in xorg.conf (Left,Right,Middle,Scroll Up,Scroll Down,Back,Forward)
or all 10 keys if you use the event interface (evdev)

I include some sample configs

7 Keys config
Code:

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"
    Option "Device"      "/dev/input/mice"
    Option "Resolution" "800"
EndSection

*** pointer = 1 2 3 7 6 4 5 (in .Xmodmap) ***

10 Keys config (with old evdev patch from Debian or Gentoo) (you must recompile Xorg)
Code:

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "evdev"
    Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
    #Option "Dev Phys" "isa0060/serio1/input0"  (for ps/2)
    #Option "Dev Phys" "usb-0000:00:1d.2-1/input0"  (for usb)
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "10"
    Option "ZAxisMapping" "9 10"
    Option "Resolution" "800"
EndSection

*** pointer = 1 2 3 7 6 8 9 10 4 5 (in .Xmodmap) ***
*** The # hashed options may be different (you get the device by running "cat /proc/bus/input/devices") ***
*** These patches were badly written and have been replaced ***

10 Keys config (with new evdev patch. At this time you need to compile Xorg server from CVS)
Code:

Section "InputDevice"

        Identifier  "Mouse[0]"
        Driver      "evdev"
        Option      "Device" "/dev/input/mice"
        Option      "Name" "Logitech MX510"
EndSection

*** pointer = 1 2 3 7 6 8 9 10 4 5 (in .Xmodmap) ***

3) If you fell the mouse heavy then unscrew it and remove the weight.

athanatos 11-03-2005 01:39 AM

Thank you again! That is some really helpful information. I used your sample for the 7 keys config and it works :) .

I am not Greek by the way, I am born in Vienna and I also don't understand talken modern Greek, but I have some skills in reading and writing Old Greek because I learned that in school. I picked 'athanatos' just because I thaught it is a cool nick ^^.

Btw. I am really happy.. I finally have created a system that fully works for me. I don't have anything to configure at the moment. Time to relax and to enjoy using the system :) . Hurray! Thx to all the people on linuxquestions ^^ b

greetings

max


All times are GMT -5. The time now is 02:47 AM.