Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-03-04 Thread Yahya Mohammad
 What I did to solve this was to emerge the newest ati-drivers, which as of
 today is 8.455.2-r1. I also installed radeontool and vbetool. I made the
 changes in my common.conf and also in my ram.conf in /etc/hibernate to
 enable vbetool and radeontool. If you need these files, I'll gladly post
 them up. 

Could you please post those files? I haven't had any luck so far even
with 8.455.2-r1 drivers. Thanks in advance.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-03-04 Thread Gafei Szeto

Here's my /etc/hibernate/ram.conf and common.conf

http://www.nabble.com/file/p15841943/common.conf common.conf 

http://www.nabble.com/file/p15841943/ram.conf ram.conf 




Yahya Mohammad-2 wrote:
 
 
 Could you please post those files? I haven't had any luck so far even
 with 8.455.2-r1 drivers. Thanks in advance.
 -- 
 gentoo-user@lists.gentoo.org mailing list
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Suspend-Hibernate-on-Dell-Inspiron-6000-tp15666510p15841943.html
Sent from the gentoo-user mailing list archive at Nabble.com.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-02-29 Thread Gafei Szeto

Hey, I actually had the same problem as the original poster. I have the Dell
Inspiron 6000 as well. I had the ati 8.40.4 driver and I recently upgraded
my kernel from linux-2.6.21-suspend2-r7 to various versions of
linux-2.6.23-tuxonice sources just to try to get it to suspend to ram
properly. Suspend to ram would suspend, but would fail to resume within
Gnome. 

There seems to be a problem with the ati 8.40.4 drivers with the newest
linux-2.6.23 and .24 tuxonice-sources, because I have tried almost every
single combination to try to get suspend to ram working correctly. 

What I did to solve this was to emerge the newest ati-drivers, which as of
today is 8.455.2-r1. I also installed radeontool and vbetool. I made the
changes in my common.conf and also in my ram.conf in /etc/hibernate to
enable vbetool and radeontool. If you need these files, I'll gladly post
them up. 

With the linux-2.6.21-suspend2-r7 kernel, I did not have to use any of those
tools to help me resume but with the linux-2.6.23-tuxonice-sources I did.
I'm currently running linux-2.6.23-tuxonice-r10.



Iain Buchanan wrote:
 
 
 On Wed, 2008-02-27 at 12:30 +0400, Yahya Mohammad wrote:
  
  As you can tell, I'm stabbing in the dark!  If you ultimately get
  nowhere, then the suspend2 users list has excellent help from some of
  the devs.
 
 I'll check that list out too, thanks. It is quite a hassle testing this
 though, next time I'm getting one of those vendor supported linux
 laptops.
 
 Hence the reason I recommend the suspend2 list, so that I don't make it
 more of a hassle for you than it needs to be!
 
  Right now, I hope to get this working, and publish my settings
 so others may be saved from the trouble.
 
 good idea.  That's what I did with my laptop.
 
 cya,
 -- 
 Iain Buchanan iaindb at netspace dot net dot au
 
 Quid me anxius sum?
 
 [ What? Me, worry? ]
 
 -- 
 gentoo-user@lists.gentoo.org mailing list
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Suspend-Hibernate-on-Dell-Inspiron-6000-tp15666510p15769006.html
Sent from the gentoo-user mailing list archive at Nabble.com.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-02-27 Thread Yahya Mohammad

On Wed, Feb 27, 2008 at 08:18:37AM +0930, Iain Buchanan wrote:
 I've never tried suspend to ram, so I don't have much help.  Did you try
 this with xdm shut down also?  You could try the vbetool settings in
 common.conf. Also, try with/without combinations of SwitchToTextMode,
 userui_program, etc.  And I don't know what AcpiVideoS3Bios but it's
 worth a try.

Yes, I did try with xdm shut down. When I enabled vbetool, hibernate to
disk stopped resuming too. I either got a blank screen, or one that
displayed lots of colors in a weird pattern before slowly turning off.

 As you can tell, I'm stabbing in the dark!  If you ultimately get
 nowhere, then the suspend2 users list has excellent help from some of
 the devs.

I'll check that list out too, thanks. It is quite a hassle testing this
though, next time I'm getting one of those vendor supported linux
laptops. Right now, I hope to get this working, and publish my settings
so others may be saved from the trouble.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-02-26 Thread Yahya Mohammad
Here's my progress so far:

