2004-04-16 10:29:35

by Mattia Dongili

[permalink] [raw]
Subject: [2.6.5] problems with synaptics/psmouse/atkbd

[please could you Cc me as I'm not subscribed to linux-kernel]

Hi,

I'm having problems (since 2.6.3 now trying with 2.6.5).
Main symptom is that my synaptics touchpad isn't detected after a cold
boot. After a warm boot it's detected correctly though.
In the cold boot case I have some weird behaviours loading psmouse:
[...]
psmouse_probe(): Probing mouse
psmouse_probe(): sending 0xa5
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
psmouse_probe(): Probing mouse
psmouse_probe(): sending 0xa5
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
psmouse_probe(): Probing mouse
psmouse_probe(): sending 0xa5
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
psmouse_probe(): Probing mouse
psmouse_probe(): sending 0xa5
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

but XFree86 is not running! (I also added some further debug printks in
psmouse_probe and psmouse_extensions but the latter is never reached)

unloading psmouse also disables the keyboard and prints a flood of
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

this is /proc/bus/input/devices without synaptics touchpad

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd event1
B: EV=40001
B: SND=6

I: Bus=0010 Vendor=104d Product=0000 Version=0000
N: Name="Sony VAIO Jog Dial"
P: Phys=
H: Handlers=mouse0 event2
B: EV=7
B: KEY=40000 0 0 0 0 0 0 0 0
B: REL=100

I: Bus=0003 Vendor=046d Product=c001 Version=0410
N: Name="Logitech USB Mouse"
P: Phys=usb-0000:00:1d.1-1/input0
H: Handlers=mouse1 event3
B: EV=f
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: ABS=100 0

after a warm boot it adds:

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse2 event4
B: EV=b
B: KEY=6420 0 670000 0 0 0 0 0 0 0 0
B: ABS=11000003

and this is the relevant part of dmesg:
...
psmouse_probe(): Probing mouse
psmouse_probe(): sending 0xa5
psmouse_probe(): has an extended protocol?
psmouse_extensions(): Going to probe Synaptics
psmouse_extensions(): Synaptics seems to be here
usb 2-1: new low speed USB device using address 2
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.1-1
Synaptics Touchpad, model: 1
Firmware: 5.9
Sensor: 37
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
psmouse_extensions(): Synaptics inited!
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
...

any help/patch to spot the problem? Need more info?
thanks in advance
--
mattia
:wq!
Hodie decimo sexto Kalendas Maias MMDCCLVII ab urbe condita est


2004-04-16 12:53:11

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [2.6.5] problems with synaptics/psmouse/atkbd

On Friday 16 April 2004 05:29 am, Mattia Dongili wrote:
> [please could you Cc me as I'm not subscribed to linux-kernel]
>
> Hi,
>
> I'm having problems (since 2.6.3 now trying with 2.6.5).
> Main symptom is that my synaptics touchpad isn't detected after a cold
> boot. After a warm boot it's detected correctly though.

Does it help if you load USB modules (*hci-hcd) first and then psmouse?

--
Dmitry

2004-04-16 13:35:34

by Mattia Dongili

[permalink] [raw]
Subject: Re: [2.6.5] problems with synaptics/psmouse/atkbd

On Fri, Apr 16, 2004 at 07:53:00AM -0500, Dmitry Torokhov wrote:
> On Friday 16 April 2004 05:29 am, Mattia Dongili wrote:
> > [please could you Cc me as I'm not subscribed to linux-kernel]
> >
> > Hi,
> >
> > I'm having problems (since 2.6.3 now trying with 2.6.5).
> > Main symptom is that my synaptics touchpad isn't detected after a cold
> > boot. After a warm boot it's detected correctly though.
>
> Does it help if you load USB modules (*hci-hcd) first and then psmouse?

no, it's already that way (I changed the modules loading order at 2.6.1
time when the synaptics mouse was being stolen by usb[1]):
# cat /etc/modules
uhci-hcd
hid
agpgart
intel-agp
radeon
pcspkr
evdev
speedstep-ich
sonypi
#parport_pc
#lp
psmouse

Also, I cannot disable USB Legacy support from bios.

I'm using a sony vaio gr7/k - same chipset as
PCG-GR214EP/GR214MP/GR215MP/GR314MP/GR315MP:
# lspci | grep -i usb
0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 01)

the really weird things are the *This is an XFree86 bug* messages, when
xfree isn't even running. Any idea? more debug printks I might add?

thanks (please still Cc me)

[1]: http://marc.theaimsgroup.com/?l=linux-kernel&m=107512283220051&w=2
--
mattia
:wq!
Hodie decimo sexto Kalendas Maias MMDCCLVII ab urbe condita est