Forum
[PROBLEM] Configuration remote.xml - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] Configuration remote.xml (/thread-78.html)

Pages: 1 2 3 4 5


Configuration remote.xml - Hawk - 20th Dec, 2012 07:20 AM

Hi,

I have a unbranded Windows Mc Remote, some of the keys are working, some not,

You find her here:

http://wiki.xbmc.org/index.php?title=Remote_Control_Reviews

Ir tried to edit the userdata keyboard.xml, as recomended in:

http://wiki.xbmc.org/index.php?title=Modifying_keyboard.xml

but there isnt a userdata keyboard.xml in the the new xbmc, there is only a remote.xml and the code inside looks very different to the code which is recommended in:
http://wiki.xbmc.org/index.php?title=Modifying_keyboard.xml

So, I dont know what to do, to get all the buttons on the remote working or how to edit the remote.xml.

What code should i change and where can I put the code in?

Someone in the IRC recommended to use this wiki:

http://xbian.org/2012/12/configuring-a-remote-wiki-edition/#

But I dont have a "LIRC" remote or?

Hawk



thesimon@gmx.de


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 07:37 AM

Please try this:
https://github.com/xbianonpi/xbian/issues/71#issuecomment-11419836

If step 3 fails, download the file manually through the manual link and put it on your RPi with WinSCP.

Also post the output of:
Code:
dmesg

Code:
sudo apt-get install usbutils
sudo lsusb

PS. My guide http://xbian.org/2012/12/configuring-a-remote-wiki-edition/# can be followed for all remotes.


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 08:53 AM

Well, the download worked fine, but then :

root@xbian:/home/xbian# tar -zxvf mceusb.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
root@xbian:/home/xbian# ...

mode2 doesn’t output anything for my remote

dmesg

Code:
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.6.7 (root@pi) (gcc version 4.6.3 (Debian 4.6.3-12+rpi1) ) #2 PREEMPT Tue Nov 27 20:36:53 CET 2012
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 105472
[    0.000000] free_area_init_node: node 0, pgdat c056b7b8, node_mem_map c0615000
[    0.000000]   Normal zone: 824 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 104648 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 104648
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=720 bcm2708.boardrev=0xf bcm2708.serial=0xd755f804 smsc95xx.macaddr=B8:27:EB:55:F8:04 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x19c00000 vc_mem.mem_size=0x20000000  dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 843776 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 412MB = 412MB total
[    0.000000] Memory: 411088k/411088k available, 10800k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xda000000 - 0xff000000   ( 592 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd9c00000   ( 412 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0510a0c   (5155 kB)
[    0.000000]       .init : 0xc0511000 - 0xc0535c2c   ( 148 kB)
[    0.000000]       .data : 0xc0536000 - 0xc056bf20   ( 216 kB)
[    0.000000]        .bss : 0xc056bf44 - 0xc0614304   ( 673 kB)
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] timer_set_mode: unhandled mode:1
[    0.000000] timer_set_mode: unhandled mode:3
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001106] Calibrating delay loop... 464.48 BogoMIPS (lpj=2322432)
[    0.060093] pid_max: default: 32768 minimum: 301
[    0.060448] Mount-cache hash table entries: 512
[    0.061251] Initializing cgroup subsys cpuacct
[    0.061313] Initializing cgroup subsys memory
[    0.061396] Initializing cgroup subsys devices
[    0.061433] Initializing cgroup subsys freezer
[    0.061465] Initializing cgroup subsys blkio
[    0.061579] CPU: Testing write buffer coherency: ok
[    0.061941] hw perfevents: enabled with v6 PMU driver, 3 counters available
[    0.062087] Setting up static identity map for 0x3ae6f8 - 0x3ae754
[    0.063755] devtmpfs: initialized
[    0.072580] NET: Registered protocol family 16
[    0.075254] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.076334] bcm2708.uart_clock = 0
[    0.077737] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.077794] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.077831] mailbox: Broadcom VideoCore Mailbox driver
[    0.077930] bcm2708_vcio: mailbox at f200b880
[    0.078032] bcm_power: Broadcom power driver
[    0.078071] bcm_power_open() -> 0
[    0.078098] bcm_power_request(0, 8)
[    0.578788] bcm_mailbox_read -> 00000080, 0
[    0.578830] bcm_power_request -> 0
[    0.578857] Serial: AMBA PL011 UART driver
[    0.579022] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.597923] bio: create slab <bio-0> at 0
[    0.598869] SCSI subsystem initialized
[    0.599120] usbcore: registered new interface driver usbfs
[    0.599236] usbcore: registered new interface driver hub
[    0.599574] usbcore: registered new device driver usb
[    0.600919] Switching to clocksource stc
[    0.601198] FS-Cache: Loaded
[    0.601489] CacheFiles: Loaded
[    0.614303] NET: Registered protocol family 2
[    0.615177] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.615963] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.616409] TCP: Hash tables configured (established 16384 bind 16384)
[    0.616510] TCP: reno registered
[    0.616558] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.616629] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.617020] NET: Registered protocol family 1
[    0.617757] RPC: Registered named UNIX socket transport module.
[    0.617817] RPC: Registered udp transport module.
[    0.617849] RPC: Registered tcp transport module.
[    0.617880] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.618731] bcm2708_dma: DMA manager at f2007000
[    0.618868] bcm2708_gpio: bcm2708_gpio_probe c0543e28
[    0.619265] vc-mem: phys_addr:0x00000000 mem_base=0x19c00000 mem_size:0x20000000(512 MiB)
[    0.619630] major device number 252
[    0.619649] vma list size 12, page list size 2008, page size 4096
[    0.619667] allocated dma channel 2 (f2007200), initial state 00000008
[    0.619676] post-reset 00000008
[    0.620341] audit: initializing netlink socket (disabled)
[    0.620458] type=2000 audit(0.600:1): initialized
[    0.745184] VFS: Disk quotas dquot_6.5.2
[    0.745343] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.745834] FS-Cache: Netfs 'nfs' registered for caching
[    0.746281] NFS: Registering the id_resolver key type
[    0.746431] Key type id_resolver registered
[    0.746470] Key type id_legacy registered
[    0.746865] msgmni has been set to 802
[    0.749083] io scheduler noop registered
[    0.749147] io scheduler deadline registered
[    0.749207] io scheduler cfq registered (default)
[    0.754467] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.754514] crc32: self tests passed, processed 225944 bytes in 2472000 nsec
[    0.756418] crc32c: CRC_LE_BITS = 64
[    0.756449] crc32c: self tests passed, processed 225944 bytes in 907000 nsec
[    0.775888] Console: switching to colour frame buffer device 160x45
[    0.798319] brd: module loaded
[    0.803833] loop: module loaded
[    0.804388] vcos: [1]: vchiq_init_state: slot_zero = 0xda004000, is_master = 0
[    0.805143] vcos: [1]: vchiq_init_state: called
[    0.805982] vcos: [1]: vchiq: initialised - version 2 (min 2), device 251.0
[    0.806621] usbcore: registered new interface driver smsc95xx
[    0.807018] usbcore: registered new interface driver cdc_ncm
[    0.807221] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.012576] Core Release: 2.80a
[    1.012722] Setting default values for core params
[    1.016999] Finished setting default values for core params
[    1.226555] Using Buffer DMA mode
[    1.230788] Periodic Transfer Interrupt Enhancement - disabled
[    1.235150] Multiprocessor Interrupt Enhancement - disabled
[    1.239429] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.243778] Dedicated Tx FIFOs mode
[    1.248284] dwc_otg: Microframe scheduler enabled
[    1.248355] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.252885] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.257420] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.261935] Init: Port Power? op_state=1
[    1.266267] Init: Power Port (0)
[    1.270665] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.275096] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.279408] usb usb1: Product: DWC OTG Controller
[    1.283734] usb usb1: Manufacturer: Linux 3.6.7 dwc_otg_hcd
[    1.288049] usb usb1: SerialNumber: bcm2708_usb
[    1.293236] hub 1-0:1.0: USB hub found
[    1.297481] hub 1-0:1.0: 1 port detected
[    1.302113] dwc_otg: FIQ enabled
[    1.302135] dwc_otg: NAK holdoff enabled
[    1.302157] Module dwc_common_port init
[    1.302549] usbcore: registered new interface driver uas
[    1.306728] Initializing USB Mass Storage driver...
[    1.311340] usbcore: registered new interface driver usb-storage
[    1.315621] USB Mass Storage support registered.
[    1.320136] usbcore: registered new interface driver libusual
[    1.325008] mousedev: PS/2 mouse device common for all mice
[    1.330176] bcm2835-cpufreq: min=700000 max=840000 cur=700000
[    1.330487] bcm2835-cpufreq: switching to governor performancebcm2835-cpufreq: switching to governor performance
[    1.336177] cpuidle: using governor ladder
[    1.343555] cpuidle: using governor menu
[    1.347317] sdhci: Secure Digital Host Controller Interface driver
[    1.351190] sdhci: Copyright(c) Pierre Ossman
[    1.354960] sdhci: Enable low-latency mode
[    1.358888] Registered led device: mmc0::
[    1.401285] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    1.405076] mmc0: BCM2708 SDHC host at 0x20300000 DMA 0 IRQ 16
[    1.408879] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.415345] usbcore: registered new interface driver usbhid
[    1.422289] usbhid: USB HID core driver
[    1.433492] TCP: cubic registered
[    1.439400] Initializing XFRM netlink socket
[    1.445427] NET: Registered protocol family 17
[    1.449465] Key type dns_resolver registered
[    1.456816] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    1.461653] registered taskstats version 1
[    1.465943] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.470526] Waiting for root device /dev/mmcblk0p2...
[    1.490521] mmc0: new high speed SDHC card at address b368
[    1.495107] mmcblk0: mmc0:b368 00000 7.51 GiB
[    1.501193] Indeed it is in host mode hprt0 = 00021501
[    1.505570]  mmcblk0: p1 p2 p3
[    1.691108] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.695177] Indeed it is in host mode hprt0 = 00001101
[    1.911633] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    1.915535] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.922184] hub 1-1:1.0: USB hub found
[    1.926230] hub 1-1:1.0: 3 ports detected
[    2.201308] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.321651] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.325625] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.336104] smsc95xx v1.0.4
[    2.395461] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:55:f8:04
[    2.491159] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    2.616873] usb 1-1.2: New USB device found, idVendor=0755, idProduct=2026
[    2.621161] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.625330] usb 1-1.2: Product: P-05R UIR_V3A
[    2.629425] usb 1-1.2: Manufacturer: www.irfmedia.com
[    2.639645] input: www.irfmedia.com  P-05R UIR_V3A as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[    2.644583] hid-generic 0003:0755:2026.0001: input,hidraw0: USB HID v1.10 Keyboard [www.irfmedia.com  P-05R UIR_V3A] on usb-bcm2708_usb-1.2/input0
[    2.656818] input: www.irfmedia.com  P-05R UIR_V3A as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
[    2.662137] hid-generic 0003:0755:2026.0002: input,hidraw1: USB HID v1.10 Mouse [www.irfmedia.com  P-05R UIR_V3A] on usb-bcm2708_usb-1.2/input1
[    2.761202] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[    2.886844] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c517
[    2.892031] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.896711] usb 1-1.3: Product: USB Receiver
[    2.901428] usb 1-1.3: Manufacturer: Logitech
[    4.486013] EXT4-fs (mmcblk0p2): recovery complete
[    4.494939] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.499683] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.506039] devtmpfs: mounted
[    4.511714] Freeing init memory: 144K
[    5.659758] udevd[142]: starting version 175
[    6.655943] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
[    6.742490] logitech 0003:046D:C517.0003: input,hidraw2: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input0
[    6.841208] logitech 0003:046D:C517.0004: fixing up Logitech keyboard report descriptor
[    7.100503] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input3
[    7.341371] logitech 0003:046D:C517.0004: input,hiddev0,hidraw3: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input1
[    9.264614] Adding 1023996k swap on /dev/mmcblk0p3.  Priority:-1 extents:1 across:1023996k SS
[   11.515082] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   11.960712] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   16.453909] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.459108] mmc0: DMA IRQ 6 ignored - results were reset
[   16.466854] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.472113] mmc0: DMA IRQ 6 ignored - results were reset
[   16.478583] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.483890] mmc0: DMA IRQ 6 ignored - results were reset
[   16.497867] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.503330] mmc0: DMA IRQ 6 ignored - results were reset
[   16.509997] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.515400] mmc0: DMA IRQ 6 ignored - results were reset
[   16.522094] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.527529] mmc0: DMA IRQ 6 ignored - results were reset
[   16.534237] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.539724] mmc0: DMA IRQ 6 ignored - results were reset
[   16.546430] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.551886] mmc0: DMA IRQ 6 ignored - results were reset
[   16.558494] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.563879] mmc0: DMA IRQ 6 ignored - results were reset
[   16.570007] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.575109] mmc0: DMA IRQ 6 ignored - results were reset
[   16.581216] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.586229] mmc0: DMA IRQ 6 ignored - results were reset
[   16.592289] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.597117] mmc0: DMA IRQ 6 ignored - results were reset
[   16.603197] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.607918] mmc0: DMA IRQ 6 ignored - results were reset
[   16.613940] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.618660] mmc0: DMA IRQ 6 ignored - results were reset
[   16.624692] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.629431] mmc0: DMA IRQ 6 ignored - results were reset
[   16.635477] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.640277] mmc0: DMA IRQ 6 ignored - results were reset
[   16.646143] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.650895] mmc0: DMA IRQ 6 ignored - results were reset
[   16.657001] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.661898] mmc0: DMA IRQ 6 ignored - results were reset
[   16.667869] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.672881] mmc0: DMA IRQ 6 ignored - results were reset
[   16.678872] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.683817] mmc0: DMA IRQ 6 ignored - results were reset
[   16.689980] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.694888] mmc0: DMA IRQ 6 ignored - results were reset
[   16.700756] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.705643] mmc0: DMA IRQ 6 ignored - results were reset
[   16.711589] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.716428] mmc0: DMA IRQ 6 ignored - results were reset
[   16.722370] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.727282] mmc0: DMA IRQ 6 ignored - results were reset
[   16.733069] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.737912] mmc0: DMA IRQ 6 ignored - results were reset
[   16.743764] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.748571] mmc0: DMA IRQ 6 ignored - results were reset
[   16.754496] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.759302] mmc0: DMA IRQ 6 ignored - results were reset
[   16.765237] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.770143] mmc0: DMA IRQ 6 ignored - results were reset
[   16.776217] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.781036] mmc0: DMA IRQ 6 ignored - results were reset
[   16.787273] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.792187] mmc0: DMA IRQ 6 ignored - results were reset
[   16.798324] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.803157] mmc0: DMA IRQ 6 ignored - results were reset
[   16.809324] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
[   16.814140] mmc0: DMA IRQ 6 ignored - results were reset
[   19.695857] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   20.424294] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

