* [Buildroot] Question: mdev and snd/* device nodes
@ 2011-02-04 23:06 H Hartley Sweeten
2011-02-06 20:47 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2011-02-04 23:06 UTC (permalink / raw)
To: buildroot
Hello all,
Does mdev have a problem creating device nodes in subdirectories?
I am trying to get audio working on an ep93xx based board and found the
audio device nodes were being created in /dev and not /dev/snd.
I have these devices:
# ls /sys/class/sound
card0 controlC0 pcmC0D0c pcmC0D0p timer
Which has these uevents, which I assume is what mdev uses to create the
nodes:
# cat controlC0/uevent
MAJOR=116
MINOR=0
DEVNAME=snd/controlC0
# cat pcmC0D0c/uevent
MAJOR=116
MINOR=24
DEVNAME=snd/pcmC0D0c
# cat pcmC0D0p/uevent
MAJOR=116
MINOR=16
DEVNAME=snd/pcmC0D0p
# cat timer/uevent
MAJOR=116
MINOR=33
DEVNAME=snd/timer
After 'mdev -s' runs in my startup I end up with these nodes:
# ls /dev -la | grep 116
crw-rw---- 1 root root 116, 0 Jan 1 01:05 controlC0
crw-rw---- 1 root root 116, 24 Jan 1 01:05 pcmC0D0c
crw-rw---- 1 root root 116, 16 Jan 1 01:05 pcmC0D0p
crw-rw---- 1 root root 116, 33 Jan 1 01:05 timer
At this point audio does not work. If I manually create /dev/snd and
move these nodes it then works.
Is this a known issue? Is there a way to work around it?
Thanks,
Hartley
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Question: mdev and snd/* device nodes
2011-02-04 23:06 [Buildroot] Question: mdev and snd/* device nodes H Hartley Sweeten
@ 2011-02-06 20:47 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-02-06 20:47 UTC (permalink / raw)
To: buildroot
>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:
H> Hello all,
H> Does mdev have a problem creating device nodes in subdirectories?
Not that I know.
We don't do anything special for mdev configuration, so perhaps it would
make more sense to ask on the busybox mailing list? (busybox at busybox.net)
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-06 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 23:06 [Buildroot] Question: mdev and snd/* device nodes H Hartley Sweeten
2011-02-06 20:47 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox