BMC junk devices

Emmanuel Dreyfus <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Hello

On a x86 servers based on Supermicro X13SAE-F motherboard, 
it seems the BMC (which cannot be disabled) exports a bunch of 
devices:

uhub2 at uhub1 port 4: Aspeed (0x1d6b) USB Virtual Hub (0x0107), class 9/0, rev 2.00/1.00, addr 26
uhub2: single transaction translator
uhidev0 at uhub2 port 1 configuration 1 interface 0
hidev0: Linux 5.4.62 with aspeed_vhub (0x0557) SMCI HID KM (0x9241), rev 2.00/5.04, addr 9, iclass 3/0
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
uhidev1 at uhub2 port 1 configuration 1 interface 1
uhidev1: Linux 5.4.62 with aspeed_vhub (0x0557) SMCI HID KM (0x9241), rev 2.00/5.04, addr 9, iclass 3/1
ums0 at uhidev1: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
urndis0 at uhub2 port 2 configuration 2 interface 0
urndis0: Linux 5.4.62 with aspeed_vhub (0x0b1f) RNDIS/Ethernet Gadget (0x03ee), rev 2.00/5.04, addr 10
urndis0: Ethernet address be:3a:f2:b6:05:9f

They are detected, then disconnected, then detected again... Do we
have a simple way of disabling them? 

userconf does not help, because they are not there a boot time. 

The least stupid thing I can think of is to patch uhub_match() to
ignore vendor ID 0x1d6b and product ID 0x0107. Is there something
better to be done?


-- 
Emmanuel Dreyfus
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.