Re: lirc_atiusb (X10 remote) Kernel driver

Michael Markstaller via LIRC-list <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>

Am 26.08.2017 um 10:23 schrieb Bengt Martensson:
> I just had a look at atilibusb.c. It appears that it just nukes the
> "channel number" (which I suspect is what in X10 terminology is called
> house code
> https://en.wikipedia.org/wiki/X10_(industry_standard)#Protocol ). Line 365:
> 
>     buf[bytes_r - 1] &= 0x0F;
> 
> So, I suspect that just removing that line and adjusting the lirc.conf
> should do the job. Use 16 bit data, and I suspect that the "channel"
> will show up in pre_data, one pre data per "channel".

Also digged code a little, it seems even easier, all codes besides Ch1
are just different in atilibusb vs lirc_atiusb somehow; still searching
for the right pattern in the matrix or - at worst - will use irrecord to
generate a new lircd.conf for Ch2-16 (which is really 0-15) and send it in.

It's anyway *much better*, as a small patch/config for lircd is much
easier than fuddling around with kernel-drivers in
Ubuntu,OE1.6,OE2.0,OpenWRT,LEDE :)

Will report back..

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

iQIcBAEBCAAGBQJZoTgGAAoJEIjwwLuG/EDhxWIQANagIaBoE9nMsPUDCYH1WKPa
Ym+qkF6rM3b4bvZuFqHyhh+6e0ge77Pva8CzoJbD5YpRXJz1INTiUuFmWPj3AraH
oEACqRU4mgU3gIm2PD4kVGHQ1TWZ44LoD3Q0vn2W1lmoylR5fcEuP8KWEy9QVPQS
IXIbQtS9kHnZJdNAAnam4vcLbjWJS75fiXFvrgoPOwWxMJm4AduRQgE4LJEbHugx
RpXRrPtgotMIWo+nNCj8SPUqz53oaZWwap8vNw9taPbv5zA4xOGnKxWgRGmZHuN7
rb+OqoeiwMuJasf2WLexsHTbJ75Z0Pd8LkdjOGTItSo+EXNlBn5xqGh3burPmMfb
hDpJ8uNi0v8ysSXRp23YM4cSXvQIV8I4Qn8g9IlpzH8DsaWnb4AvXA9YfimxWr50
jWrIhAxKns3y/jy/6Aabf1+vSaOzSgY2x4LE+vhW0rePEZQRwpf9MX4/rhR6U18g
4OCSJSOqMB+s/lbdm5n/Iqvdx1nyPySnm0JD+Kof3LAvYsCm9vi+osOKo23CaUYa
Qe5iXuod/w7iMjtEZWNbICpnByCXm9biOzQxjSo+t2UyaIZBpyl3fDry5HaOMiY+
jNuMffc08OwaitsuJ+Nnhj6rKszEkKwCky0EwnSZJ5alZavUOJCu5zYbS8d7TkRP
mTqUJtE4TNdAW/8xYkb1
=FqFH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.