View previous topic :: View next topic |
Author |
Message |
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Wed Oct 27, 2004 9:31 am Post subject: |
|
|
Quote: | benh released a patch to allow sleep on AluBooks with ATi chipsets. |
great, thanks, will try out and let ya know how it works !
cheers _________________ Error: Failing not supported by current locale |
|
Back to top |
|
|
sebug n00b
Joined: 27 Oct 2004 Posts: 1
|
Posted: Wed Oct 27, 2004 9:26 pm Post subject: Sleep patch works on PB 15" Aluminium |
|
|
As far as I can see, everything works fine. There is some white, then violet text on black screen before I get my X11 back, messages like "resume is unsafe", but everything displays ok afterwards. |
|
Back to top |
|
|
blubbfisch n00b
Joined: 19 Oct 2003 Posts: 55 Location: World->Pacific->New Zealand->Hamilton
|
Posted: Wed Oct 27, 2004 11:53 pm Post subject: |
|
|
yep, seems to work for me too. sometimes a x-console-x switch seems to be necessary to get rid of the occasional flicker.
have fun*
Niklas |
|
Back to top |
|
|
colinleroy n00b
Joined: 24 Nov 2003 Posts: 50
|
Posted: Thu Oct 28, 2004 7:43 am Post subject: Resume is unsafe |
|
|
a Debian User, David Woodhouse, fixed the "resume is unsafe" problem by using the following patch:
Code: |
--- linux-2.6.9/drivers/usb/core/hub.c.susp 2004-10-27 17:30:39.796999176 +0100
+++ linux-2.6.9/drivers/usb/core/hub.c 2004-10-27 17:31:49.991979112 +0100
@@ -1527,12 +1527,12 @@ static int __usb_suspend_device (struct
* even for drivers that can't suspend.
*/
if (!driver->suspend || state > PM_SUSPEND_MEM) {
-#if 1
+#if 0
dev_warn(&intf->dev, "resume is unsafe!\n");
#else
- down_write(&usb_bus_type.rwsem);
+ down_write(&usb_bus_type.subsys.rwsem);
device_release_driver(&intf->dev);
- up_write(&usb_bus_type.rwsem);
+ up_write(&usb_bus_type.subsys.rwsem);
#endif
|
|
|
Back to top |
|
|
gnomeza Tux's lil' helper
Joined: 31 Dec 2003 Posts: 97
|
Posted: Thu Oct 28, 2004 9:16 am Post subject: OT: console switch |
|
|
blubbfisch wrote: | yep, seems to work for me too. sometimes a x-console-x switch seems to be necessary to get rid of the occasional flicker.
|
Off topic but, what X version are you using that you can still do the x-console-x switch? It's been broken on my alubook 15" since I moved to xorg-6.8.0. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu Oct 28, 2004 9:59 am Post subject: |
|
|
In the InputDevice Section, change macintosh in:
Code: | Option "XkbModel" "macintosh" |
to pc104 or pc105. This should fix the problem. If the line doesn't exist, add it. |
|
Back to top |
|
|
HighOnBonsai Apprentice
Joined: 05 Jan 2004 Posts: 260
|
Posted: Thu Oct 28, 2004 6:19 pm Post subject: |
|
|
It works great! Wohoo!!
Christopher _________________ Are YOU high - on bonsai? |
|
Back to top |
|
|
blubbfisch n00b
Joined: 19 Oct 2003 Posts: 55 Location: World->Pacific->New Zealand->Hamilton
|
Posted: Thu Oct 28, 2004 9:47 pm Post subject: Re: OT: console switch |
|
|
gnomeza wrote: |
Off topic but, what X version are you using that you can still do the x-console-x switch? It's been broken on my alubook 15" since I moved to xorg-6.8.0. |
bugger, you're right. I still had xorg-6.7 running. after the update sleep still works, but console-switch is gone, no matter what you put into the conf...
have fun* (nevertheless)
Niklas |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri Oct 29, 2004 12:45 am Post subject: |
|
|
Can you post just the keyboard InputDevice section of your xorg.conf? Thanks. |
|
Back to top |
|
|
blubbfisch n00b
Joined: 19 Oct 2003 Posts: 55 Location: World->Pacific->New Zealand->Hamilton
|
Posted: Fri Oct 29, 2004 4:44 am Post subject: |
|
|
Code: |
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "macintosh"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
|
And I've tried to play with
Option "DontVTSwitch" "Off"
in the ServerLayout section
Have Fun* |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Fri Oct 29, 2004 12:27 pm Post subject: |
|
|
Change it to this:
Code: |
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
|
|
|
Back to top |
|
|
blubbfisch n00b
Joined: 19 Oct 2003 Posts: 55 Location: World->Pacific->New Zealand->Hamilton
|
Posted: Sat Oct 30, 2004 1:35 am Post subject: |
|
|
Right, OK, now I can switch to the console, but the keyboard layout is seriously b0rked....
How can I get the Mode_switch key back?
I used to have those in my .Xmodmap working well together with the "macintosh" layout:
Code: |
!! Apple workarounds
keycode 64 = Mode_switch
keycode 115 = Alt_L
remove Mod4 = Alt_L
add Mod1 = Alt_L
|
which let me access the fancy stuff like @²¼, etc... now I seem to have a German pc-keyboard mapping, which i no good, since the German mac mapping is different!
Have fun*
Niklas |
|
Back to top |
|
|
brianm Tux's lil' helper
Joined: 17 Aug 2004 Posts: 78 Location: Aurora, Illinois, USA
|
Posted: Tue Nov 02, 2004 5:31 pm Post subject: |
|
|
props to benh
will try... _________________ Registered Linux User Nr # 319050
Athlon 64 2.2 @2.5Ghz/1gb RAM/WD Raptors/Nvidia 6800 GT
Aluminum Powerbook G4 (12") |
|
Back to top |
|
|
Hippi@Bacarni n00b
Joined: 08 Mar 2004 Posts: 53 Location: Hannover, DE
|
Posted: Sat Dec 11, 2004 8:08 am Post subject: |
|
|
Hi,
patched teh 2.6.9-gentoo-r9 and it works fine Going to sleep from console and from xorg6.8
I love it! |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sat Dec 11, 2004 8:49 am Post subject: |
|
|
Please try the newer version of the patch instead, it fixes a large number of problems with the one given here.
Thanks! |
|
Back to top |
|
|
Hippi@Bacarni n00b
Joined: 08 Mar 2004 Posts: 53 Location: Hannover, DE
|
Posted: Sat Dec 11, 2004 1:05 pm Post subject: |
|
|
okay. and where can i find the patch. I just the one at the beginnig of this thread. And can I patch the same kernel again, or do i have to get a new unpatched one? |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Dec 12, 2004 2:29 am Post subject: |
|
|
Please see the link I posted at the top of this thread. You'll probably need to remerge the kernel and apply the patch to clean sources. |
|
Back to top |
|
|
|