Matthias Clasen | 2 Jul 2009 18:48
Picon

Re: HAL is in maintenance mode

On Tue, Jun 30, 2009 at 1:28 PM, Martin Pitt<martin.pitt <at> ubuntu.com> wrote:
> Hello Dan,
>
> Dan Williams [2009-06-30 13:02 -0400]:
>> NM and ModemManager are now 100% udev in their 'master' branches.
>
> Right, great work! I used to have this as 90% since it still needs a
> release for the distros to roll out. (Sorry, that page is pretty
> distro centric).

Can we add a rawhide column there ? :-)
Andrey Borzenkov | 2 Jul 2009 18:57
Picon

Re: HAL is in maintenance mode

On Tuesday 30 of June 2009 18:06:44 Kay Sievers wrote:
> Udev will exist on almost every Linux system, and low-level users
> can enumerate all current devices and listen to events with libudev.

Is libudev API documentation available?
On Tuesday 30 of June 2009 18:06:44 Kay Sievers wrote:
> Udev will exist on almost every Linux system, and low-level users
> can enumerate all current devices and listen to events with libudev.

Is libudev API documentation available?
Martin Pitt | 2 Jul 2009 18:57
Favicon
Gravatar

Re: HAL is in maintenance mode

Matthias Clasen [2009-07-02 12:48 -0400]:
> Can we add a rawhide column there ? :-)

Sure, go ahead. It's a wiki :)

Martin
--

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
Martin Pitt | 2 Jul 2009 19:58
Favicon
Gravatar

Re: HAL is in maintenance mode

Andrey Borzenkov [2009-07-02 20:57 +0400]:
> On Tuesday 30 of June 2009 18:06:44 Kay Sievers wrote:
> > Udev will exist on almost every Linux system, and low-level users
> > can enumerate all current devices and listen to events with libudev.
> 
> Is libudev API documentation available?

It's generated during build, and also available online:

  http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/

Also, the more convenient libgudev API for gobject based programs:

  http://www.kernel.org/pub/linux/utils/kernel/hotplug/gudev/

Martin

--

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
Andrey Borzenkov [2009-07-02 20:57 +0400]:
> On Tuesday 30 of June 2009 18:06:44 Kay Sievers wrote:
> > Udev will exist on almost every Linux system, and low-level users
> > can enumerate all current devices and listen to events with libudev.
> 
> Is libudev API documentation available?

It's generated during build, and also available online:
(Continue reading)

eial@cs.bgu.ac.il | 3 Jul 2009 10:37
Picon
Picon
Favicon

touchpad movement is shuttering and erratic


hello.
I'm running gentoo using hal 0.5.12_rc1, hal-info 20090414 with a alps touchpad and xserver 1.6.1.904,
when I run a graphic display (kde or e17), the cursor's movement is shuttering and erratic.
here is my fdi file:
<?xml version="1.0" encoding="UTF-8"?>                                      
<deviceinfo version="0.2">                                                  
  <device>                                                                  
    <match key="info.capabilities" contains="input.touchpad">               
      <match key="info.product" contains="ALPS GlidePoint">                 
        <merge key="input.x11_driver" type="string">synaptics</merge>       
        <merge key="input.x11_options.SHMConfig" type="string">true</merge> 
   <!-- Edges -->                                                           
        <merge key="input.x11_options.LeftEdge" type="string">120</merge>   
        <merge key="input.x11_options.RightEdge" type="string">880</merge>  
        <merge key="input.x11_options.TopEdge" type="string">120</merge>    
        <merge key="input.x11_options.BottomEdge" type="string">650</merge> 
   <!-- Scrolling up/down -->                                               
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> 
        <merge key="input.x11_options.UpDownScrolling" type="string">true</merge>
        <merge key="input.x11_options.LeftRightScrolling" type="string">true</merge>                                                                                  
        <merge key="input.x11_options.UpDownScrollRepeat" type="string">true</merge>
        <merge key="input.x11_options.LeftRightScrollRepeat" type="string">true</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.7</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">1.3</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.050</merge>
        <merge key="input.x11_options.EdgeMotionMinSpeed" type="string">5</merge>
        <merge key="input.x11_options.EdgeMotionMaxSpeed" type="string">10</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">45</merge>
(Continue reading)

Peter Hutterer | 4 Jul 2009 02:49

Re: touchpad movement is shuttering and erratic

On Fri, Jul 03, 2009 at 11:37:56AM +0300, eial <at> cs.bgu.ac.il wrote:
> I'm running gentoo using hal 0.5.12_rc1, hal-info 20090414 with a alps
> touchpad and xserver 1.6.1.904, when I run a graphic display (kde or e17),
> the cursor's movement is shuttering and erratic.

HAL is little more than a replacement for the xorg.conf (from the server's
POV) and not at fault here. Please file a bug on bugs.freedesktop.org under
the Input/synaptics component.

Don't forget to attach your Xorg.log, chances are high we'll need it.

Cheers,
  Peter
lari sihto | 4 Jul 2009 18:35
Picon

When are you going to fix this?

I guess this problem is known by now since it has happened to me (and others) for years.
When you insert a broken media onto the cd drive, for example a scratched cd-rw or dvd-rw that cannot be read,
hal keeps polling the device endlessly (several minutes) before finally aborting.
Shouldn't there be a more elegant solution to this like maybe aborting much sooner and maybe
send some "media is broken" message to all apps that may be interested of the specific event.
BTW, why is the cd drive polled. Doesn't it send any interrupts to the system when the tray is loaded/media is inserted?

<div><p>I guess this problem is known by now since it has happened to me (and others) for years.<br>When you insert a broken media onto the cd drive, for example a scratched cd-rw or dvd-rw that cannot be read,<br>hal keeps polling the device endlessly (several minutes) before finally aborting. <br>
Shouldn't there be a more elegant solution to this like maybe aborting much sooner and maybe<br>send some "media is broken" message to all apps that may be interested of the specific event.<br>BTW, why is the cd drive polled. Doesn't it send any interrupts to the system when the tray is loaded/media is inserted?<br></p></div>
Ian Lynagh | 5 Jul 2009 12:52
Picon
Gravatar

suspend button is seen by hal, but machine doesn't suspend


Hi all,

I'm having some problems making my suspend button etc work, and I was wondering if anyone could help me please?

If I run "lshal -m" and press "Fn-F3" (suspend) then I get:
    01:12:05.152: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = sleep

If I close the lid then I get:
    01:11:24.966: computer_logicaldev_input_2 property button.state.value = true
    01:11:24.968: computer_logicaldev_input_2 condition ButtonPressed = lid

If I open the lid then I get:
    01:11:32.388: computer_logicaldev_input_2 property button.state.value = false
    01:11:32.391: computer_logicaldev_input_2 condition ButtonPressed = lid
    01:11:32.394: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = wake-up

If I run:
    sudo s2ram -f -a 3
then the machine suspends, and if I run
    sudo s2disk
then it hibernates.

Can anyone tell me how I can make pressing "Fn-F3" run "s2ram -f -a 3",
and closing the lid run "s2disk", please?

Is hal the right place to be trying to do this?

Thanks
Ian

Rémi Cardona | 5 Jul 2009 20:57
Picon
Favicon

Re: When are you going to fix this?

Le 04/07/2009 18:35, lari sihto a écrit :
[...]
> BTW, why is the cd drive polled. Doesn't it send any interrupts to the
> system when the tray is loaded/media is inserted?

AFAIR, the ATAPI spec specifies that, but no drive known to man actually 
supports it correctly.

Cheers,

Rémi Cardona
Sylvain Raybaud | 7 Jul 2009 19:46
Favicon

Xorg 1.6 + evdev + hal = puzzling keyboard behavior

Dear HAL list

  I post here for the first time and unfortunately it is to report a problem 
which I think is related to HAL.

I shall first describe my system:

fresh gentoo install with keyword ~amd64

uname -a
Linux wonderland 2.6.30-gentoo-r2 #1 SMP Tue Jul 7 11:54:54 CEST 2009 x86_64 
Intel(R) Core(TM) i7 CPU 920  <at>  2.67GHz GenuineIntel GNU/Linux

hald --version
HAL package version: 0.5.12rc1

udevd --version
141

hotplug version: 20040923-r2

X -version
[...]
X.Org X Server 1.6.1.902 (1.6.2 RC 2)
Release Date: 2009-6-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r2 x86_64

***

I shall now describe the problem: in one word, it is impossible to get a 
usable keyboard when HAL is running.

When I start X (kde4) it is as if a key was constantly pressed. This key 
changes each time. I've got a console which pops up automatically when I log 
in, and I see it being filled, for example, with the character '2'.
If I use kdm the problem starts at the login screen, with characters being 
repeatedly written in the "login" field. Some random characters are also 
displayed. It is not only printable characters, from the behavior I can guess 
that, for example, arrow keys are also "pressed".

It happens regardless of the content of xorg.conf (with or without InputDevice 
sections, whith either kdb or evdev as a driver, and even with no xorg.conf at 
all). I have got evdev built in the kernel and evbug as a module. If I stop 
hald and use kdb and mouse as drivers for input devices the problem 
disappears.

***

Here are some helpful files:

relevant section of /var/log/message, striped of all evbug events (hald 
was run with "hald --verbose=yes --use-syslog=yes")
http://perso.crans.org/raybaud/messages.hald.gz
I just started hald, then ran startx, then pluged in a usb HDD which kde 
failed to notice, then pressed a key (f12), then stoped X, then stoped hald.

the same, including evbug events:
http://perso.crans.org/raybaud/messages.hald_plus_evbug.gz

output of lshal:
http://perso.crans.org/raybaud/LSHAL.gz

output of ps aux | grep hal:
102       4241  0.0  0.0  27592  4652 ?        Ss   18:08   0:00 hald --
daemon=yes --verbose=yes --use-syslog
root      4244  0.0  0.0  13544  1156 ?        S    18:08   0:00 hald-runner
root      4248  0.0  0.0  15664  1216 ?        S    18:08   0:00 hald-addon-
input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event0
102       4267  0.0  0.0  19572  1124 ?        S    18:08   0:00 hald-addon-
acpi: listening on acpid socket /var/run/acpid.socket

***

Some context:

the install is fresh. Everything used to work fine before I reinstalled the 
system (because of hard disk failure. No global configuration file has been 
preserved). I didn't do any fancy configuration except the ~amd64 keyword (I 
bet I deserve what I get ;) ).
I believe this is a hal-related problem because it also fails to show pluged 
external hard drives in kde (the device exists in /dev, but kde doesn't seem 
to notice it. I think HAL is supposed to tell him, so I supposed it fails to 
do so)

I may rebuild HAL with the "debug" flag turned on if you feel it's necessary, 
or run whatever experiment you think may help.

best regards,

--

-- 
Sylvain


Gmane