lsusb
Code:
root@xbian:/home/xbian# sudo apt-get install lsusb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package lsusb
root@xbian:/home/xbian# sudo lsusb
sudo: lsusb: command not found
root@xbian:/home/xbian#



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 08:58 AM

(20th Dec, 2012 08:53 AM)Hawk Wrote:  Well, the download worked fine, but then :

root@xbian:/home/xbian# tar -zxvf mceusb.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
root@xbian:/home/xbian# ...

Then it didn't download fine Smile, download it manually and copy the file to your RPi.

My fault, should have been
Code:
sudo apt-get install usbutils
lsusb



RE: Configuration remote.xml - Hawk - 20th Dec, 2012 09:13 AM

With Ubuntu I cant copy because of folder rights O_o and in Windows it shows me only the 36 Mb partition of the SD card.


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 09:19 AM

Use WinSCP, or put in on the partition you see in Windows. Then boot XBian again an copy it:
Code:
sudo mv /boot/mceusb.tar.gz /home/xbian/

Then retry the steps.


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 09:43 AM

Code:
xbian@xbian:~# tar -zxvf mceusb.tar.gz
etc/lirc/
etc/lirc/hardware/
etc/lirc/hardware/srm7500libusb.conf
etc/lirc/hardware/mceusb.conf
etc/lirc/hardware/mceusb_event2.conf
etc/lirc/hardware/lirc_rpi.conf
etc/lirc/hardware/mceusb_event1.conf
etc/lirc/hardware/default.conf
etc/lirc/hardware/mceusb_event0.conf
etc/lirc/hardware.conf
etc/lirc/lircd.conf
etc/lirc/lircmd.conf
etc/lirc/remotes/
etc/lirc/remotes/devinput.conf
etc/lirc/remotes/xbox.conf
etc/lirc/remotes/smt1000t.conf
home/xbian/.xbmc/userdata/Lircmap.xml
usr/local/share/xbmc/system/Lircmap.xml
tar: A lone zero block at 139

