You are not logged in.

#1 2009-06-15 12:23:07

FenDanT
Member
From: Chamoson- Wallis - Switzerland
Registered: 2007-11-13
Posts: 58

HP dv7 : no numeric pad...

Hey all tongue

I have a problem with an HP DV7 -1170-ez... A 17' laptop...

Impossible form me to activate the numeric pad... I have tried with de "numlock" key and with fn+numlock, but without any success.

Here's my /etc/hal/fdi/policy/10-keymap.fdi

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">ch</merge>
      <merge key="input.xkb.variant" type="string">fr</merge>
    </match>
  </device>
</deviceinfo>

Do i have to do something special to use it ?

PS : that's my only problem : sound, wifi, webcam, mutimedia touch, touchpad... Everything is ok cool

Offline

#2 2009-06-15 22:48:09

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: HP dv7 : no numeric pad...

Oh finally! Another Arch user with a dv7 big_smile

FTR, my numpad works fine, and has always worked fine since I installed. I don't have any HAL config for it:

root /etc/hal/fdi/policy # ls -lh
total 0
root /etc/hal/fdi/policy #

I'm using the NVidia drivers so I have an xorg.conf file instead of using HAL/DBUS hotplugging which might be what's different. Here's my xorg.conf: http://www.pastebin.ca/1461617

I'll swap you for your ALSA config? tongue wink Do you have the scroll bar part of the touchpad working?

Offline

#3 2009-06-16 06:03:10

FenDanT
Member
From: Chamoson- Wallis - Switzerland
Registered: 2007-11-13
Posts: 58

Re: HP dv7 : no numeric pad...

Hey fukawi2 tongue

I was just thinking i was alone lost in the world with this DV7 lol

Hmmm i'm not sure if i can set up my keyboard in xorg.conf and using at the same time hal/dbus ? Is there a way to setup correctly my keayboard with /etc/hal/fdi/policy/10-keymap.fdi ?

Or can i use at the same time both x11 and evdev?

For the pad, everything works very well, including the scroll bar. I just installed synaptic and as i have read in the wiki, just using

/etc/hal/fdi/policy/11-x11-synaptics.fdi

Here's the content

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">3</merge>
    <merge key="input.x11_options.TapButton3" type="string">2</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
    <merge key="input.x11_options.SHMConfig" type="string">true</merge>

    Maximum movement of the finger for detecting a tap
    <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

    Enable vertical scrolling when dragging along the right edge
    <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

    Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
    <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

    Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
    <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

    If on, circular scrolling is used
    <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

    For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
    </match>
  </device>
</deviceinfo>

Hope this will work for you too cool

For Alsa, i just ran it as usual... Just had to ad this line

options snd-hda-intel enable_msi=1

in

/etc/modprobe.d

and in

/etc/modprobe.conf

I had to blacklist this two modules in /etc/rc.conf

!pcspkr !snd_pcsp

That's it cool

Last edited by FenDanT (2009-06-16 06:07:33)

Offline

#4 2009-06-16 08:58:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: HP dv7 : no numeric pad...

And does that work with the .29 kernel? .29 broke snd_hda_intel for a lot of people it seems, including me.

You can have an xorg.conf file and use hotplugging at the same time -- that was the problem for a lot of people when hotplugging first came in. They didn't have HAL running and when they started xorg it would freeze, so they had to specifically disable hotplugging in their xorg.conf.

Maybe try adding the keyboard configuration from my xorg to yours, and continue allowing HAL to handle your touchpad might work?

Offline

#5 2009-06-16 13:03:15

FenDanT
Member
From: Chamoson- Wallis - Switzerland
Registered: 2007-11-13
Posts: 58

Re: HP dv7 : no numeric pad...

Hey again  tongue

No problem with 2.6.29 kernel...

[jacques@cave ~]$ uname -a
Linux cave 2.6.29-ARCH #1 SMP PREEMPT Wed May 20 06:42:43 UTC 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
[jacques@cave ~]$

Seems like i have no choice for my keyboard... But a bit scary for me to use both evdev and xorg.conf...  yikes

I'm not sure how to disable evdev for the keyboard and keeping it for the touchpad... have you an idea '  roll

Offline

#6 2009-06-16 22:19:03

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: HP dv7 : no numeric pad...

Hmmm, fair enough neutral

I assume that if you don't have anything for the touchpad in xorg.conf then evdev will take care of it. (IOW, just leave the touchpad config out)

Offline

#7 2009-06-17 04:14:18

FenDanT
Member
From: Chamoson- Wallis - Switzerland
Registered: 2007-11-13
Posts: 58

Re: HP dv7 : no numeric pad...

Hey again tongue

Seems to be harder than i thought... I tried with showkeys in a tty... And absolutely nothing for the numlock touch...   sad

I think that's because the kernel dont recognize my keyboard... Im i right ?   roll

What's exactly your DV7 model ?

Offline

#8 2009-06-17 06:16:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: HP dv7 : no numeric pad...

HP dv7-1026tx

Offline

Board footer

Powered by FluxBB