linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Jellinghaus <aj@ciphirelabs.com>
To: linux-hotplug@vger.kernel.org
Subject: udev warnings / not exactly sure what to do
Date: Wed, 25 Oct 2006 14:25:45 +0000	[thread overview]
Message-ID: <453F73E9.7040309@ciphirelabs.com> (raw)

Oct 24 09:03:07 squeak udevd[4790]: add_to_rules: invalid SUBSYSTEMS 
operation
Oct 24 09:03:07 squeak udevd[4790]: add_to_rules: invalid rule 
'/etc/udev/rules.d/z60_openct.rules:49'
Oct 24 09:03:07 squeak udevd[4790]: add_to_rules: invalid SUBSYSTEMS 
operation
Oct 24 09:03:07 squeak udevd[4790]: add_to_rules: invalid rule 
'/etc/udev/rules.d/z60openct.rules:49'

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug94610

the relevant lines are:

     36  # udev pcmcia rules file for openct
     37  #
     38  BUS!="pcmcia", ACTION!="add", GOTO="openct_pcmcia_rules_end"

     39  # omnikey cardman 4040
     40  SUBSYSTEM="cardman_4040", RUN+="/lib/udev/openct_pcmcia"

     41  # Gemplus PCMCIA Card
     42  BUS="pcmcia", DRIVER="serial_cs", SYSFS{prod_id1}="Gemplus", 
SYSFS{prod_id2}="SerialPort", SYSFS{prod_id3}="GemPC Card", 
RUN+="/lib/udev/openct_serial"

     43  LABEL="openct_pcmcia_rules_end"

no idea why the line counting is off, but line 40 is the only line with 
SUBSYSTEM in it. not SUBSYSTEMS why this is confusing. line 42 has
BUS="pcmcia", maybe that is the problem? (should be BUS="pcmcia", I 
know, or even remove at all, as the GOTO earlier made sure these lines
are only evaluated for pcmcia devices anyway.)

I tested a bit, and if I remove BUS="pcmcia", and replace DRIVER=
with DRIVERS= then it works - no more warnings or error messages.
is DRIVERS exactly like DRIVER or do I need to change something?

still I'm not 100% sure what the right thing to do is, so every
advice is very welcome. Thanks for your help.

Regards, Andreas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2006-10-25 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25 14:25 Andreas Jellinghaus [this message]
2006-10-26  0:40 ` udev warnings / not exactly sure what to do MUNEDA Takahiro

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=453F73E9.7040309@ciphirelabs.com \
    --to=aj@ciphirelabs.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).