Re: ftdi_sio usb-serial driver and hotplug

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

 



On Tue, Feb 24, 2009 at 08:38, Anton Fedorov <datacompboy@xxxxxxxxxxx> wrote:
>   For my device control i need to have latency set up into 1,
> otherwise i have poor performance.
>
>   I can write 1 into /sys/bus/usb_sertial/devices/ttyUSB0/latency_timer,
> but only as root, and need to re-write into it after every reconnect device,
> that weird.
>
>   I have tried to setup udev, by putting into /etc/udev/rules.d/
>   file z99_ftdi.rules with contents:
> DRIVER="ftdi_sio", SUBSYSTEM=="usb-serial", ATTR{latency_timer}="1"
>   test of rules show that it should correctly write on connection,
>   but after reconnect of device it doesn't have latency_timer
>   changed -- it still have 16 latency set :(

Try DRIVERS=, it should work here, because the parent device is also
created by the same driver. The driver value may not be set at the
time the event is processed, because the driver is binding to the
device not already bound.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux