Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion HAL and USB-Storage devices
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David W. Hodgins  
View profile  
 More options Aug 1 2008, 4:29 pm
Newsgroups: alt.os.linux
From: "David W. Hodgins" <dwhodg...@nomail.afraid.org>
Date: Fri, 01 Aug 2008 16:29:01 -0400
Local: Fri, Aug 1 2008 4:29 pm
Subject: Re: HAL and USB-Storage devices

On Fri, 01 Aug 2008 16:03:10 -0400, ArameFarpado <a-farpado.s...@netcabo.pt> wrote:
> this is puzzling me... looks like HAL remembers that those old pens wore
> allready on the system when he was not controling them, and now he is
> ignoring them.

The haldaemon only handles devices it knows how to handle. In Mandriva,
these are defined in
/usr/share/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi
using the model, or drive type or vendor/device ids.

I have a usb memory stick that is not recognized by any of these matches.
In order to have haldaemon recognize it as a memory stick, I've created ...
[root@hodgins 10freedesktop]# cat /etc/hal/fdi/policy/my.fdi
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->

<deviceinfo version="0.2">
  <device>

    <match key="storage.bus" string="usb">
      <match key="@storage.originating_device:usb.vendor_id" int="0x090c">
        <match key="@storage.originating_device:usb.product_id" int="0x1000">
          <merge key="storage.drive_type" type="string">memory_stick</merge>
        </match>
      </match>
    </match>

  </device>
</deviceinfo>

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google