Code:
xbian@xbian:~# sudo apt-get install usbutils
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libusb-1.0-0
The following NEW packages will be installed:
  libusb-1.0-0 usbutils
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 259 kB of archives.
After this operation, 791 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libusb-1.0-0 armhf 2:1.0.11-1 [36.7 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main usbutils armhf 1:005-3 [223 kB]
Worked:

Fetched 259 kB in 3s (75.3 kB/s)
lsusb
Selecting previously unselected package libusb-1.0-0:armhf.
(Reading database ... 30453 files and directories currently installed.)
Unpacking libusb-1.0-0:armhf (from .../libusb-1.0-0_2%3a1.0.11-1_armhf.deb) ...
Selecting previously unselected package usbutils.
Unpacking usbutils (from .../usbutils_1%3a005-3_armhf.deb) ...
Processing triggers for man-db ...
Setting up libusb-1.0-0:armhf (2:1.0.11-1) ...
Setting up usbutils (1:005-3) ...
xbian@xbian:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0755:2026 Aureal Semiconductor
Bus 001 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser



RE: Configuration remote.xml - Hawk321 - 20th Dec, 2012 09:49 AM

Worked fine, except that my account got banned for "spamming" ^^


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:13 AM

Excuses for this, should not have happened.

But it is correct that the remote is working as it should?

Can you also post the output of:
Code:
cat /proc/bus/input/devices

Also the line should have been:
Code:
tar -xvf mceusb.tar.gz -C /



RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:18 AM

Some key are working e.g. ESC, PLAY, VIDEO.

But not all, especially the UP/DOWN MOUSE Keys arent working.

Code:
root@xbian:/home/xbian# cat /proc/bus/input/devices
I: Bus=0003 Vendor=0755 Product=2026 Version=0110
N: Name="www.irfmedia.com  P-05R UIR_V3A"
P: Phys=usb-bcm2708_usb-1.2/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=0755 Product=2026 Version=0110
N: Name="www.irfmedia.com  P-05R UIR_V3A"
P: Phys=usb-bcm2708_usb-1.2/input1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
U: Uniq=
H: Handlers=kbd mouse0 event1
B: PROP=0
B: EV=1f
B: KEY=4837fff 72ff32d bf544446 0 0 1f0001 20c10 b17c000 267bfa d941dfed 9e1680 4400 0 10000002
B: REL=1c3
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=046d Product=c517 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-bcm2708_usb-1.3/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=046d Product=c517 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-bcm2708_usb-1.3/input1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input3
U: Uniq=
H: Handlers=kbd mouse1 event3
B: PROP=0
B: EV=1f
B: KEY=c0000000 4837fff 72ff32d bf5c4447 0 0 ff0001 21f94 8b37cc00 677bfa dd71dfed 9ed680 4400 0 10000002
B: REL=1c3
B: ABS=1 0
B: MSC=10

Code:
root@xbian:/home/xbian# tar -xvf mceusb.tar.gz -C /
etc/lirc/
etc/lirc/hardware/
etc/lirc/hardware/srm7500libusb.conf
etc/lirc/hardware/mceusb.conf
etc/lirc/hardware/mceusb_event2.conf
etc/lirc/hardware/lirc_rpi.conf
etc/lirc/hardware/mceusb_event1.conf
etc/lirc/hardware/default.conf
etc/lirc/hardware/mceusb_event0.conf
etc/lirc/hardware.conf
etc/lirc/lircd.conf
etc/lirc/lircmd.conf
etc/lirc/remotes/
etc/lirc/remotes/devinput.conf
etc/lirc/remotes/xbox.conf
etc/lirc/remotes/smt1000t.conf
home/xbian/.xbmc/userdata/Lircmap.xml
usr/local/share/xbmc/system/Lircmap.xml
tar: A lone zero block at 139

Look, what I found:

http://www.irfmedia.com/en/ProductView.asp?ID=130&SortID=160

Thats my remote:

Model NO: IRC6MCE

The IRC6MCE is a RC6 protocol standard remote control for Microsoft MediaCenter.

Is suitable in Card reader(incould RC6 cir)



Parameters

1. Signal type: IRfrared

2. Full 41 keys

3. Transmitting range: than 8 meter,angle 45°

4. Size : 185 x 55 x 30 mm

5. Power support:AAA battery x 2

6. Weight: 225g


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:20 AM

Did you reboot after installing my fix?


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:23 AM

Or maybe this one, but it doesnt matter, its all the same layout I think.

http://www.irfmedia.com/en/ProductView.asp?ID=140&SortID=157

Nope, but I did now.

Code:
xbian@xbian:~# tar -xvf mceusb.tar.gz -C /
etc/lirc/
etc/lirc/hardware/
etc/lirc/hardware/srm7500libusb.conf
etc/lirc/hardware/mceusb.conf
etc/lirc/hardware/mceusb_event2.conf
etc/lirc/hardware/lirc_rpi.conf
etc/lirc/hardware/mceusb_event1.conf
etc/lirc/hardware/default.conf
etc/lirc/hardware/mceusb_event0.conf
etc/lirc/hardware.conf
tar: etc/lirc/hardware: Cannot utime: Operation not permitted
tar: etc/lirc/hardware: Cannot change mode to rwxr-xr-x: Operation not permitted
etc/lirc/lircd.conf
etc/lirc/lircmd.conf
etc/lirc/remotes/
etc/lirc/remotes/devinput.conf
etc/lirc/remotes/xbox.conf
etc/lirc/remotes/smt1000t.conf
home/xbian/.xbmc/userdata/Lircmap.xml
tar: etc/lirc/remotes: Cannot utime: Operation not permitted
tar: etc/lirc/remotes: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: etc/lirc: Cannot utime: Operation not permitted
tar: etc/lirc: Cannot change mode to rwxr-xr-x: Operation not permitted
usr/local/share/xbmc/system/Lircmap.xml
tar: usr/local/share/xbmc/system/Lircmap.xml: Cannot open: File exists
tar: A lone zero block at 139
tar: Exiting with failure status due to previous errors

Code:
xbian@xbian:~# cat /proc/bus/input/devices
I: Bus=0003 Vendor=0755 Product=2026 Version=0110
N: Name="www.irfmedia.com  P-05R UIR_V3A"
P: Phys=usb-bcm2708_usb-1.2/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=0755 Product=2026 Version=0110
N: Name="www.irfmedia.com  P-05R UIR_V3A"
P: Phys=usb-bcm2708_usb-1.2/input1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
U: Uniq=
H: Handlers=kbd mouse0 event1
B: PROP=0
B: EV=1f
B: KEY=4837fff 72ff32d bf544446 0 0 1f0001 20c10 b17c000 267bfa d941dfed 9e1680 4400 0 10000002
B: REL=1c3
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=046d Product=c517 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-bcm2708_usb-1.3/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=046d Product=c517 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-bcm2708_usb-1.3/input1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input3
U: Uniq=
H: Handlers=kbd mouse1 event3
B: PROP=0
B: EV=1f
B: KEY=c0000000 4837fff 72ff32d bf5c4447 0 0 ff0001 21f94 8b37cc00 677bfa dd71dfed 9ed680 4400 0 10000002
B: REL=1c3
B: ABS=1 0
B: MSC=10



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:28 AM

Can you try this:
Code:
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware.conf > /etc/lirc/hardware.conf
sudo /etc/init.d/lirc restart
And try again?


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:34 AM

wget worked

Code:
xbian@xbian:~# tar -xvf mceusb.tar.gz -C /
etc/lirc/
etc/lirc/hardware/
etc/lirc/hardware/srm7500libusb.conf
etc/lirc/hardware/mceusb.conf
etc/lirc/hardware/mceusb_event2.conf
etc/lirc/hardware/lirc_rpi.conf
etc/lirc/hardware/mceusb_event1.conf
etc/lirc/hardware/default.conf
etc/lirc/hardware/mceusb_event0.conf
etc/lirc/hardware.conf
tar: etc/lirc/hardware: Cannot utime: Operation not permitted
tar: etc/lirc/hardware: Cannot change mode to rwxr-xr-x: Operation not permitted
etc/lirc/lircd.conf
etc/lirc/lircmd.conf
etc/lirc/remotes/
etc/lirc/remotes/devinput.conf
etc/lirc/remotes/xbox.conf
etc/lirc/remotes/smt1000t.conf
home/xbian/.xbmc/userdata/Lircmap.xml
tar: etc/lirc/remotes: Cannot utime: Operation not permitted
tar: etc/lirc/remotes: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: etc/lirc: Cannot utime: Operation not permitted
tar: etc/lirc: Cannot change mode to rwxr-xr-x: Operation not permitted
usr/local/share/xbmc/system/Lircmap.xml
tar: usr/local/share/xbmc/system/Lircmap.xml: Cannot open: File exists
tar: A lone zero block at 139
tar: Exiting with failure status due to previous errors



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:36 AM

You should run the command as root like you did the first time:
Code:
sudo tar -xvf mceusb.tar.gz -C /
#The following 2 lines are actually one big line
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware.conf > /etc/lirc/hardware.conf
sudo /etc/init.d/lirc restart
Then retry.