(no subject)

Simon simon80 at gmail.com
Wed Aug 16 16:05:55 PDT 2006


You should try configuring all 3 and find out ;)  If you keep the original
file in the same directory, the worst that can happen is your X server won't
start, and you end up logging into a console and moving the original back
into place.

As for which file to use from dev, the best way to do this, I think, is to
create a file in /etc/udev/rules.d/, and then write your own udev rule that
creates a unique symlink to the correct file whenever you plug in the
device.

For example, I have a Logitech MX500, if I want to use it with evdev, I need
to point to the right /dev/input/eventX file, so I have a line in
/etc/udev/rules.d/99-custom.rules like so:

KERNEL=="event*" ACTION=="add" SYSFS{manufacturer}=="Logitech"
SYSFS{product}=="USB-PS/2 Optical Mouse" RUN+="/usr/sbin/logitech_applet -d
-s 800" SYMLINK="input/mx500"

The == are checks, the = are assignments.  For info on how to write your own
rules, I recommend looking at this
guide<http://www.reactivated.net/writing_udev_rules.html>.


I'm also using Ubuntu 6.06, by the way, that and Gentoo.

Simon

On 8/16/06, Andy Revak <andy.revak at gmail.com> wrote:

> Thanks for the reply.  I am mostly trying to gain a broader understanding
> of how X works.  For instance one of the problems i'm trying to solve for
> myself right now is I have a laptop, I have a Samsung 20" LCD at home and I
> plan to have a Samsung 19" CRT at home, obviously I can't hook them all up
> at the same time will X bomb out if I configure all 3 monitors properly (my
> laptops screen and my 2 samsungs) and 1 or 2 of them are not attached?
>
> This next question may be a general linux question and distro dependent
> but is there any way for me to detect what /dev/??? i should use for my
> inputs like I am going to plugin a USB keyboard to my laptop, how do I
> determine what settings I should use for that input, is there a way to get
> it to autodetect?
>
> As for your questinos, I am using Ubuntu 6.06 right now but I have used
> slackware, red hat and debian before so I can sort of get around but I am
> still definitly learning the ropes as far as basic linux knowledge is
> concerned, thank you very much for your time.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20060816/79c0313f/attachment.html>


More information about the xorg mailing list