From: fago <nu...@gm...> - 2004-09-15 16:35:11
|
> You can always run tpctl under strace and see if it is trying to open > other device nodes. so i tried strace stat64("/dev/thinkpad/thinkpad", 0xbffffb3c) = -1 ENOTDIR (Not a directory) stat64("/dev/thinkpad", {st_mode=S_IFCHR|0660, st_rdev=makedev(10, 170), ...}) = 0 open("/dev/thinkpad", O_RDONLY) = 3 tpctl is finding the correct device. the next thing concerning a device: fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 write(1, "tpctl: SMAPI BIOS error 0x86 (\"f"..., 71) = 71 so is it looking for a device 136,1 or does it not need a device? fago |