Thinkap T43 suspend/resume only once

View: New views
7 Messages — Rating Filter:   Alert me  

Thinkap T43 suspend/resume only once

by Jürgen Dankoweit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello to the list.

On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1
PRERELEASE.
But there is one point that does not work correctly.
When I press the Fn+F4 buttons the first time after booting the system,
ACPI mode S3 is called correctly and the notebook goes into suspend
mode. After pressing Fn alone the notebook resumes perfekt.

But when I press Fn+F4 the next time, nothing happens. Entering
"acpiconf -s 3" suspends the notebook and resuming is no problem

Where is the problem? If this is the wrong list, please tell me.

Many thanks for your answers.

Best regards

J.D.

Here the configuration files:

/boot/loader.conf
----------------
# fuer T43
acpi_ibm_load="YES"

# Sound-Modul laden
snd_ich_load="YES"

# Bluetooth
ng_ubt_load="YES"

# ATi-Radeon-Module fuer X300
radeon_load="YES"

# fuer Mono
kern.ipc.semmni=40
kern.ipc.semmns=300

# fuer gamin
kern.maxfiles="25000"

/etc/sysctl.conf
----------------
# ACPI fuer Thinkpad T43
#
hw.acpi.reset_video=1
hw.acpi.lid_switch_state=S3
hw.acpi.sleep_button_state=S3
hw.acpi.power_button_state=S5
hw.acpi.sleep_delay=3
hw.acpi.verbose=1

dev.acpi_ibm.0.events=1

hw.syscons.sc_no_suspend_vtswitch=0

/etc/devd.conf (the relevant entry):
------------------------------------
# Suspend fuer IBM Thinkpad T43
notify 10 {
        match "system" "ACPI";
        match "subsystem" "IBM";
        match "notify" "0x04";
        action "logger -t Fn+F4 && /etc/rc.suspend";
};


uname -a says:
--------------
FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
#0: Sun Sep 14 09:24:44 CEST 2008
juergen@...:/usr/obj/usr/src/sys/GENERIC i386

_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Thinkap T43 suspend/resume only once

by Richard Kolkovich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 18, 2008 at 12:06:30PM +0200, Juergen Dankoweit wrote:

> Hello to the list.
>
> On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1
> PRERELEASE.
> But there is one point that does not work correctly.
> When I press the Fn+F4 buttons the first time after booting the system,
> ACPI mode S3 is called correctly and the notebook goes into suspend
> mode. After pressing Fn alone the notebook resumes perfekt.
>
> But when I press Fn+F4 the next time, nothing happens. Entering
> "acpiconf -s 3" suspends the notebook and resuming is no problem
>
> Where is the problem? If this is the wrong list, please tell me.
>
I had this exact same problem on my t43p.  You'll need to remove 'device apic' from your kernel config.  That was the resolution I discovered with the help of other Thinkpad users on this list. :)

> Many thanks for your answers.
>
> Best regards
>
> J.D.
>
> Here the configuration files:
>
> /boot/loader.conf
> ----------------
> # fuer T43
> acpi_ibm_load="YES"
>
> # Sound-Modul laden
> snd_ich_load="YES"
>
> # Bluetooth
> ng_ubt_load="YES"
>
> # ATi-Radeon-Module fuer X300
> radeon_load="YES"
>
> # fuer Mono
> kern.ipc.semmni=40
> kern.ipc.semmns=300
>
> # fuer gamin
> kern.maxfiles="25000"
>
> /etc/sysctl.conf
> ----------------
> # ACPI fuer Thinkpad T43
> #
> hw.acpi.reset_video=1
> hw.acpi.lid_switch_state=S3
> hw.acpi.sleep_button_state=S3
> hw.acpi.power_button_state=S5
> hw.acpi.sleep_delay=3
> hw.acpi.verbose=1
>
> dev.acpi_ibm.0.events=1
>
> hw.syscons.sc_no_suspend_vtswitch=0
>
> /etc/devd.conf (the relevant entry):
> ------------------------------------
> # Suspend fuer IBM Thinkpad T43
> notify 10 {
>         match "system" "ACPI";
>         match "subsystem" "IBM";
>         match "notify" "0x04";
>         action "logger -t Fn+F4 && /etc/rc.suspend";
> };
>
>
> uname -a says:
> --------------
> FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
> #0: Sun Sep 14 09:24:44 CEST 2008
> juergen@...:/usr/obj/usr/src/sys/GENERIC i386
>
> _______________________________________________
> freebsd-mobile@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."
--

