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  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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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-ker...@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 
, 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 frame buffer device 240x67

Bug#731304: nautilus-3.8.2 sometimes keep high cpu usage when startup desktop or hang to stop shutdown computer

2013-12-03 Thread littlebat
Package: nautilus
Version: 3.8.2-2
Severity: important

Sometimes, when enter into desktop, I watch nautilus keep almost 100% CPU 
usage. Simliar to the bug reported at fedora bug system: 
https://bugzilla.redhat.com/show_bug.cgi?id=975592 nautilus begins consume 100% 
CPU.

And, sometimes, when I logout or shutdown, system tell me file manager is 
hanging, and I can't logout or shutdown machine.

I don't always reproduce this bug. Please tell me how to debug it if you need 
more information.

I tried to install nautilus 3.10 in experimental, but it seems will remove 
gnome-shell and gnome-session, etc.. So, it can't resolve this question.

When I run under kernel 3.11, no difference.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nautilus depends on:
ii  desktop-file-utils 0.22-1
ii  gsettings-desktop-schemas  3.8.2-2
ii  gvfs   1.16.3-1+b2
ii  libatk1.0-02.10.0-2
ii  libc6  2.17-93
ii  libcairo-gobject2  1.12.16-2
ii  libcairo2  1.12.16-2
ii  libexempi3 2.2.1-1
ii  libexif12  0.6.21-1
ii  libgail-3-03.8.4-1
ii  libgdk-pixbuf2.0-0 2.28.2-1
ii  libglib2.0-0   2.36.4-1
ii  libglib2.0-data2.36.4-1
ii  libgnome-desktop-3-7   3.8.4-2
ii  libgtk-3-0 3.8.4-1
ii  libnautilus-extension1a3.8.2-2
ii  libnotify4 0.7.6-1
ii  libpango-1.0-0 1.36.0-1
ii  libpangocairo-1.0-01.36.0-1
ii  libselinux12.2.1-1
ii  libtracker-sparql-0.16-0   0.16.2-1
ii  libx11-6   2:1.6.2-1
ii  libxml22.9.1+dfsg1-3
ii  nautilus-data  3.8.2-2
ii  shared-mime-info   1.0-1+b1

Versions of packages nautilus recommends:
ii  eject  2.1.5+deb1+cvs20081104-13
ii  gnome-icon-theme-symbolic  3.10.1-1
ii  gnome-sushi3.8.1-1
ii  gvfs-backends  1.16.3-1+b2
ii  librsvg2-common2.40.0-1

Versions of packages nautilus suggests:
ii  brasero3.8.0-2
ii  eog3.10.1-1
ii  evince [pdf-viewer]3.8.3-2
ii  totem  3.8.2-3
ii  tracker0.16.2-1
ii  vlc [mp3-decoder]  2.1.1-1
ii  vlc-nox [mp3-decoder]  2.1.1-1
ii  xdg-user-dirs  0.15-1

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#730018: pm-utils: The second time resume from hibernate state fail at display no signal

2013-11-20 Thread littlebat
Hi,

Dear Pm-utils developers, I found a temporary method to resolve this
bug. 

My motherboard Asrock Z87 Pro3 has three display ports:D-Sub, DVI-D and
HDMI. And my display AOC I2351Fe has two ports: D-Sub and DVI-D. 

When plug only D-Sub(VGA) line between Motherboard and display, every
time resume from hibernate state will fail at display "no signal".

When plug only DVI-D line between Motherboard and display, every
first time resume from hibernate state will success, and the second
resume from hibernate will fail at display "no signal".

When plug both D-Sub and DVI-D lines between Motherboard and display,
every time resume from hibernate will success. I resolved this bug.

Another tips maybe helpful debug this bug for developers:

Plug both D-Sub and DVI-D lines, when set display "Auto" accept D-Sub or
DVI-D signal, resume from hibernate state, the first boot screen(Asrock
logo appear) inform "DVI-D" or "D-Sub" signal used; After Grub menu, in
the resuming screen(show N% resumed), inform "D-Sub" signal used;
Inform "DVI-D" signal used when unlock login window appear.

