Re: How to access correctly serial port inside module?

2007-06-07 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I asked [EMAIL PROTECTED] as one of the driver developer this is how I did it (just prototype, with implicite line discipline) (neccessary just one folder and two files) 1. copy template linux-source/drivers/input/joystick/magellan.c 2. insert in li

Re: How to access correctly serial port inside module?

2007-06-07 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars K.W. Gohlke schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 03.06.2007 22:28 schrieb Lars K.W. Gohlke: Tilman Schmidt schrieb: Am 17.05.2007 08:15 schrieb huang ying: I think the "serio" (throu

Re: serio interface

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 12:52:13 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 12:39:17 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: Jan-Benedict Glaw sc

Re: The Input Layer and the Serial Port

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 how did you solved it??? - Mit freundlichen Grüßen Lars K.W. Gohlke mailto:[EMAIL PROTECTED] - - Visit http://www.lars-gohlke.de.vu 06.06.2007 13:18 -BEGIN PGP SIGNATURE- Version: GnuPG

Re: serio interface

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 12:39:17 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: Jan-Benedict Glaw schrieb: OTOH, why do you want to do the serial stuff in kernel land? Isn't it a *lot* easier to do it in usersp

Re: serio interface

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 11:34:49 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 11:11:23 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: wouldsomebody explain

Re: serio interface

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan-Benedict Glaw schrieb: On Wed, 2007-06-06 11:11:23 +0200, Lars K.W. Gohlke <[EMAIL PROTECTED]> wrote: wouldsomebody explain me the serio interface or give me a code link for very simple example. What do you want to do with it? Do you w

serio interface

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hallo, wouldsomebody explain me the serio interface or give me a code link for very simple example. thx. in advance - Mit freundlichen Grüßen Lars K.W. Gohlke mailto:[EMAIL PROTECTED] - - Visit

Re: How to access correctly serial port inside module?

2007-06-06 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 03.06.2007 22:28 schrieb Lars K.W. Gohlke: Tilman Schmidt schrieb: Am 17.05.2007 08:15 schrieb huang ying: I think the "serio" (through drivers/input/serio/serport.c) may be a choice too, like that in lin

Re: How to access correctly serial port inside module?

2007-06-05 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: > Am 17.05.2007 08:15 schrieb huang ying: >> I think the "serio" (through drivers/input/serio/serport.c) may be a >> choice too, like that in linux/drivers/input/mouse/sermouse.c, which >> is an example to program serial port i

Re: How to access correctly serial port inside module?

2007-06-03 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 17.05.2007 08:15 schrieb huang ying: I think the "serio" (through drivers/input/serio/serport.c) may be a choice too, like that in linux/drivers/input/mouse/sermouse.c, which is an example to program serial port in kernel

Re: How to access correctly serial port inside module?

2007-05-30 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars K.W. Gohlke schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: 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

Re: How to access correctly serial port inside module?

2007-05-30 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: 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.

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Engelhardt schrieb: On May 24 2007 19:19, Lars K.W. Gohlke wrote: I want to read from serial port (I mean the port, which is called /dev/ttyS0 in user-space). Then I want copy_to_user() it through /proc/serialPort This is just to get familiar

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 24.05.2007 12:22 schrieb Lars K.W. Gohlke: I will summarize the concrete scenario, which will lead to the understanding and further solution of deadling with serial driver. [scenario] 1. in userspace I'm

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Engelhardt schrieb: On May 24 2007 12:45, Lars K.W. Gohlke wrote: Date: Thu, 24 May 2007 12:45:06 +0200 From: Lars K.W. Gohlke <[EMAIL PROTECTED]> To: Jan Engelhardt <[EMAIL PROTECTED]> Cc: Tilman Schmidt <[EMAIL PROTECTED]

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 14.05.2007 15:00 schrieb Lars K.W. Gohlke: after searching the mailing list and searching the web, I still don't know how to access correctly the serial port (in user space known as /dev/ttyS01) I can only tell yo

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Engelhardt schrieb: On May 24 2007 12:22, Lars K.W. Gohlke wrote: ok, I have read everything and also have read the chapters about tty_drivers. However I'm not really understand, how to ... . I will summarize the concrete scenario, which

Re: How to access correctly serial port inside module?

2007-05-24 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Schmidt schrieb: Am 15.05.2007 10:43 schrieb Jan Engelhardt: On May 15 2007 01:00, Tilman Schmidt wrote: Am 14.05.2007 22:00 schrieb Jan Engelhardt: On May 14 2007 19:40, Lars K.W. Gohlke wrote: after searching the mailing list and

Re: How to access correctly serial port inside module?

2007-05-14 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Engelhardt schrieb: On May 14 2007 19:40, Lars K.W. Gohlke wrote: hallo, after searching the mailing list and searching the web, I still don't know how to access correctly the serial port (in user space known as /dev/ttyS01)

Re: How to access correctly serial port inside module?

2007-05-14 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars K.W. Gohlke schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hallo, after searching the mailing list and searching the web, I still don't know how to access correctly the serial port (in user space known as /dev/ttyS01) This t

How to access correctly serial port inside module?

2007-05-14 Thread Lars K.W. Gohlke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hallo, after searching the mailing list and searching the web, I still don't know how to access correctly the serial port (in user space known as /dev/ttyS01) This thread ends before the answer was given and the site redirecting too is restructured: