[ltp] Configuring and running tpb

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Fri, 20 May 2005 11:19:08 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guillermo Latorre wrote:
> Hello everyone!
> 
> I have a Thinkpad T41 (2373) and now I have tried to configure some
> special keys with tpb. Before editing my /etc/tpbrc file, I have tried
> to run tpb, and it returns this:
> root@Will:/home/guille # tpb
> Unable to open device /dev/misc/nvram: No existe el fichero o el
> directorio
> 
> Translation -> Unable to open device /dev/misc/nvram: The file or
> directory doesn't exist.
> 
> Well, it is normal because I have no /dev/nvram or /dev/misc/nvram file.
> 
> What can I do? I am reading some manuals- Howto about get the special
> keys running but not find this problem...
> 
> I am running with Ubuntu Hoary, kernel 2.6.10-5-38 and Xorg.
> 
> Thank you very much!
> 
> Guille
> 

Hi as root do:
1.) load the module nvram (as root):
modprobe nvram
2.) add your user to the nvram group, to have access to /dev/nvram
adduser %yourusername nvram

for information:
the ubuntu tpb packages do not support xosd at the moment, so you don`t
see graphical things (volume etc.)

see this thread: http://ubuntuforums.org/archive/index.php/t-24685.html

to workaroung:
get the tbp package from here:
http://ftp.debian.org/debian/pool/main/t/tpb/tpb_0.6.3-2_i386.deb

3.) get the package
wget http://ftp.debian.org/debian/pool/main/t/tpb/tpb_0.6.3-2_i386.deb

4.)install it as root, sudo:
dpkg -i tpb_0.6.3-2_i386.deb

5.)Your original problem was: the nvram module was not loaded, to load
it permanently at every system start do (important, the 2 >> do not
forget 1 of them):

echo nvram >> /etc/modules


Peter

- --
		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjauM2gfPYxqZWpsRAqbaAKCdbHdTdKGTyYBIH19Cl7yZA2HfygCgkBgh
UdbZ2eaehRVbE6UjyV9Ymk0=
=C8sH
-----END PGP SIGNATURE-----