Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #50339

Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard
Date 2015-07-30 10:00 +0200
Message-ID <pRQUX-t0-37@gated-at.bofh.it> (permalink)
References (9 earlier) <pPLmG-7cG-7@gated-at.bofh.it> <pPLmG-7cG-3@gated-at.bofh.it> <pQ9fj-85m-9@gated-at.bofh.it> <pQ9fj-85m-7@gated-at.bofh.it> <pQ9Im-bs-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sat, Jul 25, 2015 at 11:30 PM, Ian Campbell <ijc@debian.org> wrote:
> On Sat, 2015-07-25 at 22:54 +0800, Chen-Yu Tsai wrote:
>> On Sat, Jul 25, 2015 at 10:46 PM, Leonardo Canducci
>> <leonardo.canducci@gmail.com> wrote:
>> > I got lost somewhere in that long thread but I saw cpufreq on
>> cubie* works
>> > for someone [0]. It's just a matter of loading two modules. I tried
>> myself
>> > on my jessie install (kernel from experimental) and can confirm
>> that:
>> >
>> > leo@cubetto:~$ sudo modprobe axp20x-regulator
>> > leo@cubetto:~$ sudo modprobe cpufreq-dt
>> > leo@cubetto:~$ ls /sys/devices/system/cpu/cpu0/cpufreq/
>> > affected_cpus               related_cpus
>>  scaling_governor
>> > cpuinfo_cur_freq            scaling_available_frequencies
>>  scaling_max_freq
>> > cpuinfo_max_freq            scaling_available_governors   >  scaling_min_freq
>> > cpuinfo_min_freq            scaling_cur_freq
>>  scaling_setspeed
>> > cpuinfo_transition_latency  scaling_driver                 stats
>> >
>> > How do I make this change persistent?
>>
>> Add both module names to /etc/modules.
>
> Is there any way to arrange for these modules to be loaded
> automatically without the user needing to configure it manually, like
> any other h/w driver?
>
> I'd expect at least the axp20x-regulator driver to get autoloaded when
> the relevant hardware is present. Not sure about the cpufreq-dt one,
> but should it not be loaded if the relevant nodes are present?

cpufreq-dt is not a node in the DT. It is added in platform code.
See arch/arm/mach-sunxi/sunxi.c.

AFAIK all other users of cpufreq-dt use this method. Not sure how
you can automatically detect this... Supposedly there would be
an event to udev?


ChenYu


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 12:40 +0200
  Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:00 +0200
    Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:30 +0200
    Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 14:30 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-25 17:10 +0200
          Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-07-25 17:40 +0200
            Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-30 10:00 +0200
              Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-08-01 12:00 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Leonardo Canducci <leonardo.canducci@gmail.com> - 2015-07-25 17:10 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 16:10 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 16:10 +0200

csiph-web