Forum

Full Version: Stuck with ATI remote wonder on reinstall
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good afternoon

Well, I had to change my sdcard, and therefore I'm trying to reinstall from scratch.

I've written the image on my new sdcard
Code:
sudo dd if=XBian_2017.03.17_rpi3.img of=/dev/mmcblk0

and after inserting the card the raspi boots properly. The remote is detected, but the buttons are incorrect.

I'm now trying now to reinject my configuration based on my backups and notes.

I do stop lirc service with service lirc stop
I do create the file /etc/lirc/remotes/x10-atiwonder.conf

Code:
# brand: ATI Remote Wonder
# model no. of remote control: 5000023600
# devices being controlled by this remote: ATI USB Receiver
#
# Found on a linpvr.org forum, thanks.

begin remote

#  name  X10-ATIREMOTE
   name  X10-ATIWONDER
  bits           40
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          235966
  toggle_bit      0

  min_repeat      2
  suppress_repeat 4
  toggle_bit_mask 0x80800000


      begin codes
          KEY_A                    0x00000014D5000000
          KEY_B                    0x00000014D6010000
          KEY_POWER                0x00000014D7020000

          KEY_TV                   0x00000014D8030000
          KEY_DVD                  0x00000014D9040000
          KEY_WEB                  0x00000014DA050000
          KEY_MEDIALIB             0x00000014DB060000
          KEY_DRAG                 0x00000014DC070000

          KEY_MB_LEFT              0x000000144D780000
          KEY_MB_RIGHT             0x00000014517C0000
          KEY_MOUSEUP              0x0000001447720000
          KEY_MOUSEDOWN            0x0000001448730000
          KEY_MOUSELEFT            0x0000001445700000
          KEY_MOUSERIGHT           0x0000001446710000
          KEY_MOUSELEFTUP          0x0000001449740000
          KEY_MOUSERIGHTUP         0x000000144A750000
          KEY_MOUSELEFTDOWN        0x000000144C770000
          KEY_MOUSERIGHTDOWN       0x000000144B760000
#         KEY_VOLUMEUP             0x00000014DD080000
#         KEY_VOLUMEDOWN           0x00000014DE090000
          KEY_VOLUMEDOWN           0x00000014DE090000
          KEY_VOLUMEUP             0x00000014DD080000
          KEY_MUTE                 0x00000014DF0A0000
#         KEY_MUTE                 0x00000014D5000000
          KEY_CHANNELUP            0x00000014E00B0000
          KEY_CHANNELDOWN          0x00000014E10C0000

          KEY_1                    0x00000014E20D0000
          KEY_2                    0x00000014E30E0000
          KEY_3                    0x00000014E40F0000
          KEY_4                    0x00000014E5100000
          KEY_5                    0x00000014E6110000
          KEY_6                    0x00000014E7120000
          KEY_7                    0x00000014E8130000
          KEY_8                    0x00000014E9140000
          KEY_9                    0x00000014EA150000
          KEY_0                    0x00000014EC170000
          KEY_DVDMENU              0x00000014EB160000
          KEY_SETUP                0x00000014ED180000

          KEY_C                    0x00000014EE190000
          KEY_D                    0x00000014F01B0000
          KEY_TVONDEMAND           0x00000014F11C0000
          KEY_FULLSCREEN           0x00000014F5200000
          KEY_UP                   0x00000014EF1A0000
          KEY_DOWN                 0x00000014F7220000
          KEY_LEFT                 0x00000014F21D0000
          KEY_RIGHT                0x00000014F41F0000
          KEY_OK                   0x00000014F31E0000
          KEY_E                    0x00000014F6210000
          KEY_F                    0x00000014F8230000

          KEY_REWIND               0x00000014F9240000
          KEY_PLAY                 0x00000014FA250000
          KEY_FASTFORWARD          0x00000014FB260000
          KEY_RECORD               0x00000014FC270000
          KEY_STOP                 0x00000014FD280000
          KEY_PAUSE                0x00000014FE290000
      end codes

end remote

and normally I should put the following line in /etc/default/lirc
Code:
X10_CONF="x10-atiwonder"

The file doesn't exist anymore.
I do create it, I reboot, and nothing happens, my config is ignored, the buttons are still incorrect.

What is wrong?

Something strange in /var/log/upstart/lirc.log
Code:
grep: /etc/lirc/lircrc: No such file or directory
Loading LIRC modules
Starting remote control daemon(s) : LIRC

