From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb pen usb.usermap problem
Date: Sat, 11 Dec 2004 12:29:02 +0000 [thread overview]
Message-ID: <1102768142.9126.6.camel@localhost.localdomain> (raw)
In-Reply-To: <20041209073912.GB7187@alea>
On Thu, 2004-12-09 at 08:39 +0100, hy2 wrote:
> hy list,
>
> i would run a bash script when i plug-in my usb pen.
> the script is /etc/hotplug/usb/usb-stylo.
>
> so i added this line to /etc/hotplug/usb.usermap.
>
> usb-stilo 0x000f 0x0ea0 0x6803 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-stylo != usb-stilo
Spelling error?
> i don't know how to set the 1th field (match_flags) but about
> the 2th end 3th i'm sure they are right.
Look at /etc/hotplug/usb.agent:
USB_MATCH_VENDOR=$((0x0001))
USB_MATCH_PRODUCT=$((0x0002))
USB_MATCH_DEV_LO=$((0x0004))
USB_MATCH_DEV_HI=$((0x0008))
USB_MATCH_DEV_CLASS=$((0x0010))
USB_MATCH_DEV_SUBCLASS=$((0x0020))
USB_MATCH_DEV_PROTOCOL=$((0x0040))
USB_MATCH_INT_CLASS=$((0x0080))
USB_MATCH_INT_SUBCLASS=$((0x0100))
USB_MATCH_INT_PROTOCOL=$((0x0200))
Good luck,
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2004-12-11 12:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 7:39 usb pen usb.usermap problem hy2
2004-12-09 13:10 ` hy2
2004-12-09 14:09 ` hy2
2004-12-11 12:29 ` Kay Sievers [this message]
2004-12-11 14:26 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1102768142.9126.6.camel@localhost.localdomain \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).