Udev never ever works for me

Udev is supposed to be so simple, but every time I play with it, I get edgy. Can somebody explain to me (in very very small words;)) why this is happening:
dusty:~ $ ls -l /dev/misc/nvram
crw-r----- 1 root kmem 10, 144 2008-12-01 19:23 /dev/misc/nvram
dusty:~ $ grep nvram /etc/udev/rules.d/00-custom.rules
KERNEL=="nvram", NAME="misc/%k", SYMLINK+="%k", GROUP="kmem", MODE="0660"
# I even changed it in arch.rules:
dusty:~ $ grep nvram /etc/udev/rules.d/81-arch.rules
KERNEL=="nvram", NAME="misc/%k", SYMLINK+="%k", GROUP="kmem", MODE="0660"
dusty:~ $ sudo udevadm control --reload-rules
dusty:~ $ ls -l /dev/misc/nvram
crw-r----- 1 root kmem 10, 144 2008-12-01 19:23 /dev/misc/nvram
If you can't see the problem immediately: I'm setting the MODE to 0660 in the udev rules, but the device is getting created with no write permissions for the group. Which is what I want --write permissions for the group.
I grepped the other rules files but nvram isn't set or reset in any of them.
I have a feeling I've overlooked something painfully obvious. Is there a log for this sort of thing?
Dusty

It looks as though the device is being created before my rules are executed... how can this be?
Dusty wrote:dusty:log $ sudo grep nvram messages.log | grep "Dec  4"
Dec  4 17:10:58 apoeiro udevadm[5082]: device 0x98ee9c0 has devpath '/class/misc/nvram'
Dec  4 17:10:58 apoeiro udevadm[5082]: device 0x98ee9c0 filled with db symlink data '/dev/nvram'
Dec  4 17:10:47 apoeiro udevd-event[1601]: rule applied, 'nvram' becomes 'nvram'
Dec  4 17:10:47 apoeiro udevd-event[1601]: no db file to read /dev/.udev/db/\x2fclass\x2fmisc\x2fnvram: No such file or directory
Dec  4 17:10:47 apoeiro udevd-event[1601]: mknod(/dev/nvram, 020640, (10,144)) 
Dec  4 17:10:47 udevd-event[1601]: chmod(/dev/nvram, 020640)
Dec  4 17:10:47 apoeiro udevd-event[1601]: chown(/dev/nvram, 0, 9)
Dec  4 17:10:47 apoeiro udevd-event[1601]: creating index: '/dev/.udev/names/char\x2f10:144/\x2fclass\x2fmisc\x2fnvram'
Dec  4 17:10:47 apoeiro udevd-event[1601]: create db link (nvram char/10:144)
Dec  4 17:10:47 apoeiro udevd-event[1601]: update symlink 'char/10:144' of '/class/misc/nvram'
Dec  4 17:10:47 apoeiro udevd-event[1601]: found '/class/misc/nvram' for 'char/10:144' 
Dec  4 17:10:47 udevd-event[1601]: compare (our own) priority of '/class/misc/nvram' 0 >= 0
Dec  4 17:10:47 apoeiro udevd-event[1601]: creating symlink '/dev/char/10:144' to '../nvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: rule applied, 'nvram' becomes 'nvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: found db symlink 
Dec  4 17:10:48 udevd-event[2214]: got db link node: 'nvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: removing index: '/dev/.udev/names/nvram/\x2fclass\x2fmisc\x2fnvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: removing index: '/dev/.udev/names/char\x2f10:144/\x2fclass\x2fmisc\x2fnvram' 
Dec  4 17:10:48 udevd-event[2214]: creating device node '/dev/nvram', major=10, minor=144, mode=0640, uid=0, gid=9
Dec  4 17:10:48 apoeiro udevd-event[2214]: preserve file '/dev/nvram', because it has correct dev_t
Dec  4 17:10:48 apoeiro udevd-event[2214]: creating index: '/dev/.udev/names/char\x2f10:144/\x2fclass\x2fmisc\x2fnvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: create db link (nvram char/10:144)
Dec  4 17:10:48 apoeiro udevd-event[2214]: creating index: '/dev/.udev/names/nvram/\x2fclass\x2fmisc\x2fnvram' 
Dec  4 17:10:48 udevd-event[2214]: update symlink 'char/10:144' of '/class/misc/nvram'
Dec  4 17:10:48 apoeiro udevd-event[2214]: found '/class/misc/nvram' for
'char/10:144' 
Dec  4 17:10:48 udevd-event[2214]: compare (our own) priority of '/class/misc/nvram' 0 >= 0
Dec  4 17:10:48 apoeiro udevd-event[2214]: 'char/10:144' with target 'nvram' has the highest priority 0, create it 
Dec  4 17:10:48 udevd-event[2214]: found existing symlink '/dev/char/10:144'
Dec  4 17:10:48 apoeiro udevd-event[2214]: preserve already existing symlink '/dev/char/10:144' to '../nvram'

Similar Messages

  • UDev rules not working for MidiSport 2x2 usb midi device

    I installed arch a couple of months ago and am loving it so far.  Any problems I've had so far have already been solved in the forums, but this one's really got me.  I have a MidiSport 2x2 that I want the firmware to be loaded on everytime I plug it in.  I installed (there's not an arch package) a package that is supposed to do just that.  (It's called midisport-firmware-1.2.tar.gz).  However, the package seems to be out of date (2006) and I even had to modify a couple places in the configure script to get it to work with current program revisions.  However, once installed, it does nothing.  It installed firmware files and udev rules for the device into a couple of directories.  When I run the command that is supposed to load the firmware, it works fine.  But for some reason, (I even checked the udev kernel log) it's like the event isn't even being triggered.  Here's part of the original file that came with the package that's supposed to load the firmware:
    # midisport-firmware.rules - udev rules for loading firmware into MidiSport devices
    # DEVPATH=="/*.0" selects interface 0 only
    # (some udev versions don't work with SYSFS{bInterfaceNumber})
    # MidiSport 2x2
    ACTION=="add", SUBSYSTEM=="usb", DEVPATH=="/*.0", ENV{PRODUCT}=="763/1001/*", RUN+="/sbin/fxload -s /usr/local/share/usb/maudio/MidiSportLoader.ihx -I /usr/local/share/usb/maudio/MidiSport2x2.ihx"
    # vim: ft=conf
    And here's what I modified it to in an attempt to make it work:
    # MidiSport 2x2
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0763", ATTR{idProduct}=="1001", RUN+="/sbin/fxload -D /dev/%k -s /usr/local/share/usb/maudio/MidiSportLoader.ihx -I /usr/local/share/usb/maudio/MidiSport2x2.ihx"
    I would really appreciate help from anyone who knows about this kind of thing, as I can't figure out what's going wrong.  If it's something wrong with the config, please let me know.  Actually, some HAL events popped up when I was testing this out.  Is it possible HAL is blocking  the udev event somehow?

    Hi,
    The firmware files must be put in /lib/firmware so they can be found by the kernel. Are they being put there?

  • WHY WON"T THIS EVER WORK FOR ME????

    I try all the time to construct websites using CSS and they
    look great on a Mac using Safari/Firefox but whenever I test them
    on a stupid Windows IE they never work properly - EVER!!!
    I have been playing with one which can be seen here:
    Site:
    http://www.names4design.co.uk/ultraclean
    CSS:
    http://www.names4design.co.uk/ultraclean/default.css
    As said on a mac - great, it is all where it should be, but
    on a Wiindows - the nav section is under the content and the
    content is not floating right enough.
    Anyone have any ideas where I am going so wrong or am I
    destined to use tables forever??
    Cheers
    Jan

    > From doing the Google search, I see that you can't
    include these
    > conditional
    > comments within a CSS - it would have to be on the page
    itself.
    Yes. Why is that a problem?
    > Also, I have the #nav width set already (190px) so just
    can't see how to
    > go
    > about it - I am being thick, I am well aware of that!!!
    Clearly, IE6 is not following that directive, since you can
    see that it's
    much wider in that browser.
    I am not sure why it's not properly sized, to be honest....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jansolo" <[email protected]> wrote in
    message
    news:fqlop4$7c5$[email protected]..
    > The browser I am testing it on on the PC is IE 6.
    >
    > From doing the Google search, I see that you can't
    include these
    > conditional
    > comments within a CSS - it would have to be on the page
    itself.
    >
    > Also, I have the #nav width set already (190px) so just
    can't see how to
    > go
    > about it - I am being thick, I am well aware of that!!!
    >

  • HT4913 Trying to add new macbook air to itunes match. process starts but never succeeds. works for a while then give error  about itunes server.

    Trying to add my new Macbook Air to iTunes match. Process starts but goes nowhere. After some time I get error about iTunes server losing connection. Help! I want to access all my music.

    Hi Rob- I'm guessing it has something to do with all the update stuff Apple keeps doing (with Yosemite, etc.,) extremely frustrating - also whenever I load up iTunes on any of my devices- I am asked to enter my passcode- which I will do- then I am asked to do it 2 or 3 more times - right after the other- crazy how annoying something like that can be- I have looked online for solutions- i.e. close out of the account, reset the passcode- all of it- nothing seems to fix that situation either-  what I have discovered (playing around) is on my iPhone 6+ if I go to settings and turn OFF iTunes match- then turn it back ON- suddenly all the music that wasn't loaded shows up magically- but I had to do that each time I'd update songs in my playlist on the iMac- then go to the iPhone and turn off the match- then turn it back on- almost like it is resetting things-

  • Automatic Repair "Doesn't ever Work"

    Windows 8 & 8.1 "Automatic Repair" never ever works, so even with using the command prompt solution which that doesn't work for 99% of people, what can we do to get Window 8.1 to boot up without the worthless "Automatic Repair"
    option?

    Hi,
    I recommend you start your computer via installation media like bootable USB device or installation disc.
    Then, click Repair your Windows and choose command prompt in Advance menu, then try following commands:
    bootrec /fixMBR
    bootrec /Fixboot
    bootrec /rebuildBCD
    Kate Li
    TechNet Community Support

  • No Sound on G5- Never has worked- Possible Alternative?

    Hi There,
    I've had my G5 for 5 years, the sound has never ever worked on it from day 1. I tried hooking up speakers to the back- no dice...settings don't fix anything.
    I brought it to apple store to the genius bar and they said it may be the motherboard, if so, its over $700 to fix...no point.
    When I plug headphones into it, they show up, but still, no sound.
    I was wondering (before I go out and buy them) if I can use USB speakers? It's an external device...so will that work?

    Hi, and a Warm Welcome to the Power Mac G5 Forum!
    You could try a USB audio interface such as the iMic
    http://www.griffintechnology.com/products/imic/
    which has an analogue audio-out port for speakers, etc. You would then be able to connect your choice of speakers - possibly the ones you have already - rather than being limited to "USB" speakers.
    The optical digital audio-out port on the G5 is another possibility - which would give 5.1 surround-sound from DVD Player - but would require a somewhat greater investment in a speaker system with optical audio-in such as
    http://www.logitech.com/index.cfm/speakersaudio/home_pcspeakers/devices/224&cl=us,en
    Good Luck.

  • I just upgraded to Lion. I was trying to set up the iCloud and it asked for my "login" keychain password. I've never been asked for that before. I've tried every password I can think of and nothing works. Is there a way to reset the keychain password?

    I just upgraded to Lion. I was trying to set up iCloud and it asked for my "login" keychain password. I've never been asked for the keychain password before. I've tried every password I can think of and nothing works. I'm normally asked for the password to my machine when upgrading software, signing on, etc. but this is different apparently. I tried the same password and it didn't work either. I read a couple of posts and they all want to take me through Applications/Utilities but that requires knowing your password in order to change it. I don't know it. Don't remember ever setting up a keychain password. Does anyone know how to change the keychain password if you don't know the keychain password???

    Most of the time your Keychain password is the same as your login password. If you configured your computer to log you in automatically, you may not have used your login password in so long you forgot it.
    There is no way to retrieve the "login" Keychain password, but you can reset the Keychain from the Preferences menu: select it in the Keychain Access menu and select "Reset My Default Keychain". This will create a new, empty Keychain but the old one will be saved should you ever remember its password.
    The result of this is that you will have to supply passwords for everything that requires it, since without your Keychain they will no longer automatically fill themselves. However, once you supply them and store them in your new Keychain, they will be remembered.

  • Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    I should have added to my posting (instead of using this "reply" -  it is the server passwork it is asking for and I have never known that I had one and assumed it was the passwork I always used for this type of thing.

  • Offline running - can "GetResources() for an embedded file ever work?

    This question has come up in various guises in the past, but has often then become confused with other issues (see [t-5123126] ) so I've not been able to find a useful answer. I've tried to bring the problem down to the essentials, and just want to know if what I'm trying to do can ever work, or if I should just abandon Web Start for this particular need.
    Our app is J2SE Swing and creates a Derby database locally on a PC. The application then captures keyed data and stores it on the local database. Persistence is via JPA (provider was Toplink, now EclipseLink).
    The data capture is performed using laptops running the application "offline" with no network connection. This is because the location has no network access of any description. Periodically, each laptop is reconnected to upload its data to a central server.
    To help with software distribution, we are using Java Web Start. All the jars are signed and the .jnlp file specifes offline usage is allowed.
    When running the application while connected to the network, there are no issues - everything works fine.
    When running offline, the application starts up so the Java Web Start caching is working and the code is obviously accessible. However, it throws a MalformedURLException within the EclipseLink code (which we do not wish to modify). The actual statement is:
    Enumeration resources = classLoader.getResources("META-INF/persistence.xml"); META-INF/persistence.xml exists within one of the jar files specified as resources in the .jnlp file.
    The classloader in question is the Java Web Start classloader ( com.sun.jnlp.JNLPClassLoader) which presumably retrieves classes and resources from the remote server or from the cache depending on how the app is being run. In online mode, the persistence.xml resource is found ok, in offline a MalformedURLException is thrown.
    My question: is this a fundamental "restriction" of the Web Start environment in offline mode? i.e. it can't load resources such as this xml file from a cached jar using the format shown?. My feeling is that this is just the way it is, and I should move on and try another form of software distribution, but it seems a shame to abandon Web Start as it otherwise meets our needs.
    Any relevent experience of this problem would be appreciated.
    Edited by: GrayMan on Aug 21, 2009 8:20 AM

    A system we're developing make use of a similar setup. I'm not sure if you run into this problem, but the classes in our app uses persistence annotations and do not rely on the orm.xml mapping file. After solving the persistence.xml show stopper, I could see that the application had really slow startup times in offline mode. By looking at the access logs in online mode, I could see that the app was requesting META-INF/orm.xml and META-INF/eclipselink-orm.xml. In online mode, the web server simply returned HTTP 404 with much delay. In offline mode, this resulted in really slow startup times due to timeouts for the mentioned requests.
    Creating valid xml files bundling them into the jar file of course didn't help.
    I successfully disabled lookup for eclipselink-orm.xml by specifying the following entry in persistence.xml:
    <property name="eclipselink.exclude-eclipselink-orm" value="true"/>
    To disable lookup for orm.xml, I modified the method loadStandardMappingFiles(String) in org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.MetadataProcessor (eclipselink 1.1.0).
    Perhaps this is useful for someone else also.

  • I work for a retailer who sends out e-receipts as pdf attachements.  When the email arrives on any apple product, i see the email with the paperclip icon showing that there is an attachment but i cannot ever see or find the actual attachment.  Any ideas?

    i work for a retailer who sends out e-receipts as pdf attachements.  When the email arrives on any apple product, i see the email with the paperclip icon showing that there is an attachment but i cannot ever see or find the actual attachment.  Any ideas?

    i have scrolled left, right, up and down on iphone4, iphone5 and ipad and the attachment simply does not exist.  It has to be something with the apple mail client setup because for any mail client, if they go to the webemail thru safari, the attachment is there and it can be viewed without issue.
    I know there are plenty of people out there with this issue with the mail clients set up that you access thru the email icon on the iphone and ipad but i cannot find anyone with a resolution.  I cannot find any settings in the mail client setup that has anything to do with attachments or for what attachments can or cannot be read or seen.
    Hopefully someone out there has figured something out because this is an odd one.

  • App testing phase: Push notifications are not getting delivered to certain devices (iphone 4S/ios7.0.4 and ios7.0.3 - Push never worked for these two devices for this app). Received OK responses from Apple PUSH services, but notifications not delivered

    We are testing an app at work and Push notifications are not getting delivered to certain devices (iphone 4S/ios7.0.4 and ios7.0.3 - Push never worked for these two devices for this app). Received OK responses from Apple PUSH services, but notifications not delivered to these tow devices.
    PUSH notification were delivered to some of the other iOS devices: (iPhone5 / iOS 6.1.4 and iPhone5 / iOS 7.0.3)

    Sounds like you have a battry issue but don't want to believe it.
    If a car was running fine on one tank of gas, then you filled it up with another tank of gas and it began to run funny, one might suspect that tank of gas. But let's just say coincidence blew a valve-- would you think the new tank of gas was the culprit?
    BUT WAIT!! It just might have been! The gas could have been of higher octane and put more more strain on the valves; you know, like going from 87 octane (OS6) to 93 octane (OS7) and showing you the engine was on the edge of compromise.
    Sometimes you have to go with common sense. If everything else is ruled out, it must be the battery. And if it runs fine one moment in OS6 but immediately ***** in OS7, I'd believe my battery was suspect-- though comfy-- in OS6 but the OS7 showed its true power.
    Moreover, if you had the answer-- or didn't want to believe someone's more competent advice-- why did you even call?  You've already shown that you don't know much when you asked if you could go backwards after setting up the new OS as a new phone.
    Additonally, if you're such the know-it-all, but yourself the $29 battery and put it in yourself. It's a piece of cake.
    <Edited By Host>

  • I cannot get imessage to work for me on my ipod touch 4th generation when i sign in with apple ID then it says confirm email and it keeps on going and going and going and never stops

    i cannot get imessage to work for me on my ipod touch 4th generation when i sign in with apple ID then it says confirm email and it keeps on going and going and going and never stops

    Try:
    iOS: Troubleshooting FaceTime and iMessage activation

  • Why does my airport wifi icon now say "No Hardware installed" It has been working for ever

    Why does my airport wifi icon now say "No Hardware installed" It has been working for ever

    This message comes up when your Mac no longer recognizes that there is an operational AirPort card installed. This can be due to a number of reasons, including card or antenna cabling failure.
    You can try either a PRAM or SMC reset. Which you choose will depend on the exact model of your Mac, but most likely, a visit to your local Apple Store is in order.

  • I am happy with the CC format- it works for me

    There are a million and one negative threads about the new CC stuff. But I wanted to start a thread with a different tone.
    I realize that the majority of those in the forum probably see the CC change as a negative one. And in complete honesty, I understand their reasons, and even AGREE with them. The lack of an exit strategy from the cloud is a problem, though Adobe does say they are working on a solution. The place I work has no plans on upgrading to CC, though it's only maybe 10 users that are affected.
    But on a personal level, the CC option is a huge blessing to me. Though I do work in an environment where software is provided for me(we're currently on CS 5.5), with a new baby on the way and daycare costs taking up half my salary, I am ramping up my freelance business again as sometime in the next year, I'll probably become a stay at home dad.
    I've never been able to afford the Adobe suites outright. My wife and I do have a certain amount of personal money set aside each month to spend, but it's very difficult to come up with enough to purchase the suites.
    So when I saw that I could get everything for $30 a month for the first year(I do have a CS3 or above product registered), I was very happy. As somebody trying to get my freelance business running full speed again, this is a perfect opportunity for me to get into the Adobe software outside of my place of employment. And if things go well, the $50 a month after that won't be a problem. If I'm not making enough to afford $50 a month, then I'm probably not running the best business and probably won't be needing the tools for long.
    So this arrangement works perfectly for me. I do web design AND video/motion graphics editing, so having everything at my disposal is ideal.
    So in the sea of negativity that exists here in the forums(and not for bad reasons), I just wanted to say that I'm happy with this. Adobe have provided a way for me, who doesn't have a ton of money flowing in, to get into the great tools I already know and love. And in my view, at least temporarily, if I'm finding success, the continued fee is more than justifiable. So I want to say thank you to Adobe for providing this opportunity.
    Now, if I can please ask that this thread doesn't turn into yet another one of the already extensive number of threads bashing CC, and hopefully others who are thankful for this plan can chime in. Maybe nobody will, but I'm sure there are others out there. I just don't want this to degenerate into the same thing you can read in every other topic. Yes, I know that when I want to get off "the cloud", there are things to consider. I'm aware, and I accept that. Let's leave it at that.
    Thanks!
    Brent

    Biggles Lamb wrote:
    Chill out guys, getting personal will never ever change another persons view, right or wrong, they are entitled to them .
    The pros and cons of to CC or not to CC have been done to death
    Its a fact the CC model will work for some, especially newbies and small businesses.
    The risks associated with the CC model have been well documented.
    For long term users of CS perpetuals its generally a large hike up in cost compared to the upgrade system.
    Then there are the....... Adobe can rot it hell...... group who will never subscribe
    To each their own, you do the math to suit your cashflow whatever that is and then make an informed decision
    To those on the CC model, I'd like to offer some practical advice.........do not allow automatic updates.........make regular backups............develop an exit strategy of alternatives for when you can no longer afford the subscription costs............never ever assume that the Adobe update is bug free
    Enjoy your cloud
    Col
    Thank you for that post, and the advice. I just happen to be one of those who it does work for. I've been around long enough to know that CC isn't going to work for everyone(the large publishing/radio/web company I work for isn't upgrading to CC because of the costs involved). But it does for me as I potentially venture out into the full-time freelancing world and away from the more structured big office environment. I can't make decisions based on what is best for anyone else, or what will hurt or help Adobe. Just what affects me, and that's all.
    Brent

  • IPod classic error 50, 53, 69, etc solution that worked for me

    Giving back to the community that I spent so long searching in for a solution to this problem--even though I ended up with my own solution that may or may not work for you.
    I bought a 6th gen 160GB iPod classic and tried to sync it to my massive 14,000(+)-song library. The sucker would give me all sorts of errors (50, 53, 69) and never complete my sync. It said my files were corrupted or that an unknown error occurred yada yada. I looked on the forums for a solution and none of them worked. I sent that iPod back and got a 7th gen 160GB instead. SAME ISSUE. MY GOD. My only guess was that since both iPods came from a Mac computer there was some issue with it connecting to Windows--ever after reformatting it.
    So, I knew about formatting my iPod and then restoring it to try and resolve the issue that turingtest2 often would point out in many threads similar to this: iPod Classic
    What I never did was a full format. But more specifically, I never did a full format and waited for it to finish.
    The fix that worked for me was this (and I'm giving my exact order, even if the steps were unnecessary--as the fact that it worked was like a dream come true):
    1) Go to My Computer, right click on Computer in the sidebar and click on Manage.
    2) After the window pops up, click on Device Manager and then Universal Serial Bus Controllers.
    3) Make sure your iPod is plugged in, and right click Apple Mobile Device USB Driver and uninstall it.
    4) Now go to Disk Management in the sidebar. Right click on the iPod and select Format
    5) For format options, select file system as NTFS (I know, I know--but it worked for me), and UNCHECK Quick Format.
    6) Format it, and WAIT for it to finish. It will take a really long time.
    7) After formatting, plug the iPod back in and wait for the driver to install. Open iTunes and restore the iPod.
    8) Wait for the iPod to restore and then sync the music!
    If everything was done correctly it should work, possibly.
    My hard drive specs before this were:
    Retracts: 34
    Reallocs: 9344
    Pending Sectors: 0
    So, the specs were pretty bad, but it still worked for me.
    I actually just got done doing another sync and it still seems to be working fine.
    Good luck!

    I have had success with this method also, but it is not full-proof. Try the movie "The Incredibles". The audio will be about 10-seconds out-of-sync. (BTW, I own this movie).

Maybe you are looking for