mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: Ionut Leonte <ionut.leonte@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.28 changes in-kernel name for UVC device ?
Date: Tue, 20 Jan 2009 18:13:45 +0100	[thread overview]
Message-ID: <49760649.8000800@s5r6.in-berlin.de> (raw)
In-Reply-To: <ac3eb2510901200507p4b107af6ud87a634af6679223@mail.gmail.com>

Kay Sievers wrote:
> On Tue, Jan 20, 2009 at 12:49, Ionut Leonte <ionut.leonte@gmail.com> wrote:
>> I have a Dell laptop with an integrated webcam which works with the 'uvcvideo'
>> module. For kernel versions 2.6.27 and below the following udev rule:
>>
>>   KERNEL=="video[0-9]*",  NAME="v4l/video%n", SYMLINK+="%k", GROUP="video"
>>
>> would create '/dev/video0' as a link to '/dev/v4l/video0'. When switching to
>> 2.6.28 the rule creates '/dev/video1394-0' instead. Obviously most user-space
>> apps were quite surprised by this (as was I).
>>
>> Is this change intended or is it the accidental result of some modification ?
> 
> These rules are broken, and match also on firewire devices and not
> only video4linux devices.
> 
> Such rules are not part of the standard udev setup and need to be
> fixed to work as intended. There is no change or fault at the kernel
> side.

Exactly.

> You may just disable the firefire drivers if you don't need them.

It is not even necessary to disable the drivers; it would be sufficient
to not force-load the video1394 module.  (Or to fix the udev rule.)
Presence of a Firewire card does not cause video1394 to be auto-loaded;
only certain types of FireWire cameras cause respective uevents and thus
autoloading of the special-purpose driver video1394.  Ergo, Ionut's
userland has a configuration somewhere which loads video1394 explicitly.

> Btw, swapping default kernel names to devfs names and create symlinks
> for the kernel names is not recommended at all.
> 
> Kay

-- 
Stefan Richter
-=====-==--= ---= =-=--
http://arcgraph.de/sr/

  parent reply	other threads:[~2009-01-20 17:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 11:49 Ionut Leonte
2009-01-20 13:07 ` Kay Sievers
2009-01-20 13:19   ` Ionut Leonte
2009-01-20 17:13   ` Stefan Richter [this message]
2009-01-21  3:23     ` Ionut Leonte
2009-01-21  8:23       ` Stefan Richter

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=49760649.8000800@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=ionut.leonte@gmail.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®