Richard Kolkovich
sarumont@...


attachment0 (202 bytes) Download Attachment

Re: Thinkap T43 suspend/resume only once

by Jürgen Dankoweit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Richard,

Am Donnerstag, den 18.09.2008, 08:58 -0500 schrieb Richard Kolkovich:

> On Thu, Sep 18, 2008 at 12:06:30PM +0200, Juergen Dankoweit wrote:
> > Hello to the list.
> >
> > On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1
> > PRERELEASE.
> > But there is one point that does not work correctly.
> > When I press the Fn+F4 buttons the first time after booting the system,
> > ACPI mode S3 is called correctly and the notebook goes into suspend
> > mode. After pressing Fn alone the notebook resumes perfekt.
> >
> > But when I press Fn+F4 the next time, nothing happens. Entering
> > "acpiconf -s 3" suspends the notebook and resuming is no problem
> >
> > Where is the problem? If this is the wrong list, please tell me.
> >
>
> I had this exact same problem on my t43p.  You'll need to remove 'device apic' from your kernel config.  That was the resolution I discovered with the help of other Thinkpad users on this list. :)

Thanks for your answer. If I disable APIC I have the chance to suspend
the notebook a second and third time. BUT: at the third time it doesn't
resume any more...

Therefore I have to live with that problem and I will do a normal logout and shutdown.

Best regards

J.D.

_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Thinkap T43 suspend/resume only once

by Mitsuru IWASAKI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Please try this patch.

http://people.freebsd.org/~iwasaki/acpi/subr_bus.c-fix-20080919.diff

Thanks

> On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1
> PRERELEASE.
> But there is one point that does not work correctly.
> When I press the Fn+F4 buttons the first time after booting the system,
> ACPI mode S3 is called correctly and the notebook goes into suspend
> mode. After pressing Fn alone the notebook resumes perfekt.
>
> But when I press Fn+F4 the next time, nothing happens. Entering
> "acpiconf -s 3" suspends the notebook and resuming is no problem
>
> Where is the problem? If this is the wrong list, please tell me.
>
> Many thanks for your answers.
>
> Best regards
>
> J.D.
>
> Here the configuration files:
>
> /boot/loader.conf
> ----------------
> # fuer T43
> acpi_ibm_load="YES"
>
> # Sound-Modul laden
> snd_ich_load="YES"
>
> # Bluetooth
> ng_ubt_load="YES"
>
> # ATi-Radeon-Module fuer X300
> radeon_load="YES"
>
> # fuer Mono
> kern.ipc.semmni=40
> kern.ipc.semmns=300
>
> # fuer gamin
> kern.maxfiles="25000"
>
> /etc/sysctl.conf
> ----------------
> # ACPI fuer Thinkpad T43
> #
> hw.acpi.reset_video=1
> hw.acpi.lid_switch_state=S3
> hw.acpi.sleep_button_state=S3
> hw.acpi.power_button_state=S5
> hw.acpi.sleep_delay=3
> hw.acpi.verbose=1
>
> dev.acpi_ibm.0.events=1
>
> hw.syscons.sc_no_suspend_vtswitch=0
>
> /etc/devd.conf (the relevant entry):
> ------------------------------------
> # Suspend fuer IBM Thinkpad T43
> notify 10 {
>         match "system" "ACPI";
>         match "subsystem" "IBM";
>         match "notify" "0x04";
>         action "logger -t Fn+F4 && /etc/rc.suspend";
> };
>
>
> uname -a says:
> --------------
> FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
> #0: Sun Sep 14 09:24:44 CEST 2008
> juergen@...:/usr/obj/usr/src/sys/GENERIC i386
>
> _______________________________________________
> freebsd-mobile@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."
>
_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Thinkap T43 suspend/resume only once

by Jürgen Dankoweit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am Freitag, den 19.09.2008, 03:23 +0900 schrieb Mitsuru IWASAKI:
> Hi,
>
> Please try this patch.
>
> http://people.freebsd.org/~iwasaki/acpi/subr_bus.c-fix-20080919.diff
>
> Thanks


Thanks for the patch, but the file subr_bus.c is already patched.

Best regards

