USB stack getting confused
Hans Petter Selasky
hps at selasky.org
Sun Mar 10 10:17:48 UTC 2019
On 3/10/19 10:47 AM, Konstantin Belousov wrote:
>> Hi,
>>
>> How will these apps detect that they need to open the new /dev/mixer node?
>>
>> I mean, after hang is fixed, mixer app will still try to query the old
>> file handle forever?
> Userspace gets either ENXIO or EIO from syscalls. For polls, it gets
> POLLIN | POLLHUP immediately.
>
It is likely that the app doesn't check the return value from the mixer
IOCTL at all.
--HPS
More information about the freebsd-hackers
mailing list