<br><br><div class="gmail_quote">On Fri, May 9, 2008 at 10:03 PM, Jesse Barnes <<a href="mailto:jbarnes@virtuousgeek.org">jbarnes@virtuousgeek.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday, May 09, 2008 12:41 pm Khashayar Naderehvandi wrote:<br>
> On 5/9/08, Jesse Barnes <<a href="mailto:jbarnes@virtuousgeek.org">jbarnes@virtuousgeek.org</a>> wrote:<br>
> > On Friday, May 09, 2008 10:05 am Khashayar Naderehvandi wrote:<br>
> > > Running ubuntu hardy with a 2.6.25 kernel causes the backlight of my<br>
> ><br>
> > laptop<br>
> ><br>
> > > to remain black after resume. Switching VTs does not help.<br>
> > ><br>
> > > Hardy ships with a 2.6.24 kernel which works just fine, I installed a<br>
> > > 2.6.25 kernel since it causes far fewer wakeups (as observed with<br>
> > > powertop).<br>
> > ><br>
> > > I have also tried the 2.6.24 kernel with drm modules from git. This<br>
> > > also fails on resume.<br>
> > ><br>
> > > The laptop is a dell xps m1330 with an x3100 chipset.<br>
> ><br>
> > Does a suspend/resume from the console after loading the i915 DRM driver<br>
> > fail<br>
> > in the same way?<br>
> ><br>
> ><br>
> > No, that works just fine.<br>
<br>
</div>Ok, so the console always comes back correctly if you suspend from the<br>
console... that's a start.  Are you using vesafb, intelfb, uvesafb or any<br>
other framebuffer drivers?</blockquote><div><br>Not as far as I know, but here's an output of lsmod | grep fb<br><br>fbcon                  42912  0 <br>tileblit                3456  1 fbcon<br>font                    9472  1 fbcon<br>
bitblit                 6784  1 fbcon<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
> In fact, resume works fine sometimes (well, it worked at least once), but<br>
> most of the time it fails. I tried to get it working some more using the<br>
> 2.6.24 kernel with updated drm and i915 modules. What happens, more<br>
> exactly, is that upon resume the only thing that comes back is the cursor.<br>
> I can move the cursor around but I can't change VTs, neither can I restart<br>
> the X server with ctrl-alt-backspace. I managed to suspend the laptop once<br>
> more in this state (by closing the lid). Upon opening the lid again, ubuntu<br>
> threw me in a low resolution mode running their display-config utility. I<br>
> could still not change VTs to a console. At this point I restarted the<br>
> laptop.<br>
><br>
> Should I post any log files?<br>
><br>
> By the way, this is a long shot, but I know the uvcvideo module has caused<br>
> problems in the past, could it do so again? This is a long shot, because<br>
> the only thing changed when I tried the above with the 2.6.24 kernel is<br>
> updated i915 and drm modules.<br>
<br>
</div>Well, if console suspend/resume is working, it's probably not a uvcvideo<br>
issue, since that would probably prevent the kernel from suspending or<br>
resuming altogether.</blockquote><div><br>I'm also 99.9% certain it's not. Just wanted to mention it. And also, it is possible that the module wasn't loaded when Isuspended in console (I can double check this later if need be). In any event, the suspend script is supposed to unload the module before suspend.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
What X driver are you using?<br>
<font color="#888888"><br>
</font></blockquote><div>Everything else is plain ubuntu hardy: intel version: 2.2.1-1ubuntu13. And the xorg.conf is just minimal.<br>By the way, the logs I caught revealed nothing. I can try to get more verbose logs later if that's needed.<br>
<br>Khashayar <br></div></div><br>