LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2013, 08:55 PM   #1
vhradice
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Rep: Reputation: 0
Is there a systemd syntax guide someplace?


I have been running Fedora for a while and I have seen some messages about certain keywords in systemd being depreciated. I assume that that means that those keywords are being phased out and replaced by something new. Where can I find the syntax now being used? Here is the line in one of my rules that is failing to work:

BUS=="usb", SYSFS{idVendor}=="045e", SYSFS{idProduct}=="0745", ACTION=="add", RUN+="/etc/init.d/btnx start"

How can I figure out what the proper syntax is to get this to work?

Thank you,
Vince Radice
 
Old 12-22-2013, 12:28 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,252

Rep: Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685
ummm ... are you sure that is from a systemd file?? I would have said it looks a lot like a udev rule
 
Old 12-22-2013, 09:25 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It is udev... but systemd is trying to takeover udev as well as everything else..

What system is this on?
 
Old 12-22-2013, 09:36 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
There're a number of links to systemd documentation at this site. Scroll about two-thirds of the way down the page:

http://www.freedesktop.org/wiki/Software/systemd/
 
Old 12-23-2013, 12:42 AM   #5
vhradice
LQ Newbie
 
Registered: Aug 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the quick responses.

Yes, it is a udev rule. I am using btnx to map extra buttons on my mouse to key strokes. This worked until a recent update. I am running Fedora 19 - 64 bit. To get it to work now, I need to go into the System programs, bring up btnx and restart it. It is a nuisance and not really a problem.

I looked at the documentation and found the reference that talks about udev rules. I started looking through it and some of the terminology seems to require a very intimate knowledge of how linux works. I was hoping to find a simple guide that describes the keywords that are being deprecated and how to convert to the new syntax. Any help would be appreciated.
 
  


Reply

Tags
man, systemd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello,I'm a new user for Ubuntu Linux,I'm looking for a guide who willing guide me. IceSeven Linux - Newbie 9 12-05-2013 03:09 PM
VIM syntax highlighting: Use of AWK syntax inside shell scripts kaiserkarl13 Programming 0 11-13-2012 11:04 AM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 10:02 AM
[python] syntax Error : invalid syntax Python_user Programming 2 09-06-2009 01:52 PM
Is there someplace to get very simple Apparmor instructions? cousinlucky SUSE / openSUSE 4 01-29-2008 11:02 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration