All of lore.kernel.org
 help / color / mirror / Atom feed
* makedevs vs. device_table-minimal.txt
@ 2010-06-24  7:54 Andrea Adami
  2010-06-24  8:30 ` Yuri Bushmelev
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Adami @ 2010-06-24  7:54 UTC (permalink / raw)
  To: openembedded-devel

Hello,

after commit 66aa4ed9410ba1d652e40571f48a985337e56a26
(device_table-minimal.txt: fix input device nodes path. Input event
device nodes are usually under /dev/input.) in /dev of my rootfs I
don't have any event device node.

Any obvious reason why makedevs would fail to create /dev/input/eventX ?

Regards

Andrea



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: makedevs vs. device_table-minimal.txt
  2010-06-24  7:54 makedevs vs. device_table-minimal.txt Andrea Adami
@ 2010-06-24  8:30 ` Yuri Bushmelev
  2010-06-24  8:53   ` Andrea Adami
  2010-06-24  9:29   ` Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Yuri Bushmelev @ 2010-06-24  8:30 UTC (permalink / raw)
  To: openembedded-devel

Hello!

> after commit 66aa4ed9410ba1d652e40571f48a985337e56a26
> (device_table-minimal.txt: fix input device nodes path. Input event
> device nodes are usually under /dev/input.) in /dev of my rootfs I
> don't have any event device node.
> 
> Any obvious reason why makedevs would fail to create /dev/input/eventX ?

Please note that this is linux-kexecboot initramfs, not common image rootfs.
We have no device manager (udev/mdev) there.
And (as I understand image.bbclass) there is no possibility to create 
directory in rootfs from recipe before makedevs call.

-- 
Yuri Bushmelev



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: makedevs vs. device_table-minimal.txt
  2010-06-24  8:30 ` Yuri Bushmelev
@ 2010-06-24  8:53   ` Andrea Adami
  2010-06-24  9:29   ` Koen Kooi
  1 sibling, 0 replies; 5+ messages in thread
From: Andrea Adami @ 2010-06-24  8:53 UTC (permalink / raw)
  To: openembedded-devel

I think I know why: the directory must be explicited in the device table file:

++# Input stuff
++/dev/input d 755 0 0 - - - - -
+/dev/input/event c 660 0 0 13 64 0 1 8

I'll test later.

Andrea



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: makedevs vs. device_table-minimal.txt
  2010-06-24  8:30 ` Yuri Bushmelev
  2010-06-24  8:53   ` Andrea Adami
@ 2010-06-24  9:29   ` Koen Kooi
  2010-06-24  9:51     ` Andrea Adami
  1 sibling, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2010-06-24  9:29 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24-06-10 10:30, Yuri Bushmelev wrote:
> Hello!
> 
>> after commit 66aa4ed9410ba1d652e40571f48a985337e56a26
>> (device_table-minimal.txt: fix input device nodes path. Input event
>> device nodes are usually under /dev/input.) in /dev of my rootfs I
>> don't have any event device node.
>>
>> Any obvious reason why makedevs would fail to create /dev/input/eventX ?
> 
> Please note that this is linux-kexecboot initramfs, not common image rootfs.
> We have no device manager (udev/mdev) there.

Since you're on >2.6.31, why not use devtmpfs?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMIyV5MkyGM64RGpERAv9qAJ9A1zXYutdnrsRvMM8aEprQ0jU7swCgkxgf
V01L85TI/a7RKY3RInKJilo=
=pDiE
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: makedevs vs. device_table-minimal.txt
  2010-06-24  9:29   ` Koen Kooi
@ 2010-06-24  9:51     ` Andrea Adami
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Adami @ 2010-06-24  9:51 UTC (permalink / raw)
  To: openembedded-devel

> Since you're on >2.6.31, why not use devtmpfs?
>
> regards,
>
> Koen

Unfortunately not all machines are yet ready for 2.6.3x
Neverthless, there is a bug in the device tables having nodes in
subdirs without creating those.

Regards

Andrea



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-24  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24  7:54 makedevs vs. device_table-minimal.txt Andrea Adami
2010-06-24  8:30 ` Yuri Bushmelev
2010-06-24  8:53   ` Andrea Adami
2010-06-24  9:29   ` Koen Kooi
2010-06-24  9:51     ` Andrea Adami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.