You are not logged in.

#1 2012-10-28 05:13:08

zhobbs
Member
Registered: 2010-08-01
Posts: 11

[SOLVED] Ignore USB device

Hi All,

I'm trying to figure out how to have udev (systemd?) ignore a specific USB device so that I can make those devices available to VMware. After quite a bit of research and testing, it appears that there are two ways to go about this, and neither are working:

1) udev rule with OPTIONS="ignore_device"

Trying the following udev rule:

ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", OPTIONS="ignore_device"

I can verify that this rule is loaded, and if I add a 'RUN' assignment I can confirm that this rule would be run. However, it does not work. Also, in the udev man page, I can't find reference to "ignore_device" anymore.

2) blacklist module loading with "quirks"

/etc/modprobe.d/iphone.conf:

blacklist snd_usb_audio
blacklist usb usb.quirks=0×05ac:0×12a0:0×04
blacklist uhci_hcd uhci_hcd.quirks=0×05ac:0×12a0:0×04
blacklist ehci_hcd ehci_hcd.quirks=0×05ac:0×12a0:0×04

This is also not doing anything according to dmesg:

[  190.143557] usb 2-3.4: new high-speed USB device number 7 using ehci_hcd
[  190.277873] ipheth 2-3.4:4.2: Apple iPhone USB Ethernet device attached

Anyone have any ideas?

Thanks,
Zach

Last edited by zhobbs (2012-10-28 05:22:08)

Offline

#2 2012-10-28 05:21:47

zhobbs
Member
Registered: 2010-08-01
Posts: 11

Re: [SOLVED] Ignore USB device

Actually...turns out VMware should be able to do this without udev, looks like it was segfaulting:
https://wiki.archlinux.org/index.php/VM … egfaulting

So, it's solved for my specific case, though still not sure why I couldn't get these two solutions to work.

Offline

Board footer

Powered by FluxBB