Автор Тема: Touchpad на Acer Acpire 5738G  (Прочитано 3704 раз)

Оффлайн DriveR_F

  • Завсегдатай
  • *
  • Сообщений: 116
  • CyberLife
Touchpad на Acer Acpire 5738G
« : 30.12.2009 00:07:29 »
Здравствуйте.
Имеется ноутбук Acer Aspire 5738G. На нем есть кнопка отключения тачпада. Проблема заключается в том, что если тачпад отключить кнопкой, то обратно он ей уже не включается (после перезагрузки начинает работать). Дистрибутив ALTLinux 5.1 (2.6.30-std-pae-alt14)

# cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100    
N: Name="Macintosh mouse button emulation"            
P: Phys=                                              
S: Sysfs=/devices/virtual/input/input0                
U: Uniq=                                              
H: Handlers=mouse0 event0                            
B: EV=7                                              
B: KEY=70000 0 0 0 0 0 0 0 0                          
B: REL=3                                              

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"          
P: Phys=isa0060/serio0/input0                    
S: Sysfs=/devices/platform/i8042/serio0/input/input1
U: Uniq=                                            
H: Handlers=kbd event1                              
B: EV=120013                                        
B: KEY=10000 c0200 0 0 0 0 0 700f 2000003 3803078 f830f401 febfffdf ffefffff ffffffff ffffffff                                                                      
B: MSC=10                                                                        
B: LED=7                                                                          

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"                          
P: Phys=LNXPWRBN/button/input0                  
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=                                              
H: Handlers=kbd event2                                
B: EV=3                                              
B: KEY=100000 0 0 0                                  

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"                            
P: Phys=PNP0C0D/button/input0                    
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
U: Uniq=                                                      
H: Handlers=event3                                            
B: EV=21                                                      
B: SW=1                                                        

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"                          
P: Phys=PNP0C0E/button/input0                    
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4
U: Uniq=                                                      
H: Handlers=kbd event4                                        
B: EV=3                                                        
B: KEY=4000 0 0 0 0                                            

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"                            
P: Phys=isa0061/input0                          
S: Sysfs=/devices/platform/pcspkr/input/input5  
U: Uniq=                                        
H: Handlers=kbd event5                          
B: EV=40001                                      
B: SND=6                                        

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"                              
P: Phys=/video/input0                            
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/device:02/input/input6                                                                                
U: Uniq=                                                                          
H: Handlers=kbd event6                                                            
B: EV=3                                                                          
B: KEY=3f000b 0 0 0 0 0 0 0                                                      

I: Bus=0003 Vendor=04f2 Product=b044 Version=1112
N: Name="CNF7017"                                
P: Phys=usb-0000:00:1d.7-5/button                
S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb8/8-5/8-5:1.0/input/input8
U: Uniq=                                                              
H: Handlers=kbd event8                                                
B: EV=3                                                                
B: KEY=100000 0 0 0 0 0 0                                              

I: Bus=0001 Vendor=10ec Product=0888 Version=0001
N: Name="HDA Digital PCBeep"                    
P: Phys=card0/codec#0/beep0                      
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/input/input9
U: Uniq=                                              
H: Handlers=kbd event9                                
B: EV=40001                                          
B: SND=6                                              

I: Bus=0003 Vendor=046d Product=c05b Version=0111
N: Name="Logitech USB Optical Mouse"            
P: Phys=usb-0000:00:1d.1-1/input0                
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.0/input/input10
U: Uniq=                                                                
H: Handlers=mouse2 event10                                              
B: EV=17                                                                
B: KEY=ff0000 0 0 0 0 0 0 0 0                                          
B: REL=143                                                              
B: MSC=10                                                              

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input11
U: Uniq=
H: Handlers=mouse1 event7
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

Опытным путем выяснил, что после # rmmod psmouse                                          
# modprobe psmouse
тачпад начинает работать.
Как можно заставить тачпад включаться по кнопке без дополнительных махинаций?
Где, чем, как вообще можно настраивать тачпад?
« Последнее редактирование: 30.12.2009 00:12:05 от DriveR_F »
Не стоит спорить с дураками. Иначе они опустят вас до своего уровня, где и задавят своим опытом.

Оффлайн black_13

  • Завсегдатай
  • *
  • Сообщений: 657
  • Gentoo + Debian + ALT
    • diff.org.ua
    • Email
