Hi,
What is the simpliest implementation of block_til_ready for tty driver?
Thanks,
Andy
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ
Hi,
I have a problem with cat /dev/my_ttyS0 (see strace output below). cat
function is not blocked. I don't understand why it is not stopped at read(0, __
and terminated?
Thank you
--
execve(/bin/cat, [cat], [/* 12
Thanx for your respond,
I did not implement this function in my tty driver.
Does it help to work my driver with cat Linux operation?
(e.g. cat ttyS10)
Mockern napsal(a):
What for is bloc_til_ready function in tty drivers?
Most drivers waits for hardware to detect carrier and for closed
Thanx for your respond.
Does it mean I have to change nothing in my tty driver (based on serial_core.c)
to use: cat and cp? No nonstandard special functions to implement?
On Thu, 15 Feb 2007, Mockern wrote:
I have a question about linux tty driver
how to support cp, cat operations
Thank you very much
On Fri, 16 Feb 2007, Mockern wrote:
Thanx for your respond.
Does it mean I have to change nothing in my tty driver
(based on serial_core.c) to use: cat and cp? No nonstandard special
functions to implement?
Change nothing. It you are making your own, make sure your
Thank you very much
Mockern napsal(a):
Thanx for your respond,
I did not implement this function in my tty driver.
Does it help to work my driver with cat Linux operation?
(e.g. cat ttyS10)
Help in which way? If you haven't implemented it, it'll behave like there was
O_NONBLOCK passed
Hi,
I'm working on Linux tty driver (based on tiny_tty).
How can I provide in my driver Linux cat operation (e.g.cat ttyS3)?
What should I implement exactly?
Thankx
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
Thank you,
I have no problem with my tty driver, except one thing: it does not work with
cat (but there are no problems to write,read from user space application). I'll
try to follow your adwise to support cat.
Mockern napsal(a):
Hi,
I'm working on Linux tty driver (based on tiny_tty
The problem is (probably???) that I did not implement ready_til_block
in my driver.
OK, thank you, i need to investigate it with strace.
Mockern napsal(a):
Thank you,
I have no problem with my tty driver, except one thing: it does not work
with cat (but there are no problems to write
Thanx for your respond.
Could you please inform me what patches exactly you have grabbed?
On Sat, Feb 17, 2007 at 03:29:31PM +0300, Mockern wrote:
When data is received from the hardware, it needs to be placed into the tty
device's flip buffer. This can be done with the following bit of code
AD7994 4 Channel, 12-Bit ADC with I2C Compatible Interface in 16-Lead TSSOP,
I think it could be I2C driver
On 2/17/07, Mockern [EMAIL PROTECTED] wrote:
Hello,
Where I can find any ADC driver example?
Depending on what kind of ADC and what you want to do with it,
anything from a simple
AD7994 4 Channel, 12-Bit ADC with I2C Compatible Interface in 16-Lead
TSSOP,
I think it could be I2C driver
On 2/17/07, Mockern [EMAIL PROTECTED] wrote:
Hello,
Where I can find any ADC driver example?
Depending on what kind of ADC and what you want to do with it,
anything from a simple
Hello,
Where I can grab an example of ADC driver with I2C interface?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
, Paul Fulghum wrote:
Mockern wrote:
I have a question, what is really difference between serial and tty
drivers?
As I understand tty is high level and communicates with user space.
The serial core implements many of the details of a tty
driver in a common place so that individual hardware
Thank you, I'll take a look.
did you tried www.comedi.org ?
Am Sunday 18 February 2007 00:18 schrieb Mockern:
Hello,
Where I can grab an example of ADC driver with I2C interface?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
Hello,
I need to send a battery info status from my driver to Linux APM driver.
How can I do it?
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
I need to send data from my driver to apm driver,
I want to use apm_get_power_status function for getting here
my battery ststus info. But I have found this function has no implementation.
thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a
Hi,
Could someone please to help with next question:
Where Linux (or maybe tty layer) keeps termios data?
If I run stty command, where stty gets current termios settings?
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
Hi,
I just added
mydriver_tty_driver-init_termios = tty_std_termios
to my init driver function.
Problem: But now I can't see data at user level application. It looks like
flip_buffer needs to get termination character(or new line character) to push
data to high level.
Which character
Hi,
Could you help me please, how can my serial driver to work in half-duplex and
full-duplex mode?
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
)
Mockern [EMAIL PROTECTED] wrote:
Hello,
how to limit flip buffer size in tty driver?
You don't.
See Documentation/tty.txt and throttle/unthrottle
Alan
--
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
-
To unsubscribe from this list: send the line unsubscribe
I tried to check cat operations for tiny_tty driver from LDD book.
What is wrong with cat operation here?
Here is the output from strace cat hello /dev/my_tty1
[EMAIL PROTECTED]:/home# strace cat hello /dev/my_tty1
execve(/bin/cat, [cat, hello], [/* 12 vars */]) = 0
brk(0)
Thank you very much for you help.
BTW, for cat /dev/my_tty1 can see here something wrong?
as I understand tiny_timer function sends data to tty level
by calling tty_flip_buffer_push(tty).
Is this enough to support cat /dev/my_tty1?
On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mockern wrote:
I
cat /dev/my_tty does nothing, just stopped for reading. I tried to send a
data,
but there was no respond, just waiting.
On Wed, Feb 21, 2007 at 10:33:52PM +0300, Mockern wrote:
Thank you very much for you help.
BTW, for cat /dev/my_tty1 can see here something wrong?
as I understand
Hello,
I tried to cat /dev/mytty/ttyS3, but cat shows nothing. I attached here strace
cat /dev/mytty/ttyS3 and cat hello. Hello is just a file. As you can see
the
result of strace cat is identical, but in tty case I can't see nothing. Why
does cat write nothing at my console?
Thank
Hi,
I have a question.
I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
The problem is that I need to use wait_event_timeout function.
Mockern napsal(a):
Hi,
I have a question.
I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?
It's subjiffy delay unless you use 5 HZ :). Use udelay.
regards
The problem is that I need to use wait_event_timeout function
Am Samstag 03 Mдrz 2007 15:20 schrieb Mockern:
Hi,
I have a question.
I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?
You can't do it with jiffies as they have 1
hi,
how is better to lock data (a buffer) which is used by 2 kernel threads?
thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
Hi,
I have the Linux kernel oops problem sometime.
How can I fix it?
Thank you
-
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error:
hi,
Could someone explain me please, do I need sa1100_wdt.c in my Linux box?
What is the main goal of this driver?
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
Hi,
I have a question. How can I make timeout = 1 millisecond for wait_event_timeout
function?
Something like (HZ/1000)*x?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
hi,
Is there a way how to make kernel thread more faster?
I put some of my code to the kthread, but I noticed that kthread sends data
more slow
than original driver without kthread.
Thank you
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
Hi,
What does schedule() function do? I want to make my kthread preemptive.
Thanks
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
Hello,
I tried to cat < /dev/mytty/ttyS3, but cat shows nothing. I attached here strace
cat < /dev/mytty/ttyS3 and cat < hello. Hello is just a file. As you can see
the
result of strace cat is identical, but in tty case I can't see nothing. Why
does cat write nothing at my console?
Thank
Hi,
I have a question.
I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
The problem is that I need to use wait_event_timeout function.
>Mockern napsal(a):
>> Hi,
>>
>> I have a question.
>>
>> I need to use 20 microsecond delay in my driver.
>> What exact jiffies value I should define to get 20 microseconds?
>
>It's s
The problem is that I need to use wait_event_timeout function
>Am Samstag 03 Mдrz 2007 15:20 schrieb Mockern:
>> Hi,
>>
>> I have a question.
>>
>> I need to use 20 microsecond delay in my driver.
>> What exact jiffies value I should define to get 20 micros
hi,
how is better to lock data (a buffer) which is used by 2 kernel threads?
thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
Hi,
I have the Linux kernel oops problem sometime.
How can I fix it?
Thank you
-
Unable to handle kernel NULL pointer dereference at virtual address 0004
pgd = c0004000
[0004] *pgd=
Internal error:
hi,
Could someone explain me please, do I need sa1100_wdt.c in my Linux box?
What is the main goal of this driver?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
Hi,
I have a question. How can I make timeout = 1 millisecond for wait_event_timeout
function?
Something like (HZ/1000)*x?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
hi,
Is there a way how to make kernel thread more faster?
I put some of my code to the kthread, but I noticed that kthread sends data
more slow
than original driver without kthread.
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Hi,
What does schedule() function do? I want to make my kthread preemptive.
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
Hi,
What is the simpliest implementation of block_til_ready for tty driver?
Thanks,
Andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ
Hi,
I have a problem with cat < /dev/my_ttyS0 (see strace output below). cat
function is not blocked. I don't understand why it is not stopped at read(0, __
and terminated?
Thank you
--
execve("/bin/cat", ["cat"],
Thanx for your respond,
I did not implement this function in my tty driver.
Does it help to work my driver with cat Linux operation?
(e.g. cat < ttyS10)
>Mockern napsal(a):
>> What for is "bloc_til_ready" function in tty drivers?
>
>Most drivers waits fo
Thanx for your respond.
Does it mean I have to change nothing in my tty driver (based on serial_core.c)
to use: cat and cp? No "nonstandard " special functions to implement?
>
>On Thu, 15 Feb 2007, Mockern wrote:
>
>> I have a question about linux tty driver
>
Thank you very much
>On Fri, 16 Feb 2007, Mockern wrote:
>
>> Thanx for your respond.
>>
>> Does it mean I have to change nothing in my tty driver
>> (based on serial_core.c) to use: cat and cp? No "nonstandard " special
>> functions to implement
Thank you very much
>Mockern napsal(a):
>> Thanx for your respond,
>>
>> I did not implement this function in my tty driver.
>>
>> Does it help to work my driver with cat Linux operation?
>> (e.g. cat < ttyS10)
>
>Help in which way?
Hi,
I'm working on Linux tty driver (based on tiny_tty).
How can I provide in my driver Linux cat operation (e.g.cat < ttyS3)?
What should I implement exactly?
Thankx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More
Thank you,
I have no problem with my tty driver, except one thing: it does not work with
cat (but there are no problems to write,read from user space application). I'll
try to follow your adwise to support cat.
>Mockern napsal(a):
>> Hi,
>>
>> I'm working on Li
The problem is (probably???) that I did not implement ready_til_block
in my driver.
OK, thank you, i need to investigate it with strace.
>Mockern napsal(a):
>> Thank you,
>>
>> I have no problem with my tty driver, except one thing: it does not work
>> with cat
Thanx for your respond.
Could you please inform me what patches exactly you have grabbed?
>On Sat, Feb 17, 2007 at 03:29:31PM +0300, Mockern wrote:
>> When data is received from the hardware, it needs to be placed into the tty
>> device's flip buffer. This can be done with th
AD7994 4 Channel, 12-Bit ADC with I2C Compatible Interface in 16-Lead TSSOP,
I think it could be I2C driver
>>On 2/17/07, Mockern <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> Where I can find any ADC driver example?
>>>
>>
&
AD7994 4 Channel, 12-Bit ADC with I2C Compatible Interface in 16-Lead
TSSOP,
I think it could be I2C driver
>On 2/17/07, Mockern <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Where I can find any ADC driver example?
>>
>
>Depending on what kind of ADC and
Hello,
Where I can grab an example of ADC driver with I2C interface?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
-0600, Paul Fulghum wrote:
>> Mockern wrote:
>> >I have a question, what is really difference between serial and tty
>> >drivers?
>> >
>> >As I understand tty is high level and communicates with user space.
>>
>> The serial core implements
Thank you, I'll take a look.
>
>did you tried www.comedi.org ?
>
>Am Sunday 18 February 2007 00:18 schrieb Mockern:
>> Hello,
>>
>> Where I can grab an example of ADC driver with I2C interface?
>> -
>> To unsubscribe from this list: send the line
Hello,
I need to send a battery info status from my driver to Linux APM driver.
How can I do it?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
I need to send data from my driver to apm driver,
I want to use apm_get_power_status function for getting here
my battery ststus info. But I have found this function has no implementation.
thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a
300 (MSK)
>"Mockern" <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>>
>> how to limit flip buffer size in tty driver?
>
>You don't.
>
>See Documentation/tty.txt and throttle/unthrottle
>
>Alan
--
Сегодня удачный день, чтобы завести почту на Яндекс
I tried to check cat operations for tiny_tty driver from LDD book.
What is wrong with cat operation here?
Here is the output from strace cat hello > /dev/my_tty1
[EMAIL PROTECTED]:/home# strace cat hello > /dev/my_tty1
execve("/bin/cat", ["cat", "hello"], [/* 12 vars */]) = 0
brk(0)
Thank you very much for you help.
BTW, for cat < /dev/my_tty1 can see here something wrong?
as I understand tiny_timer function sends data to tty level
by calling tty_flip_buffer_push(tty).
Is this enough to support cat < /dev/my_tty1?
>On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mock
cat < /dev/my_tty does nothing, just stopped for reading. I tried to send a
data,
but there was no respond, just waiting.
>On Wed, Feb 21, 2007 at 10:33:52PM +0300, Mockern wrote:
>> Thank you very much for you help.
>>
>> BTW, for cat < /dev/my_tty1 can see he
Hi,
Could someone please to help with next question:
Where Linux (or maybe tty layer) keeps termios data?
If I run stty command, where stty gets current termios settings?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL
Hi,
I just added
"mydriver_tty_driver->init_termios = tty_std_termios"
to my init driver function.
Problem: But now I can't see data at user level application. It looks like
flip_buffer needs to get termination character(or new line character) to push
data to high level.
Which character
Hi,
Could you help me please, how can my serial driver to work in half-duplex and
full-duplex mode?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
68 matches
Mail list logo