some question about time
hi all: There are 2 time structs in kernel, timespec and ktime_t. Under what circumstances we will use timespec or ktime_t? under 32-bits system, they seem same because both them store second and nanosecond information, right? -- Regards, ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: linux camera drivers
Hi, AFAIK imx036 is a raw bayer camera, and would be outputting data on mipi data line. So one needs a dedicated hardware such as mipi rx and then Isp etc.. And i dont think drivers for these would be available in linux. I might be wrong ... On Mar 5, 2012 2:18 PM, "Prabhakar Lad" > Mayank, > > > On Sat, Mar 3, 2012 at 9:51 AM, Mayank Agarwal < > mayank77fromin...@gmail.com> wrote: > >> >> >> On Fri, Mar 2, 2012 at 10:08 AM, Mayank Agarwal < >> mayank77fromin...@gmail.com> wrote: >> >>> 1.I think the device supports i2c or spi protocol.I want to know how the >>> i2c or spi is taking data >>> from image sensor and giving it to video buffers. >>> Most of the cameras support i2c or csi. >>> >> > >> 2.I want to understand the whole data flow from image sensor to the >>> display buffer and the role of linux kernel >>> camera drivers in that. >>> For this you need to understand the V4L2 Framework, Or later Media >>> Controller Framework. >>> >> > >> 3.Currently i am looking at Sony IMX036,Aptima MT9P031. >> >> You can find in directory /drivers/media/video/ >MT9p031 support is there in current kernel but no idea about > imx036. > > Regards, > ---Prabhakar Lad > Mob: +91-9611756433 > http://in.linkedin.com/pub/prabhakar-lad/19/92b/955 > > >>> Thanks and Regards, >>> Mayank >>> >>> >>> On Thu, Mar 1, 2012 at 8:22 PM, Greg KH wrote: >>> On Thu, Mar 01, 2012 at 05:57:52PM +0530, Mayank Agarwal wrote: > Hi all, > > I have following questions regarding camera drivers in linux kernel. > > 1.which are the files/folder in kernel directory where camera drivers support > is provided in linux kernel. It depends, which type of protocol does your device support? > 2.Are they customisable according to different SOC requirements. It depends on what the requirements are. As it's software, it's always able to be changed :) > 3.Are there any tutorials/pdfs to understand camera drivers in linux kernel. What is wrong with the code itself? > 4.At present which sensor (i mean aptina/sony/omnivision) drivers are supported > in linux kernel. What sensor are you looking for exactly? What device do you need to support, and what protocol does your camera use to talk to the hardware? greg k-h >>> >>> >> >> ___ >> Kernelnewbies mailing list >> Kernelnewbies@kernelnewbies.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> >> > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Kernecel headers in kernel source
On Tue, Mar 6, 2012 at 8:25 PM, rajaneesh acharya wrote: > Hi, > > I recently compiled kernel from the GIT repo...Some of the application in > the distro needs kernel header files...Which subdirectory of the source > directory do I find the kernel header files in? The headers are in the "include" directory of the Linux source. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Kernecel headers in kernel source
Hi, I recently compiled kernel from the GIT repo...Some of the application in the distro needs kernel header files...Which subdirectory of the source directory do I find the kernel header files in? Regards Rajaneesh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: suspicious RCU usage?
Hi :) On Sun, Mar 4, 2012 at 20:16, Peter Senna Tschudin wrote: > [ 858.634435] kernel/pid.c:425 find_task_by_pid_ns() needs > rcu_read_lock() protection! hmmokkernel said that so... > int yfkm2_is_pid_running(pid_t pid) > { > struct task_struct *q; > > q = find_task_by_vpid(pid); I think this section that makes kernel barf. It wants you to grab rcu_read_lock(), right before you do find_task_by_vpid(). What do you think? :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Linux cdc-acm-driver
On Tue, Mar 06, 2012 at 11:30:33AM +0400, tamerlan311 wrote: > 2012/3/6 Greg KH > > On Mon, Mar 05, 2012 at 03:24:17PM +0400, tamerlan311 wrote: > > This kernel module was completely stable. > > But i think that i should do some clean up code before upstream it. > > There's no need to do that now, you can always send follow-on patches > doing that. > > Ok. > > > > > Was planned for future developments: > > implement write to device support. (I do not know why, but this feature > was > > implemented in original source) > > How can a barcode scanner be written to? > > Official service software can configure scanner via Bi-Directional port mode. > Instead of special barcode for config. > > > > > implement work in UNI-Directional mode (0c2e:0710) > > > > I am busy working, but I'll try to finish in few week. > > How about I take what you have now, that ensures we make the 3.4 kernel > release deadline, and then you send follow-on patches for the other > things as you work on them? That way people can use the driver now, > which is what they want to do :) > > > I do not mind, it's a great idea! > still need some kind of reaction from me at now? No, I can take the code as-is and create a patch and add it to the tree if you don't want to do that. I'll try to do it by the end of this week and I'll cc: you on the patch. thanks, greg k-h ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies