linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anton Fedorov <datacompboy@call2ru.com>
To: linux-hotplug@vger.kernel.org
Subject: ftdi_sio usb-serial driver and hotplug
Date: Tue, 24 Feb 2009 07:38:20 +0000	[thread overview]
Message-ID: <559911452.20090224133820@call2ru.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

Hi guys!

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

   Where and what I have missed in rule?

-- 
Best regards,
  Anton
  Call2Ru Service
  datacompboy@call2ru.com

[-- Attachment #2: Type: application/pgp-signature, Size: 250 bytes --]

             reply	other threads:[~2009-02-24  7:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  7:38 Anton Fedorov [this message]
2009-02-24 16:16 ` ftdi_sio usb-serial driver and hotplug Kay Sievers
2009-02-27 15:49 ` Anton Fedorov
2009-02-27 15:52 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559911452.20090224133820@call2ru.com \
    --to=datacompboy@call2ru.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).