Bug#731313: Acknowledgement (linux: 3.12 kernel always reboot when need shutdown machine)

2013-12-04 Thread littlebat
I tested on lastest 3.13.0-rc2, the same issue. Use
config-3.12-trunk-amd64 as .config, then do make olddefconfig.

I also tested on 3.12.2, the same issue. Use working well kernel
config-3.11-2-amd64 as .config, then do make olddefconfig.

It seems some changes of new kernel break the shutdown function on my
machine.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131205103753.6d655ee501255c1d1c0f1...@gmail.com



Bug#731313: Acknowledgement (linux: 3.12 kernel always reboot when need shutdown machine)

2013-12-04 Thread littlebat
On Thu, 05 Dec 2013 03:15:40 +
Ben Hutchings b...@decadent.org.uk wrote:

 Control: tag -1 upstream
 
 On Thu, 2013-12-05 at 10:37 +0800, littlebat wrote:
  I tested on lastest 3.13.0-rc2, the same issue. Use
  config-3.12-trunk-amd64 as .config, then do make olddefconfig.
  
  I also tested on 3.12.2, the same issue. Use working well kernel
  config-3.11-2-amd64 as .config, then do make olddefconfig.
  
  It seems some changes of new kernel break the shutdown function on
  my machine.
 
 Please report this on https://bugzilla.kernel.org under product ACPI,
 component Power-Off.  Let us know the bug number or URL for your
 report.

Ok, I copied bug report into:
https://bugzilla.kernel.org/show_bug.cgi?id=66551


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131205114847.3a439b4056a9fe68a6c4c...@gmail.com



Bug#731313: linux: 3.12 kernel always reboot when need shutdown machine

2013-12-03 Thread littlebat
Package: src:linux
Version: 3.12-1~exp1
Severity: important
File: linux

When I shutdown machine use gnome shutdown menu item or execute sudo shutdown 
-h now in terminal,
the machine always reboot. I must press poweroff button on the mainframe box 
several seconds to 
shutdown machine.

Modify mac address and ip information below for privacy.

Hardware information:
Asrock Z87 Pro3 Motherboard, i7-4770 Haswell CPU, 
one single Kingston DDR3 1600 8GB memory,  
two West Data WD10EZEX 1T hard disk drivers assembled as Linux software raid. 

Compile 3.12.2 kernel no difference. Kernel 3.11 in Jessie no this problem.

-- Package-specific info:
** Version:
Linux version 3.12-trunk-amd64 (debian-kernel@lists.debian.org) (gcc version 
4.8.1 (Debian 4.8.1-10) ) #1 SMP Debian 3.12-1~exp1 (2013-11-17)

** Command line:
BOOT_IMAGE=/vmlinuz-3.12-trunk-amd64 root=/dev/mapper/fast-root ro quiet

** Not tainted

