[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trackpoint settings of thinkpad in /etc/rc.local



On Thursday 24 February 2011 10:30:21 waterloo wrote:
> I use echo -n 255 > /sys/devices/platform/i8042/serio1/serio2/speed in
> /etc/rc.local file .
> But when boot , it says: /sys/devices/platform/i8042/serio1/serio2/speed no
> such file or dirctory .
> When coming into gnome , I can find there has
> /sys/devices/platform/i8042/serio1/serio2/speed .
> 
> How to do with it ?

Probably need to make sure certain modules are loaded and that the device 
subsystem has settled before you try to work to that file.

Loading modules can be done with calls to the modprobe utility from rc.local, 
if you wish.  (udevadm settle) will wait until the device subsystem is 
inactive.  To determine what module you'll need, I think you'll find a 
'module' file under /sys as either a sibling or (great-)*aunt/uncle of the 
file you are writing.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: