Comment 42 for bug 201887

Revision history for this message
David Masover (ninja-slaphack) wrote : Re: Slim USB Apple Keyboard not working correctly..

Tommy, probably way too late, but I thought I'd mention, for the record:

When you type: sudo echo 2 > /wherever
Bash sees: (sudo echo 2) > /wherever

What you probably want is something like "sudo su -", then you can just edit it. Or "echo 2 | sudo tee /wherever" will work, too.

I still want to know where the best place to set this is, though -- I suspect it would be somewhere in udev.d, but i really don't know my way around that. For now, I'm sticking it in rc.local, so I don't forget.