Difference between revisions of "Logitech diNovo Mini"

From MythTV Official Wiki
Jump to: navigation, search
m (Media Buttons)
Line 48: Line 48:
 
Now you need to make sure the above will come up each time the MythTV system is rebooted. This is system dependent, but basically whenever ''mythfrontend'' is about to start ''xmodmap'' should be run.
 
Now you need to make sure the above will come up each time the MythTV system is rebooted. This is system dependent, but basically whenever ''mythfrontend'' is about to start ''xmodmap'' should be run.
  
Follow this link to make mouse pad work
+
=== The Mouse-trackpad ===
[http://www.avsforum.com/avs-vb/showthread.php?p=14022134 AVSforums]
+
With the "current" kernel the diNovo Mouse-trackpad does not work out-of-the-box with Linux (Ubuntu kernel 2.6.24-19).
 +
 
 +
Based on some great work by the myth-fans in [http://www.avsforum.com/avs-vb/showthread.php?p=14022134 AVSforums], repairing the problem is a simple configuration change.
 +
 
 +
As root (or via sudo) add the following line to /etc/modprobe.d/options -
 +
 
 +
For Ubuntu 8.04:
 +
  options usbhid quirks=0x046d:0xc71f:0x00080000
 +
 
 +
For Ubuntu 7.10:  (''not verified by the author'')
 +
  options usbhid quirks=0x046d:0xc71f:0x00200000
 +
 
 +
Then rebuild your kernel startup ramdisk, because you need these options at boot-time:
 +
  update-initramfs -u
  
 
=== Technical Notes ===
 
=== Technical Notes ===
 
+
* Using your own bluetooth adapter can cause problems with this keyboard.  The author's own (inexpensive) bluetooth dongle failed to maintain a good link to the keyboard, and using other bluetooth devices (e.g.: a nearby Nintendo Wii console) would cause the link to drop-out.  Using the dongle included with the keyboard solves these stability problems.
* At the time of writing (2008-08-22), the USB bluetooth adapter supplied with the keyboard does not work "out of the box" with LinuxKeyboard functionality works correctly, but the trackpad-mouse does not function.  Using an alternate bluetooth adapter will solve this problem.
+
* On those rare occasions when the keyboard will not pair with the computer - remove the battery from the keyboard, (and type a few keys to exhaust capacitors) before trying againThis usually does the trick.
* Currently the author is having bluetooth stability problems with this keyboard (using an alternate bluetooth dongle) - Sometimes it will work for 3 days straight, other times it cannot keep the bluetooth link up for an hour. The MytvTV box must be power-cycled to re-establish the connection.  Thus this page should not be seen as an endorsement of the productPlease do your own research before purchasing, as these sort of "teething-problems" are often solved rapidly by the Open Source Community (the author certainly hopes so).  
 
  
 
(All trademarks property of their respective owners.)
 
(All trademarks property of their respective owners.)
 
[[Category:Keyboards]]
 
[[Category:Keyboards]]

Revision as of 05:55, 29 August 2008

The Logitech diNovo Mini is a palm-sized keyboard directly targeted at Home Theater PC users. It is a bluetooth keyboard that incorporates a full QWERTY layout with a touch-pad mouse.

http://www.logitech.com/repository/620/jpg/5816.1.0.jpg

Larger Image

Media Buttons

The keyboard includes a row of extra buttons along the top, plus some alternate blue function buttons. At the time of writing (2008-08-22) these buttons are not natively supported under Mythbuntu Linux or MythTV. However it's possible to re-map these keys to something useful for MythTV using xmodmap.

The program xmodmap takes a plain text file of key-codes (determined with the xev program), and the keystroke this code should generate.

 ! DiNovo Mini Keyboard Mappings for MythTV
 !
 !     Volume Down:   keycode 174    XF86AudioLowerVolume
 !     Volume Up:     keycode 176    XF86AudioRaiseVolume
 !     Mute:          keycode 160    XF86AudioMute
 !     Record:        keycode 177    XF86AudioRecord
 !     Skip Left:     keycode 144    XF86AudioPrev
 !     Skip Right:    keycode 153    XF86AudioNext
 !     Stop:          keycode 164    XF86AudioStop
 !     Play/Pause:    keycode 162    XF86AudioPlay
 !     Back:          keycode 22  ?? Backspace
 !     --------------------------
 !     Music:         keycode 129    XF86Music
 !     Browser:       keycode 178    XF86WWW
 !     Power:         keycode 223    XF86Sleep
 !
 keycode 174 = F10
 keycode 176 = F11
 keycode 160 = F9
 keycode 177 = R
 keycode 144 = Left
 keycode 153 = Right
 keycode 164 = Escape
 keycode 162 = P
 keycode 129 = XF86Music
 keycode 178 = XF86WWW
 keycode 223 = XF86Sleep

(Note: The blue alt-keys (Music, Browser, Power) are not mapped to anything useful in MythTV, this is left as an exercise for the reader!)

Save the above to a file named .Xmodmap (or anything else, it doesn't matter). To bring the above functions up immediately enter:

 xmodmap /home/mythtv/.Xmodmap

Now you need to make sure the above will come up each time the MythTV system is rebooted. This is system dependent, but basically whenever mythfrontend is about to start xmodmap should be run.

The Mouse-trackpad

With the "current" kernel the diNovo Mouse-trackpad does not work out-of-the-box with Linux (Ubuntu kernel 2.6.24-19).

Based on some great work by the myth-fans in AVSforums, repairing the problem is a simple configuration change.

As root (or via sudo) add the following line to /etc/modprobe.d/options -

For Ubuntu 8.04:

 options usbhid quirks=0x046d:0xc71f:0x00080000

For Ubuntu 7.10: (not verified by the author)

 options usbhid quirks=0x046d:0xc71f:0x00200000

Then rebuild your kernel startup ramdisk, because you need these options at boot-time:

 update-initramfs -u

Technical Notes

  • Using your own bluetooth adapter can cause problems with this keyboard. The author's own (inexpensive) bluetooth dongle failed to maintain a good link to the keyboard, and using other bluetooth devices (e.g.: a nearby Nintendo Wii console) would cause the link to drop-out. Using the dongle included with the keyboard solves these stability problems.
  • On those rare occasions when the keyboard will not pair with the computer - remove the battery from the keyboard, (and type a few keys to exhaust capacitors) before trying again. This usually does the trick.

(All trademarks property of their respective owners.)