[ltp] Ubuntu 10.04 and sysfsutils: Unknown attribute
Mark Wasmer
linux-thinkpad@linux-thinkpad.org
Fri, 28 May 2010 21:45:58 +0200
--0016364176bf8ade370487acc1b8
Content-Type: text/plain; charset=ISO-8859-1
Hi Christoph,
Does it need run permanently? I thought its only executed once during boot.
Have you loaded the modules necessary to control the battery?
tp_smapi 26194 0
thinkpad_ec 5842 2 hdaps,tp_smapi
cheers
Mark
--
On Fri, May 28, 2010 at 18:07, Christoph Bier <christoph.bier@web.de> wrote:
> Hello,
>
> after upgrading to Ubuntu 10.04 I observed that /etc/sysfs.conf
> isn't used (despite of
> devices/platform/smapi/BAT0/stop_charge_thresh=75 battery is charged
> to 100 percent). That's because sysfsutils isn't running:
>
> ----------
> chris@skull-tp:~$ ps aux | grep sysfs
> chris 3022 0.0 0.0 3328 808 pts/1 S+ 17:58 0:00
> grep sysfs
> ----------
>
> Trying to start it manually prints:
>
> ----------
> chris@skull-tp:~$ sudo /etc/init.d/sysfsutils start
> [sudo] password for chris:
> * Setting sysfs variables...
> * unknown attribute
> bus/pci/drivers/iwlagn/0000:03:00.0/power_level
>
> [ OK ]
> ----------
>
> But it's still not running:
>
> ----------
> chris@skull-tp:~$ ps aux | grep sysfs
> chris 3075 0.0 0.0 3328 808 pts/1 S+ 17:59 0:00
> grep sysfs
> ----------
>
> I guess starting fails because of the unknown attribute. Indeed
> /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/power_level doesn't exist
> anymore. What's the right replacement for
> "bus/pci/drivers/iwlagn/0000:03:00.0/power_level=5" in sysfs.conf?
>
> Best
> Christoph
> --
> +++ Typografie-Regeln (1.7): http://zvisionwelt.de/?page_id=56
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
--0016364176bf8ade370487acc1b8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Christoph,<br><br>Does it need run permanently? I thought its only execu=
ted once during boot. <br>Have you loaded the modules necessary to control =
the battery?<br><div style=3D"margin-left: 40px;"><span style=3D"font-famil=
y: courier new,monospace;">tp_smapi=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 26194=A0 0 </span><br style=3D"font-family: courier new,monospace;">
<span style=3D"font-family: courier new,monospace;">thinkpad_ec=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 5842=A0 2 hdaps,tp_smapi</span><br><br></div><font=
face=3D"arial,helvetica,sans-serif">cheers<br>=A0Mark<br style=3D"font-fam=
ily: courier new,monospace;" clear=3D"all">
</font>--<br><br>
<br><br><div class=3D"gmail_quote">On Fri, May 28, 2010 at 18:07, Christoph=
Bier <span dir=3D"ltr"><<a href=3D"mailto:christoph.bier@web.de">christ=
oph.bier@web.de</a>></span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 20=
4); padding-left: 1ex;">
Hello,<br>
<br>
after upgrading to Ubuntu 10.04 I observed that /etc/sysfs.conf<br>
isn't used (despite of<br>
devices/platform/smapi/BAT0/stop_charge_thresh=3D75 battery is charged<br>
to 100 percent). That's because sysfsutils isn't running:<br>
<br>
----------<br>
chris@skull-tp:~$ ps aux | grep sysfs<br>
chris =A0 =A0 3022 =A00.0 =A00.0 =A0 3328 =A0 808 pts/1 =A0 =A0S+ =A0 17:58=
=A0 0:00<br>
grep sysfs<br>
----------<br>
<br>
Trying to start it manually prints:<br>
<br>
----------<br>
chris@skull-tp:~$ sudo /etc/init.d/sysfsutils start<br>
[sudo] password for chris:<br>
=A0* Setting sysfs variables...<br>
=A0 =A0 =A0 =A0 =A0 =A0 * unknown attribute<br>
bus/pci/drivers/iwlagn/0000:03:00.0/power_level<br>
<br>
=A0 =A0 [ OK ]<br>
----------<br>
<br>
But it's still not running:<br>
<br>
----------<br>
chris@skull-tp:~$ ps aux | grep sysfs<br>
chris =A0 =A0 3075 =A00.0 =A00.0 =A0 3328 =A0 808 pts/1 =A0 =A0S+ =A0 17:59=
=A0 0:00<br>
grep sysfs<br>
----------<br>
<br>
I guess starting fails because of the unknown attribute. Indeed<br>
/sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/power_level doesn't exist<br=
>
anymore. What's the right replacement for<br>
"bus/pci/drivers/iwlagn/0000:03:00.0/power_level=3D5" in sysfs.co=
nf?<br>
<br>
Best<br>
Christoph<br>
--<br>
+++ Typografie-Regeln (1.7): <a href=3D"http://zvisionwelt.de/?page_id=3D56=
" target=3D"_blank">http://zvisionwelt.de/?page_id=3D56</a><br>
<font color=3D"#888888"><br>
--<br>
The linux-thinkpad mailing list home page is at:<br>
<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpa=
d" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/lin=
ux-thinkpad</a><br>
</font></blockquote></div><br>
--0016364176bf8ade370487acc1b8--