** Kernel log:
[5.004930] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[5.025348] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.025358] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[5.026772] microcode: CPU0 updated to revision 0x16, date = 2013-08-07
[5.026776] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x7
[5.026783] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.026789] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x7
[5.027481] microcode: CPU1 updated to revision 0x16, date = 2013-08-07
[5.027487] microcode: CPU2 sig=0x306c3, pf=0x2, revision=0x7
[5.027494] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.027500] microcode: CPU2 sig=0x306c3, pf=0x2, revision=0x7
[5.028196] microcode: CPU2 updated to revision 0x16, date = 2013-08-07
[5.028200] microcode: CPU3 sig=0x306c3, pf=0x2, revision=0x7
[5.028206] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.028213] microcode: CPU3 sig=0x306c3, pf=0x2, revision=0x7
[5.028914] microcode: CPU3 updated to revision 0x16, date = 2013-08-07
[5.028918] microcode: CPU4 sig=0x306c3, pf=0x2, revision=0x7
[5.028924] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.028931] microcode: CPU4 sig=0x306c3, pf=0x2, revision=0x7
[5.029664] microcode: CPU4 updated to revision 0x16, date = 2013-08-07
[5.029669] microcode: CPU5 sig=0x306c3, pf=0x2, revision=0x7
[5.029681] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.029691] microcode: CPU5 sig=0x306c3, pf=0x2, revision=0x7
[5.030428] microcode: CPU5 updated to revision 0x16, date = 2013-08-07
[5.030448] microcode: CPU6 sig=0x306c3, pf=0x2, revision=0x7
[5.030458] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.030467] microcode: CPU6 sig=0x306c3, pf=0x2, revision=0x7
[5.031197] microcode: CPU6 updated to revision 0x16, date = 2013-08-07
[5.031203] microcode: CPU7 sig=0x306c3, pf=0x2, revision=0x7
[5.031213] platform microcode: firmware: agent loaded intel-ucode/06-3c-03 
into memory
[5.031222] microcode: CPU7 sig=0x306c3, pf=0x2, revision=0x7
[5.031949] microcode: CPU7 updated to revision 0x16, date = 2013-08-07
[5.031970] microcode: Microcode Update Driver: v2.00 
tig...@aivazian.fsnet.co.uk, Peter Oruba
[5.037294] input: Power Button as 
/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
[5.037298] ACPI: Power Button [PWRB]
[5.037327] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[5.037329] ACPI: Power Button [PWRF]
[5.037443] ACPI: Requesting acpi_cpufreq
[5.047640] wmi: Mapper loaded
[5.056338] input: PC Speaker as /devices/platform/pcspkr/input/input6
[5.105983] ACPI Warning: 0xf040-0xf05f SystemIO 
conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130725/utaddress-251)
[5.105987] ACPI: If an ACPI driver is available for this device, you should 
use it instead of the native driver
[5.123255] [drm] Initialized drm 1.1.0 20060810
[5.197158] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[5.201549] mei_me :00:16.0: setting latency timer to 64
[5.201576] mei_me :00:16.0: irq 45 for MSI/MSI-X
[5.246082] [drm] Memory usable by graphics device = 2048M
[5.246086] i915 :00:02.0: setting latency timer to 64
[5.263434] i915 :00:02.0: irq 46 for MSI/MSI-X
[5.263438] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[5.263439] [drm] Driver supports precise vblank timestamp query.
[5.263476] vgaarb: device changed decodes: 
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[5.270023] alg: No test for crc32 (crc32-pclmul)
[5.614582] fbcon: inteldrmfb (fb0) is primary device
[5.616521] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 
00 64
[5.782596] Console: switching to colour 

Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse(with newly dmesg information)

2012-07-14 Thread littlebat
On Mon, 9 Jul 2012 23:57:14 -0500
Seth Forshee seth.fors...@canonical.com wrote:

 I did a write-up a while back about how I did it.
 http://swapspace.forshee.me/2011/11/touchpad-protocol-reverse-engineering.html

Hi,
I have done some testing on my Lenovo G360 Laptop according to the
instruction above, but it seems can't work as the instruction says.
Here is my steps:

1, Install Ubuntu 11.10 for i386 on laptop.
2, sudo apt-get update
3, sudo apt-get build-dep virtualbox
4, sudo apt-get source virtualbox (download
virtualbox_4.1.2-dfsg-1ubuntu1 source into home folder) 
5, Applied the virtualbox patch vbox-psmouse-serio-passthrough.patch
downloaded from instruction page 
6, sudo apt-get -b source virtualbox (this will compile patched source
and generate several deb virtualbox packages into home folder) 
7, sudo dpkg -i virtualbox_4.1.2-dfsg-1ubuntu1_i386.deb
virtualbox-dbg_4.1.2-dfsg-1ubuntu1_i386.deb
virtualbox-dkms_4.1.2-dfsg-1ubuntu1_all.deb
virtualbox-fuse_4.1.2-dfsg-1ubuntu1_i386.deb
virtualbox-qt_4.1.2-dfsg-1ubuntu1_i386.deb (install generated
virtualbox packages) 
8, Installed Windows 7 (or Windows xp SP2, has the
almost same testing result) into VirtualBox virtual machine. 
9, Installed Touchpad driver in Windows 7 in VirtualBox virtual machine.
But, the touchpad still act as a normal ps/2 mouse in Windows in
virtual machine, it misses edge scrolling function although has
installed windows touchpad driver successfully. 
10, Do the test:
y@y-PC:~$ sudo ./psmouse-reverse/mouse-to-serio.sh 1 
y@y-PC:~$ sudo chmod 666 /dev/serio_raw0 
y@y-PC:~$ ls -la /dev/serio*
crw-rw-rw- 1 root root 10, 55 2012-07-14 07:40 /dev/serio_raw0 
y@y-PC:~ $ export PSMOUSE_SERIO_DEV_PATH=/dev/serio_raw0 
y@y-PC:~$ export
PSMOUSE_SERIO_LOG_PATH=/home/y/psmouse-reverse/reverse.log 
y@y-PC:~$ virtualbox --startvm w7 (w7 is my VirtualBox virtual
machine Windows 7 guest OS name)

