|
From: Léo <leo...@ya...> - 2009-01-18 15:22:16
|
Hi Juan, I confirmed that my chip is the right one: palmieri@palm-lap:~$ hal-device | grep WEC 50: udi = '/org/freedesktop/Hal/devices/pnp_WEC1020' info.product = 'PnP Device (WEC1020)' (string) info.udi = '/org/freedesktop/Hal/devices/pnp_WEC1020' (string) pnp.id = 'WEC1020' (string) I rmmoded and deleted my old drivers, purged .deb lirc package, checked all deletions manually, CVSed lirc again, compiled and manually inserted modules. I don't know exactlly how to insert lirc modules, so I did: modprobe lirc_dev io=0x3f8 irq=4 I used this parameters because .deb lirc package configured automatically like that. Module lirc_wpc8769l depends on lirc_dev, as stated in modinfo lirc_wpc8769l filename: /lib/modules/2.6.24-23-generic/misc/lirc_wpc8769l.ko version: 0.0 description: Driver for the integrated Winbond WPC8769L-based IR receiver found in Acer laptops. author: Juan J. Garcia de Soria license: GPL srcversion: AE565FCE0A8891B848A5F46 depends: lirc_dev vermagic: 2.6.24-23-generic SMP mod_unload parm: debug:Enable debugging messages (bool) parm: baseport1:First I/O range base address (default: ACPI autodetect). (uint) parm: baseport2:Second I/O range base address (default: ACPI autodetect). (uint) parm: irq:IRQ number (default: ACPI autodetect). (uint) parm: skip_probe:Skip ACPI-based device detection (default: false for ACPI autodetect). (bool) So I modprobed lirc_wpc... and found same problem: [ 1322.784608] lirc_wpc8769l: Unknown symbol lirc_unregister_driver [ 1322.784810] lirc_wpc8769l: Unknown symbol lirc_register_driver I tried to pass some lirc_wpc8769l param, but unsucessfully... Am I doing something wrong in insertion of modules? I checked source of lirc_dev and I think that symbols lirc_unregister_driver lirc_register_driver do exist, but I don't know so much of module writing... Interestingly, when I insert lirc_sir, dmesg output is [ 1429.306082] lirc_dev: lirc_register_plugin: sample_rate: 0 So, lirc_dev is using *_plugin instead *_driver? Is there some conflict? Thanks! --- Em dom, 18/1/09, Juan Jesús García de Soria Lucena <ska...@gm...> escreveu: > De: Juan Jesús García de Soria Lucena <ska...@gm...> > Assunto: Re: CIR chipset Winbond WPC876xL > Para: leo...@ya... > Cc: lir...@li... > Data: Domingo, 18 de Janeiro de 2009, 7:50 > Hi, Léo. > > 2009/1/17 Léo <leo...@ya...>: > > I read subsequent e-mails about my issue and I > disassembled my BIOS' ACPI DSDT table. For my surprise, > there is no reference for the chip in there, but a reference > for some CIR hardware (see attach.). I tried to physically > disassemble my Acer 5920, but is very hard and I > couldn't see the chip. So, I don't know if it is a > WPC876xL really. I guessed it from > http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=6426246. > > Nice! I think your receiver may be the same one. The DSL > code seems to > define the riht I/O resources. > > You could confirm it with this test: > > ---- start test ---- > skandalfo@rimmer:~/install/dsdt$ hal-device | grep WEC > 66: udi = > '/org/freedesktop/Hal/devices/pnp_WEC1020' > info.product = 'PnP Device (WEC1020)' (string) > info.udi = > '/org/freedesktop/Hal/devices/pnp_WEC1020' (string) > pnp.id = 'WEC1020' (string) > ---- end test ---- > > The important thing is the device code (WEC1020). > > > I just downloaded the code for the chip in the CVS rep > and compiled it under 2.6.24-23 for x86_64. Config and > complie worked fine but lircd service is not configured with > right module (it is inserting lirc_sir instead > lirc_wpc8769l). Not a big problem. > > [...] > > > Dmesg output for this was > > > > [ 857.595833] lirc_wpc8769l: Unknown symbol > lirc_unregister_driver > > [ 857.596047] lirc_wpc8769l: Unknown symbol > lirc_register_driver > > lirc_wpc8769l, as well as lirc_sir, I think, both depend on > a common > lirc module called lirc_dev. Recently lirc_dev was changed > in CVS so > that the functions *_plugin were renamed to *_driver, and > that's the > cause of your problems. You have some lirc_dev leftover > module from a > previous installation, and it's the one that was loaded > into memory > when you inserted lirc_wpc8769l. > > Please remove all previously existing lirc modules from > /lib/modules/<kernel_version>/ and make sure no one > remains loaded > (either rmmod'ing them or rebooting). Afterwards > recompile and > reinstall the CVS lirc and test again. It should load the > module and > print more cheerful messages in dmesg :-) > > Best regards, > > JJ. > > -- > Dream small if success is enough for you; dream big if you > need to > change the world. Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com |