Plug both D-Sub and DVI-D lines, when set display only accept DVI-D
signal, resume from hibernate state, the first boot screen(Asrock logo
appear) inform "DVI-D" signal used; After Grub menu, inform "DVI-D, No
 Signal", the screen is black, can't see the resume progress; Inform
"DVI-D" signal used when unlock login window appear.

Although, I have resolved this question temporarily, but I don't know
if it is harmful for my hardware with connecting motherboard and
display using two lines above. And, I think maybe there are more and
more Linux users will meet this question(multiple display ports on
motherboard or display).

Hopeful my information is helpful for fixing this bug. If need more
detail information please tell me.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#730018: pm-utils: The second time resume from hibernate state fail at display no signal

2013-11-20 Thread littlebat
Package: pm-utils
Version: 1.4.1-13
Severity: normal

Hardware: i7-4770 CPU, Asrock Z87 Pro3 Motherboard, no extra graphics, 
ethernet, audio card,

Suspend to RAM and wake up is normal.

Hibernate to disk and wake up is normal at the first time. When hibernate the 
second time,
the OS is booting, and, I can hear the movie sound from the waking OS, but, the 
display show
the message "No signal", and screen is black, the display LED become orange 
color, normal 
work color is blue. Press any key is no effect.

I tried some video-quirks in /usr/lib/pm-utils/video-quirks, but no effect.

I tried add kenel boot parameters in grub.cfg: notsc, irqpoll. No effect.

Tried use uswsusp, no effect.

Tried debug pm-utils using the way: 
echo reboot(or platform, shutdown) > /sys/power/disk
echo disk > /sys/power/state

No effect.

Tried test mode of hibernation using script below:

#!/bin/sh

item=""

case "$1" in
  1)
item="freezer"
  ;;
  2)
item="devices"
  ;;
  3)
item="platform"
  ;;
  4)
item="processors"
  ;;
  5)
item="core"
  ;;
  6)
item="none"
  ;;
esac

echo ${item} > /sys/power/pm_test
echo platform > /sys/power/disk
echo disk > /sys/power/state

exit 0


No any reflection in "freezer" mode;
"devices", "platform", "processors", "core" is working normally.
Twice test every mode.

"none" mode worked when first hibernate and wake, but failed at 
the second hibernate and wake with the same symptom described top.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pm-utils depends on:
ii  powermgmt-base  1.31

Versions of packages pm-utils recommends:
ii  ethtool  1:3.11-1
ii  hdparm   9.43-1
ii  kbd  1.15.5-1
ii  procps   1:3.3.4-2
ii  vbetool  1.1-3

Versions of packages pm-utils suggests:
ii  cpufrequtils008-1
pn  radeontool  
pn  wireless-tools  

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#729472: ibus: Ibus miss select default input method function

2013-11-13 Thread littlebat
Package: ibus
Version: 1.5.4-1
Severity: normal
Tags: l10n

In the ibus setup dialog window->"inputmethod" tab page, the help text
bottom says it can change default input method by up/down key, but
there is no up/down key at the right border as ibus in Debian 7.

So, when I login into system using my language, the inputmethod default
is Chinese. I can't input the word to locate a program in gnome-shell.

Although, at last, I found I can using "shift" or "ALT_SPACE" to get
english input method, but it isn't too convenient to switch english and
chinese input method as before. I consider it is a bug.

If it is the design of new ibus, then it should take out the invalid
help text in the setup tab page described above. And inform user the
big use change of ibus. Or, it will confuse many new users.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'),
(500, 'testing') Architecture: amd64 (x86_64)

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ibus depends on:
ii  dconf-cli0.18.0-1
ii  dconf-gsettings-backend [gsettings-backend]  0.18.0-1
ii  gir1.2-gtk-3.0   3.8.6-1
ii  gir1.2-ibus-1.0  1.5.4-1
ii  gnome-icon-theme 3.10.0-1
ii  libatk1.0-0  2.10.0-2
ii  libc62.17-93
ii  libcairo21.12.16-2
ii  libdconf10.18.0-1
ii  libgdk-pixbuf2.0-0   2.28.2-1
ii  libglib2.0-0 2.36.4-1
ii  libgtk-3-0   3.8.4-1
ii  libgtk2.0-0  2.24.22-1
ii  libibus-1.0-51.5.4-1
ii  libnotify4   0.7.6-1
ii  libpango-1.0-0   1.36.0-1
ii  librsvg2-common  2.40.0-1
ii  libx11-6 2:1.6.2-1
ii  libxi6   2:1.7.2-1
ii  python-gi3.8.2-1
ii  python-notify0.1.1-3
pn  python:any   

Versions of packages ibus recommends:
ii  ibus-gtk   1.5.3-7
ii  ibus-gtk3  1.5.3-7
ii  im-config  0.22-3

Versions of packages ibus suggests:
pn  ibus-clutter  
pn  ibus-doc  
pn  ibus-qt4  

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#729466: fcitx: Fcitx delay too long in vncviewer

2013-11-13 Thread littlebat
Package: fcitx
Version: 1:4.2.4.1-7
Severity: normal
Tags: l10n

I start vnc4server in Debian Jessie using command line below:
vncserver :1
The part of ~/.vnc/xstartup as below:
#
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XMODIFIERS=@im=fcitx
fcitx &
gnome-session &
#

Fcitx will delay above 20 seconds to start in vncviewer remotely.

Ibus has no this kind of broblem.

-- System Information:
Debian Release: 7.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fcitx depends on:
ii  fcitx-bin  1:4.2.4.1-7
ii  fcitx-data 1:4.2.4.1-7
ii  fcitx-modules  1:4.2.4.1-7

Versions of packages fcitx recommends:
ii  fcitx-config-gtk   0.4.4-1
ii  fcitx-frontend-all 1:4.2.4.1-7
ii  fcitx-ui-classic   1:4.2.4.1-7
ii  im-config [im-switch]  0.21

Versions of packages fcitx suggests:
pn  fcitx-m17n   
pn  fcitx-tools  

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#729459: fcitx: Fcitx can't be activated in vncviewer

2013-11-12 Thread littlebat
Package: fcitx
Version: 1:4.2.8.1-3
Severity: normal
Tags: l10n

I start vnc4server in Debian Jessie using command line below:
vncserver :1
The part of ~/.vnc/xstartup as below:
#
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XMODIFIERS=@im=fcitx
fcitx &
gnome-session &
#

I can't activated fcitx in vncviewer remotely with any keys combination,
I have changed the different keys combination for activating input method
in the guest machine.

The "xstartup" configuration has been used in Debian 6 normally.

Fcitx still can't work in vnc environment of Debian 7 normally, but act 
the other strange behavior, I will report it in my Debian 7 machine soon.

Ibus has no this kind of broblem.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'proposed-updates'), 
(500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fcitx depends on:
ii  fcitx-bin  1:4.2.8.1-3
ii  fcitx-data 1:4.2.8.1-3
ii  fcitx-modules  1:4.2.8.1-3

Versions of packages fcitx recommends:
ii  fcitx-config-gtk   0.4.7-1
ii  fcitx-frontend-all 1:4.2.8.1-3
ii  fcitx-ui-classic   1:4.2.8.1-3
pn  im-config | im-switch  

Versions of packages fcitx suggests:
pn  fcitx-m17n   
pn  fcitx-tools  

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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  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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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  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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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  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] (**) 

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  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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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-so

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-

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  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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#679844: (CLOSED)ALPS Touchpad Recognized as "PS/2 Generic Mouse" under Debian Squeeze on Lenovo G360 Laptop

2012-07-03 Thread littlebat
Sorry, I posted wrong package name here. So I closed this bug report
and report it 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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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-

