Is changing serial from /dev/ttySx to /dev/ttyOx a good idea?
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
Hi,
2010/12/20 Charles Manning <[email protected]>:
Quoted 12 lines
Hi All
With the change to the new omap-serial stuff, the device names have changed from
/dev/ttySnto/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.
Quoted 4 lines
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,
Signature · 1 line
Lei Ming
Hi,
Quoted 15 lines · Ming Lei
Hi,
2010/12/20 Charles Manning <[email protected]>:
Quoted 12 lines
Hi All
With the change to the new omap-serial stuff, the device names have changed from
/dev/ttySnto/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.
Quoted 8 lines
Quoted 4 lines
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
Hi,
2010/12/20 Abraham Arce <[email protected]>:
Quoted 11 lines
Hi,
Quoted 3 lines · Ming Lei
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
The commit does not explain the cause of renaming ttyS to ttyO, does it?
thanks,
Signature · 1 line
Lei Ming
Op 20 dec 2010, om 08:34 heeft Ming Lei het volgende geschreven:
Quoted 10 lines
Hi,
2010/12/20 Abraham Arce <[email protected]>:
Quoted 7 lines
Hi,
Quoted 3 lines · Ming Lei
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?
Quoted 6 lines
Quoted 4 lines
Patch itself has one explanation, kernel commit is
b612633b5928077441b979471869753bfa93d41aThe 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
Quoted 15 lines · Ming Lei
Hi,
2010/12/20 Charles Manning<[email protected]>:
Quoted 12 lines
Hi All
With the change to the new omap-serial stuff, the device names have changed from
/dev/ttySnto/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.
Quoted 8 lines
Quoted 4 lines
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