Asus EEE -- suspend, card reader and camera

Jack Twilley jmt at twilley.org
Sun Dec 7 12:36:45 PST 2008


Paul B. Mahol wrote:
> On 12/7/08, Jack Twilley <jmt at twilley.org> wrote:
>> Paul B. Mahol wrote:
>>> On 12/6/08, Paul B. Mahol <onemda at gmail.com> wrote:
>>>> On 12/6/08, Jack Twilley <jmt at twilley.org> wrote:
>>>>> Paul B. Mahol wrote:
>>>>>> On 12/6/08, Jack Twilley <jmt at twilley.org> wrote:
>>>>>>> Paul B. Mahol wrote:
>>>>>>>> On 12/5/08, Jack Twilley <jmt at twilley.org> wrote:
>>>>>>>>> I am a mostly-happy user of an Asus EEE 701.  Recently I was pointed
>>>>>>>>> at
>>>>>>>>> http://wiki.freebsd.org/AsusEee which has more current information
>>>>>>>>> than
>>>>>>>>> the nighthack page.  I'm running RELENG_7 and I am pleased to
>>>>>>>>> confirm
>>>>>>>>> that the wired Ethernet works out of the box.  I'm looking forward
>>>>>>>>> to
>>>>>>>>> ath_hal merging from current so I can stop copying over the madwifi
>>>>>>>>> hal
>>>>>>>>> directory.  I have only three issues remaining, some of which are at
>>>>>>>>> least partially discussed on that page.
>>>>>>>>>
>>>>>>>>> First, I'm new to FreeBSD on laptops.  I tried to suspend with Fn-F1
>>>>>>>>> and
>>>>>>>>> it seemed to do the right thing, but I don't know how to resume.  I
>>>>>>>>> tried Fn-F1 and it didn't work.  I hit the power button, and the
>>>>>>>>> LEDs
>>>>>>>>> changed but the screen never woke up.
>>>>>>>> loading vesa LKM fixed that issue for me, also make sure that
>>>>>>>> kern.smp.disabled=1
>>>>>>>>
>>>>>>>> eg. add these lines to /boot/loader.conf
>>>>>>>>
>>>>>>>> vesa_load="YES"
>>>>>>>> kern.smp.disabled="1"
>>>>>>>>
>>>>>>> I made those changes, and I see the same behavior -- it doesn't come
>>>>>>> back with Fn-F1 or the power button.  How do you resume?
>>>>>> You rebooted after that change?
>>>>>>
>>>>> Yes.
>>>>>
>>>>> Jack.
>>>>>
>>>> Well, then I dont know, maybe there is some driver attached on device
>>>> that is cause of resume problem?
>>>> You could try to disable all of them and try again.
>>>> What happens if you suspend with zzz inside X11?
>>>> I'm on i386, dunno if resume work at all on amd64.
>>> Did you do _all_ what have been recommended on that wiki page:
>>> kldunloading snd_hda before suspend and other stuff....
>>>
>>>
>>> I just need to report that on nx7300 I do not need to kldunload
>>> snd_hda before suspend, so maybe something is different on CURRENT or
>>> something completly unrelated is cause of such problem ....
>>>
>>>
>> My /etc/rc.suspend contains these lines:
>>
>> kldunload sound snd_hda snd_uaudio
>> umount -f /mnt
>>
>> My /etc/rc.resume contains these lines:
>>
>> kldload sound snd_hda snd_uaudio
>> sysctl hw.api.asus.lcd_brightness=8
>             ^^^
> This is just typo?

It was a typo in my /etc/rc.resume, actually.  So embarrassing, but it 
works fine now.  Of course, the Synaptics touchpad doesn't resume 
properly but that's documented on the wiki page, and hopefully kmacy 
will fix it sometime soon.  Thanks so much!

Jack.

> 
>> mount /mnt
>>
>> Both sections are after the kldunload comment.
>>
>> Jack.
>>
> 
> Did you tried changing:
> hw.acpi.reset_video from 0(1) to 1(0)?
> 
> 



More information about the freebsd-mobile mailing list