In the Windows 7 guest OS, the touchpad Lenovo pointing device
disappeared from the hardwares list. And, the log file in Ubuntu 11.10
has the content below: 
y@y-PC:~$ cat ./psmouse-reverse/reverse.log 
S ff
R fe
S ff
R fe
S ff
R fe
S ed
R fe

Then, restart Windows 7 guest OS without the environment variables
PSMOUSE_SERIO_DEV_PATH, PSMOUSE_SERIO_LOG_PATH, the touchpad
Lenovo pointing device appeared in the Windows 7 guest OS hardwares
list. I replaced touchpad Lenovo pointing device driver with normal
Microsoft PS/2 Mouse driver. Restart Windows 7 guest OS, I can see
Microsoft PS/2 Mouse in the hardwares list.

Then, empty the log file ./psmouse-reverse/reverse.log, set
PSMOUSE_SERIO_DEV_PATH, PSMOUSE_SERIO_LOG_PATH environment
variables and restart Windows 7 guest OS.

In the Windows 7 guest OS, Microsoft PS/2 Mouse disappeared from the
hardwares list. And, the log file in Ubuntu 11.10 has the content
below: 
y@y-PC:~$ cat ./psmouse-reverse/reverse.log 
S ff
R fe
S ff
R fe
S ff
R fe
S ed
R fe

Note, the content of the log file is same as when enable Lenovo
pointing device touchpad driver. And, when enable environment
variables, under  VirtualBox Windows 7 guest OS,  although the device
Lenovo pointing device or Microsoft PS/2 Mouse disappeared from the
hardwares list, the touchpad can still work as a normal PS/2 mouse in
the Windows 7. But, when I operate touchpad under Windows 7 guest OS,
there isn't any other bit wrote into the log file
./psmouse-reverse/reverse.log. Only when start virtualbox machine
Windows guest OS, the log file will be written the same eight lines as
above.

I have alse tested qemu-kvm_0.14.1+noroms-0ubuntu6 with Windows XP
SP2 guest OS installed, the result is same except two points: 
1, When I start guest OS without environment variables, the terminal
output as below: 
y@y-PC:~$ qemu -m 1024 ./QEMU/wxp.img 
open /dev/kvm: No such file or directory Could not initialize KVM, will
disable KVM support 
qemu: ps2 mouse init

qemu: serio_pt_init

qemu: No serio device specified in environment

qemu: pci_add_option_rom: failed to find romfile pxe-rtl8139.bin

And, when start it with environment variables set, the terminal output
as below: 
y@y-PC:~$ qemu -m 1024 ./QEMU/wxp.img
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: ps2 mouse init

qemu: serio_pt_init

qemu: pci_add_option_rom: failed to find romfile pxe-rtl8139.bin

2, When start qemu windows xp sp2 guest OS with environment variables
set, unlike in the virtualbox Windows guest OS, the touchpad and USB
mouse can't work in the qemu windows xp sp2 guest OS, the cursor can't
move.

Briefly, it seems the instruction at
http://swapspace.forshee.me/2011/11/touchpad-protocol-reverse-engineering.html;
can't work on my Lenovo G360, is there any thing wrong with me?

Thanks.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120715101557.e20a039b.dashing.m...@gmail.com



Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse(with newly dmesg information)

2012-07-09 Thread littlebat
On Mon, 9 Jul 2012 09:45:08 -0500
Seth Forshee seth.fors...@canonical.com wrote:
 So it sounds like we don't know how to talk to your touchpad, and
 there's no trivial way to add support for it to the driver. There's
 not really anything more I can do to help since I don't have access to
 the hardware.
Thanks.

Three things:
1, Can you provide a simple tutorial (or web page address) of how to
reverse-engineer a Linux ALPS driver if possible? I have very basic
programming knowledge(shell script, read basic C code except hardware
driver). Maybe, I can provide more detail hardware information about
this ALPS touchpad in this way?

2, Is there a tool, it can show the message when I operate on touchpad
edge scrolling? So, according to the output, it is able to get a dirty
solution about edge scrolling function of Lenovo G360 touchpad.
The funciton of disable touchpad when typing has a solution using
python script I have mentioned in the previous posts.

3, If you are interest in this and have time and it is helpful, I can
provide a root password for this laptop to you and run ssh service for
you all the time. Then you can operate this laptop via ssh connection
in this way. You can do anything on this machine even format the
disk :-)



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710121627.22558c22.dashing.m...@gmail.com



Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse

