Re: file system for streaming data

2009-02-03 Thread Peter Teoh
i am not aware of filesystem-specific features for streaming data, but at the lower level, the drivers yes: ./infiniband/hw/cxgb3/iwch_cm.c: ./media/common/saa7146_vbi.c: ./media/video/cafe_ccic.c: ./media/video/gspca/ov534.c: ./scsi/NCR_Q720.c: ./usb/gadget/inode.c: but if u google further, ther

Differences in page fault cost; how to proceed

2009-02-03 Thread Basavaraj Dengi
Hi All, I am running lmbench version-3.0-a9 on two embedded platforms. P1 - Xscale processor with 2.6.21.1 linux kernel P2 - OMAP3430 processor with 2.6.24.7 linux kernel File size P1 P2 1MB 10.4805 8.9601 microsec 3 11.3464 17.9124 4 11.7725 22.4209 6 12.6081 31.5996 8 13.43

Re: Sending signals to user space program from kernel space

2009-02-03 Thread Pei Lin
Reference signal.c int send_sig(int sig, struct task_struct *p, int priv) may be your need. 2009/2/3 jean-francois simon : > how about kill_proc: > > > like in > kill_proc(pid, SIGUSR1, 1); > > for example. > > -jfs > > > > Paraneetharan Chandrasekaran wrote: >> Hi, >> You can write

Re: leds driver

2009-02-03 Thread Markus Heidelberg
PAtrick Gerber, 03.02.2009: > >Maybe you don't need to write a driver at all and can use the leds-gpio > >driver as well? > > Do you have an example ? No, but I'm sure you can find examples in the source tree. > >Have you adjusted your board code? You have to add a struct > >platform_device, so

Re : leds driver

2009-02-03 Thread PAtrick Gerber
>Maybe you don't need to write a driver at all and can use the leds-gpio >driver as well? Do you have an example ? >Have you adjusted your board code? You have to add a struct >platform_device, so that the kernel knows that and on which pins you >have LEDs. No, I was thinking that the struct i

Fw : Re: leds driver

2009-02-03 Thread PAtrick Gerber
> Probably the driver/device name mismatch which has for effect that driver probe function is not being called. > Can you post your driver for us to see what you did/are missing? With pleasure, see the attached code. Patrick leds-colibri.c Description: Binary data

Re: file system for streaming data

2009-02-03 Thread Greg Freemyer
On Mon, Feb 2, 2009 at 11:56 PM, Sharanagouda Biradar wrote: > > hi everyone > can anyone please let me know how a file system handels a streaming data ? > as i am not getting any information on google . > references to good websites or links are appreciated XFS is the only production linux FS I

Re: leds driver

2009-02-03 Thread Markus Heidelberg
PAtrick Gerber, 03.02.2009: > Hello, > > I am developping an embedded system based on a ARM PXA270. I am using > 2.6.27 kernel. > > I have developped a tiny led driver for my embedded kernel based on > leds class. My driver is almost identical as the leds-cm-x270.c This driver has been removed a

Re: leds driver

2009-02-03 Thread Hinko Kocevar
PAtrick Gerber wrote: > Hello, > > I am developping an embedded system based on a ARM PXA270. I am using 2.6.27 > kernel. > > I have developped a tiny led driver for my embedded kernel based on leds > class. My driver is almost identical as the leds-cm-x270.c driver. When I > insert my driver

leds driver

2009-02-03 Thread PAtrick Gerber
Hello, I am developping an embedded system based on a ARM PXA270. I am using 2.6.27 kernel. I have developped a tiny led driver for my embedded kernel based on leds class. My driver is almost identical as the leds-cm-x270.c driver. When I insert my driver in the kernel the probe function is ne

Re: Sending signals to user space program from kernel space

2009-02-03 Thread jean-francois simon
how about kill_proc: like in kill_proc(pid, SIGUSR1, 1); for example. -jfs Paraneetharan Chandrasekaran wrote: > Hi, > You can write a netlink socket interface between your char > driver and userspace program. User space program can be made to wait in > "recvfrom" system call.

wifi usb

2009-02-03 Thread M Ali
hi i was wondering if you can write a driver(modify) tp-link TL-WN821N usb wifi dongle for linux, i know you can run the device on linux with ndiswrapper but i does not support monitor mode. Also when i was searching the internet i found this site http://wireless.kernel.org/en/users/Drivers/otus