[Bug 235257] snd_uaudio not getting loaded automatically after migration to devmatch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 31 19:55:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235257

--- Comment #17 from Max <maxsteciuk at gmail.com> ---
And I see why. devmatch binary is not in the execution  when launched by rc.


>>>Executing 'sh /etc/rc.devd devmatch start.'?'$' at bus=0 hubaddr=3 port=4 devaddr=9 interface=0 >>>ugen=ugen0.9 vendor=0x0451 product=0xca01 devclass=0x00 devsubclass=0x00 devproto=0x00 >>>sernum="" release=0x0100 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00 on uhub2' '?'$' at >>>bus=0 hubaddr=3 port=4 devaddr=9 interface=0 ugen=ugen0.9 vendor=0x0451 product=0xca01 ?>>>devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="" release=0x0100 mode=host intclass=0x03 >>>ntsubclass=0x00 intprotocol=0x00 on uhub2''
>>>...
>>>exec: /devmatch: not found


I tried putting absolute path in the script but it didn't help

>>> binary_path="/sbin/devmatch"
>>>...
>>>        if [ -n "$one_nomatch" ]; then
>>>                list=$(${binary_path} -p "${one_nomatch}" | sort -u)
>>>        else
>>>                list=$(${binary_path}| sort -u)
>>>        fi


Thanks,
Max

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list