ACPI Suspend, devd and rc.suspend

Norberto Meijome freebsd at meijome.net
Wed Mar 29 02:59:13 UTC 2006


On Tue, 28 Mar 2006 13:28:54 -0800
George Hartzell <hartzell at alerce.com> wrote:

> Norberto Meijome writes:
>  > On Mon, 27 Mar 2006 20:17:59 -0800
>  > George Hartzell <hartzell at alerce.com> wrote:
>  > 
>  > > The atheros wireless card in my T42p doesn't wake up properly
>  > > when I suspend/resume from X, but if I use vidcontrol to switch
>  > > to a different virtual terminal on suspend and back on resume
>  > > then it works just fine.
>  > 
>  > Hey George,
>  > can u let me know how exactly you use vidcontrol? I cant seem to
>  > get it to work (I'm sure it worked before...but from X to first
>  > console it fails) (this is from a aterm window)

[....]

> Try something like
> 
>  sudo vidcontrol -s 1 < /dev/ttyv0

:) thx, that worked!!!
for the archives, the right command with sudo is 

sudo sh -c "vidcontrol -s 2 < /dev/ttyv0"

(otherwise < is run with your current user's credentials, and most
likely you'll get access denied).

now, to test suspend/resume via devd with VTY change (manually) with DRI
enabled ... hopefully it wont crash and I can have acceleration again :)

beto


More information about the freebsd-mobile mailing list