* Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
@ 2010-12-20 2:46 Charles Manning
2010-12-20 3:04 ` Ming Lei
0 siblings, 1 reply; 6+ messages in thread
From: Charles Manning @ 2010-12-20 2:46 UTC (permalink / raw)
To: linux-omap
Hi All
With the change to the new omap-serial stuff, the device names have changed
from /dev/ttySn to /dev/ttyOn.
Using the "fit/form/function" argument, this would seem to be a bad idea.
The kernel does not exist in a vacuum. It is surrounded by u-boot scripts,
command line options, init scripts etc etc. Flipping back and forth between
2.6.36 and 2.6.37 kernels for testing purposes needs these to be changed.
Annoying and anti-productive.
Isn't it just better to just replace the ttyOn name with ttyS. That would make
a far smoother transition.
Thoughts?
-- CHarles
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
2010-12-20 2:46 Is changing serial from /dev/ttySx to /dev/ttyOx a good idea? Charles Manning
@ 2010-12-20 3:04 ` Ming Lei
2010-12-20 4:28 ` Abraham Arce
2010-12-20 7:20 ` Abdoulaye Walsimou GAYE
0 siblings, 2 replies; 6+ messages in thread
From: Ming Lei @ 2010-12-20 3:04 UTC (permalink / raw)
To: Charles Manning; +Cc: linux-omap
Hi,
2010/12/20 Charles Manning <manningc2@actrix.gen.nz>:
> Hi All
>
> With the change to the new omap-serial stuff, the device names have changed
> from /dev/ttySn to /dev/ttyOn.
>
> Using the "fit/form/function" argument, this would seem to be a bad idea.
>
> The kernel does not exist in a vacuum. It is surrounded by u-boot scripts,
> command line options, init scripts etc etc. Flipping back and forth between
> 2.6.36 and 2.6.37 kernels for testing purposes needs these to be changed.
> Annoying and anti-productive.
>
> Isn't it just better to just replace the ttyOn name with ttyS. That would make
> a far smoother transition.
>
> Thoughts?
In fact, the transition is not friendly indeed for a user. I don't know why
the transition is introduced, for what purpose? Who can give a explanation?
thanks,
--
Lei Ming
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
2010-12-20 3:04 ` Ming Lei
@ 2010-12-20 4:28 ` Abraham Arce
2010-12-20 7:34 ` Ming Lei
2010-12-20 7:20 ` Abdoulaye Walsimou GAYE
1 sibling, 1 reply; 6+ messages in thread
From: Abraham Arce @ 2010-12-20 4:28 UTC (permalink / raw)
To: Ming Lei; +Cc: Charles Manning, linux-omap
Hi,
On Sun, Dec 19, 2010 at 9:04 PM, Ming Lei <tom.leiming@gmail.com> wrote:
> Hi,
>
> 2010/12/20 Charles Manning <manningc2@actrix.gen.nz>:
>> Hi All
>>
>> With the change to the new omap-serial stuff, the device names have changed
>> from /dev/ttySn to /dev/ttyOn.
>>
>> Using the "fit/form/function" argument, this would seem to be a bad idea.
>>
>> The kernel does not exist in a vacuum. It is surrounded by u-boot scripts,
>> command line options, init scripts etc etc. Flipping back and forth between
>> 2.6.36 and 2.6.37 kernels for testing purposes needs these to be changed.
>> Annoying and anti-productive.
>>
>> Isn't it just better to just replace the ttyOn name with ttyS. That would make
>> a far smoother transition.
>>
>> Thoughts?
>
> In fact, the transition is not friendly indeed for a user. I don't know why
> the transition is introduced, for what purpose? Who can give a explanation?
>
Patch itself has one explanation, kernel commit is
b612633b5928077441b979471869753bfa93d41a
http://www.spinics.net/lists/linux-serial/msg02788.html
Best Regards
Abraham
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
2010-12-20 4:28 ` Abraham Arce
@ 2010-12-20 7:34 ` Ming Lei
2010-12-20 11:21 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Ming Lei @ 2010-12-20 7:34 UTC (permalink / raw)
To: Abraham Arce; +Cc: Charles Manning, linux-omap
Hi,
2010/12/20 Abraham Arce <abraham.arce.moreno@gmail.com>:
> Hi,
>
> On Sun, Dec 19, 2010 at 9:04 PM, Ming Lei <tom.leiming@gmail.com> wrote:
>> In fact, the transition is not friendly indeed for a user. I don't know why
>> the transition is introduced, for what purpose? Who can give a explanation?
>>
>
> Patch itself has one explanation, kernel commit is
> b612633b5928077441b979471869753bfa93d41a
>
> http://www.spinics.net/lists/linux-serial/msg02788.html
The commit does not explain the cause of renaming ttyS to ttyO, does it?
thanks,
--
Lei Ming
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
2010-12-20 7:34 ` Ming Lei
@ 2010-12-20 11:21 ` Koen Kooi
0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2010-12-20 11:21 UTC (permalink / raw)
To: Ming Lei; +Cc: Abraham Arce, Charles Manning, linux-omap
Op 20 dec 2010, om 08:34 heeft Ming Lei het volgende geschreven:
> Hi,
>
> 2010/12/20 Abraham Arce <abraham.arce.moreno@gmail.com>:
>> Hi,
>>
>> On Sun, Dec 19, 2010 at 9:04 PM, Ming Lei <tom.leiming@gmail.com> wrote:
>>> In fact, the transition is not friendly indeed for a user. I don't know why
>>> the transition is introduced, for what purpose? Who can give a explanation?
>>>
>>
>> Patch itself has one explanation, kernel commit is
>> b612633b5928077441b979471869753bfa93d41a
>>
>> http://www.spinics.net/lists/linux-serial/msg02788.html
>
> The commit does not explain the cause of renaming ttyS to ttyO, does it?
It does, ttyS* is reserved for 8250, nearly all ARM platforms have their own name (ttySAC, ttySA, etc). I'm surprised omap got away with this for so long.
I'm not saying the change is a pain, I'm just saying I went through this years ago for strongarm.
regards,
Koen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
2010-12-20 3:04 ` Ming Lei
2010-12-20 4:28 ` Abraham Arce
@ 2010-12-20 7:20 ` Abdoulaye Walsimou GAYE
1 sibling, 0 replies; 6+ messages in thread
From: Abdoulaye Walsimou GAYE @ 2010-12-20 7:20 UTC (permalink / raw)
To: Ming Lei; +Cc: Charles Manning, linux-omap
On 12/20/2010 04:04 AM, Ming Lei wrote:
> Hi,
>
> 2010/12/20 Charles Manning<manningc2@actrix.gen.nz>:
>> Hi All
>>
>> With the change to the new omap-serial stuff, the device names have changed
>> from /dev/ttySn to /dev/ttyOn.
>>
>> Using the "fit/form/function" argument, this would seem to be a bad idea.
>>
>> The kernel does not exist in a vacuum. It is surrounded by u-boot scripts,
>> command line options, init scripts etc etc. Flipping back and forth between
>> 2.6.36 and 2.6.37 kernels for testing purposes needs these to be changed.
>> Annoying and anti-productive.
>>
>> Isn't it just better to just replace the ttyOn name with ttyS. That would make
>> a far smoother transition.
>>
>> Thoughts?
> In fact, the transition is not friendly indeed for a user. I don't know why
> the transition is introduced, for what purpose? Who can give a explanation?
>
> thanks,
Hello,
And another question, why there is no entry in Documentation/devices.txt?
Regards,
AWG
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-12-20 11:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 2:46 Is changing serial from /dev/ttySx to /dev/ttyOx a good idea? Charles Manning
2010-12-20 3:04 ` Ming Lei
2010-12-20 4:28 ` Abraham Arce
2010-12-20 7:34 ` Ming Lei
2010-12-20 11:21 ` Koen Kooi
2010-12-20 7:20 ` Abdoulaye Walsimou GAYE
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.