Bug#679844: ALPS Touchpad Recognized as "PS/2 Generic Mouse" under Debian Squeeze on Lenovo G360 Laptop

2012-07-01 Thread littlebat
Package: linux-image-3.2.0-0.bpo.1-amd64
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.", so I report it as a kernel 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 pointerid=4[slave  pointer  (2)]
⎜   ↳  USB OPTICAL MOUSEid=11   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouseid=14   [slave  pointer  (2)]
⎣ Virtual core keyboard id=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)]
↳ 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 keyboard  id=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 have not use 

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

2012-07-01 Thread littlebat
Package: xserver-xorg-input-synaptics (Maybe
"linux-image-3.2.0-0.bpo.1-amd64 Version: 3.2.4-1~bpo60+1" is more
suitable?)
Version: 1.4.1-1~bpo60+1

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.

"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 pointerid=4[slave  pointer  (2)]
⎜   ↳  USB OPTICAL MOUSEid=11   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouseid=14   [slave  pointer  (2)]
⎣ Virtual core keyboard id=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)]
↳ 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 keyboard  id=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"

System information:

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

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 have not use cat *.patch | patch -p1, just copy the
modified code into linux-source-3.2 and recompile psmouse.ko. But no
lucky.

My DMI information:

me@debian:/sys/class/dmi/id$ for file in *; do if [ -f "$fil

Bug#651741: gnome-power-manager: display backlight brightness has no effect on Sony Vaio VPCYA1V9E

2012-06-21 Thread littlebat
It seems adding only one kernel parameter "acpi_backlight=vendor" also
works on my G360 now. But, both methods of adding kernel parameters will
stop work occasionly.

The detail of my case see:
Bug 44809 - [Arrandale backlight] Brightness via RANDR has no effect on
Sony VAIO VPCYA1V9E: https://bugs.freedesktop.org/show_bug.cgi?id=44809

2012/6/12 littlebat 

> Added "acpi_backlight=vendor acpi_osi=linux video.brightness_switch_enabled=1"
> into grub boot kernel parameters, "Fn + Up/Down" to change brigtness works on
> my G360. It's no need to write a Udev rules like my previous method.
>
>


Bug#651741: gnome-power-manager: display backlight brightness has no effect on Sony Vaio VPCYA1V9E

2012-06-11 Thread littlebat
Added "acpi_backlight=vendor acpi_osi=linux video.brightness_switch_enabled=1"
into grub boot kernel parameters, "Fn + Up/Down" to change brigtness works on
my G360. It's no need to write a Udev rules like my previous method.


Bug#651741: gnome-power-manager: display backlight brightness has no effect on Sony Vaio VPCYA1V9E

2012-06-07 Thread littlebat
Hi,
I think I found a easy and least effect to the existed things' way for
adjusting intel_backlight using udev rules.
I noticed "change" action of "backlight" subsystem when I press Fn +
PgUp/PgDn on my lenovo G360 + 3.2 Kernel notebook. So I wrote a rules of
"/etc/udev/rules.d/99-writeintelbacklight.rules" as below:

ACTION=="change", SUBSYSTEM=="backlight",
RUN+="/usr/sbin/writeintelbacklight.sh"

A shell: "/usr/sbin/writeintelbacklight.sh"

#!/bin/bash

intelmaxbrightness=`cat
/sys/class/backlight/intel_backlight/max_brightness`
acpimaxbrightness=`cat /sys/class/backlight/acpi_video0/max_brightness`
scale=`expr $intelmaxbrightness / $acpimaxbrightness`
acpibrightness=`cat /sys/class/backlight/acpi_video0/brightness`
newintelbrightness=`expr $acpibrightness \* $scale`
curintelbrightness=`cat
/sys/class/backlight/intel_backlight/actual_brightness`
if [ "$newintelbrightness" -ne "$curintelbrightness" ]
then
  echo $newintelbrightness >
/sys/class/backlight/intel_backlight/brightness
fi
exit 0

Of course, you need do a "sudo chmod +x /usr/sbin/writeintelbacklight.sh