|
From: Tony B. <aar...@gm...> - 2009-08-28 22:25:36
|
I def have the chip, I'm using the same mobo as the author of the driver, a DG45FC. I do have WEC1022 under lshal udi = '/org/freedesktop/Hal/devices/pnp_WEC1022' > info.parent = '/org/freedesktop/Hal/devices/computer' (string) > info.product = 'PnP Device (WEC1022)' (string) > info.subsystem = 'pnp' (string) > info.udi = '/org/freedesktop/Hal/devices/pnp_WEC1022' (string) > linux.hotplug_type = 2 (0x2) (int) > linux.subsystem = 'pnp' (string) > linux.sysfs_path = '/sys/devices/pnp0/00:04' (string) > pnp.id = 'WEC1022' (string) > So I got the 2 patches to compile with 2.6.30.5. And the module loads without error from the command line, but gives this in dmesg: Winbond CIR 00:04: disabled > Winbond CIR: probe of 00:04 failed with error -12 > what's weird is if I unload it and load it again I get: Winbond CIR 00:04: activated > Winbond CIR 00:04: disabled > Winbond CIR: probe of 00:04 failed with error -12 > But I still don't have anything actually plugged into the CIR port on the mobo yet (it is enabled in bios though). I have it all wired on a breadboard, just haven't had the time to hook it up and test it. Have looked through the code for that error but haven't found anything in the module itself, might be a pnp error code, haven't made it that far. # modinfo winbond-cir > filename: > /lib/modules/2.6.30-gentoo-r5/kernel/drivers/input/misc/winbond-cir.ko > license: GPL > description: Winbond SuperI/O Consumer IR Driver > author: David Härdeman <da...@ha...> > alias: acpi*:WEC1022:* > alias: pnp:dWEC1022* > depends: led-class > vermagic: 2.6.30-gentoo-r5 SMP preempt mod_unload > parm: protocol:IR protocol to use (0 = RC5, 1 = NEC, 2 = RC6A, > default) (uint) > parm: invert:Invert the signal from the IR receiver (bool) > parm: wake_sc:Scancode of the power-on IR command (uint) > parm: wake_rc6mode:RC6 mode for the power-on command (0 = 0, 6 = > 6A, default) (uint) > Wondering if I can set my own scancode for the power-on command using one of the wake_* params. Would be nice since I don't have MCE remote. I do have a universal/learning remote, so I could set it to whatever works. Currently using codes for the Pioneer VXX2910 DVR, just happened to be a preset in my remote. I just don't know much about IR technology/protocols. Whats this RC6 stuff? lirc.conf (partial) > # contributed by Maluta > # > # brand: Pioneer > # model: DVR-520 > # tested with: PIONEER VIDEORECORDER > > begin remote > > name Pioneer_VXX2910 > flags CONST_LENGTH|RAW_CODES > eps 30 > aeps 140 > > ptrail 0 > repeat 0 0 > gap 179619 > > begin raw_codes > > name power > 8570 4189 586 1547 586 1547 > 586 467 586 1547 586 467 > 586 1547 586 467 586 1547 > 586 467 586 467 586 1547 > 586 467 586 1547 586 467 > 586 1547 586 467 586 467 > 586 467 586 1547 586 1547 > 586 467 586 1547 586 467 > 586 467 586 1547 586 1547 > 586 467 586 467 586 1547 > 586 467 586 1547 586 1547 > 586 25485 8570 4189 586 1547 > 586 1547 586 1547 586 1547 > 586 467 586 1547 586 467 > 586 1547 586 467 586 467 > 586 467 586 467 586 1547 > 586 467 586 1547 586 467 > 586 467 586 467 586 1547 > 586 1547 586 1547 586 1547 > 586 467 586 1547 586 1547 > 586 1547 586 467 586 467 > 586 467 586 467 586 1547 > 586 467 586 > -Tony > 2009/8/26 Juan Jesús García de Soria Lucena <ska...@gm...> > > Hi... >> These patches seem very interesting. You could try putting your own values >> into the code if you own any other RC6 remote and can get to know the key >> values. >> >> Check whether you have something under the WEC1022 name in the output of >> lspnp... >> >> >> Some of the things in this patch may apply to my wpc7869l driver for LIRC. >> I wish I had some kind of datasheet when I got the driver written. >> >> >> Best regards, >> >> Juan Jesus. >> >> 2009/8/26 Tony Bones <aar...@gm...> >> >>> I stand corrected, just found another patch that converted the original >>> patch from ACPI to PNP. >>> http://patchwork.kernel.org/patch/41110/ >>> and >>> http://patchwork.kernel.org/patch/40704/ >>> >>> >>> >>> On Tue, Aug 25, 2009 at 2:57 PM, Tony Bones <aar...@gm...>wrote: >>> >>>> Just came across this kernel patch that's suppose to add this Winbond >>>> CIR WPCD376I support. >>>> >>>> http://patchwork.kernel.org/patch/33573/ >>>> Also depends on this patch >>>> http://patchwork.kernel.org/patch/32657/ >>>> >>>> Haven't tried to apply it against 2.6.30.5 yet. And I haven't seen it >>>> in the .31 branch yet. So not sure how well it works. I don't have a >>>> windows MCE remote anyway :/ >>>> >>>> >>>> >>>> >>>> On Tue, Mar 31, 2009 at 10:28 AM, Tony Bones <aar...@gm...>wrote: >>>> >>>>> Hi all, >>>>> I've been searching for lirc support for this CIR chip. I found >>>>> another thread about how Intel and Nuvoton are not releasing information for >>>>> Linux support. But on the tech details page for the chip it says that: >>>>> Glue functions to complement the South Bridge functionality identical >>>>> to the PC8374L Glue >>>>> Pin and software compliance with the existing PC8374L features (see >>>>> more here >>>>> http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/SuperIO/AdvancedSuperIOforDesktop/WPCD376I.htm >>>>> ) >>>>> >>>>> So I was wondering if PC8374L has been implemented in lirc? >>>>> >>>>> This chip is on the Intel DG45FC mini-itx mobo. Is there any hope for >>>>> support for this chipset in my lifetime? hehehe >>>>> Is there anything I can do to help? Any info I can provide? >>>>> >>>>> Thanks, >>>>> Tony >>>>> >>>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >> >> >> >> -- >> Dream small if success is enough for you; dream big if you need to change >> the world. >> > > |