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 14:26:13 +0000 [thread overview]
Message-ID: <1102775173.9126.24.camel@localhost.localdomain> (raw)
In-Reply-To: <20041209073912.GB7187@alea>
On Thu, 2004-12-09 at 14:10 +0100, hy2 wrote:
> > usb-stylo != usb-stilo
> > Spelling error?
> language error, i'm italian :)
:)
> > > 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:
> yes, hight bash scripting.
>
> i need to match vendor && product so i changed match_flags to
> 0x0003 (right?) and i have corrected the script name.
Seems right.
> but if..
> # lsusb
> Bus 003 Device 005: ID 0ea0:6803 Ours Technology, Inc. OTI-6803 Flash Disk
>
> is the target device plugged-in.
> why the script /etc/hotplug/usb/usb-stylo is still ignored?
Is the script executable? Does it run if you call it from the
commandline?
> which kind of test can i perform to understand where my configuration fails?
Just uncomment:
# DEBUG=yes; export DEBUG
in /etc/hotplug/hotplug.functions.
Here is my test. Works by calling "my-mouse" which just logs the env:
default.hotplug[11643]: invoke /etc/hotplug/usb.agent ()
usb.agent[11643]: Setup my-mouse 0x06 0x06 for USB product 46d/c03e/2000
usb.agent[11643]: Module setup my-mouse for USB product 46d/c03e/2000
logger: SUBSYSTEM=usb WORKS=1 DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 ...
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
prev parent reply other threads:[~2004-12-11 14:26 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
2004-12-11 14:26 ` Kay Sievers [this message]
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=1102775173.9126.24.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.