Juergen


>
> > On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1
> > PRERELEASE.
> > But there is one point that does not work correctly.
> > When I press the Fn+F4 buttons the first time after booting the system,
> > ACPI mode S3 is called correctly and the notebook goes into suspend
> > mode. After pressing Fn alone the notebook resumes perfekt.
> >
> > But when I press Fn+F4 the next time, nothing happens. Entering
> > "acpiconf -s 3" suspends the notebook and resuming is no problem
> >
> > Where is the problem? If this is the wrong list, please tell me.
> >
> > Many thanks for your answers.
> >
> > Best regards
> >
> > J.D.
> >
> > Here the configuration files:
> >
> > /boot/loader.conf
> > ----------------
> > # fuer T43
> > acpi_ibm_load="YES"
> >
> > # Sound-Modul laden
> > snd_ich_load="YES"
> >
> > # Bluetooth
> > ng_ubt_load="YES"
> >
> > # ATi-Radeon-Module fuer X300
> > radeon_load="YES"
> >
> > # fuer Mono
> > kern.ipc.semmni=40
> > kern.ipc.semmns=300
> >
> > # fuer gamin
> > kern.maxfiles="25000"
> >
> > /etc/sysctl.conf
> > ----------------
> > # ACPI fuer Thinkpad T43
> > #
> > hw.acpi.reset_video=1
> > hw.acpi.lid_switch_state=S3
> > hw.acpi.sleep_button_state=S3
> > hw.acpi.power_button_state=S5
> > hw.acpi.sleep_delay=3
> > hw.acpi.verbose=1
> >
> > dev.acpi_ibm.0.events=1
> >
> > hw.syscons.sc_no_suspend_vtswitch=0
> >
> > /etc/devd.conf (the relevant entry):
> > ------------------------------------
> > # Suspend fuer IBM Thinkpad T43
> > notify 10 {
> >         match "system" "ACPI";
> >         match "subsystem" "IBM";
> >         match "notify" "0x04";
> >         action "logger -t Fn+F4 && /etc/rc.suspend";
> > };
> >
> >
> > uname -a says:
> > --------------
> > FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
> > #0: Sun Sep 14 09:24:44 CEST 2008
> > juergen@...:/usr/obj/usr/src/sys/GENERIC i386
> >
> > _______________________________________________
> > freebsd-mobile@... mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."
> >
> _______________________________________________
> freebsd-mobile@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Thinkap T43 suspend/resume only once

by Vladimir Botka-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Sep 2008 21:12:27 +0200
Juergen Dankoweit <Juergen.Dankoweit@...> wrote:

> Hi,
>
> Am Freitag, den 19.09.2008, 03:23 +0900 schrieb Mitsuru IWASAKI:
> > Hi,
> >
> > Please try this patch.
> >
> > http://people.freebsd.org/~iwasaki/acpi/subr_bus.c-fix-20080919.diff
> >
> > Thanks
>
>
> Thanks for the patch, but the file subr_bus.c is already patched.
>
> Best regards
>
> Juergen
>
>
> >
> > > On my Thinkpad T43 every component works great with FreeBSD 7.0
> > > and 7.1 PRERELEASE.
> > > But there is one point that does not work correctly.
> > > When I press the Fn+F4 buttons the first time after booting the
> > > system, ACPI mode S3 is called correctly and the notebook goes
> > > into suspend mode. After pressing Fn alone the notebook resumes
> > > perfekt.
> > >
> > > But when I press Fn+F4 the next time, nothing happens. Entering
> > > "acpiconf -s 3" suspends the notebook and resuming is no problem
> > >
> > > Where is the problem? If this is the wrong list, please tell me.
> > >
> > > Many thanks for your answers.
> > >
> > > Best regards
> > >
> > > J.D.
> > >
> > > Here the configuration files:
> > >
> > > /boot/loader.conf
> > > ----------------
> > > # fuer T43
> > > acpi_ibm_load="YES"
> > >
> > > # Sound-Modul laden
> > > snd_ich_load="YES"
> > >
> > > # Bluetooth
> > > ng_ubt_load="YES"
> > >
> > > # ATi-Radeon-Module fuer X300
> > > radeon_load="YES"
> > >
> > > # fuer Mono
> > > kern.ipc.semmni=40
> > > kern.ipc.semmns=300
> > >
> > > # fuer gamin
> > > kern.maxfiles="25000"
> > >
> > > /etc/sysctl.conf
> > > ----------------
> > > # ACPI fuer Thinkpad T43
> > > #
> > > hw.acpi.reset_video=1
> > > hw.acpi.lid_switch_state=S3
> > > hw.acpi.sleep_button_state=S3
> > > hw.acpi.power_button_state=S5
> > > hw.acpi.sleep_delay=3
> > > hw.acpi.verbose=1
> > >
> > > dev.acpi_ibm.0.events=1
> > >
> > > hw.syscons.sc_no_suspend_vtswitch=0
> > >
> > > /etc/devd.conf (the relevant entry):
> > > ------------------------------------
> > > # Suspend fuer IBM Thinkpad T43
> > > notify 10 {
> > >         match "system" "ACPI";
> > >         match "subsystem" "IBM";
> > >         match "notify" "0x04";
> > >         action "logger -t Fn+F4 && /etc/rc.suspend";
> > > };
> > >
> > >
> > > uname -a says:
> > > --------------
> > > FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD
> > > 7.1-PRERELEASE #0: Sun Sep 14 09:24:44 CEST 2008
> > > juergen@...:/usr/obj/usr/src/sys/GENERIC i386
> > >
> > > _______________________________________________
> > > freebsd-mobile@... mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> > > To unsubscribe, send any mail to
> > > "freebsd-mobile-unsubscribe@..."
> > >
> > _______________________________________________
> > freebsd-mobile@... mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> > To unsubscribe, send any mail to
> > "freebsd-mobile-unsubscribe@..."
>
> _______________________________________________
> freebsd-mobile@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to
> "freebsd-mobile-unsubscribe@..."
>