I installed the 2.6.23-tuxonice-r10 kernel, ati-drivers-8.40.4,
hibernate-script-1.97-r4, and radeontool-1.5-r3. After this hibernate to
disk started working but only from the console with xdm shut off. The
logs showed an extra_pages_allowance is currently only 500 message.

I then added `ProcSetting extra_pages_allowances 7500` to suspend2.conf
after reading some of the links you mentioned, and now hibernate to disk
works and resumes within X, and also using Hibernate button in Gnome's
shutdown menu. Thanks!!

Suspend to ram works but does not resume as before. The laptop seems to
be on, but there's a blank screen, and I can't ping the machine. I get
the same results from the virtual console as well.

The logs after attempting a suspend to ram are at 
http://buraaq.org/~yahya/suspend/hibernate.log
My /etc/hibernate directory is at
http://buraaq.org/~yahya/suspend/hibernate/

I'll try different versions of ati-drivers soon and report results,
until then any other suggestions are most welcome!

Best regards,
Yahya
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-02-26 Thread Iain Buchanan

On Tue, 2008-02-26 at 22:03 +0400, Yahya Mohammad wrote:

 I then added `ProcSetting extra_pages_allowances 7500` to suspend2.conf

ah yes, this is a great one isn't it?!  This had me stumped for a while.
It might a higher number for future driver versions, so always check if
you have the right value for extra_pages_allowances if suspend2 fails
later.

 Suspend to ram works but does not resume as before. The laptop seems to
 be on, but there's a blank screen, and I can't ping the machine. I get
 the same results from the virtual console as well.

I've never tried suspend to ram, so I don't have much help.  Did you try
this with xdm shut down also?  You could try the vbetool settings in
common.conf. Also, try with/without combinations of SwitchToTextMode,
userui_program, etc.  And I don't know what AcpiVideoS3Bios but it's
worth a try.

As you can tell, I'm stabbing in the dark!  If you ultimately get
nowhere, then the suspend2 users list has excellent help from some of
the devs.

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

I'll say it again for the logic impaired.
 -- Larry Wall

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Suspend/Hibernate on Dell Inspiron 6000

2008-02-25 Thread Iain Buchanan

On Mon, 2008-02-25 at 15:38 +0400, Yahya Mohammad wrote:
 Hi list,
 
 I have a three year old Inspiron 6000 laptop with ATI Mobility Radeon
 X300 graphics. I can't get the laptop to resume from suspend or
 hibernate.  I have gentoo-sources 2.6.23-r3, hibernate-script and
 ati-drivers-8.40.4 installed.

I have an 3ish yr old Inspiron 9100, with an ATI Mobility 9600/9700
(RV350?).  Apparently mine is a special case...

 Both hibernate and suspend used to work a long time ago, but stopped
 after a few `emerge -uDN world`s. The older package versions when it
 used to work aren't in the portage tree anymore :(

I've had mixed success over the last 3 years.  Various versions and
combinations of ati-drivers and kernels did / didn't work.  Simple
solution could be because some names have changed recently. (suspend2 
tuxonice, eg).

The other think I can suggest is to try various versions of each.  At
least try ati-drivers 8.452 flavour, and some ati-drivers 8.35.x to
8.40.4 versions as well.

There's also suspend2-sources.  er, that's tuxonice-sources now.  Try
unstable sources and hibernate-script as well.  Are you using suspend or
suspend2?

You might also want to check out radeontool.

 Does the suspend/hibernate process produce logs anywhere? I don't see
 anything in /var/log/*

post the output when you get logging going from the other suggestion.

 Will using open source drivers for my graphics chipset help in making
 suspend/hibernate work? And how do they handle 3D for this chipset? I
 don't play games, but it would be nice to use Compiz once it's stable in
 portage.

I think the X300 has decent success, unlike mine :(  There was some help
on the wiki... OK there are a few links you probably want to read:
http://gentoo-wiki.com/HOWTO_ATI_Drivers
http://gentoo-wiki.com/HOWTO_Software_Suspend_v2 (your card is known to
work)
http://gentoo-wiki.com/HOWTO_XGL/Troubleshooting
http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL

 Thanks for any pointers.

np,
-- 
Iain Buchanan iaindb at netspace dot net dot au

He who despises himself nevertheless esteems himself as a self-despiser.
-- Friedrich Nietzsche

-- 
gentoo-user@lists.gentoo.org mailing list