Re: lirc_atiusb (X10 remote) Kernel driver
Michael Markstaller via LIRC-list <[email protected]>
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
I'm still confused where to start. Am 26.08.2017 um 09:17 schrieb Alec Leamas: > > > On 25/08/17 21:19, Michael Markstaller via LIRC-list wrote: > >> I basically think (whatever driver it takes) this *is* rather a job for >> lirc, not a mainline kernel-mode driver?! > That's really not the situation. As for ir kernel drivers all > development is done in the kernel community these days. Ok, got it. Maybe I asked the wrong question: How to get it working with either the kernel-mode driver ati_remote and/or lirc (atilibusb) again. >> Any hints welcome but the basic ati_remote driver from kernel pushes me >> into using an ancient lircd with an ancient kernel (as it works fine >> there) > > Around 0.9.0 (~2011) when the lirc kernel drivers were upstreamed some > of the former lirc drivers were made part of the kernel staging drivers. > IIRC, the kernel atiusb driver was dropped at some later point. Perhaps > the best you could do is to grab the latest atiusb driver from the > staging drivers and update to the new kernel framework, dunno I don't guess I'm experienced enough to maintain an out-of-tree kernel driver.. Though I'm willing to try, debug etc. -> ati_remote (debug=1) is also working WITH channels, just dunno how to use it (in terms of lircrc executing command X when I press button Y on channel Z) --- cut --- [15997.913487] ati_remote 3-2:1.0: channel 0x02; key data 08, scancode 08 [15997.953498] ati_remote 3-2:1.0: channel 0x02; key data 08, scancode 08 [15997.993534] ati_remote 3-2:1.0: channel 0x02; key data 08, scancode 08 [16124.343099] usbcore: deregistering interface driver ati_remote --- cut --- -> lirc 0.9.0 using atilibusb is also working! it just doesn't seem to support multiple channels other than Ch1 --- cut --- markstaller@tux-mm-mint:~$ irw 000000145e890000 00 Vol_Up Medion_MD8800 000000145e890000 01 Vol_Up Medion_MD8800 000000145e890000 02 Vol_Up Medion_MD8800 000000145e890000 03 Vol_Up Medion_MD8800 000000145e890000 04 Vol_Up Medion_MD8800 00000014dd080000 00 Vol_Down Medion_MD8800 00000014dd080000 01 Vol_Down Medion_MD8800 00000014dd080000 02 Vol_Down Medion_MD8800 00000014dd080000 03 Vol_Down Medion_MD8800 00000014dd080000 04 Vol_Down Medion_MD8800 --- cut --- So I see two options: a) (help) to implement channels into lirc/atilibusb which I'd prefer b) find something else like lircd which does things similar to lircrc using ati_remote from kernel Right? I'm lost.. Michael ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZoSo0AAoJEIjwwLuG/EDh6PwP/3BvTTErjxFmn2NnDK4OPhs+ FB6TFlcjbbg7pS9L/6wrJJ/YfaE8FBCn04OY99f3CvppyEfLUhCdLTZ/QgiJO+wK SVXhO8Gx0QYEPNn/JBgjM7uGYOwc+5ksGwO864sZ/Yxb45T1Wxprf1DBt+5mfJ1e cH5XGPuDq2uQ+n+Bu/4FCGj4FC2+TGgPjt2nKwYPn2xXa1eslYrwslXGdU3vxago jGEiB/ZVMFAnK2nYQSeQ8YGeL2qnbBK+nS8ukpUmuejK6BIvJi7mZ4r0vzIkWvZD DrSTsQ4RDM0OXo1XnIci+G7eNBMkVSum0MgBVGTH3rd+gNarpWI7xdCKZBg2IjDa SxTb3bJjGqOJ40hRya3Zl5rbnf0sFIo2iJ+TXzlKFCPVZHWcV3FkOf3uwXe3olYV xTa34fsnwBCxSnevhl6fIKCjeIt6rSzb9O5iGS6zkxUDCwOR+SKVocpaqX80b7dZ d65z9ayAXEn+3rAtCjNeLO0f0gvsSmP6qz4xh6s3KwQACLlrrbLuHefzakGPbfiW eQkTDd2JtcJDLcqqdZWM7J0Ksxt2U2kLim0jVtBvhkSdEDjA0MAk4Svj+Yg1xqQc OVsqoxqvNnryyEI1G/z8jcAMYy+ompxtRvLITx69UmnUgOvaP5ifDr4luNmDs8MQ U2SBmzWk5sGoJmXUBQuI =dZli -----END PGP SIGNATURE-----