On Sat, May 21, 2016 at 04:41:05PM +0530, Muni Sekhar wrote: > On Fri, May 20, 2016 at 10:46 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > On Fri, May 20, 2016 at 09:20:15PM +0530, Muni Sekhar wrote: > >> Hi, > >> > >> > >> We have a customized USB Hub device which has a inbuilt device attached to it. > >> > >> By default Linux kernel’s USB Hub Class driver claims the customized Hub. > >> > >> I need to Send Vendor Specific command to my USB Hub to enable the > >> inbuilt device. What is the best way to achieve it? > > > > Send it from userspace using usbfs? > Yes, it is good option. > > > > > Or write a new hub driver or I'm sure the existing hub driver can be > > extended to support "custom" hubs, it shouldn't be that tough. > Linux hub driver(/drivers/usb/core/hub.c) is part of usbcore.ko and it > is built-in kernel module in our test system. > "existing hub driver can be extended" : Does it mean modifying the > built-in kernel module? Yes, send us patches to do so. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html