Discussion:
kernel with swsusp
Rui Miguel Seabra
2003-11-10 17:27:44 UTC
Permalink
Hi,

Is anyone trying working on adding swsusp to Fedora's Linux? I'd be
willing to collaborate, but I doubt I can bring it on all by myself.

Yours, Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Klaasjan Brand
2003-11-10 19:11:41 UTC
Permalink
Post by Rui Miguel Seabra
Hi,
Is anyone trying working on adding swsusp to Fedora's Linux? I'd be
willing to collaborate, but I doubt I can bring it on all by myself.
Don't know for sure, but swsuspend is integrated in the 2.6 kernel of
which there are test rpms at: http://people.redhat.com/arjanv/2.5/

Klaasjan
Rui Miguel Seabra
2003-11-10 19:33:35 UTC
Permalink
Post by Klaasjan Brand
Don't know for sure, but swsuspend is integrated in the 2.6 kernel of
which there are test rpms at: http://people.redhat.com/arjanv/2.5/
I'd rather check for a backport than jump into the 2.6 world right now.
I have absolutely no suspend: this is an acpi only laptop, and S3 does
nothing on it.

So nobody else is trying or has tried to bundle swsusp with the
currently distributed kernel?

Thanks, Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Nicolas Mailhot
2003-11-10 19:50:37 UTC
Permalink
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Don't know for sure, but swsuspend is integrated in the 2.6 kernel of
which there are test rpms at: http://people.redhat.com/arjanv/2.5/
I'd rather check for a backport than jump into the 2.6 world right now.
I have absolutely no suspend: this is an acpi only laptop, and S3 does
nothing on it.
Not to mention suspend on 2.6 is not really ready now (last time I
chacked there were three ! different implementations competing)
Post by Rui Miguel Seabra
So nobody else is trying or has tried to bundle swsusp with the
currently distributed kernel?
OTOH, there are loads of stuff available in 2.6 that people have been
awaiting for ages (alsa, ipsec, acls, xfs, sane cd burning, dm, udev...)
At this point fedora devel should switch to 2.6 asap to get it ready for
FC2. 2.4 enhancements seem more a job for the legacy project now.

Cheers,
--
Nicolas Mailhot
Philip Balister
2003-11-10 20:09:03 UTC
Permalink
Post by Nicolas Mailhot
Post by Rui Miguel Seabra
I'd rather check for a backport than jump into the 2.6 world right now.
I have absolutely no suspend: this is an acpi only laptop, and S3 does
nothing on it.
Not to mention suspend on 2.6 is not really ready now (last time I
chacked there were three ! different implementations competing)
Post by Rui Miguel Seabra
So nobody else is trying or has tried to bundle swsusp with the
currently distributed kernel?
Add me to the list of people interested in improving laptop support
for Fedora. I might be able to spend some time working/testing, but
I want to make sure I am doing the right thing before I start fooling
with this stuff.

It seems like there are two choices:

1) Fix 2.4 kernel distributed with fedora, or
2) WOrk with 2.6 kernel.

Which is the best choice?

Philip
Rui Miguel Seabra
2003-11-10 23:36:18 UTC
Permalink
Post by Nicolas Mailhot
Post by Rui Miguel Seabra
I'd rather check for a backport than jump into the 2.6 world right now.
I have absolutely no suspend: this is an acpi only laptop, and S3 does
nothing on it.
Not to mention suspend on 2.6 is not really ready now (last time I
chacked there were three ! different implementations competing)
Well, swsusp seems to be working right enough on 2.6 (yes, I dared), but
I had to come back: natsemi not working == !eth == BAD BAD!
Post by Nicolas Mailhot
OTOH, there are loads of stuff available in 2.6 that people have been
awaiting for ages (alsa, ipsec, acls, xfs, sane cd burning, dm, udev...)
At this point fedora devel should switch to 2.6 asap to get it ready for
FC2. 2.4 enhancements seem more a job for the legacy project now.
I think so. Most of the things I like on RedHat's (now Fedora's) kernel
is that it has cool things backported to the stable kernel. With 2.6
they're there, but 2.6 needs heavy testing.

