Is now, how to send HID kbd stream to stdin from tty1 ?

2010-01-12 Thread Microbit_Ubuntu
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 le

Re: xorg-server compilation

2010-01-12 Thread Mulyadi Santosa
On 1/12/10, Niamathullah sharief wrote: > Hello. I am trying to compile xorg-server for arm board. By that time i got > a erro as > *[code]checking for GL... configure: error: Package requirements (glproto >= > 1.4.9 gl >= 7.1.0) were not met: > > No package 'gl' found Not trying to be rude, but

HSM implementation

2010-01-12 Thread rohit vashist
Hello Is there any benchmarking tool to set a HSM i.e Hierarchical Storage Manager implemented in software? -- Regards, Rohit Vashist

Re: 'No such device or address' when writing to device driver

2010-01-12 Thread Daniel Baluta
Hi, On Tue, Jan 12, 2010 at 5:46 PM, Sam Carter wrote: > Hi Srdjan and everyone. > > Thanks for pointing that out, I have updated my function. > > ssize_t memo_write(struct file *filp, const char __user *buf, size_t count, > loff_t *offp){ >     printk("write function\n"); >     ssize_t temp = -E

Re: 'No such device or address' when writing to device driver

2010-01-12 Thread Sam Carter
Hi Srdjan and everyone. Thanks for pointing that out, I have updated my function. ssize_t memo_write(struct file *filp, const char __user *buf, size_t count, loff_t *offp){ printk("write function\n"); ssize_t temp = -ENOMEM; return temp; } However with a clean build reboot and insmod

xorg-server compilation

2010-01-12 Thread Niamathullah sharief
Hello. I am trying to compile xorg-server for arm board. By that time i got a erro as *[code]checking for GL... configure: error: Package requirements (glproto >= 1.4.9 gl >= 7.1.0) were not met: No package 'gl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed so

Re: 'No such device or address' when writing to device driver

2010-01-12 Thread Srdjan Todorovic
On 12/01/2010, Sam Carter wrote: > The write function is defined in the same file and is, as of now, > unimplemented apart from the following. > > static int write(char *s){ Correct me if I'm wrong, but shouldn't the function signature be: ssize_t write(struct file *, const char __user *, size_t

Re: 'No such device or address' when writing to device driver

2010-01-12 Thread Sam Carter
The write function is defined in the same file and is, as of now, unimplemented apart from the following. static int write(char *s){ printk("write function\n"); return 0; } 2010/1/12 Chetan Nanda > > > On Tue, Jan 12, 2010 at 4:55 AM, Sam Carter wrote: > >> I've just installed strace a

Re: piping HID kbd handler to stdin - is a daemon needed ?

2010-01-12 Thread Microbit_Ubuntu
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 via serial ttyS0. > > Having studied the relevan

Re: How to get the number of free pages in a zone(2.6.18)?

2010-01-12 Thread Adam Jiang
OK. I found the answer. It is simply could be done by zone->free_pages; Sorry for the stupid question. :) Best regards, Adam On Tue, Jan 12, 2010 at 3:33 PM, Adam Jiang wrote: > Hello, list. > > I want to backport mem_notify.patch to linux-2.6.18. Most of the things > goes > well and simple, b