Skip to contentSkip to conversation

video module limited after suspend

DISCUSSION Jan Rychter 2 participants 3 messages Jun 17, 2005 – Jun 23, 2005 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I have ACPI compiled into the kernel and various subsystems as modules. The 'video' module seems to have a problem, though -- it works great on first boot, but doesn't work correctly after a suspend/resume (I'm using suspend2, unloading and reloading the video module after resuming).

The symptoms are that all subdirectories of /proc/acpi/video/VGA/ disappear -- which means I can no longer set the LCD brighness. All I have is this:

total 0

-r--r--r--  1 root root 0 Jun 17 18:25 DOS
-r--r--r--  1 root root 0 Jun 17 18:25 POST
-r--r--r--  1 root root 0 Jun 17 18:25 POST_info
-r--r--r--  1 root root 0 Jun 17 18:25 ROM
-r--r--r--  1 root root 0 Jun 17 18:25 info

Any hints?

--J.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#1 lore raw
Quoted 18 lines

Hi,
I have ACPI compiled into the kernel and various subsystems as modules. The 'video' module seems to have a problem, though -- it works great on first boot, but doesn't work correctly after a suspend/resume (I'm using suspend2, unloading and reloading the video module after resuming).

The symptoms are that all subdirectories of /proc/acpi/video/VGA/ disappear -- which means I can no longer set the LCD brighness. All I have is this:

total 0

(quoted diff) +0 -5
-r--r--r--  1 root root 0 Jun 17 18:25 DOS
-r--r--r--  1 root root 0 Jun 17 18:25 POST
-r--r--r--  1 root root 0 Jun 17 18:25 POST_info
-r--r--r--  1 root root 0 Jun 17 18:25 ROM
-r--r--r--  1 root root 0 Jun 17 18:25 info
Quoted 1 line

Any hints?

To narrow things down a bit: I've found out that it isn't really suspending that matters -- just doing

modprobe video; rmmod video; modprobe video

gets me a system without the CRT, LCD, DVI and TV directories.

As a workaround, I've just compiled video into the kernel (e.g. not modularized) and I'm fine.

Is anyone actually interested in those bug reports? Should I bother?

--J.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 23 lines · Jan Rychter
Quoted 18 lines

Hi,
I have ACPI compiled into the kernel and various subsystems as modules. The 'video' module seems to have a problem, though -- it works great on first boot, but doesn't work correctly after a suspend/resume (I'm using suspend2, unloading and reloading the video module after resuming).

The symptoms are that all subdirectories of /proc/acpi/video/VGA/ disappear -- which means I can no longer set the LCD brighness. All I have is this:

total 0

(quoted diff) +0 -5
-r--r--r--  1 root root 0 Jun 17 18:25 DOS
-r--r--r--  1 root root 0 Jun 17 18:25 POST
-r--r--r--  1 root root 0 Jun 17 18:25 POST_info
-r--r--r--  1 root root 0 Jun 17 18:25 ROM
-r--r--r--  1 root root 0 Jun 17 18:25 info
Quoted 1 line

Any hints?

To narrow things down a bit: I've found out that it isn't really suspending that matters -- just doing

Quoted 9 lines

modprobe video; rmmod video; modprobe video

gets me a system without the CRT, LCD, DVI and TV directories.

As a workaround, I've just compiled video into the kernel (e.g. not modularized) and I'm fine.

Is anyone actually interested in those bug reports? Should I bother?

Me, but don't have time for linux kernel devel ATM

Signature · 11 lines
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click