[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-kde-talk] Logitech mice and media:/ kioslave support



On March 22, 2005 09:54, Iacopo Spalletti wrote:
> Alle 14:19, martedì 22 marzo 2005, Christopher Martin ha scritto:
> > On March 22, 2005 08:02, Iacopo Spalletti wrote:
> > > I'm testing packages from
> > > http://pkg-kde.alioth.debian.org/kde-3.4.0/.
> > >
> > > Packages do not provides support for the logitech mice features
> > > module in kcontrol; such module needs special permissions (rw for the
> > > user who is owning X) on device file (which is normally owned by
> > > root); kde upstream provides the usbmap file and a simple shell
> > > script to fix this. By default the script uses pam_console to check
> > > for X user, but to my knowledge debian does not use such pam module,
> > > so i grabbed the user grepping command from Ubuntu.
> > > I can work on a patch or just email such files to the list.
> >
> > If you could explain further the exact nature of the problem, I would
> > be grateful.
>
> With KDE 3.4 is shipped an addon to kde control panel available in
> "Control Center->Peripherals->Mouse" which gives information about
> logitech mice. Such addon needs the user to own the device file in
> /proc/bus/usb directory to work.
> KDE sources provides two files for hotplug to manage such permissions (in
> kdebase tarball: kcontrol/input/consoleUserPerms and
> kcontrol/input/logitechmouse.usermap); these files should be moved
> in /etc/hotplug/usb to actually change file permissions on mouse
> plugging. As debian does not use pam_console by default, however
> consoleUserPerms should be modified to detect user not using console lock
> file.

Add the attached files to /etc/hotplug/usb, owned by root, with permissions 
of 644 for logitechmouse.usermap, and 755 for logitechmouse. Then do 
"/etc/init.d/hotplug force-reload", and add your user to the plugdev group 
if they're not already in it. The Logitech config screen should now be 
available.

If this works (let me know), then I will add these files to the KDE 
packaging.

Cheers,
Christopher Martin

Attachment: logitechmouse
Description: application/shellscript

# script           match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
# Wheel Mouse Optical
logitechmouse     0x0003      0x046d   0xc00e    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MouseMan Traveler
logitechmouse     0x0003      0x046d   0xc00f    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MouseMan Dual Optical
logitechmouse     0x0003      0x046d   0xc012    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX310 Optical Mouse
logitechmouse     0x0003      0x046d   0xc01b    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX510 Optical Mouse
logitechmouse     0x0003      0x046d   0xc01d    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX300 Optical Mouse
logitechmouse     0x0003      0x046d   0xc024    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX500 Optical Mouse
logitechmouse     0x0003      0x046d   0xc025    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# iFeel Mouse
logitechmouse     0x0003      0x046d   0xc031    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Mouse Receiver
logitechmouse     0x0003      0x046d   0xc501    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Dual Receiver
logitechmouse     0x0003      0x046d   0xc502    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Cordless Freedom Optical
logitechmouse     0x0003      0x046d   0xc504    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Cordless Elite Duo
logitechmouse     0x0003      0x046d   0xc505    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX700 Optical Mouse
logitechmouse     0x0003      0x046d   0xc506    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Cordless Optical Trackman
logitechmouse     0x0003      0x046d   0xc508    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Cordless MX Duo Receiver
logitechmouse     0x0003      0x046d   0xc50b    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# MX100 Laser Mouse
logitechmouse     0x0003      0x046d   0xc50e    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000
# Receiver for Cordless Presenter
logitechmouse     0x0003      0x046d   0xc702    0x0000       0xffff      0x00         0x00            0x00            0x00            0x00               0x00               0x00000000

Reply to: