Is /dev/thinkpad a directory ?Re: [ltp] CPU Speed...
Julien Tane
linux-thinkpad@linux-thinkpad.org
Thu, 29 Jan 2004 18:18:39 +0100
Well I just made the command:
> su -c 'chmod 755 /dev/thinkpad'
I also read a bit of the README file from the tpctl 5.0. But it seems
that /dev/thinkpad is a character device
currently :
crwxr-xr-x 1 root thinkpad 10, 170 Jan 22 13:35 /dev/thinkpad
where as the README says:
> mkdir --mode=755 /dev/thinkpad
which means it is a directory.
Julien
Julien Tane wrote:
> I just found a thread from some debian mailing list:
>
>> http://lists.debian.org/debian-laptop/2002/debian-laptop-200211/msg00627.html
>>
>
>
> But I have yet read it.
>
> Julien
>
> Julien Tane wrote:
>
>> Hello,
>>
>> I sent a mail a week ago about kernel-module-thinkpad that I could
>> not find. I did finally find one.
>>
>> I needed the kernel-module-thinkpad because my computer was running at:
>> cpu MHz : 239.027
>> instead of 890 MHz.
>>
>> Unfortunately I have no idea, of the reason why. The computer starts
>> at 890MHz if it is on AC power and not on the docking station. If it
>> is on AC power ANd on the docking station then it starts at 239.027.
>>
>> I use the Fedora Core 1A, with some udpate packages
>> My kernel is: 2.4.22-1.2149.nptl
>>
>> I use :
>> kernel-module-thinkpad-4.8-0_2.4.22_1.2149.nptl.rhfc1.dag
>>
>> but perhaps I should use:
>>
>>> kernel-module-thinkpad-2.4.20-18.9-4.4-0.fdr.1.i686.rpm
>>
>>
>>
>> but when I do
>>
>>> [jta@aifbathena Download]$ su -c 'tpctl --pm-all'
>>> Password:
>>> tpctl: System error message is: No such device
>>> tpctl: Can't open device file /dev/thinkpad with flags O_RDONLY.
>>> Exiting.
>>
>>
>>
>> Something is probably wrong with tpctl.
>>
>>> $ ll /dev/thinkpad
>>> crw-rw-r-- 1 root thinkpad 10, 170 Jan 22 13:35 /dev/thinkpad
>>
>>
>>
>>
>>
>> It seems th/dev/thinkpad is not READ ONLY. but I must avow. I do not
>> know what this O_RDONLY
>> means. But if anyone is ready to give me a hint...
>>
>> Julien
>>
>>
>>
>>
>