From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jellinghaus Date: Wed, 25 Oct 2006 14:25:45 +0000 Subject: udev warnings / not exactly sure what to do Message-Id: <453F73E9.7040309@ciphirelabs.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0709&bid&3057&dat1642 _______________________________________________ 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