Unix Technical Forum

apm with kernel 2.6.7 packages

This is a discussion on apm with kernel 2.6.7 packages within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hello alt.slackware, I have done a bit of poking around on google and various linux help sites and i ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:07 PM
Jason Shanley
 
Posts: n/a
Default apm with kernel 2.6.7 packages

hello alt.slackware,

I have done a bit of poking around on google and various linux help sites
and i havent seen any info on this. but following all the instructions
that came with the slack10 discs i have installed the 2.6.7 kernel but
when i do modprobe apm i get:
FATAL: Module apm not found.

i is there something i didnt install correctly...when booting into the 2.4
kernel that comes with slack10 i can load apm fine and get battery info
easily.


Thank you for anyhelp in advance
jason
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:08 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: apm with kernel 2.6.7 packages

Jason Shanley wrote:

> hello alt.slackware,
>
> I have done a bit of poking around on google and various linux help sites
> and i havent seen any info on this. but following all the instructions
> that came with the slack10 discs i have installed the 2.6.7 kernel but
> when i do modprobe apm i get:
> FATAL: Module apm not found.


ls /var/log/packages/kernel-modules*



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:08 PM
Jason Shanley
 
Posts: n/a
Default Re: apm with kernel 2.6.7 packages

On Sun, 03 Oct 2004 22:57:13 -0400, Dominik L.. Borkowski wrote:

> Jason Shanley wrote:
>
>> FATAL: Module apm not found.

>
> ls /var/log/packages/kernel-modules*

cinchel-10:12 PM-~>ls /var/log/packages/kernel-modules-2.*
/var/log/packages/kernel-modules-2.4.26-i486-3
/var/log/packages/kernel-modules-2.6.7-i486-2

so i looks like i have the kernel modules installed for the 2.6 kernel..


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:08 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: apm with kernel 2.6.7 packages

Jason Shanley wrote:

> On Sun, 03 Oct 2004 22:57:13 -0400, Dominik L.. Borkowski wrote:
>
>> Jason Shanley wrote:
>>
>>> FATAL: Module apm not found.

>>
>> ls /var/log/packages/kernel-modules*

> cinchel-10:12 PM-~>ls /var/log/packages/kernel-modules-2.*
> /var/log/packages/kernel-modules-2.4.26-i486-3
> /var/log/packages/kernel-modules-2.6.7-i486-2
>
> so i looks like i have the kernel modules installed for the 2.6 kernel..


run depmod -a when you run 2.6.x kernel. see if it returns any errors. then
try this: modprobe -l | wc -l

see what number you got. modprobe -l lists all modules. then again, i forget
if apm is in fact a module under 2.6.7, check MANIFEST.bz2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:09 PM
DIG
 
Posts: n/a
Default Re: apm with kernel 2.6.7 packages

On Sun, 03 Oct 2004 19:54:06 GMT, cinchel@Euclid.pyro.net wrote:

> I have done a bit of poking around on google and various linux help sites
> and i havent seen any info on this. but following all the instructions
> that came with the slack10 discs i have installed the 2.6.7 kernel but
> when i do modprobe apm i get:
> FATAL: Module apm not found.
>
> i is there something i didnt install correctly...when booting into the 2.4
> kernel that comes with slack10 i can load apm fine and get battery info
> easily.


You may want to try acpi=off and apm=on kernel boot parameters.
Maybe the ACPI of your computer took over the APM? Have a look at
/usr/src/linux/Documentation/pm.txt.

I have a notebook without ACPI support, and it boots stock 2.6.7 kernel:

,--[ ]--
| user@host:~$ uname -prsv
| Linux 2.6.7 #1 Wed Jun 16 16:23:03 PDT 2004 unknown
|
| user@host:~$ cat /proc/apm
| 1.16ac 1.2 0x07 0x01 0x00 0x01 92% -1 ?
`--[ ]--


Best regards,

--
DIG (Dmitri I GOULIAEV)
Aahz's law: The best way to get information on usenet is
not to ask a question, but to post the wrong information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:09 PM
Jason Shanley
 
Posts: n/a
Default Re: apm with kernel 2.6.7 packages

On Mon, 04 Oct 2004 20:23:14 +0000, DIG wrote:

>
> You may want to try acpi=off and apm=on kernel boot parameters.
> Maybe the ACPI of your computer took over the APM? Have a look at
> /usr/src/linux/Documentation/pm.txt.
>
> I have a notebook without ACPI support, and it boots stock 2.6.7 kernel:
>
> ,--[ ]--


thank you..that did the trick...now the battery monitor in gnome shows the
battery level and state perfectly....
thanks again
cinchel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com