2012-07-05 Thread littlebat
On Wed, 4 Jul 2012 22:20:09 -0500
Jonathan Nieder jrnie...@gmail.com wrote:

 (dropping Debian bug from cc list)
 Hi,
 
 littlebat wrote:
 
I
  report a kernel bug about ALPS touchpad to you.
 
  My lenovo G360 has an ALPS touchpad, show in Windows 7 Home
  Editition OEM in this laptop. Under Debian Squeeze or Ubuntu 12.04
  LTS LiveCD in same laptop, the left and
  right key, single and double tap, tracking  of touchpad works well.
  But, there isn't touchpad tab in gnome mouse setting dialog, so I
  can't setup edge scrolling and disable touchpad on typing. xinput
  shows it is a PS/2 Generic Mouse.
 [...]
  Tell me If need more detail information.
 
 Thanks.  Forgive me for being dense: can you spell this out a little
 more for me?
 
 Is the following summary correct?
 
  - 2.6.32.y (Debian squeeze) works well, using xinput or synclient to
configure
  - 3.2.y (Ubuntu 12.04 LTS) sees a generic mouse, unconfigurable
  - 3.2.y (Debian squeeze-backports) is likewise unconfigurable
  - 3.4.4 (Debian experimental) is also unconfigurable

No, none of these four kernels can configure a full functional ALPS
touchpad. Under all of these four kernels:
1, synclient -l shows Couldn't find synaptics properties. No
synaptics driver loaded? 
2, xinput --list shows it is a PS/2 Generic Mouse
3, cat /proc/bus/input/devices shows it is N: Name=PS/2 Generic
Mouse
4, Can't find any string like touchpad, synaptics in
/var/log/Xorg.0.log 
5, There isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing.

 Could you provide full dmesg output from booting a working and
 non-working kernel?

The laptop isn't here, I will post full dmesg output under 3.4.4
(Debian experimental) kernel later.

Thanks. 



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120705154545.8d7492cc.dashing.m...@gmail.com



Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse

2012-07-05 Thread littlebat
Very sorry, I post the wrong xinput --list information, it's my Asus
EEEPC. Here's the correct xinput --list information of my Lenovo G360:

 ⎡ Virtual core pointer   id=2[master
pointer  (3)] ⎜   ↳ Virtual core XTEST pointer
id=4[slave  pointer  (2)] ⎜   ↳  USB OPTICAL
MOUSE   id=11   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouseid=14
[slave  pointer  (2)] ⎣ Virtual core keyboard
id=3[master keyboard (2)] ↳ Virtual core XTEST
keyboardid=5[slave  keyboard (3)] ↳ Power
Button  id=6[slave  keyboard
(3)] ↳ Video Bus  id=7
[slave  keyboard (3)] ↳ Video Bus
id=8[slave  keyboard (3)] ↳ Power
Button  id=9[slave  keyboard
(3)] ↳ Sleep Button   id=10
[slave  keyboard (3)] ↳ Lenovo EasyCamera
id=12   [slave  keyboard (3)] ↳ AT Translated Set 2
keyboardid=13   [slave  keyboard (3)] ↳
Ideapad extra buttons   id=15   [slave
keyboard (3)] ↳ ACPI Virtual Keyboard Device
id=16   [slave  keyboard (3)]

