Re: 2.6-test4 problems: suspend and touchpad

From: Pavel Machek
Date: Tue Sep 16 2003 - 12:18:07 EST


Hi!

> >>> 2. suspend/resume. With version 2.6test2+acpi patch both swsusp
> and
> >>> "echo 3 >/proc/acpi/sleep" worked, being able to somehow
> >>> successfully resume. In version 2.6test4 there is no
> >>> /proc/acpi/sleep and swsusp hangs somwhere during an IDE call (I
> can
> >>> hand-copy the trace if needed).
> >>>
> >>
> >>
> >> Would you please try the latest -mm patch (2.6.0-test5-mm1, I
> >> believe) and report your findings?
> >>
> >
> > Well, the 2.6.0-test5-mm1 does not compile on my system (SuSE 8.2,
> gcc
> > version 3.3 20030226 (prerelease) ):
>
> Ok, I solved the compilation problems and with this kernel swsusp
> does not hang anymore.
> The resume works however the network adapter (Broadcom 4400) does not
> even when restarting the network.
> ifconfig eth0 shows very big counters:
> eth0 Link encap:Ethernet HWaddr 00:C0:9F:26:C7:15
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:819 errors:4294966560 dropped:0 overruns:0
> frame:4294966836
> TX packets:865 errors:4294966836 dropped:0 overruns:0
> carrier:4294967118
> collisions:4294967204 txqueuelen:100
> RX bytes:956732 (934.3 Kb) TX bytes:89228 (87.1 Kb)
> Interrupt:5
>
>
> Any ideas? Maybe the driver for this network card does not
> (correctly) implement suspend/resume ?

Pretty probable. Look at the driver sources, and if there's no _suspend method, write one.
If you ifconfig down before suspend, does it help?
--
Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/