分页: 2 / 3

发表于 : 2007-12-12 9:54
上帝很帅
zhuqin_83 写了:上帝很帅
一般都是写脚本了,你会写就行。


我现在也就桌面上搞搞

半只脚进入linux而已

发表于 : 2007-12-12 11:14
ltkun
本来也想买518的但是新蛋没有货挑了个LX8

发表于 : 2007-12-12 18:59
上帝很帅
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
发现一个问题,修正后thinpad的小红点trackpoint和三键完蛋了,以上是原驱动内容
如何是鼠标和trackpoint能够一起工作呢?

加入InputDevice2 ??

发表于 : 2007-12-12 20:15
zhuqin_83

代码: 全选

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "ZAxisMapping" "4 5"
	Option      "Buttons" 		"7"
	Option      "ButtonMapping"	"1 2 3 6 7"

发表于 : 2007-12-12 21:05
上帝很帅
hehe,没什么效果,自己慢慢搞了,不麻烦你了

发表于 : 2008-01-11 23:53
singingstars
很清晰很全面阿
我只看了wiki上的MX1000,照做了,好用

但最近reconfigure xserver-xorg重写了xorg.conf
再照wiki上做就不好用了
xmodmap -pp发现只认出7个键
楼主知道为何吗?如何解决?
重启无用

发表于 : 2008-01-12 2:26
singingstars
MX1000只认出7个键的人还是有的,看来
英文MX1000的wiki讨论中还有人给了解决方法

代码: 全选

$ xmodmap -pp
There are 7 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        4              4
        5              5
        6              6
        7              7

代码: 全选

I: Bus=0003 Vendor=046d Product=c50e Version=2500
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd mouse1 event3 
B: EV=7
B: KEY=1f0000 0 100 38 c0000000 c0000 0 0 0
B: REL=103
参考grantjohnston这个人说的

代码: 全选

killall xbindkeys && xbindkeys
并且删去~/.xbindkeysrc
然后重启
这时应认出20个键

代码: 全选

$ xmodmap -pp
There are 20 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        4              4
        5              5
        6              6
        7              7
        8              8
        9              9
       10             10
       11             11
       12             12
       13             13
       14             14
       15             15
       16             16
       17             17
       18             18
       19             19
       20             20

代码: 全选

I: Bus=0003 Vendor=046d Product=c50e Version=0111
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 event2 
B: EV=20007
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
B: LED=ff00
然后重新做一个xbindkeys
重启,效果还满意

看来主要是这个xbindkeys的配置文件

发表于 : 2008-01-18 4:15
hyd0215
我的 logitech G7 搞定了
和windows默认功能一样
有左右滚轮
有后退键

贴下xorg.conf和.xbindkeysrc的配置吧

代码: 全选

Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "evdev"
    Option "SendCoreEvents"                              ##这里注意下使用的是楼主提供的第二选择
    Option "Name" "Logitech USB Receiver"
EndSection

代码: 全选

"/usr/bin/xvkbd -xsendevent -text "\[Right]""
  m:0x0 + b:6
"/usr/bin/xvkbd -xsendevent -text "\[Left]""
  m:0x0 + b:7
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]"" 
  m:0x0 + b:8

发表于 : 2008-02-20 23:10
kukat
我用本本+MX518 按照楼主的说明配置好了

但有个问题 如果我的本本不插鼠标 那就没办法启动X(找不到xorg.conf里的鼠标部分)
每次启动都会失败,然后要手动替换回原始的xorg.conf

这样很不方便呢……
有比较好的解决办法吗?

发表于 : 2008-02-21 7:18
zhuqin_83
用sendcoreevents替代corepointer呢。

发表于 : 2008-02-22 10:25
kukat
zhuqin_83 写了:用sendcoreevents替代corepointer呢。
恩 可以了,谢谢你

发表于 : 2008-08-02 1:32
gotoliuchao
弄完之后还是检测不出滚轮往两边左右移动的效果。

发表于 : 2008-09-14 7:17
airtao

代码: 全选

Section "InputDevice"

Identifier "Logitech V200"

Driver "evdev"

Option "Name" "Logitech USB Receiver"

#Option "HWHEELRelativeAxisButtons" "9 8"
Option "RelHWHEELMapTo" "Buttons 9 8"
Option "SendCoreEvents"	"true"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"

EndSection
我的V200必须这样才能工作,呵呵

发表于 : 2008-09-14 7:45
zhuqin_83
以后这些都不需要了(xorg.conf都基本不需要),xserver1.5会自动搞定。

Re: [分享]罗技多键鼠标的配置

发表于 : 2008-09-26 7:31
legendyu
新手
不会操作啊
况且鼠标还不能用
usb接口的