Re: Touchpad на Acer Acpire 5738G
« Ответ #1 : 30.12.2009 00:39:48 »
Цитировать
Где, чем, как вообще можно настраивать тачпад?
Как это где? Это же устройство ввода? Значит в xorg.conf ну или в hal (если через hal работа устройств ввода завернута)
Но посколько это "функциональная фишка" то тут могут быть варианты и посложнее :)

Оффлайн DriveR_F

  • Завсегдатай
  • *
  • Сообщений: 116
  • CyberLife
Re: Touchpad на Acer Acpire 5738G
« Ответ #2 : 30.12.2009 13:07:24 »
Попробовал создать файлик в /etc/hal/fdi/policy

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="ImPS/2 Generic Wheel Mouse">
<append key="info.capabilities" type="strlist">input.touchpad</append>
</match>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">true</merge>

</match>
</device>
</deviceinfo>
Результат нулевой# synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?
Не стоит спорить с дураками. Иначе они опустят вас до своего уровня, где и задавят своим опытом.

Оффлайн black_13

  • Завсегдатай
  • *
  • Сообщений: 657
  • Gentoo + Debian + ALT
    • diff.org.ua
    • Email
Re: Touchpad на Acer Acpire 5738G
« Ответ #3 : 31.12.2009 00:33:38 »
У меня так:
laptop ~ # cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
  <device>
        <match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- Switch on shared memory, enables the driver to be configured at runtime -->
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
         <!-- Finger pressure at which maximum edge motion speed is set. -->
<merge key="input.x11_options.EdgeMotionMinSpeed" type="string">200</merge>
         <!-- Acceleration factor for normal pointer movements. -->
<merge key="input.x11_options.AccelFactor" type="string">0.015</merge>
         <!-- Maximum speed factor. -->
<merge key="input.x11_options.MaxSpeed" type="string">1.0</merge>
         <!-- Minimum speed factor. -->
<merge key="input.x11_options.MinSpeed" type="string">0.8</merge>
         <!-- Enable tapping Which mouse button is reported on a non-corner one-finger tap. 1 - Left button -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
         <!-- Enable tapping
Which mouse button is reported on a non-corner two-finger tap. -->
<merge key="input.x11_options.TapButton2" type="string">2</merge>
         <!-- Maximum movement of the finger for detecting a tap -->
<merge key="input.x11_options.MaxTapMove" type="string">220</merge>
         <!-- Enable vertical scrolling when dragging along the right edge -->
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
         <!-- Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge> -->
         <!-- Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge> -->
         <!-- If on, circular scrolling is used -->
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
         <!-- Trigger region on the touchpad to start circular scrolling
6   Bottom Left Corner -->
<merge key="input.x11_options.CircScrollTrigger" type="string">6</merge>
   <!-- For other possible options, check CONFIGURATION DETAILS in synaptics manpage -->
   </match>
 </device>
</deviceinfo>
laptop ~ #
При этом:
laptop ~ # synclient -l
Parameter settings:
    LeftEdge                = 153
    RightEdge               = 870
    TopEdge                 = 115
    BottomEdge              = 652
    FingerLow               = 12
    FingerHigh              = 14
    FingerPress             = 127
    MaxTapTime              = 180
    MaxTapMove              = 220
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 139
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 25
    HorizScrollDelta        = 25
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 0
    HorizTwoFingerScroll    = 0
    MinSpeed                = 0.8
    MaxSpeed                = 1
    AccelFactor             = 0.015
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 14
    EdgeMotionMaxZ          = 79
    EdgeMotionMinSpeed      = 200
    EdgeMotionMaxSpeed      = 102
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 0
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 1
    CircularScrolling       = 1
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 6
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 99
    CoastingSpeed           = 0
    PressureMotionMinZ      = 14
    PressureMotionMaxZ      = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
laptop ~ #
ну только правда это на:
laptop ~ # uname -a
Linux laptop 2.6.30-gentoo-r8 #3 SMP PREEMPT Sun Nov 1 10:41:46 EET 2009 i686 Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel GNU/Linux
laptop ~ #
Ждем что скажут те кто юзает Alt на ноуте  ;)
« Последнее редактирование: 31.12.2009 00:35:21 от black_13 »