tpb doesn't work

Bug #341 reported by Fabio Marzocca
12
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Paul Sladen
xubuntu-meta (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After last update of Ubuntu-Hoary 5.04, tpb doesn't work anymore...

Actually it works, but does not use OSD because some hoary problems with it. Watch bug #446 for this

After last update of Ubuntu-Hoary 5.04, tpb doen't work anymore..

Revision history for this message
Julien Lamy (julien) wrote :

Same thing for me. tpb receives the events correctly, as shown by running tpb -v, but no OSD appears.
osd_cat works correctly, even when using the font described in /etc/tpbrc

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

The XOSD feature was removed because of a breakage. Are other functionnalities broken or just the on screen display?

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Just the OSD.. other functionalities are working.

Jorge Bernal (koke)
Changed in tpb:
status: New → Rejected
Jorge Bernal (koke)
summary: - After last update of Ubuntu-Hoary 5.04, tpb doen't work anymore..
+ After last update of Ubuntu-Hoary 5.04, tpb doesn't work anymore...
+
+ Actually it works, but does not use OSD because some hoary problems with
+ it. Watch bug #446 for this
Revision history for this message
Martin Kretzschmar (martink) wrote :

What kind of breakage?

The build logs for the unpatched version 0.6.3-1 show no problem (though they seem to be for warty).

Undoing the --disable-xosd change and compiling on current breezy shows no problem.

Compiling the newer debian revision with xosd shows no problem either.

Christian Reis (kiko)
Changed in tpb:
status: Rejected → New
Changed in tpb:
assignee: nobody → motu
Revision history for this message
Matthew East (mdke) wrote :

In latest breezy I can confirm that the tpb package is not working properly: I don't see anything on the screen when i change the volume with the hardware mixer problems. The same applies to other function keys such as brightness and toggle wifi. All these keys work fine with or without tpb, but nothing shows up on the screen. https://wiki.ubuntu.com/LaptopTestingTeam/ThinkpadT43-1871

Revision history for this message
Daniel Holbach (dholbach) wrote :

on my x40 i had to
  * load nvram module (via /etc/modules) and
  * start it like so: sudo tpb -d

Revision history for this message
Matthew East (mdke) wrote :

Ok, any chance of saving users the bother of doing this? I know we can't get support for this out of the box, but it would help if all the user had to do is to install tpb.

Revision history for this message
Benjamin Montgomery (bmonty) wrote :

The tpb package in breezy (0.6.4-1ubuntu2) checks for the nvram device, and makes sure that the module gets loaded. It does not start tpb when the package is installed, and it tpb does not get started automatically after a reboot or a restart of X. I think the package should start tpd when it is installed, and be automatically started after a reboot, anyone disagree?

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

I confirm that after latest installation of Breezy, tpb works (volume changes, ThinkLight switches on&off) but no OSD. Now way to get the on screen display working.

Revision history for this message
Matthew East (mdke) wrote :

IIRC, the tpb package is not working out of the box when you install it because you need to create a user/group for nvram. This is not done automatically (again, if I recall properly) because it has certain security risks.

FWIW, on my laptop the tpb package is not necessary to have the volume changes or thinklight: this is all done properly through the kernel. Only OSD is missing.

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Just add your user to NVRAM group, and start tpb -d as root. Now OSD is working.

Revision history for this message
Benjamin Montgomery (bmonty) wrote :

The screen brightness, volume, and thinklight are all controlled in hardware by the laptop. These functions will work without tpb. The only thing tpd provides in relation to the controls working is the OSD feedback when those functions are used (it can also bind other special purpose buttons to user defined functions).

Since this bug is for the OSD not working it should be closed.

Changed in tpb:
status: New → Fixed
Revision history for this message
Paul Sladen (sladen) wrote :

This should have been replaced by part of 'hotkey-setup' now, that loads a small daemon to turn the 'nvram' events into key-presses.

Revision history for this message
Matthew East (mdke) wrote : Re: [Bug 341] tpb doesn't work

On Wed, 2006-03-22 at 11:06 +0000, Paul Sladen wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/341

Paul,

> Comment:
> This should have been replaced by part of 'hotkey-setup' now, that loads
> a small daemon to turn the 'nvram' events into key-presses.

What is necessary now for these special keys to work on thinkpads? do
they work out of the box, or is the tpb package still necessary?
--
<email address hidden>
gnupg pub 1024D/0E6B06FF

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

On 3/22/06, Matthew East <email address hidden> wrote:
> What is necessary now for these special keys to work on thinkpads? do
> they work out of the box, or is the tpb package still necessary?

On my Thinkpad X31 (dapper), the OSD and the audio-volume keys work
only if tpb is loaded..
(tpb -d)

Revision history for this message
Paul Sladen (sladen) wrote :

hotkey-setup Conflicts: 'tpb' and now converts the events into key-presses.

There was a bug in the package in that it didn't 'modprobe' the nvram module. I've uploaded a quickly patched version; please can you confirm that this does work out of the box on all ThinkPads.

Changed in tpb:
assignee: motu → sladen
Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

On 3/23/06, Paul Sladen <email address hidden> wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/341
>
> Comment:
> hotkey-setup Conflicts: 'tpb' and now converts the events into key-
> presses.

Fantastic!
Now it works perfectly on my ThinkPad X31, and the new OSD is beautiful.
Thanks.

Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :

hotkeys-setup doesn't show me any OSD on a thinkpad T20. i'm using dapper and i haven't tpb installed (due to conflicting packages)

Revision history for this message
Matthew East (mdke) wrote :

On Thu, 2006-03-23 at 00:26 +0000, Paul Sladen wrote:

> hotkey-setup Conflicts: 'tpb' and now converts the events into key-
> presses.
>
> please can you
> confirm that this does work out of the box on all ThinkPads.

Volume up/down/mute now working out of the box on my T43, I get the
gnome volume dialogues. Nice work! I really wasn't expecting to see this
working for Dapper, very cool.
--
<email address hidden>
gnupg pub 1024D/0E6B06FF

Revision history for this message
Luca Lorenzetto (lorenzetto-luca) wrote :

the osd continues not appearing on a thinkpad t20 with Ubuntu dapper + xubuntu-desktop package.

Revision history for this message
Paul Sladen (sladen) wrote :

Ah, you have Xubuntu.

The Ubuntu base is working on fixing all the little programs/differences for each type of laptop so that the end result is simple and consistent:

  Magic => /dev/input/event* => X => $something

Xubuntu will need to run some sort of Daemon to convert keypresses like Brightness, Volume, ... to the actions that they should perform. This utility may also provide some sort of visual Head-Up-Display.

Changed in xubuntu-desktop:
status: Unconfirmed → Confirmed
Changed in xubuntu-desktop:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.