From: Paulius Zaleckas <paulius.zaleckas@gmail.com>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: 'Joonyoung Shim' <jy0922.shim@samsung.com>,
'Darius Augulis' <augulis.darius@gmail.com>,
'Kyungmin Park' <kmpark@infradead.org>,
ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org,
linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: samsung: fix device name
Date: Fri, 06 Aug 2010 11:45:38 +0300 [thread overview]
Message-ID: <4C5BCBB2.10700@gmail.com> (raw)
In-Reply-To: <008701cb3538$54a12a00$fde37e00$%kim@samsung.com>
On 08/06/2010 10:23 AM, Kukjin Kim wrote:
> Joonyoung Shim wrote:
>>
>> On 8/6/2010 3:47 PM, Paulius Zaleckas wrote:
>>> On 08/06/2010 03:04 AM, Kyungmin Park wrote:
>>>> Hi,
>>>>
>>>> It's already posted by Mr. Shim
>>>> http://marc.info/?l=linux-arm-kernel&m=127410047306149&w=2
>>>
>>> Darius patch is a little bit cleaner.
>>>
>>
>> OK, it's better.
>>
>> Acked-by: Joonyoung Shim<jy0922.shim@samsung.com>
>>
>
> Hi all,
>
> I think, this should be handled by Ben Dooks....
> As Kyungmin Park said, there was his comment about this.
>
> This is just for your information....
>
> ===
>
> On Tue, May 18, 2010 at 12:52:13PM +0900, Joonyoung Shim wrote:
>> On 5/18/2010 11:48 AM, Ben Dooks wrote:
>>> On Mon, May 17, 2010 at 09:46:50PM +0900, Joonyoung Shim wrote:
>>>> Thd dev_name and driver_name should be switched each other.
>>>
>>> Hmm, this doesn't seem to have appeard on the linux-arm-kernel list yet.
>>>
>>> Please provide some information about what problem that this is fixing
>>> and the impact on any existing systems.
>>>
>>
>> The serial device nodes are created to s3c2410_serial* on android
>> platform instead of ttySAC*.
>
> This has been how they've been for ages, surely the android device node
> creation sytstem supports symlinking /dev/SACx -> /dev/s3c2410_serialx,
> like many other operating sysyerms that can already do this.
>
> Changing this just because android (something as-yet unmerged into mainline)
> does not like it. I'm not even happy with an #ifdef around this.
Not just android. Every linux user/developer is confused here...
The first thing when I need to supply some application with serial port
I type /dev/tty and press TAB couple times and in this case it FAILS.
That is precisely the case Darius has spend couple days to realize
that serial port is under same strange name s3c2410_serialx, even
thou his CPU really is s3c6410!
Even when I type in google "samsung console kernel", the first page
I hit has information that it is under ttySACx name!
> If you really feel this is a problem that you absolutely must fix in kernel
> then please provide a kernel commandline option to change the serial driver
> name and use that on any platform that needs it. Another way would be to
> update the serial platform data to have a field for which name to choose.
If there is need for old/broken name then userspace can create a symlink
for this s3c2410_serial*. Udev can do this, static dev population can
do this, init shell script can do this and many many other ways...
Why should we put support for this broken name into kernel?
My opinion would be to even send this patch to stable@vger.kernel.org
next prev parent reply other threads:[~2010-08-06 8:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-05 20:10 [PATCH] serial: samsung: fix device name Darius Augulis
2010-08-06 0:04 ` Kyungmin Park
2010-08-06 6:13 ` Darius Augulis
2010-08-06 6:26 ` Kyungmin Park
2010-08-06 6:47 ` Paulius Zaleckas
2010-08-06 7:06 ` Joonyoung Shim
2010-08-06 7:23 ` Kukjin Kim
2010-08-06 8:45 ` Paulius Zaleckas [this message]
2010-08-15 9:59 ` Darius Augulis
2010-08-30 7:05 ` Darius Augulis
2010-09-01 1:46 ` Kukjin Kim
2010-09-01 2:46 ` Joonyoung Shim
2010-09-01 6:27 ` Darius Augulis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C5BCBB2.10700@gmail.com \
--to=paulius.zaleckas@gmail.com \
--cc=augulis.darius@gmail.com \
--cc=ben-linux@fluff.org \
--cc=jy0922.shim@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kmpark@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).