My dmesg output
Code:
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.9.14+ (jenkins@vps01) (gcc version 4.9.2 ( 4.9.2-10) ) #1 SMP PREEMPT Mon Mar 13 14:59:48 CET 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x2e400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 192512
[    0.000000] free_area_init_node: node 0, pgdat 80d76300, node_mem_map add64000
[    0.000000]   Normal zone: 1692 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192512 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @aefa8000 s26304 r8192 d22848 u57344
[    0.000000] pcpu-alloc: s26304 r8192 d22848 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 190820
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2709.boardrev=0xa01041 bcm2709.serial=0xbf32efdc smsc95xx.macaddr=B8:27:EB:32:EF:DC bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm --startup-event mountall
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 740348K/770048K available (8192K kernel code, 516K rwdata, 2188K rodata, 1024K init, 798K bss, 21508K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xaf800000 - 0xff800000   (1280 MB)
    lowmem  : 0x80000000 - 0xaf000000   ( 752 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80900000   (9184 kB)
      .init : 0x80c00000 - 0x80d00000   (1024 kB)
      .data : 0x80d00000 - 0x80d813c8   ( 517 kB)
       .bss : 0x80d83000 - 0x80e4aba4   ( 799 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000020] Switching to timer-based delay loop, resolution 52ns
[    0.000288] Console: colour dummy device 80x30
[    0.000311] console [tty1] enabled
[    0.000335] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.00 BogoMIPS (lpj=64000)
[    0.000354] pid_max: default: 32768 minimum: 301
[    0.000658] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000670] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001732] Disabling cpuset control group subsystem
[    0.001919] CPU: Testing write buffer coherency: ok
[    0.001973] ftrace: allocating 23999 entries in 71 pages
[    0.044193] CPU0: update cpu_capacity 1024
[    0.044217] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.044281] Setting up static identity map for 0x100000 - 0x100034
[    0.100954] CPU1: update cpu_capacity 1024
[    0.100963] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.124287] CPU2: update cpu_capacity 1024
[    0.124294] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.147739] CPU3: update cpu_capacity 1024
[    0.147746] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.147838] Brought up 4 CPUs
[    0.147850] SMP: Total of 4 processors activated (153.00 BogoMIPS).
[    0.147856] CPU: All CPU(s) started in HYP mode.
[    0.147861] CPU: Virtualization extensions available.
[    0.148723] devtmpfs: initialized
[    0.160351] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.160665] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.160688] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.161335] xor: measuring software checksum speed
[    0.194397]    arm4regs  :  1243.200 MB/sec
[    0.227830]    8regs     :   789.600 MB/sec
[    0.261269]    32regs    :   766.800 MB/sec
[    0.294707]    neon      :  1110.000 MB/sec
[    0.294715] xor: using function: arm4regs (1243.200 MB/sec)
[    0.294730] pinctrl core: initialized pinctrl subsystem
[    0.295755] NET: Registered protocol family 16
[    0.298293] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.306612] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.306623] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.306790] Serial: AMBA PL011 UART driver
[    0.308987] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.415386] raid6: int32x1  gen()   135 MB/s
[    0.472242] raid6: int32x1  xor()   103 MB/s
[    0.529150] raid6: int32x2  gen()   165 MB/s
[    0.586061] raid6: int32x2  xor()   109 MB/s
[    0.643248] raid6: int32x4  gen()   161 MB/s
[    0.699835] raid6: int32x4  xor()   111 MB/s
[    0.756834] raid6: int32x8  gen()   162 MB/s
[    0.813671] raid6: int32x8  xor()   103 MB/s
[    0.870413] raid6: neonx1   gen()   440 MB/s
[    0.927362] raid6: neonx1   xor()   321 MB/s
[    0.984230] raid6: neonx2   gen()   590 MB/s
[    1.041118] raid6: neonx2   xor()   424 MB/s
[    1.097977] raid6: neonx4   gen()   710 MB/s
[    1.154857] raid6: neonx4   xor()   473 MB/s
[    1.211837] raid6: neonx8   gen()   610 MB/s
[    1.268644] raid6: neonx8   xor()   429 MB/s
[    1.268651] raid6: using algorithm neonx4 gen() 710 MB/s
[    1.268657] raid6: .... xor() 473 MB/s, rmw enabled
[    1.268663] raid6: using intx1 recovery algorithm
[    1.268974] bcm2835-dma 3f007000.dma: DMA legacy API manager at af80f000, dmachans=0x1
[    1.270845] SCSI subsystem initialized
[    1.271006] usbcore: registered new interface driver usbfs
[    1.271090] usbcore: registered new interface driver hub
[    1.271217] usbcore: registered new device driver usb
[    1.272028] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-02-20 14:01
[    1.273768] clocksource: Switched to clocksource arch_sys_counter
[    1.321317] VFS: Disk quotas dquot_6.6.0
[    1.321404] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.321631] FS-Cache: Loaded
[    1.321923] CacheFiles: Loaded
[    1.334905] NET: Registered protocol family 2
[    1.335911] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.336001] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.336129] TCP: Hash tables configured (established 8192 bind 8192)
[    1.336223] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.336272] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.336541] NET: Registered protocol family 1
[    1.337073] RPC: Registered named UNIX socket transport module.
[    1.337144] RPC: Registered udp transport module.
[    1.337150] RPC: Registered tcp transport module.
[    1.337155] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.338389] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.340851] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.355555] FS-Cache: Netfs 'nfs' registered for caching
[    1.356584] NFS: Registering the id_resolver key type
[    1.356617] Key type id_resolver registered
[    1.356623] Key type id_legacy registered
[    1.359728] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.359878] io scheduler noop registered
[    1.359886] io scheduler deadline registered
[    1.360158] io scheduler cfq registered (default)
[    1.364934] BCM2708FB: allocated DMA memory ee500000
[    1.364968] BCM2708FB: allocated DMA channel 0 @ af80f000
[    1.406348] Console: switching to colour frame buffer device 210x65
[    1.430749] bcm2835-rng 3f104000.rng: hwrng registered
[    1.430853] vc-cma: Videocore CMA driver
[    1.430862] vc-cma: vc_cma_base      = 0x00000000
[    1.430868] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.430874] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.431092] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    1.448264] brd: module loaded
[    1.448281] Loading iSCSI transport class v2.0-870.
[    1.449050] usbcore: registered new interface driver smsc95xx
[    1.449072] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.675158] Core Release: 2.80a
[    1.675172] Setting default values for core params
[    1.675207] Finished setting default values for core params
[    1.875559] Using Buffer DMA mode
[    1.875567] Periodic Transfer Interrupt Enhancement - disabled
[    1.875572] Multiprocessor Interrupt Enhancement - disabled
[    1.875578] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.875589] Dedicated Tx FIFOs mode
[    1.876045] WARN::dwc_otg_hcd_init:1053: FIQ DMA bounce buffers: virt = 0xae514000 dma = 0xee514000 len=9024
[    1.876075] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    1.876084] dwc_otg: Microframe scheduler enabled
[    1.876167] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80675a6c
[    1.876178] WARN::hcd_init_fiq:460: FIQ ASM at 0x80675ddc length 36
[    1.876190] WARN::hcd_init_fiq:486: MPHI regs_base at 0xaf87a000
[    1.876259] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.876302] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.876341] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.876388] Init: Port Power? op_state=1
[    1.876395] Init: Power Port (0)
[    1.876662] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.876673] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.876681] usb usb1: Product: DWC OTG Controller
[    1.876690] usb usb1: Manufacturer: Linux 4.9.14+ dwc_otg_hcd
[    1.876699] usb usb1: SerialNumber: 3f980000.usb
[    1.877636] hub 1-0:1.0: USB hub found
[    1.877688] hub 1-0:1.0: 1 port detected
[    1.878370] dwc_otg: FIQ enabled
[    1.878377] dwc_otg: NAK holdoff enabled
[    1.878382] dwc_otg: FIQ split-transaction FSM enabled
[    1.878396] Module dwc_common_port init
[    1.878731] usbcore: registered new interface driver usb-storage
[    1.879034] mousedev: PS/2 mouse device common for all mice
[    1.880100] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    1.880369] bcm2835-cpufreq: min=600000 max=900000
[    1.880904] sdhci: Secure Digital Host Controller Interface driver
[    1.880912] sdhci: Copyright(c) Pierre Ossman
[    1.881205] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[    1.881421] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.882095] ledtrig-cpu: registered to indicate activity on CPUs
[    1.882235] hidraw: raw HID events driver (C) Jiri Kosina
[    1.882422] usbcore: registered new interface driver usbhid
[    1.882428] usbhid: USB HID core driver
[    1.883298] vchiq: vchiq_init_state: slot_zero = 0xae580000, is_master = 0
[    1.885262] Initializing XFRM netlink socket
[    1.885295] NET: Registered protocol family 17
[    1.885442] Key type dns_resolver registered
[    1.886132] Registering SWP/SWPB emulation handler
[    1.886985] registered taskstats version 1
[    1.889642] Btrfs loaded, crc32c=crc32c-generic
[    1.890096] vc-sm: Videocore shared memory driver
[    1.890110] [vc_sm_connected_init]: start
[    1.894381] [vc_sm_connected_init]: end - returning 0
[    1.900043] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.901784] sdhost: log_buf @ ae513000 (ee513000)
[    1.953805] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.954020] of_cfs_init
[    1.954136] of_cfs_init: OK
[    1.954792] Waiting for root device /dev/mmcblk0p2...
[    2.014370] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.016372] mmc0: new high speed SDHC card at address 0007
[    2.017288] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[    2.019165]  mmcblk0: p1 p2 p3
[    2.061803] BTRFS: device label xbian devid 1 transid 114 /dev/root
[    2.064055] BTRFS info (device mmcblk0p2): enabling auto defrag
[    2.064073] BTRFS info (device mmcblk0p2): use lz4 compression
[    2.064083] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    2.064092] BTRFS info (device mmcblk0p2): has skinny extents
[    2.083932] Indeed it is in host mode hprt0 = 00021501
[    2.130042] BTRFS info (device mmcblk0p2): detected SSD devices, enabling SSD mode
[    2.160527] VFS: Mounted root (btrfs filesystem) readonly on device 0:15.
[    2.162997] devtmpfs: mounted
[    2.164592] Freeing unused kernel memory: 1024K (80c00000 - 80d00000)
[    2.169981] random: fast init done
[    2.257203] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.257421] Indeed it is in host mode hprt0 = 00001101
[    2.447627] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.447650] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.449445] hub 1-1:1.0: USB hub found
[    2.449746] hub 1-1:1.0: 5 ports detected
[    2.730527] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.821035] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.821060] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.832666] smsc95xx v1.0.5
[    2.906972] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:32:ef:dc
[    2.958528] init: progress-report (mountall) main process (115) terminated with status 1
[    2.959839] init: progress-report (starteddevroot) main process (121) terminated with status 1
[    2.980569] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    3.086647] usb 1-1.2: New USB device found, idVendor=0bc7, idProduct=0004
[    3.086671] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.086683] usb 1-1.2: Product: USB Receiver
[    3.086696] usb 1-1.2: Manufacturer: X10 Wireless Technology Inc
[    3.177208] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[    3.272050] usb 1-1.4: New USB device found, idVendor=07ca, idProduct=3835
[    3.272079] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.272092] usb 1-1.4: Product: A835B
[    3.272107] usb 1-1.4: Manufacturer: AVerMedia TECHNOLOGIES, Inc.
[    3.272119] usb 1-1.4: SerialNumber: 201250000099
[    3.287043] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    3.875298] init: xbian-failaccess main process (129) killed by TERM signal
[    5.469284] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    7.017540] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[    7.060977] systemd-udevd[850]: starting version 215
[    7.234041] random: crng init done
[    7.519411] lirc_dev: IR Remote Control driver registered, major 243
[    7.537989] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    7.542205] lirc_rpi: to_irq 184
[    7.554142] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    7.720526] Registered IR keymap rc-ati-x10
[    7.721775] input: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0/input0
[    7.721867] rc rc0: X10 Wireless Technology Inc USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0
[    7.722541] input: X10 Wireless Technology Inc USB Receiver mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input1
[    7.723145] usbcore: registered new interface driver ati_remote
[    7.734812] lirc_atiusb: module is from the staging directory, the quality is unknown, you have been warned.
[    7.737958]
lirc_atiusb: USB remote driver for LIRC $Revision: 1.88 $
[    7.737973] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
[    7.738164] usbcore: registered new interface driver lirc_atiusb
[    7.835916] dvb_usb_af9035 1-1.4:1.0: prechip_version=83 chip_version=02 chip_type=9135
[    7.837472] usb 1-1.4: dvb_usb_v2: found a 'Avermedia A835B(3835)' in cold state
[    7.842944] usb 1-1.4: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[    7.977679] dvb_usb_af9035 1-1.4:1.0: firmware version=3.39.1.0
[    7.977723] usb 1-1.4: dvb_usb_v2: found a 'Avermedia A835B(3835)' in warm state
[    7.978733] dvb_usb_af9035 1-1.4:1.0: [0] overriding tuner from 38 to 60
[    7.980630] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    7.980798] DVB: registering new adapter (Avermedia A835B(3835))
[    8.014279] af9033 3-0038: firmware version: LINK 3.39.1.0 - OFDM 3.9.1.0
[    8.014299] af9033 3-0038: Afatech AF9033 successfully attached
[    8.014817] usb 1-1.4: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[    8.031757] it913x 3-001c: ITE IT913X BX successfully attached
[    8.083833] Registered IR keymap rc-it913x-v2
[    8.084542] input: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/rc/rc1/input2
[    8.084942] rc rc1: Avermedia A835B(3835) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/rc/rc1
[    8.084963] usb 1-1.4: dvb_usb_v2: schedule remote query interval to 500 msecs
[    8.084985] usb 1-1.4: dvb_usb_v2: 'Avermedia A835B(3835)' successfully initialized and connected
[    8.085262] usbcore: registered new interface driver dvb_usb_af9035
[    8.470619] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[    8.471278] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[    8.471295] lirc_rpi: driver registered!
[    9.119952] init: failsafe main process (287) killed by TERM signal
[   10.073139] input: lircd as /devices/virtual/input/input3
[   11.169050] lirc_rpi: Interrupt 184 obtained
[   11.169069] lirc_rpi: in init_timing_params, freq=38000 pulse=13157, space=13158
[   16.648922] systemd-logind[1619]: New seat seat0.
[   23.879653] init: wait-for-state (xbmcxbmc-loaded) main process (1467) killed by TERM signal
[   31.009774] init: xbmc-failed-start main process (293) killed by TERM signal
[   31.048649] init: wait-for-state (zram-swapxbmc-done) main process (1119) killed by TERM signal
[   31.356432] zram: Added device: zram0
[   31.363009] zram: Added device: zram1
[   31.381253] zram: Added device: zram2
[   31.392754] zram: Added device: zram3
[   31.460948] zram0: detected capacity change from 0 to 134217728
[   31.496690] Adding 131068k swap on /dev/zram0.  Priority:20 extents:1 across:131068k SSFS
[   31.666980] Adding 250876k swap on /dev/mmcblk0p3.  Priority:0 extents:1 across:250876k SSFS
[   57.027254] systemd-logind[1619]: Failed to start user service: Unknown unit: user@1000.service
[   57.054295] systemd-logind[1619]: New session c1 of user xbian.

