lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025012200-activist-disprove-808a@gregkh>
Date: Wed, 22 Jan 2025 14:53:42 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Catalin Popescu <catalin.popescu@...ca-geosystems.com>
Cc: johan@...nel.org, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org, m.felsch@...gutronix.de,
	bsp-development.geo@...ca-geosystems.com
Subject: Re: [PATCH] usb: core: support interface node for simple USB devices

On Wed, Jan 22, 2025 at 02:47:32PM +0100, Catalin Popescu wrote:
> A simple usb device has a single configuration and a single interface
> and is considered as a "combined node" when defined in the devicetree.
> If available, its interface node is simply ignored which is a problem
> whenever the interface node has subnodes. To prevent that from happening
> first check for any subnode and ignore the interface node only if no
> subnode was found.
> 
> Example: FTDI chip FT234XD that has only one UART interface which is
> being used as a serdev by other driver.
> 
> device@1 {
> 	compatible = "usb403,6015";
> 	reg = <1>;
> 
> 	#address-cells = <2>;
> 	#size-cells = <0>;
> 
> 	interface@0 {
> 		compatible = "usbif403,6015.config1.0";
> 		reg = <0 1>;
> 
> 		bluetooth {
> 			compatible = "nxp,88w8987-bt";
> 		};
> 	};
> };

serdev can not use usb-serial devices due to the lack of hotplugging, so
why is this an issue?  I thought that just would not work.

confused,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