Fwd: Mail delivery failed: returning message to sender

2010-01-14 Thread microbit
Hi All, I was eagerly waiting for some advice, but I note thatmy post never made it : The post is below : Subject: Is now, how to send HID kbd stream to stdin from tty1 ? Original Message Subject: Mail delivery failed: returning message to sender Date: Wed, 13 Jan 2010

Is now : how to send HID kbd to tty1

2010-01-14 Thread microbit
On Tue, 2010-01-12 at 21:02 +1100, Microbit_Ubuntu wrote: As follow up, On Tue, 2010-01-12 at 17:53 +1100, Microbit_Ubuntu wrote: Hi all, I've recently started using USB keyboard on my embedded SAM9-L9260 board. Part reason is that I can send certain hard codes that are less practical to send

Re: Clear screen from the kernel

2010-01-14 Thread Bernd Petrovitsch
On Mit, 2010-01-13 at 19:05 -0300, Diego Woitasen wrote: Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? No, because the console can be your ordinary Linux console or over the network or over a serial line. You could look up the control

Re: Clear screen from the kernel

2010-01-14 Thread Microbit_Ubuntu
On Thu, 2010-01-14 at 12:42 +0100, Bernd Petrovitsch wrote: On Mit, 2010-01-13 at 19:05 -0300, Diego Woitasen wrote: Hi, I want to clear the console before a printk() call. Is there a funcion in the kernel API to do it? No, because the console can be your ordinary Linux console or over

Re: Clear screen from the kernel

2010-01-14 Thread Bernd Petrovitsch
Hi! On Fre, 2010-01-15 at 00:24 +1100, Microbit_Ubuntu wrote: [...] I can't seem to find any reference to getting *both* the ordinary AND the serial line to work. The first few paragraphs of http://www.mjmwired.net/kernel/Documentation/serial-console.txt describes this IMHO. I didn't try it

Re: Clear screen from the kernel

2010-01-14 Thread Microbit_Ubuntu
On Thu, 2010-01-14 at 15:17 +0100, Bernd Petrovitsch wrote: Hi! On Fre, 2010-01-15 at 00:24 +1100, Microbit_Ubuntu wrote: [...] I can't seem to find any reference to getting *both* the ordinary AND the serial line to work. The first few paragraphs of

Why the linux does not allow the access to a file in the device driver?

2010-01-14 Thread Daniel (Youngwhan) Song
Hi, Could somebody help me to understand the reason why the linux kernel does not allow the access to a file in the device driver? For example, for debugging purpose, if a device driver want to log some data in a file by using open/write/read method like in user application, how a driver can

Re: Why the linux does not allow the access to a file in the device driver?

2010-01-14 Thread askb
On Thu, 2010-01-14 at 17:48 -0800, Daniel (Youngwhan) Song wrote: Hi, Could somebody help me to understand the reason why the linux kernel does not allow the access to a file in the device driver? For example, for debugging purpose, if a device driver want to log some data in a file by

Re: Why the linux does not allow the access to a file in the device driver?

2010-01-14 Thread Greg KH
On Thu, Jan 14, 2010 at 05:48:21PM -0800, Daniel (Youngwhan) Song wrote: Hi, Could somebody help me to understand the reason why the linux kernel does not allow the access to a file in the device driver? For example, for debugging purpose, if a device driver want to log some data in a file

Re: Why the linux does not allow the access to a file in the devicedriver?

2010-01-14 Thread snoppy1314
Dear Daniel: I think the most important reason is: the file your said is in the user-space, while the driver code is running in the kernel-space.For the security reason, the direct acess between these two space is forbidden. The solution to your problem: 1. use the /proc or /sys filesystem 2.

Re: vmalloc space overlapping

2010-01-14 Thread Syed Khader
On Thu, Jan 7, 2010 at 3:27 AM, Prashant Bhole prashantsmailcen...@gmail.com wrote: Hi, We have a custom board (arm/mach-iop331) and linux kernel (2.6.24) ported for it. I saw following message while booting: BUG: mapping for 0xce80 at 0xce80 overlaps vmalloc space Can anybody

Re: Why the linux does not allow the access to a file in the devicedriver?

2010-01-14 Thread Daniel (Youngwhan) Song
Thank you, guys, Now, I could understand of it and learned it. Best Regards, Daniel (Youngwhan) Song On Thu, Jan 14, 2010 at 6:57 PM, snoppy1314 snoppy1...@163.com wrote: Dear Daniel: I think the most important reason is: the file your said is in the user-space, while the driver code is