Re: [PATCH] usb: serial: ftdi_sio: option to hide selected interfaces of multiple interfaces convertes

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

 



Hi,

Dnia Friday 14 September 2012 13:43, Alan Stern napisał:
> On Fri, 14 Sep 2012, Robert Ryszard Paciorek wrote:
> > Add parametrs to hide some of converter interfaces against ftdi_sio
> > driver. This allows on multiple-interfaces converter (such as ft2232,
> > ft4232) use uart with kernel driver and use e.g. I2C or SPI (on other
> > interface) with libusb or other kernel-driver.
>
> Using a module parameter for this sort of thing is generally a bad
> idea.

I was thinking about use sysfs, but module parameter working nice while 
booting system and load different drivers (e.g. autodecect other module for 
ignoring interfaces).

> What will happen if there are several FTDI devices plugged in? 
> You might want to ignore the interfaces on some of them but not on
> others.

Patch add second parametr, who determinate "USB product name" of device,
whose interfaces we want to ignore.

Regards,
Robert Paciorek
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux