udev rule to reserve ftdi jtag instead of device description locked quirk

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

 



Hi there.
I am seeking for a solution to make ftdi-sio.ko ignoring one of the
ft2232h (and similar) channel, where it have to be free for jtag (and
other) operations via libusb, libftdi, libftd2xx and so on.

I have found in the sources, that there is a long list of device
descriptors of devices with similar needs, but the particular "Lattice
FTUSB Interface Cable" isn't here.

I can append my device to source code and recompile the module myself,
but that is not the way which may help other people.

I also think, that the module quirk is not the best way to achieve this
behavior of freeing sub-channel.

In the eeprom connected to a ftdi chip, there is information if channel
is "VCP" - serial port or "D2XX" - direct.
Windows driver is checking it and makes not virtual COM port where VCP
is not selected.

My opinion is, that similar behavior should be provided by udev and the
kernel module has to be configured in the time in runtime while
registering a newly connected chip.

The "quirked" devices list should be moved to udev/rules.d and user
should be able to write his own rules for his devices, which also may be
specific (homemade) hardware.
The list of quirks in source code will be in principle always incomplete.

I am not really experienced kernel driver hacker, but i would like to
help with it.

Many thanks

Jakub Ladman

--
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