LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-20-2007, 03:19 PM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
udev rtc rules


I'm getting into music recording, and I'm trying to find a good place to find some udev rtc rules. Any help would be greatly appreciated. I'm using a 2.6.19.1 kernel with rtc enabled for /dev. When I boot, I get
Code:
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Don't know if that helps. My current udev.rules has
Code:
# misc devices
KERNEL=="agpgart",	NAME="misc/%k", SYMLINK+="%k"
KERNEL=="psaux",	NAME="misc/%k", SYMLINK+="%k"
KERNEL=="rtc",		NAME="misc/%k", SYMLINK+="%k", MODE="0664"
KERNEL=="uinput",	NAME="misc/%k", SYMLINK+="%k"
KERNEL=="inotify",	NAME="misc/%k", SYMLINK+="%k", MODE="0666"

Last edited by manwichmakesameal; 01-20-2007 at 03:55 PM. Reason: added udev.rules entry
 
Old 01-22-2007, 04:48 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
If /dev/rtc0 doesn't exist, then you can modify the line
KERNEL=="rtc", NAME="misc/%k", SYMLINK+="%k", MODE="0664"

And replace it with

KERNEL=="rtc", NAME="misc/%k", SYMLINK+="%k %k0", MODE="0664"

That should create /dev/rtc0 and /dev/rtc links to /dev/misc/rtc
 
Old 01-23-2007, 04:45 PM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
Therein lies the problem, /dev/misc/rtc* doesn't exist either. For some reason, it's not creating a device node for rtc anywhere.
 
Old 01-23-2007, 10:16 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
you might have to load rtc driver (module) at boot to get its devices.
either loading it directly or loading an alsa sequencer that loads it.
 
  


Reply



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
writing udev rules doralsoral Linux - Software 10 11-19-2006 02:45 AM
udev rules Slackware 11 swampdog2002 Slackware 9 11-17-2006 07:06 PM
/dev/rtc + udev in current dive Slackware 3 09-02-2006 09:37 PM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:21 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
Open Source Consulting | Domain Registration