Before I noticed I had no eth, I tested swsusp and acpi which seemed to
be fine. Then I went for alsa, when I remembered I didn't have the
required utils, and when I tried to fetch them DUH no net.

Basically, natsemi loads, the interface gets up, but I see no packets
going on with tcpdump except for me who-has'ing the net for my home gw.

Hugs, Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Klaasjan Brand
2003-11-11 08:24:03 UTC
Permalink
Post by Rui Miguel Seabra
Post by Nicolas Mailhot
Not to mention suspend on 2.6 is not really ready now (last time I
chacked there were three ! different implementations competing)
Well, swsusp seems to be working right enough on 2.6 (yes, I dared), but
I had to come back: natsemi not working == !eth == BAD BAD!
Could you please submit a bug report or help te developers get that
driver working? 2.6 will always be "bad" if noone makes sure things get
fixed...

Klaasjan
Rui Miguel Seabra
2003-11-11 01:09:10 UTC
Permalink
Post by Klaasjan Brand
Post by Rui Miguel Seabra
Post by Nicolas Mailhot
Not to mention suspend on 2.6 is not really ready now (last time I
chacked there were three ! different implementations competing)
Well, swsusp seems to be working right enough on 2.6 (yes, I dared), but
I had to come back: natsemi not working == !eth == BAD BAD!
Could you please submit a bug report or help te developers get that
driver working? 2.6 will always be "bad" if noone makes sure things get
fixed...
Where's the best place for driver bug reports? The developer listed for
it or is there a bugzilla for Linux?

Anyway, I found out that the problem was that the driver didn't like the
swsusp thing, so I just changed the acpi script I made to unload natsemi
before suspending.

Right now, all that's missing is the 'wheel' of this HP/Compaq NX9010
which is misteriously gone.


Hugs, Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Klaasjan Brand
2003-11-11 10:58:55 UTC
Permalink
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Could you please submit a bug report or help te developers get that
driver working? 2.6 will always be "bad" if noone makes sure things get
fixed...
Where's the best place for driver bug reports? The developer listed for
it or is there a bugzilla for Linux?
It's on http://bugzilla.kernel.org/
Alternatively you could try harassing the maintainer of swsuspend or the
driver, I've found out that actually works ;)
Post by Rui Miguel Seabra
Anyway, I found out that the problem was that the driver didn't like the
swsusp thing, so I just changed the acpi script I made to unload natsemi
before suspending.
Which is a bug that should be fixed...
Post by Rui Miguel Seabra
Right now, all that's missing is the 'wheel' of this HP/Compaq NX9010
which is misteriously gone.
Is that a "wheel mouse" problem?

Klaasjan
Rui Miguel Seabra
2003-11-11 11:09:34 UTC
Permalink
Post by Klaasjan Brand
Post by Rui Miguel Seabra
Right now, all that's missing is the 'wheel' of this HP/Compaq NX9010
which is misteriously gone.
Is that a "wheel mouse" problem?
With Linux 2.4.22-1.2115.nptl the mouse pad works (including 'wheel' --
which in fact is part of the mousepad), and XFree's driver is mouse.

With Linux 2.6.0-test9 the mouse pad works partially (no 'wheel').
Trying to solve this, I added support for synaptics (the pad seems to be
a synaptics) but X wouldn't support the mouse pad.
I tried using a more recent driver for X, it would load, but I'd have no
mouse pad, only button 1 and button 3 (no middle even with Emulate).

It might be a matter of XFree86 driver for the pad, so I will wait for a
newer release, swsusp is a benefit that compensates lack of a 'wheeled'
mouse (if if I was getting used to it *sigh*).

Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Klaasjan Brand
2003-11-11 11:23:49 UTC
Permalink
Post by Rui Miguel Seabra
With Linux 2.6.0-test9 the mouse pad works partially (no 'wheel').
Trying to solve this, I added support for synaptics (the pad seems to be
a synaptics) but X wouldn't support the mouse pad.
I tried using a more recent driver for X, it would load, but I'd have no
mouse pad, only button 1 and button 3 (no middle even with Emulate).
Synaptics is known to be problematic, but the choice remains yours: do
nothing and hope other people fix it, or try helping the driver
maintainer to fix it.

Klaasjan
Rui Miguel Seabra
2003-11-11 11:34:09 UTC
Permalink
Post by Klaasjan Brand
Synaptics is known to be problematic, but the choice remains yours: do
nothing and hope other people fix it, or try helping the driver
maintainer to fix it.
I would like to help, but I don't know if I am capable :|.
I don't even know whether it's just a Linux problem, or an XFree86
problem or both :}
What I know is that the mouse support in Linux 2.4 get's me a fully
working mousepad, but the driver interface may have changed ever so
slightly, and development series X might support it properly already. I
don't know.

Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Klaasjan Brand
2003-11-11 12:03:17 UTC
Permalink
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Synaptics is known to be problematic, but the choice remains yours: do
nothing and hope other people fix it, or try helping the driver
maintainer to fix it.
I would like to help, but I don't know if I am capable :|.
Often just reporting to the driver author if some changes improve the
situation or not can be helpful.
Post by Rui Miguel Seabra
I don't even know whether it's just a Linux problem, or an XFree86
problem or both :}
If it's working with 2.4 my guess would be a kernel problem. The event
interface is fairly standardized (unless synaptics is some weird special
case of course...)
Post by Rui Miguel Seabra
What I know is that the mouse support in Linux 2.4 get's me a fully
working mousepad, but the driver interface may have changed ever so
slightly, and development series X might support it properly already. I
don't know.
Could be, maybe you could try the redhat-xfree86 mailing list.

Klaasjan
Nicolas Mailhot
2003-11-11 12:10:17 UTC
Permalink
Post by Klaasjan Brand
If it's working with 2.4 my guess would be a kernel problem. The event
interface is fairly standardized (unless synaptics is some weird special
case of course...)
The synaptics driver in 2.6 is a new implementation. It needs updated
userspace (XFree driver). Since I don't have a synaptics device, can't
comment on the new driver quality.

Cheers,
--
Nicolas Mailhot
Rui Miguel Seabra
2003-11-11 12:19:56 UTC
Permalink
Post by Klaasjan Brand
Often just reporting to the driver author if some changes improve the
situation or not can be helpful.
I'm going to try arjanv's Linux rpms first.

Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Rui Miguel Seabra
2003-11-11 12:40:34 UTC
Permalink
Same problem, as I expected.
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Often just reporting to the driver author if some changes improve the
situation or not can be helpful.
I'm going to try arjanv's Linux rpms first.
Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Philipp Huegelmeyer
2003-11-11 16:42:04 UTC
Permalink
Post by Rui Miguel Seabra
Same problem, as I expected.
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Often just reporting to the driver author if some changes improve the
situation or not can be helpful.
I'm going to try arjanv's Linux rpms first.
Rui
Have a look at this:
http://kerneltrap.org/node/view/1587

seems like mouse is a real problem in 2.6
--
Philipp H\"ugelmeyer <***@uos.de> Universit\"at Osnabr\"uck
Tel: 0541-969-3351 (B\"uro)Zentrum VirtUOS
Fax: 0541-969-3352 Rolandstr 8 D-49069
url: http:/www.error-42.de http://www.virtuos.uos.de
------------------------------------------------------------------
pgp-fingerprint: D008 BB2B 0B48 80EC CDF0 CBF0 D665 8CFF 63D9 DF8A
Axel Thimm
2003-11-11 11:13:19 UTC
Permalink
Post by Rui Miguel Seabra
Post by Klaasjan Brand
Don't know for sure, but swsuspend is integrated in the 2.6 kernel of
which there are test rpms at: http://people.redhat.com/arjanv/2.5/
I'd rather check for a backport than jump into the 2.6 world right now.
I have absolutely no suspend: this is an acpi only laptop, and S3 does
nothing on it.
So nobody else is trying or has tried to bundle swsusp with the
currently distributed kernel?
I tried based on patches provided by Tom "spot" Callaway on
http://people.redhat.com/tcallawa/swsusp/

There are some people that have tried to get swsusp working with nptl
on swsusp-***@lists.sourceforge.net.
--
***@physik.fu-berlin.de
Loading...