Skip to contentSkip to conversation

mdev.conf: Add ttyO devices

PATCH Superseded Frank Hunleth 2 participants 4 messages Jan 3, 2012 – Feb 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mdev.conf: Add ttyO devices

This is needed to support the serial ports on OMAP/AM335x devices when using mdev.

---
 package/busybox/mdev.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/busybox/mdev.conf +1 -0
index 247c0ed..7fb71bc 100644
@@ -20,6 +20,7 @@ tty		root:tty 666
 tty[0-9]*	root:tty 660
 vcsa*[0-9]*	root:tty 660
 ttyS[0-9]*	root:root 660
+ttyO[0-9]*	root:root 660
 
 # alsa sound devices
 pcm.*		root:audio 660 =snd/
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v2 1/1 mdev.conf: Add ttyO devices

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

Frank> This is needed to support the serial ports on OMAP/AM335x devices Frank> when using mdev.

Frank> Signed-off-by: Frank Hunleth <[email protected]> Frank> ---

 Frank>  package/busybox/mdev.conf |    1 +

Frank> 1 files changed, 1 insertions(+), 0 deletions(-)

Frank> diff --git a/package/busybox/mdev.conf b/package/busybox/mdev.conf Frank> index 247c0ed..7fb71bc 100644
Frank> --- a/package/busybox/mdev.conf
Frank> +++ b/package/busybox/mdev.conf
Frank> @@ -20,6 +20,7 @@ tty root:tty 666

 Frank>  tty[0-9]*	root:tty 660
 Frank>  vcsa*[0-9]*	root:tty 660
 Frank>  ttyS[0-9]*	root:root 660

Frank> +ttyO[0-9]* root:root 660

What does this exactly do? Isn't root:root / perm 660 default anyway?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH v2 1/1 mdev.conf: Add ttyO devices

Quoted 20 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

?Frank> This is needed to support the serial ports on OMAP/AM335x devices ?Frank> when using mdev.

?Frank> Signed-off-by: Frank Hunleth <[email protected]> ?Frank> ---
?Frank> ?package/busybox/mdev.conf | ? ?1 +
?Frank> ?1 files changed, 1 insertions(+), 0 deletions(-)

?Frank> diff --git a/package/busybox/mdev.conf b/package/busybox/mdev.conf ?Frank> index 247c0ed..7fb71bc 100644
?Frank> --- a/package/busybox/mdev.conf
?Frank> +++ b/package/busybox/mdev.conf
?Frank> @@ -20,6 +20,7 @@ tty ? ? ? ? ? root:tty 666
?Frank> ?tty[0-9]* ? ? ?root:tty 660
?Frank> ?vcsa*[0-9]* ? ?root:tty 660
?Frank> ?ttyS[0-9]* ? ? root:root 660
?Frank> +ttyO[0-9]* ? ? root:root 660

Quoted 1 line

What does this exactly do? Isn't root:root / perm 660 default anyway?

I just removed the line from my configuration, and everything works fine. At the moment, I do not understand how I had seen the console not work without the line last month. However, it is clearly not needed. Please disregard the patch. Sorry about the noise.

Frank

Quoted 3 lines

--
Bye, Peter Korsgaard

#3 lore raw

PATCH v2 1/1 mdev.conf: Add ttyO devices

Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

?Frank> +ttyO[0-9]* ? ? root:root 660

What does this exactly do? Isn't root:root / perm 660 default anyway?

Frank> I just removed the line from my configuration, and everything works Frank> fine. At the moment, I do not understand how I had seen the console Frank> not work without the line last month. However, it is clearly not Frank> needed. Please disregard the patch. Sorry about the noise.

Ok, good and no problem.

Signature · 1 line
Bye, Peter Korsgaard