Your message dated Wed, 29 Mar 2006 09:34:53 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #359783,
regarding lomoco: udev rule files broken, doesn't work with current udev
to be marked as having been forwarded to the upstream software
author(s) "Andreas Schneider" <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Hi, here's an updated toudev.awk file

BTW, if you're subscribed to the PTS, let me know as you probably
don't need me to forward you the bugreports.

HTH

T-Bone

---------- Forwarded message ----------
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Date: Mar 28, 2006 11:07 PM
Subject: Bug#359783: lomoco: udev rule files broken, doesn't work with
current udev
To: Debian Bug Tracking System <[EMAIL PROTECTED]>


Package: lomoco
Version: 1.0beta1+1.0-2
Severity: normal

Suffice to say it took some talking to the udev upstream maintainer(!), but
the gist of the fact is that you do NOT want to use SYSFS{}!= the way you
were doing, it doesn't do what you'd expect.

Please use the attached awk file to generate the udev rules, and don't screw
with the SYSFS stuff tring to "economize space", it will just break.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.6-debian8+bluesmoke+lm85
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages lomoco depends on:
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  libusb-0.1-4                  2:0.1.11-7 userspace USB programming library

Versions of packages lomoco recommends:
ii  udev                          0.088-2    /dev/ and hotplug management daemo

-- no debconf information

--
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
#!/bin/awk -f
BEGIN {
        FS = ","
        print "# udev.rules file for Logitech mouse control using lomoco"
        print "#"
        print ""
        print "ACTION != \"add\", GOTO=\"lomoco_end\""
        print "SUBSYSTEM != \"usb_device\", GOTO=\"lomoco_end\""
        print ""
}

$1 ~ /0xc[a-f0-9][a-f0-9][a-f0-9]/ {
    print "# " substr($3, index($3, "\"")) ", " $2
    print "SYSFS{idVendor}==\"046d\", SYSFS{idProduct}==\"" substr($1, 
index($1, "x")+1) \
          "\", RUN+=\"udev.lomoco\""
    print ""
}

END {
        print ""
        print "LABEL=\"lomoco_end\""
}




--- End Message ---

Reply via email to