linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Edward Siefker" <hatta00@fastmail.fm>
To: linux-hotplug@vger.kernel.org
Subject: ignore_device
Date: Sat, 26 Dec 2009 23:22:19 +0000	[thread overview]
Message-ID: <1261869739.30328.1351829343@webmail.messagingengine.com> (raw)

I am trying to write a udev rule that will cause linux to completely
ignore 
a USB device.  This is necessary because VirtualBox will not load USB
devices
that have been grabbed by the host system.  

Anyway, I created a file '/etc/udev/rules.d/11-blacklist.rules' with the
line:

ATTR{idVendor}="03eb", OPTIONS+="ignore_device"

This seems to have had no effect whatsoever.  What am I doing wrong?  I
would
just blacklist the module, but this device identifies (incorrectly) as
an HID
device.  I need those of course, so that's a problem. 

Am I barking up the wrong tree here?  Is there some other way to get
linux to
not hand my USB device over to the HID driver so it will be available
for VirtualBox?

BTW, I'm using Udev 149 with kernel 2.6.31-1-amd64 on Debian Sid. 
Thanks
for any help.
-Hatta
-- 
  
  hatta00@fastmail.fm

-- 
http://www.fastmail.fm - Access your email from home and the web


             reply	other threads:[~2009-12-26 23:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-26 23:22 Edward Siefker [this message]
2009-12-26 23:33 ` ignore_device Jim Paris
2009-12-26 23:57 ` ignore_device Edward Siefker
2009-12-27 10:28 ` ignore_device Martin Pitt

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=1261869739.30328.1351829343@webmail.messagingengine.com \
    --to=hatta00@fastmail.fm \
    --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).