On Thu, 5 Jul 2012 11:30:57 +0800
littlebat dashing.m...@gmail.com wrote:

 found 679750 linux-2.6/2.6.32-45 , linux-2.6/3.2.4-1 , linux/3.4.4-1
 quit
 
 Because send by web gmail.com has html content so failed send to
 linux-in...@vger.kernel.org at first time, so send again.
 
 Hi,
 Dear kernel developers.
 
 According to the advice at  http://bugs.debian.org/679750 , I report
 a kernel bug about ALPS touchpad to you.
 
 My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
 OEM in this laptop. Under Debian Squeeze in same laptop, the left and
 right key, single and double tap, tracking  of touchpad works well.
 But, there isn't touchpad tab in gnome mouse setting dialog, so I
 can't setup edge scrolling and disable touchpad on typing. xinput
 shows it is a PS/2 Generic Mouse. Below is the detail information.
 
 System information:
 
 Debian Squeeze, tried kernel: 2.6.32-45, 3.2.4-1~bpo60+1,
 3.4.4-1~experimental.1 And tried Ubuntu 12.04 LTS LiveCD, kernel: 3.2
 (has the same bug as in Debian)
 
 synclient -l shows:
 
 Couldn't find synaptics properties. No synaptics driver loaded?
 
 xinput --list shows:
 ⎡ Virtual core pointer   id=2
 [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer
 id=4  [slave  pointer  (2)] ⎜   ↳ USB
 Mouse id=10   [slave
 pointer  (2)] ⎜   ↳ ETPS/2 Elantech Touchpad
 id=14 [slave  pointer  (2)] ⎣ Virtual core
 keyboard  id=3[master keyboard (2)]
 ↳ Virtual core XTEST keyboardid=5[slave
 keyboard (3)] ↳ Power Button
 id=6  [slave  keyboard (3)] ↳ Video
 Bus   id=7[slave  keyboard
 (3)] ↳ Power Button  id=8
 [slave  keyboard (3)] ↳ Sleep Button
 id=9  [slave  keyboard (3)] ↳
 Digital_Cameraid=11   [slave
 keyboard (3)] ↳ Asus EeePC extra buttons
 id=12 [slave  keyboard (3)] ↳ AT Translated Set 2
 keyboard  id=13   [slave  keyboard (3)] ↳
 ACPI Virtual Keyboard Device  id=15   [slave
 keyboard (3)]
 

 cat /proc/bus/input/devices shows (only post the section of PS/2
 Generic Mouse):
 I: Bus=0011 Vendor=0002 Product=0001 Version=
 N: Name=PS/2 Generic Mouse
 P: Phys=isa0060/serio4/input0
 S: Sysfs=/devices/platform/i8042/serio4/input/input9
 U: Uniq=
 H: Handlers=mouse1 event9
 B: PROP=0
 B: EV=7
 B: KEY=7 0 0 0 0
 B: REL=3
 
 Some related section in /var/log/Xorg.0.log is:
 
 [30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
 (/dev/input/event9)
 [30.929] (**) PS/2 Generic Mouse: Applying InputClass evdev
 pointer catchall
 [30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
 [30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
 [30.929] (**) PS/2 Generic Mouse: always reports core events
 [30.929] (**) PS/2 Generic Mouse: Device: /dev/input/event9
 [30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
 [30.929] (--) PS/2 Generic Mouse: Found relative axes
 [30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
 [30.929] (II) PS/2 Generic Mouse: Configuring as mouse
 [30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
 [30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
 EmulateWheelInertia: 10, EmulateWheelTimeout: 200
 [30.929] (**) Option config_info
 udev:/sys/devices/platform/i8042/serio4/input/input9/event9
 [30.929] (II) XINPUT: Adding extended input device PS/2 Generic
 Mouse (type: MOUSE)
 [30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
 [30.929] (**) PS/2 Generic Mouse: (accel) keeping

Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse

2012-07-04 Thread littlebat
found 679750 linux-2.6/2.6.32-45 , linux-2.6/3.2.4-1 , linux/3.4.4-1
quit

Hi,
Dear kernel developers.

According to the advice at  http://bugs.debian.org/679750 , I report a
kernel bug about ALPS touchpad to you.

My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
OEM in this laptop. Under Debian Squeeze or Ubuntu 12.04 LTS LiveCD in same
laptop, the left and
right key, single and double tap, tracking  of touchpad works well.
But, there isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing. xinput
shows it is a PS/2 Generic Mouse. Below is the detail information.

System information:

Debian Squeeze, tried kernel: 2.6.32-45, 3.2.4-1~bpo60+1,
3.4.4-1~experimental.1
And tried Ubuntu 12.04 LTS LiveCD, kernel: 3.2 (has the same bug as in
Debian)

The below information come from Debian Squeeze with 3.2.4-1~bpo60+1 kernel.
The other kerneld and sytem tried above should has the same result.

synclient -l shows:

Couldn't find synaptics properties. No synaptics driver loaded?

xinput --list shows:

 ⎡ Virtual core pointerid=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer  id=4[slave  pointer
(2)]
⎜   ↳  USB OPTICAL MOUSE  id=11[slave  pointer
(2)]
⎜   ↳ PS/2 Generic Mouse  id=14[slave  pointer
(2)]
⎣ Virtual core keyboard   id=3[master keyboard (2)]
↳ Virtual core XTEST keyboard id=5[slave  keyboard
(3)]
↳ Power Buttonid=6[slave  keyboard
(3)]
↳ Video Bus   id=7[slave  keyboard
(3)]
↳ Video Bus   id=8[slave  keyboard
(3)]
↳ Power Buttonid=9[slave  keyboard
(3)]
↳ Sleep Buttonid=10[slave  keyboard
(3)]
↳ Lenovo EasyCamera   id=12[slave  keyboard
(3)]
↳ AT Translated Set 2 keyboardid=13[slave  keyboard
(3)]
↳ Ideapad extra buttons   id=15[slave  keyboard
(3)]
↳ ACPI Virtual Keyboard Deviceid=16[slave  keyboard
(3)]


cat /proc/bus/input/devices shows (only post the section of PS/2 Generic
Mouse):
I: Bus=0011 Vendor=0002 Product=0001 Version=
N: Name=PS/2 Generic Mouse
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=7
B: KEY=7 0 0 0 0
B: REL=3

Some related section in /var/log/Xorg.0.log is:

[30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/event9)
[30.929] (**) PS/2 Generic Mouse: Applying InputClass evdev pointer
catchall
[30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[30.929] (**) PS/2 Generic Mouse: always reports core events
[30.929] (**) PS/2 Generic Mouse: Device: /dev/input/event9
[30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
[30.929] (--) PS/2 Generic Mouse: Found relative axes
[30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
[30.929] (II) PS/2 Generic Mouse: Configuring as mouse
[30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[30.929] (**) Option config_info
udev:/sys/devices/platform/i8042/serio4/input/input9/event9
[30.929] (II) XINPUT: Adding extended input device PS/2 Generic Mouse
(type: MOUSE)
[30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
[30.929] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[30.929] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[30.929] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[30.929] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[30.930] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/mouse1)

There is no touchpad or synaptics information in the /var/log/Xorg.0.log

I have tried too many methods found on internet, such as:

1, add psmouse.proto=imps(or exps) into kernel parameters;

2, add file etc/X11/xorg.d/10-synaptics.conf, the content as below:

Section InputClass
Identifier  touchpad catchall
Driver  synaptics
MatchIsTouchpad on
MatchDevicePath /dev/input/event*
Option  SHMConfig on
Option  TapButton1 1
Option  TapButton2 2
Option  TapButton3 3
Option  VertTwoFingerScroll on
Option  HorizTwoFingerScroll on
EndSection

3, Thanks to the help of How to disable Alps touchpad while typing or when
using an external mouse in Linux at:
http://www.imega.cz/Linux-Alps-Touchpad-Dell-E6410/Linux-Alps-touchpad-disable.php
I resolved 

Bug#679750: Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse

2012-07-04 Thread littlebat
found 679750 linux-2.6/2.6.32-45 , linux-2.6/3.2.4-1 , linux/3.4.4-1
quit

Because send by web gmail.com has html content so failed send to
linux-in...@vger.kernel.org at first time, so send again.

Hi,
Dear kernel developers.

According to the advice at  http://bugs.debian.org/679750 , I report
a kernel bug about ALPS touchpad to you.

My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
OEM in this laptop. Under Debian Squeeze in same laptop, the left and
right key, single and double tap, tracking  of touchpad works well.
But, there isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing. xinput
shows it is a PS/2 Generic Mouse. Below is the detail information.

System information:

Debian Squeeze, tried kernel: 2.6.32-45, 3.2.4-1~bpo60+1,
3.4.4-1~experimental.1 And tried Ubuntu 12.04 LTS LiveCD, kernel: 3.2
(has the same bug as in Debian)

synclient -l shows:

Couldn't find synaptics properties. No synaptics driver loaded?

xinput --list shows:
⎡ Virtual core pointerid=2[master
pointer  (3)] ⎜   ↳ Virtual core XTEST pointer
id=4[slave  pointer  (2)] ⎜   ↳ USB
Mouse   id=10   [slave
pointer  (2)] ⎜   ↳ ETPS/2 Elantech Touchpad
id=14   [slave  pointer  (2)] ⎣ Virtual core
keyboardid=3[master keyboard (2)] ↳
Virtual core XTEST keyboard id=5[slave
keyboard (3)] ↳ Power Button
id=6[slave  keyboard (3)] ↳ Video
Bus id=7[slave  keyboard
(3)] ↳ Power Button   id=8
[slave  keyboard (3)] ↳ Sleep Button
id=9[slave  keyboard (3)] ↳
Digital_Camera  id=11   [slave
keyboard (3)] ↳ Asus EeePC extra buttons
id=12   [slave  keyboard (3)] ↳ AT Translated Set 2
keyboardid=13   [slave  keyboard (3)] ↳ ACPI
Virtual Keyboard Device id=15   [slave
keyboard (3)]

cat /proc/bus/input/devices shows (only post the section of PS/2
Generic Mouse):
I: Bus=0011 Vendor=0002 Product=0001 Version=
N: Name=PS/2 Generic Mouse
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=7
B: KEY=7 0 0 0 0
B: REL=3

Some related section in /var/log/Xorg.0.log is:

[30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/event9)
[30.929] (**) PS/2 Generic Mouse: Applying InputClass evdev pointer
catchall
[30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[30.929] (**) PS/2 Generic Mouse: always reports core events
[30.929] (**) PS/2 Generic Mouse: Device: /dev/input/event9
[30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
[30.929] (--) PS/2 Generic Mouse: Found relative axes
[30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
[30.929] (II) PS/2 Generic Mouse: Configuring as mouse
[30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[30.929] (**) Option config_info
udev:/sys/devices/platform/i8042/serio4/input/input9/event9
[30.929] (II) XINPUT: Adding extended input device PS/2 Generic
Mouse (type: MOUSE)
[30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
[30.929] (**) PS/2 Generic Mouse: (accel) keeping acceleration
scheme 1 [30.929] (**) PS/2 Generic Mouse: (accel) acceleration
profile 0 [30.929] (**) PS/2 Generic Mouse: (accel) acceleration
factor: 2.000 [30.929] (**) PS/2 Generic Mouse: (accel)
acceleration threshold: 4 [30.930] (II) config/udev: Adding input
device PS/2 Generic Mouse (/dev/input/mouse1)

There is no touchpad or synaptics information in the
/var/log/Xorg.0.log

I have tried too many methods found on internet, such as:

1, add psmouse.proto=imps(or exps) into kernel parameters;

2, add file etc/X11/xorg.d/10-synaptics.conf, the content as below:

Section InputClass
Identifier  touchpad catchall
Driver  synaptics
MatchIsTouchpad on
MatchDevicePath /dev/input/event*
Option  SHMConfig on
Option  TapButton1 1
Option  TapButton2 2
Option  TapButton3 3
Option  VertTwoFingerScroll on
Option  HorizTwoFingerScroll on
EndSection

3, Thanks to the help of How to disable Alps touchpad while typing or
when using an external mouse in Linux at:
http://www.imega.cz/Linux-Alps-Touchpad-Dell-E6410/Linux-Alps-touchpad-disable.php
I resolved the problem of disable touchpad on typing by using a
python script, but I can't make edge scrolling work yet. 

According to the advice of the page above, I downloaded
linux-source-3.2, and applied patch at 

Bug#680154: ALPS Touchpad Recognized as PS/2 Generic Mouse under Debian Squeeze on Lenovo G360 Laptop(post again)

2012-07-03 Thread littlebat
Package: linux
Version: 3.2.4-1~bpo60+1

System information:

Debian Squeeze, kernel in squeeze-backports: 3.2.0-0.bpo.1-amd64, and
also tested on kernel 3.4 compiled with make oldconfig based on
config-3.2.0-0.bpo.1-amd64, no lucky.

This bug has been reported as a xserver-xorg-input-synaptics package
bug at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679750;, but
they said Not an X bug, the name shown is whatever the kernel
reports., and reported at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679844;, but seems I
posted the wrong package name(Package: linux-image-3.2.0-0.bpo.1-amd64;
Maintainer for linux-image-3.2.0-0.bpo.1-amd64 is (unknown);), no reply
after 2 days. so I report it as akernel bug here.

My lenovo G360 has an ALPS touchpad, shows in Windows 7 Home Editition
OEM in this laptop. Under Debian Squeeze in the same laptop, the left
and right key, single and double tap, tracking  of touchpad works
well. But, there isn't touchpad tab in gnome mouse setting dialog, so
I can't setup edge scrolling and disable touchpad on typing. xinput
shows it is a PS/2 Generic Mouse. Below is the detail information.

synclient -l shows:

Couldn't find synaptics properties. No synaptics driver loaded?

xinput --list shows:

 ⎡ Virtual core pointer id=2[master
pointer  (3)] ⎜   ↳ Virtual core XTEST pointer
id=4[slave  pointer  (2)] ⎜   ↳  USB OPTICAL
MOUSE   id=11   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouseid=14
[slave  pointer  (2)] ⎣ Virtual core keyboard
id=3[master keyboard (2)] ↳ Virtual core XTEST
keyboardid=5[slave  keyboard (3)] ↳ Power
Button  id=6[slave  keyboard
(3)] ↳ Video Busid=7
[slave  keyboard (3)] ↳ Video Bus
id=8[slave  keyboard (3)] ↳ Power
Button  id=9[slave  keyboard
(3)] ↳ Sleep Button id=10
[slave  keyboard (3)] ↳ Lenovo EasyCamera
id=12   [slave  keyboard (3)] ↳ AT Translated Set 2
keyboardid=13   [slave  keyboard (3)] ↳
Ideapad extra buttons   id=15   [slave
keyboard (3)] ↳ ACPI Virtual Keyboard Device
id=16   [slave  keyboard (3)]


cat /proc/bus/input/devices shows (only post the section of PS/2
Generic Mouse):
I: Bus=0011 Vendor=0002 Product=0001 Version=
N: Name=PS/2 Generic Mouse
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=7
B: KEY=7 0 0 0 0
B: REL=3

Some related section in /var/log/Xorg.0.log is:

[30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/event9)
[30.929] (**) PS/2 Generic Mouse: Applying InputClass evdev pointer
catchall
[30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[30.929] (**) PS/2 Generic Mouse: always reports core events
[30.929] (**) PS/2 Generic Mouse: Device: /dev/input/event9
[30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
[30.929] (--) PS/2 Generic Mouse: Found relative axes
[30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
[30.929] (II) PS/2 Generic Mouse: Configuring as mouse
[30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[30.929] (**) Option config_info
udev:/sys/devices/platform/i8042/serio4/input/input9/event9
[30.929] (II) XINPUT: Adding extended input device PS/2 Generic
Mouse (type: MOUSE)
[30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
[30.929] (**) PS/2 Generic Mouse: (accel) keeping acceleration
scheme 1 [30.929] (**) PS/2 Generic Mouse: (accel) acceleration
profile 0 [30.929] (**) PS/2 Generic Mouse: (accel) acceleration
factor: 2.000 [30.929] (**) PS/2 Generic Mouse: (accel)
acceleration threshold: 4 [30.930] (II) config/udev: Adding input
device PS/2 Generic Mouse (/dev/input/mouse1)

There is no touchpad or synaptics information in the
/var/log/Xorg.0.log I have tried too many methods found on internet,
such as:

1, add psmouse.proto=imps(or exps) into kernel parameters;

2, add file etc/X11/xorg.d/10-synaptics.conf, the content as below:

Section InputClass
Identifier  touchpad catchall
Driver  synaptics
MatchIsTouchpad on
MatchDevicePath /dev/input/event*
Option  SHMConfig on
Option  TapButton1 1
Option  TapButton2 2
Option  TapButton3 3
Option  VertTwoFingerScroll on
Option  HorizTwoFingerScroll on
EndSection

3, Tried patched psmouse.ko. I downloaded linux-source-3.2, and
applied patch found on
internet
(Resend-Add-support-for-Intellimouse-Mode-in-ALPS-touchpad-on-Dell-E2-series-Laptops.patch,
see attachment), I 

Bug#679750: ALPS touchpad recognized as PS/2 Generic Mouse

2012-07-03 Thread littlebat
I reported it as a kernel bug at ALPS Touchpad Recognized as PS/2
Generic Mouse under Debian Squeeze on Lenovo G360 Laptop(post
again) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680154

Thanks.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120704114705.ac336a3b.dashing.m...@gmail.com



Bug#680154: [resend] Lenovo G360: ALPS Touchpad Recognized as PS/2 Generic Mouse

2012-07-03 Thread littlebat
On Tue, 3 Jul 2012 22:26:07 -0500
Jonathan Nieder jrnie...@gmail.com wrote:

 reassign 679750 src:linux
 reassign 679844 src:linux linux-2.6/3.2.4-1
 forcemerge 622231 679750 679844
 quit
 
 Hi littlebat,
 
 You wrote:
 
  This bug has been reported as a xserver-xorg-input-synaptics package
  bug at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679750;,
  but they said Not an X bug, the name shown is whatever the kernel
  reports., and reported at
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679844;, but
  seems I posted the wrong package name(Package:
  linux-image-3.2.0-0.bpo.1-amd64;
 
 See http://bugs.debian.org/622231.

I read http://bugs.debian.org/622231 .

There are two differences between bug 622231 and mine:
1, Bug 622231 find the touchpad, and Touchpad exist in
/var/log/Xorg.0.log. No any clue show it is Touchpad on my system.
2, Bug 622231 appears occasionally.  My bug is stable, it is always
here. 

thanks



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120704121737.968d7996.dashing.m...@gmail.com