On 12/27/2010 03:52 PM, walt wrote:
> On 12/27/2010 06:03 AM, walt wrote:
>> ...
>> My new (post-hal) mouse config:
>>
>> Section "InputClass" <----- note the new word "Class", not "Device"
>> Identifier "trackball" <----- can be anything you want
>> MatchProduct "ImExPS" <-----*new*. Matches the product name!
> 
> Clarification about that MatchProduct keyword:
> 
> Hal and udev differ slightly in the way they identify hardware devices
> (is anyone surprised?).
> 
> When I run 'lshal' to display all my hardware, I see this about the mouse:
> 
> info.product = 'ImExPS/2 Logitech Explorer Mouse'
> 
> Now for the confusion.  When I run 'udevadm info --export-db" I see:
> 
> E: PRODUCT=11/2/6/6d
> E: NAME="ImExPS/2 Logitech Explorer Mouse"
> 
> Note that MatchProduct in the xorg.conf file really wants the udev NAME,
> *not* the udev PRODUCT.
> 
> I suppose the MatchProduct keyword was selected back in the day when
> hal was still the boss instead of a has-been.  "MatchName" would be much
> less confusing than "MatchProduct".  But don't hold your breath waiting
> for it to change.

Thanks, Walt, this is great. It's good to see the potholes in the road
before the wheel gets in them. These are the kinds of tidbits of
information that you really want to find when you are looking for them
once you're *in* the pothole, but keeping up with the list and with
input from the great people here, it makes the ride much less bumpy.

Reply via email to