Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763044AbXE1TD6 (ORCPT ); Mon, 28 May 2007 15:03:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758049AbXE1TDu (ORCPT ); Mon, 28 May 2007 15:03:50 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:58546 "EHLO mailer.gwdg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460AbXE1TDt (ORCPT ); Mon, 28 May 2007 15:03:49 -0400 Date: Mon, 28 May 2007 21:03:00 +0200 (MEST) From: Jan Engelhardt To: Tilman Schmidt cc: "Lars K.W. Gohlke" , linux-kernel@vger.kernel.org Subject: Re: How to access correctly serial port inside module? In-Reply-To: <465B0BC9.2040502@imap.cc> Message-ID: References: <46485D84.1010902@gmx.de> <46489EF1.2020509@gmx.de> <4648E9F7.5090908@imap.cc> <46536C0F.50101@imap.cc> <4655676A.1000102@gmx.de> <4655C554.7030000@imap.cc> <4655C93D.40005@gmx.de> <4655E463.7000201@gmx.de> <465B0BC9.2040502@imap.cc> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 35 On May 28 2007 19:05, Tilman Schmidt wrote: >Am 24.05.2007 21:15 schrieb Lars K.W. Gohlke: >> Jan Engelhardt schrieb: >[code proposal] >>> [I've warned about it... ;-) ] >> >> is it the way to access from kernelspace the userspace fs? >> the not-correct-way? > >Yes, indeed. > >> If it is so, I will wait for another solution ;) > >I'm not sure waiting will help. The roasted pigeons will not come >flying into your mouth. > >The possible solutions have been sketched out for you: > >a) open the device file from the kernel (described by Jan): > actively discouraged by the kernelnewbies.org FAQ document, > and probably won't even work IMHO It does work. "It just needs work." :) See https://dev.computergmbh.de/svn/quad_dsp/trunk/ for an example. Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/