Hello,

here are my configuration files which worked on T42 and now after
migration in X31. HTH.

# cat /freebsd/etc/sysctl.conf
# kern.random.sys.seeded=0
kern.random.sys.harvest.point_to_point=0
hw.acpi.lid_switch_state=S3
dev.acpi_ibm.0.events=1
hw.snd.maxautovchans=4
vfs.usermount=1
compat.linux.osrelease=2.6.16

# cat /freebsd/boot/loader.conf
acpi_load="YES"
# acpi_ibm_load="YES"
snd_ich_load="YES"
#
# T42
# if_iwi_load="YES"
# iwi_bss_load="YES"
# iwi_ibss_load="YES"
# iwi_monitor_load="YES"
#
# wlan_load="YES"
# firmware_load="YES"
#
# copyright Intel
# legal.intel_iwi.license_ack=1

BTW I had to add "/etc/rc.d/moused restart" into the rc.resume

Have fun, :)

--
        -vlado
        Vladimir Botka

_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."

Re: Thinkap T43 suspend/resume only once

by Jürgen Dankoweit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

thanks for your hints.

Am Freitag, den 19.09.2008, 09:34 +0200 schrieb Vladimir Botka:

> Hello,
>
> here are my configuration files which worked on T42 and now after
> migration in X31. HTH.
>
> # cat /freebsd/etc/sysctl.conf
> # kern.random.sys.seeded=0
> kern.random.sys.harvest.point_to_point=0
> hw.acpi.lid_switch_state=S3
> dev.acpi_ibm.0.events=1
> hw.snd.maxautovchans=4
> vfs.usermount=1
> compat.linux.osrelease=2.6.16
>
> # cat /freebsd/boot/loader.conf
> acpi_load="YES"
> # acpi_ibm_load="YES"
> snd_ich_load="YES"


Why did comment out acpi_ibm_load="YES"?
I thought this is needed for:
dev.acpi_ibm.0.events=1

> #
> # T42
> # if_iwi_load="YES"
> # iwi_bss_load="YES"
> # iwi_ibss_load="YES"
> # iwi_monitor_load="YES"
> #
> # wlan_load="YES"
> # firmware_load="YES"
> #
> # copyright Intel
> # legal.intel_iwi.license_ack=1
>
> BTW I had to add "/etc/rc.d/moused restart" into the rc.resume

I have changed the flags for the psm driver in /boot/device.hints:
hint.psm.0.flags="0x2000"
This has a similar effect.

Thanks again for your hints

Juergen


_______________________________________________
freebsd-mobile@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@..."
LightInTheBox - Buy quality products at wholesale price!