Re: [RFC] v4l2 support for thermopile devices
On Wed, 2 Nov 2016 23:10:41 -0700 Matt Ranostay <matt@ranostay.consulting> wrote: > > So does anyone know of any software that is using V4L2_PIX_FMT_Y12 > currently? Want to test my driver but seems there isn't anything that > uses that format (ffmpeg, mplayer, etc). > > Raw data seems correct but would like to visualize it :). Suspect I'll > need to write a test case application though I was pretty sure that MPlayer supports 12bit greyscale, but I cannot find where it was handled. You can of course pass it to the MPlayer internas as 8bit greyscale, which would be IMGFMT_Y8 or just pass it on as 16bit which would be IMGFMT_Y16_LE (LE = little endian). You can find the internal #defines of the image formats in libmpcodecs/img_format.h and can use https://www.fourcc.org/yuv.php to decode their meaning. The equivalent for libav would be libavutil/pixfmt.h Luca Barbato tells me that adding Y12 support to libav would be easy. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson
Re: [RFC] v4l2 support for thermopile devices
On Wed, 2 Nov 2016 23:10:41 -0700 Matt Ranostay wrote: > > So does anyone know of any software that is using V4L2_PIX_FMT_Y12 > currently? Want to test my driver but seems there isn't anything that > uses that format (ffmpeg, mplayer, etc). > > Raw data seems correct but would like to visualize it :). Suspect I'll > need to write a test case application though I was pretty sure that MPlayer supports 12bit greyscale, but I cannot find where it was handled. You can of course pass it to the MPlayer internas as 8bit greyscale, which would be IMGFMT_Y8 or just pass it on as 16bit which would be IMGFMT_Y16_LE (LE = little endian). You can find the internal #defines of the image formats in libmpcodecs/img_format.h and can use https://www.fourcc.org/yuv.php to decode their meaning. The equivalent for libav would be libavutil/pixfmt.h Luca Barbato tells me that adding Y12 support to libav would be easy. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson
Re: [ 074/262] mmc: mxs-mmc: fix deadlock caused by recursion loop
On Fri, 28 Sep 2012 11:50:03 -0700 Greg Kroah-Hartman wrote: > From: Greg KH > > 3.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Lauri Hintsala > > commit fc108d24d3a6da63576a460e122fa1df0cbdea20 upstream. > > Release the lock before mmc_signal_sdio_irq is called by > mxs_mmc_enable_sdio_irq. Looks ok on this side of the big pond. Attila Kinali -- There is no secret ingredient -- Po, Kung Fu Panda -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [ 074/262] mmc: mxs-mmc: fix deadlock caused by recursion loop
On Fri, 28 Sep 2012 11:50:03 -0700 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: From: Greg KH gre...@linuxfoundation.org 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Lauri Hintsala lauri.hints...@bluegiga.com commit fc108d24d3a6da63576a460e122fa1df0cbdea20 upstream. Release the lock before mmc_signal_sdio_irq is called by mxs_mmc_enable_sdio_irq. Looks ok on this side of the big pond. Attila Kinali -- There is no secret ingredient -- Po, Kung Fu Panda -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: commit 91013923c712e1c: "irqdomain: Replace LEGACY mapping with LINEAR" breaks console on ARM i.mx23
ata [1.77] mousedev: PS/2 mouse device common for all mice [1.78] i2c /dev entries driver [1.79] TCP: cubic registered [1.80] NET: Registered protocol family 17 [1.80] Key type dns_resolver registered [1.81] registered taskstats version 1 [1.82] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [1.83] ALSA device list: [1.83] No soundcards found. [1.83] Warning: unable to open an initial console. [1.85] Freeing init memory: 1980K Starting logging: OK Populating using udev: done [2.31] udevd[38]: starting version 173 Initializing random number generator... done. Starting network... Welcome to Buildroot buildroot login: ---schnapp--- This is from linux-next-2012-07-19 plus two patches from Shawn Guo: [PATCH v2 1/2] clk: fix clk_get on of_clk_get_by_name return check [PATCH v2 2/2] clk: fix compile for OF && !COMMON_CLK Especialy the second one is needed to get the system booting. Config is more or less mxs_defconfig, with a few additional drivers enabled. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: commit 91013923c712e1c: irqdomain: Replace LEGACY mapping with LINEAR breaks console on ARM i.mx23
: no DMA platform data [1.77] mousedev: PS/2 mouse device common for all mice [1.78] i2c /dev entries driver [1.79] TCP: cubic registered [1.80] NET: Registered protocol family 17 [1.80] Key type dns_resolver registered [1.81] registered taskstats version 1 [1.82] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [1.83] ALSA device list: [1.83] No soundcards found. [1.83] Warning: unable to open an initial console. [1.85] Freeing init memory: 1980K Starting logging: OK Populating using udev: done [2.31] udevd[38]: starting version 173 Initializing random number generator... done. Starting network... Welcome to Buildroot buildroot login: ---schnapp--- This is from linux-next-2012-07-19 plus two patches from Shawn Guo: [PATCH v2 1/2] clk: fix clk_get on of_clk_get_by_name return check [PATCH v2 2/2] clk: fix compile for OF !COMMON_CLK Especialy the second one is needed to get the system booting. Config is more or less mxs_defconfig, with a few additional drivers enabled. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
commit 91013923c712e1c: "irqdomain: Replace LEGACY mapping with LINEAR" breaks console on ARM i.mx23
Hi, I'm working on an embedded system based on a Freescale ARM9 processor i.mx23. While trying linux-next i stumpled over my login prompt getting broken. What exactly happens is that the kernel boots normally, but when my login prompt should appear it suddenly stops. I bisected it back to the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630 irqdomain: Replace LEGACY mapping with LINEAR Reverting this and the three commits that directly depend on it (see below) everything seems to work fine again commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630 irqdomain: Replace LEGACY mapping with LINEAR commit 79f3a92c6f1dcbd9aef748252962ec28dab130b8 irqdomain: Reserve IRQs for legacy domain commit 1fa5b2108e41a2c6be8f22c4d453fa97e1509f07 irqdomain: merge linear and tree reverse mappings. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
commit 91013923c712e1c: irqdomain: Replace LEGACY mapping with LINEAR breaks console on ARM i.mx23
Hi, I'm working on an embedded system based on a Freescale ARM9 processor i.mx23. While trying linux-next i stumpled over my login prompt getting broken. What exactly happens is that the kernel boots normally, but when my login prompt should appear it suddenly stops. I bisected it back to the commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630 irqdomain: Replace LEGACY mapping with LINEAR Reverting this and the three commits that directly depend on it (see below) everything seems to work fine again commit 91013923c712e1c4b9b343f0ee4a86ce72b1b630 irqdomain: Replace LEGACY mapping with LINEAR commit 79f3a92c6f1dcbd9aef748252962ec28dab130b8 irqdomain: Reserve IRQs for legacy domain commit 1fa5b2108e41a2c6be8f22c4d453fa97e1509f07 irqdomain: merge linear and tree reverse mappings. Attila Kinali -- It is upon moral qualities that a society is ultimately founded. All the prosperity and technological sophistication in the world is of no use without that foundation. -- Miss Matheson, The Diamond Age, Neil Stephenson -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Add manufacturer and card id of teltonica pcmcia modems
Hi, This patch adds the manufacturer and card id of teltonica pcmcia modems to serial_cs.c Signed-off-by: Attila Kinali <[EMAIL PROTECTED]> --- linux-2.6.22.7/drivers/serial/serial_cs.c.orig 2007-10-03 09:38:53.0 +0200 +++ linux-2.6.22.7/drivers/serial/serial_cs.c 2007-10-03 09:39:22.0 +0200 @@ -939,6 +939,7 @@ PCMCIA_MFC_DEVICE_PROD_ID12(1,"Elan","Serial Port: SL432",0x3beb8cf2,0x1cce7ac4), PCMCIA_MFC_DEVICE_PROD_ID12(2,"Elan","Serial Port: SL432",0x3beb8cf2,0x1cce7ac4), PCMCIA_MFC_DEVICE_PROD_ID12(3,"Elan","Serial Port: SL432",0x3beb8cf2,0x1cce7ac4), + PCMCIA_DEVICE_MANF_CARD(0x0279, 0x950b), /* too generic */ /* PCMCIA_MFC_DEVICE_MANF_CARD(0, 0x0160, 0x0002), */ /* PCMCIA_MFC_DEVICE_MANF_CARD(1, 0x0160, 0x0002), */ Attila Kinali -- Praised are the Fountains of Shelieth, the silver harp of the waters, But blest in my name forever this stream that stanched my thirst! -- Deed of Morred - 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 http://www.tux.org/lkml/
[PATCH] Add manufacturer and card id of teltonica pcmcia modems
Hi, This patch adds the manufacturer and card id of teltonica pcmcia modems to serial_cs.c Signed-off-by: Attila Kinali [EMAIL PROTECTED] --- linux-2.6.22.7/drivers/serial/serial_cs.c.orig 2007-10-03 09:38:53.0 +0200 +++ linux-2.6.22.7/drivers/serial/serial_cs.c 2007-10-03 09:39:22.0 +0200 @@ -939,6 +939,7 @@ PCMCIA_MFC_DEVICE_PROD_ID12(1,Elan,Serial Port: SL432,0x3beb8cf2,0x1cce7ac4), PCMCIA_MFC_DEVICE_PROD_ID12(2,Elan,Serial Port: SL432,0x3beb8cf2,0x1cce7ac4), PCMCIA_MFC_DEVICE_PROD_ID12(3,Elan,Serial Port: SL432,0x3beb8cf2,0x1cce7ac4), + PCMCIA_DEVICE_MANF_CARD(0x0279, 0x950b), /* too generic */ /* PCMCIA_MFC_DEVICE_MANF_CARD(0, 0x0160, 0x0002), */ /* PCMCIA_MFC_DEVICE_MANF_CARD(1, 0x0160, 0x0002), */ Attila Kinali -- Praised are the Fountains of Shelieth, the silver harp of the waters, But blest in my name forever this stream that stanched my thirst! -- Deed of Morred - 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 http://www.tux.org/lkml/
Re: Patent or not patent a new idea
On Tue, 26 Jun 2007 09:45:22 +1200 Graeme Sheppard <[EMAIL PROTECTED]> wrote: > I am seeking advice on how to proceed. It could be used as a defensive > patent in which case I can email an expert who can file it. If that is the > concept is sound. I am not expecting any royalties from this myself. The > alternative is to dump it here to the LKML. Do what anyone with a little bit of brain would do: publish it[1]! Patenting it and using as defensive patent wont work. Unless you are able to control Saurons Ring. If you want to know more just read up on current patent practice. IEEE has quite a few articles on that issue, i'm sure that ACM and the like should have also a few. Attila Kinali [1] I know of at least one larger company here that stopped issuing patents but publishes its developments in a local newspaper. -- Linux ist... wenn man einfache Dinge auch mit einer kryptischen post-fix Sprache loesen kann -- Daniel Hottinger - 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 http://www.tux.org/lkml/
Re: Patent or not patent a new idea
On Tue, 26 Jun 2007 09:45:22 +1200 Graeme Sheppard [EMAIL PROTECTED] wrote: I am seeking advice on how to proceed. It could be used as a defensive patent in which case I can email an expert who can file it. If that is the concept is sound. I am not expecting any royalties from this myself. The alternative is to dump it here to the LKML. Do what anyone with a little bit of brain would do: publish it[1]! Patenting it and using as defensive patent wont work. Unless you are able to control Saurons Ring. If you want to know more just read up on current patent practice. IEEE has quite a few articles on that issue, i'm sure that ACM and the like should have also a few. Attila Kinali [1] I know of at least one larger company here that stopped issuing patents but publishes its developments in a local newspaper. -- Linux ist... wenn man einfache Dinge auch mit einer kryptischen post-fix Sprache loesen kann -- Daniel Hottinger - 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 http://www.tux.org/lkml/