Re: Commit *driver core: emit uevents when device is bound to a driver* causes regression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul,

I agree that this is a regression in user space, but I would also like to note that, as I reported in Debian Bug#883425 ([3] and [4] below), I was able to restore user space functionality by upgrading to gvfs 1.35.90-1. This later gvfs appears to support (i.e. survive) these uevents.

Kind regards,
Ben.

On 07/04/18 00:20, Paul Menzel wrote:
Dear Linux folks,


Commit 1455cf8 (driver core: emit uevents when device is bound to a
driver) [1], introduced in Linux 4.14-rc1, causes a regression in user space.

After disconnecting USB devices, they are still shown as plugged in [2][3].

I seem to be having a similar issue, but with an iPhone X using USB
to provide internet access. Even after the phone is disconnected, it
still shows up as "loaded active plugged". The only way to fix this
is to reboot or use a different USB port.

`git bisect` shows that commit 1455cf8 (driver core: emit uevents when device is bound to a driver) is at fault [4].

As user space should not break with newer Linux kernels, do you know what to do about that or can you think of a fix?


Kind regards,

Paul


[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1455cf8dbfd06aa7651dcfccbadb7a093944ca65
[2] https://github.com/systemd/systemd/issues/7587
[3] https://bugs.debian.org/883425
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883425#68


--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <https://transient.nz/>
New Zealand
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux