public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Trackpoint (psmouse) dead after suspend/resume (S3)
@ 2004-07-19 22:43 ole.rohne-vJEk5272eHo
       [not found] ` <yzollhfbou5.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: ole.rohne-vJEk5272eHo @ 2004-07-19 22:43 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: vojtech-+ZI9xUNit7I

On 2.6.7, the suspend/resume cycle kills the trackpoint on my Fujitsu
P2120. This definitely worked before, but I can't figure out what the
critical change is. Here is the approximate history:

2.5.xx: keyboard and trackpoint dead, reloading psaux module fixes both
2.6.4: both devices work, no reloading necessary
2.6.7: keyboard works, trackpoint dead, reloading psmouse doesn't help

I've poked around a bit and it seems that all writes to the AUX-port
times out, this causes the psmouse to disconnect.

Any suggestions appreciated, Ole



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trackpoint (psmouse) dead after suspend/resume (S3)
       [not found] ` <yzollhfbou5.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2004-07-27 13:52   ` Vojtech Pavlik
       [not found]     ` <20040727135215.GA20701-+ZI9xUNit7I@public.gmane.org>
  2004-08-11 13:18   ` Pavel Machek
  1 sibling, 1 reply; 6+ messages in thread
From: Vojtech Pavlik @ 2004-07-27 13:52 UTC (permalink / raw)
  To: ole.rohne-vJEk5272eHo; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, Jul 20, 2004 at 12:43:14AM +0200, ole.rohne-vJEk5272eHo@public.gmane.org wrote:
> On 2.6.7, the suspend/resume cycle kills the trackpoint on my Fujitsu
> P2120. This definitely worked before, but I can't figure out what the
> critical change is. Here is the approximate history:
> 
> 2.5.xx: keyboard and trackpoint dead, reloading psaux module fixes both
> 2.6.4: both devices work, no reloading necessary
> 2.6.7: keyboard works, trackpoint dead, reloading psmouse doesn't help
> 
> I've poked around a bit and it seems that all writes to the AUX-port
> times out, this causes the psmouse to disconnect.
 
There's a bug in the s3 code in 2.6.7 that doesn't call the proper
callbacks upon resume. IIRC this was fixed recently.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trackpoint (psmouse) dead after suspend/resume (S3)
       [not found]     ` <20040727135215.GA20701-+ZI9xUNit7I@public.gmane.org>
@ 2004-07-27 14:55       ` ole.rohne-vJEk5272eHo
  0 siblings, 0 replies; 6+ messages in thread
From: ole.rohne-vJEk5272eHo @ 2004-07-27 14:55 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Vojtech> There's a bug in the s3 code in 2.6.7 that doesn't call the
Vojtech> proper callbacks upon resume. IIRC this was fixed recently.

Thanks for letting me know!

For the Fujitsu P2120 I ended up having to change the DSDT for it to
work with 2.6.7. I'll try and see if the stock DSDT works with 2.6.8
when it comes out.

Regards, Ole



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trackpoint (psmouse) dead after suspend/resume (S3)
       [not found] ` <yzollhfbou5.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  2004-07-27 13:52   ` Vojtech Pavlik
@ 2004-08-11 13:18   ` Pavel Machek
       [not found]     ` <20040811131848.GA1120-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2004-08-11 13:18 UTC (permalink / raw)
  To: ole.rohne-vJEk5272eHo
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, vojtech-+ZI9xUNit7I

Hi!

> 2.5.xx: keyboard and trackpoint dead, reloading psaux module fixes both
> 2.6.4: both devices work, no reloading necessary
> 2.6.7: keyboard works, trackpoint dead, reloading psmouse doesn't help
> 
> I've poked around a bit and it seems that all writes to the AUX-port
> times out, this causes the psmouse to disconnect.
> 
> Any suggestions appreciated, Ole

See if psmouse.proto=bare helps?
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trackpoint (psmouse) dead after suspend/resume (S3)
       [not found]     ` <20040811131848.GA1120-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
@ 2004-08-11 20:06       ` Nathan Bryant
       [not found]         ` <411A7C39.3050707-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Bryant @ 2004-08-11 20:06 UTC (permalink / raw)
  To: ole.rohne-vJEk5272eHo
  Cc: Pavel Machek, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	vojtech-+ZI9xUNit7I

Pavel Machek wrote:
> Hi!
> 
> 
>>2.5.xx: keyboard and trackpoint dead, reloading psaux module fixes both
>>2.6.4: both devices work, no reloading necessary
>>2.6.7: keyboard works, trackpoint dead, reloading psmouse doesn't help
>>
>>I've poked around a bit and it seems that all writes to the AUX-port
>>times out, this causes the psmouse to disconnect.
>>
>>Any suggestions appreciated, Ole
> 
> 
> See if psmouse.proto=bare helps?

maybe also i8042.reset?

Ole, is it losing interrupts or is it completely dead? I know that serio 
only has knowledge of the generic i8042 device; in most cases it doesn't 
know a lot about initializing multi-function controller chips, such as 
the Winbond. The Winbond documentation is a little obscure on this 
subject - OK, a lot obscure - depending on which chip docs you look at, 
it only lists the register maps and doesn't describe the I/O port 
accesses needed to set the registers. However, if you look at 
parport_pc.c, you can see how to access the registers.

In any case, psmouse is just a shim between input and serio, not the 
driver itself, so as you have seen, reloading it doesn't help in most cases.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trackpoint (psmouse) dead after suspend/resume (S3)
       [not found]         ` <411A7C39.3050707-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
@ 2004-08-12  5:13           ` ole.rohne-vJEk5272eHo
  0 siblings, 0 replies; 6+ messages in thread
From: ole.rohne-vJEk5272eHo @ 2004-08-12  5:13 UTC (permalink / raw)
  To: Nathan Bryant
  Cc: Pavel Machek, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	vojtech-+ZI9xUNit7I

Ole> 2.5.xx: keyboard and trackpoint dead, reloading psaux module fixes both
Ole> 2.6.4: both devices work, no reloading necessary
Ole> 2.6.7: keyboard works, trackpoint dead, reloading psmouse doesn't help

Pavel> See if psmouse.proto=bare helps?

Nathan> maybe also i8042.reset?

I had concluded that the track-point hardware was in fact not powered
up and I was able to work around the problem by telling BIOS I'm
running some Windows. This makes the S3 resume sequence take notably
longer - it used to wake up almost promptly but now it spends a few
seconds flashing various symbols ("LEDs") before it comes back to C.

Strangely, it seems that I have to use a custom DSDT where I
explicitly initialize "Name (TOSS, 0x01)", I'm not able to achieve the
same effect by means of acpi_osi.

Strangely as well, 2.6.4 worked (and had the "long" resume
sequence) with the stock DSDT.

Thanks, Ole


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-12  5:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 22:43 Trackpoint (psmouse) dead after suspend/resume (S3) ole.rohne-vJEk5272eHo
     [not found] ` <yzollhfbou5.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-07-27 13:52   ` Vojtech Pavlik
     [not found]     ` <20040727135215.GA20701-+ZI9xUNit7I@public.gmane.org>
2004-07-27 14:55       ` ole.rohne-vJEk5272eHo
2004-08-11 13:18   ` Pavel Machek
     [not found]     ` <20040811131848.GA1120-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-08-11 20:06       ` Nathan Bryant
     [not found]         ` <411A7C39.3050707-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
2004-08-12  5:13           ` ole.rohne-vJEk5272eHo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox