The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Sound & apm in FBSD 5.0-release
Author: Matthew 
Date:   31-01-03 13:39

Hello,
I have a Toshiba Portege 7010ct with a fresh install of the 5.0 release. I've noticed that the lid switch is now detected on boot (as acpi_lid0) and when closed, puts the laptop into sort of a standby profile(?) which causes pcmcia to be turned off. I'm pretty sure that changing the power source causes the same problem.
--
-bash-2.05b$ sysctl hw.acpi
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3332
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3652
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3662
hw.acpi.thermal.tz0._ACx: 3652 3652 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1
--
I'd be much obliged if someone could explain how to reject these events. I'd like the lid switch to just turn off the lcd like in the 4.7 release. As for sound, to get it working in the previous release, I would just add 'options PNPBIOS' and 'device pcm' to my kernel config and recompile. Is there an equivalent in the 5.0 release?

Thanks,
Matthew

Reply To This Message
 
 apm in FBSD 5.0-release
Author: Matthew 
Date:   02-02-03 05:51

I solved the lid problem with:
/sbin/sysctl -w hw.acpi.lid_switch_state=NONE

Input on the kernel problem would be awesome, though. There has to be some command to enable pnp in the 5.0 kernel, right?

Thanks,
Matt

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org