Re: Asus EEE -- suspend, card reader and camera

Jack Twilley <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Paul B. Mahol wrote:
> On 12/6/08, Paul B. Mahol <[email protected]> wrote:
>> On 12/6/08, Jack Twilley <[email protected]> wrote:
>>> Paul B. Mahol wrote:
>>>> On 12/6/08, Jack Twilley <[email protected]> wrote:
>>>>> Paul B. Mahol wrote:
>>>>>> On 12/5/08, Jack Twilley <[email protected]> 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
mount /mnt

Both sections are after the kldunload comment.

Jack.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.