I've found also this
Code:
root@xbian:/etc/default# ir-keytable
Found /sys/class/rc/rc1/ (/dev/input/event2) with:
    Driver dvb_usb_af9035, table rc-it913x-v2
    Supported protocols: NEC
    Enabled protocols:
    Name: Avermedia A835B(3835)
    bus: 3, vendor/product: 07ca:3835, version: 0x0200
    Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
    Driver ati_remote, table rc-ati-x10
    Supported protocols: other
    Enabled protocols:
    Name: X10 Wireless Technology Inc USB
    bus: 3, vendor/product: 0bc7:0004, version: 0x0100
    Repeat delay = 500 ms, repeat period = 125 ms
(24th Mar, 2017 08:33 AM)Chiron Wrote: [ -> ]Good afternoon

Well, I had to change my sdcard, and therefore I'm trying to reinstall from scratch.

I've written the image on my new sdcard
Code:
sudo dd if=XBian_2017.03.17_rpi3.img of=/dev/mmcblk0

Why did you do that. Never heard anything from making backups? Dodgy

Quote:and normally I should put the following line in /etc/default/lirc
Code:
X10_CONF="x10-atiwonder"

The file doesn't exist anymore.
I do create it, I reboot, and nothing happens, my config is ignored, the buttons are still incorrect.

What is wrong?

I suppose you have to use xbian-package-lirc from staging repository
Thanks.
My sd card died and I had never figured out there was a backup feature in xbian.
I thought that a backup of my config files and a written procedure would be enough.

When I tried to install xbian-package-lirc on XBian_2017.03.17_rpi3.img the system replied that it was installed already.
I've been unable to configure properly my remote on this version.

So I gave up and restarted from scratch with XBian_2016.10.28_rpi3.img. I could configure my remote properly, ran an apt-get upgrade, and reinstalled tvheadend.

I'm back on line! Smile
Ok, and don't forget to make image backup Smile:

Run xbian-config gui inside of kodi settings, enable advanced settings in preference category and go into backup category

You can make a complete image backup

Btw, AFAIR XBian_2016.10.28_rpi3.img was build with stable AND staging repositories enabled, and recent images only have stable enabled
Reference URL's