LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 10:17 PM   #1
athanatos
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, OpenBSD 4.0
Posts: 58

Rep: Reputation: 15
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.

Last edited by athanatos; 10-30-2005 at 10:47 PM.
 
Old 10-31-2005, 05:43 PM   #2
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 432

Rep: Reputation: 114Reputation: 114
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.
 
Old 11-01-2005, 04:26 AM   #3
athanatos
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, OpenBSD 4.0
Posts: 58

Original Poster
Rep: Reputation: 15
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.
 
Old 11-01-2005, 06:11 PM   #4
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 432

Rep: Reputation: 114Reputation: 114
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.
 
Old 11-03-2005, 02:39 AM   #5
athanatos
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, OpenBSD 4.0
Posts: 58

Original Poster
Rep: Reputation: 15
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

Last edited by athanatos; 11-03-2005 at 02:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech optical mouse problem waelaltaqi Linux - Hardware 4 10-16-2005 11:06 PM
No detection of wheel for my MX510 mouse ronronson Linux - Hardware 3 11-01-2004 02:47 AM
Mouse Dexxa Optical Problem ForumUser Linux - Laptop and Netbook 0 08-10-2003 03:38 PM
microsoft optical mouse problem xierxior Slackware 3 08-03-2003 12:47 AM
MS Optical Mouse problem shankariyer Linux - Hardware 3 03-21-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration