Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258392 - sys-apps/hal-0.5.11-r8: doesn't create/install/leave fdi files in /etc/hal/fdi/policy dir: X inputs still work OK
Summary: sys-apps/hal-0.5.11-r8: doesn't create/install/leave fdi files in /etc/hal/fd...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 01:05 UTC by Robert Golding
Modified: 2009-02-11 01:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Golding 2009-02-10 01:05:32 UTC
I am running x86 on an AMD64 and have a Logitech Wave Desktop set (USB).

I noticed an error with the merge of sys-apps/hal-0.5.11-r8 requesting I fix it with;
 ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

I did this then re-merged hal.
I double checked the files and found that there were no files in any of the sub dirs in /etc/hal/fdi.

X.org was still working fine regards my keyboard and mouse, so I also checked my xorg.conf and it still had the input sections removed.

I don't know if this is a bug, I thought the policy files had to be there for X to read them to install mouse/kbd when X starts as per this postinstall section from hal merge;
X Input Hotplugging (if you build xorg-server with the HAL useflag)
reads user specific configuration from /etc/hal/fdi/policy/.
You should remove the Input sections from your xorg.conf once you have
migrated the rules to a HAL fdi file.

I don't understand how I'm getting a mouse and kbd when the relevant file is missing.

Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/hal (merge Xorg with hal USE)
2.
3.

Actual Results:  
no *input.fdi file in /etc/hal/fdi/policy

Expected Results:  
10-x11-input.fdi file in /etc/hal/fdi/policy

My xorg.conf;
# /etc/X11/xorg.conf 

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    Option         "OffTime" "30"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/liberation-fonts"  
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/cheapskatefonts"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts/default/ghostscript"
    FontPath        "/usr/share/fonts/freefonts"
    FontPath        "/usr/share/fonts/freefont-ttf"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/terminus"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/unifont"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    SubSection     "extmod"
	Option         "omit xfree86-dga"
    EndSubSection
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "LG Electronics"
    ModelName      "LG W2252TQ"
##  Using "UseEdidFreqs" "yes" in Device-Videocard0
#    HorizSync       30.0 - 83.0
#    VertRefresh     56.0 - 75.0
    Gamma           1
    Option         "DPMS"
    Option         "UseEdidDPI" "false"
    Option         "DPI" "96 x 96"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "ASUSTek Computer Inc."
    BoardName      "nVidia GeForce EN9500GT MAGIC/DI/512M/A DDR2 PCI-E"
    Option         "AllowGLXWithComposite" "true"
#    Option         "backingstore" "true"
    Option         "ConnectToAcpid" "on"
    Option         "CursorShadow" "on"
    Option         "DPMS" "true"
    Option         "NoLogo" "true"
    Option         "RenderAccel" "true"
    Option         "UseEdidFreqs" "yes"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Comment 1 Rafał Mużyło 2009-02-10 08:04:51 UTC
There should be no files in /etc/hal/fdi,
unless you've created them yourself.

Hal ships with a few files in /usr/share/hal
that create 'default' settings for input,
but those settings are incorrect for most of the people
(at least those outside en_US).

And with the way hal configuration is created, always
crosscheck your config files with their final result -
the one that hal reports.
Comment 2 Robert Golding 2009-02-11 00:01:38 UTC
(In reply to comment #1)
> There should be no files in /etc/hal/fdi,
> unless you've created them yourself.
> 
> Hal ships with a few files in /usr/share/hal
> that create 'default' settings for input,
> but those settings are incorrect for most of the people
> (at least those outside en_US).
> 
> And with the way hal configuration is created, always
> crosscheck your config files with their final result -
> the one that hal reports.
> 

In other words, the fdi file in /usr/share/hal is the default, unless it is overridden by an entry in /etc/hal.

Is that correct?

Also, what command do I use to get hal reports?