port3 cpufreq # echo 700000>scaling_setspeed bash: 700000: Bad file descriptor port3 cpufreq # echo 700000 >scaling_setspeed port3 cpufreq # i don't know if it's a bug but usualy > works well without any space
Please, try w/ gentoo-sources-2.6.17-r2 (and/or latest vanilla) and report back. If it still doesn't work, attach your kernel .config and post emerge --info.
i tryed with 2.6.19-rc6 and there is the same bug
Please compile CONFIG_CPU_FREQ_DEBUG into your kernel and boot with the cpufreq.debug=3 parameter. Run "dmesg" and note the last line of output. Then, "echo 700000>scaling_setspeed" and see which lines were added at the end. Then run the echo again, and see which extra lines appeared in dmesg that time. Finally, save dmesg to a file and annotate it where you saw those events happening. Then attach it here :)
see comment #3
(In reply to comment #3) > Please compile CONFIG_CPU_FREQ_DEBUG into your kernel and boot with the > cpufreq.debug=3 parameter. > > Run "dmesg" and note the last line of output. Then, "echo > 700000>scaling_setspeed" and see which lines were added at the end. Then run > the echo again, and see which extra lines appeared in dmesg that time. > > Finally, save dmesg to a file and annotate it where you saw those events > happening. Then attach it here :) > when i do echo 1000000>scalling_setspeed it doesn't add anything to dmesg but when i do echo 1000000 >scalling_setspeed it does add this: pufreq-core: target for CPU 0: 1000000 kHz, relation 0 freq-table: request for target 1000000 kHz (relation: 0) for cpu 0 freq-table: target is 0 (1000000 kHz, 0) speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc6480020 0x0 speedstep-lib: speed is 700000 speedstep-ich: detected 700000 kHz as current frequency speedstep-ich: transiting from 700000 to 1000000 kHz cpufreq-core: notification 0 of frequency transition to 1000000 kHz cpufreq-core: saving 2793664 as reference value for loops_per_jiffy; freq is 700000 kHz cpufreq-core: scaling loops_per_jiffy to 3990948 for frequency 1000000 kHz
Hmm actually I think it's much simpler than that. Try: echo "700000" > scaling_setspeed note the "" marks
reopen if my judgement in comment #6 is wrong