From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anton Fedorov" Date: Fri, 27 Feb 2009 15:49:59 +0000 Subject: Re: ftdi_sio usb-serial driver and hotplug Message-Id: <696cb67878af48be224687d8d64f0160.squirrel@webmail.call2ru.com> List-Id: References: <559911452.20090224133820@call2ru.com> In-Reply-To: <559911452.20090224133820@call2ru.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org В письме от Срд, 25 Фев 2009, 19:25 Kay Sievers пишет: > On Wed, Feb 25, 2009 at 14:12, Anton Fedorov wrote: >> >> В письме от Втр, 24 Фев 2009, 22:16 Kay Sievers пишет: >>>>   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. Sorry for wrong answer last time -- instead of "reply to list" clicked "reply private" :) yes, you right -- using "DRIVERS=" fixed problem, now latency correctly set up. Many thanks! But why that difference? udevinfo --attribute-walk shows DRIVER="" related to device, and http://reactivated.net/writing_udev_rules.html says "you cannot mix-and-match attributes from multiple parent devices - your rule will not work". -- Regards, Anton Fedorov Call2ru service