[1] Archiv / MLD 3.x / Development / Medion X10
 

Offline hampit

  • Adv. Member
  • ***
  • Posts: 103
    • View Profile
Medion X10
« on: January 15, 2014, 22:04:12 »
Hi,
hab einen VDR mit MLD 3.0.3 installiert. Nach der Installation funktioniert die Fernbedienung sofort. Leider aber nach einem Reboot nicht mehr.
Ich installiere per USB-Stick. kommt da was mit den USB-Devices durcheinander?
BItte um Hilfe.
Danke vorab.
MLD 5
Gehäuse: Thermaltake DH-101, DVB: Cine S2, GPU: GF GT220, LCD: imonLCD, FB: Harmony 700

Offline P3f

  • Administrator
  • Expert Member
  • ********
  • Posts: 1460
    • View Profile
Medion X10
« Reply #1 on: January 16, 2014, 07:00:13 »
Hallo Hampit,

nach der Installation vom USb-Stick solltest Du den bitte entfernen, nachdem der Rechner runtergefahren ist ;). Die eigentliche Installation der Addons, wie initalisieren und kopieren der benötigten Files, wird beim ersten hochfahren durchgeführt.

Gibt es Fehlermeldungen im /var/log/messages?
Im dmesg sollte etwas wie
Quote
lirc_atiusb[3]: X10 Wireless Technology Inc USB Receiver on usb1:3
usbcore: registered new driver lirc_atiusb
auftauchen.

Hast Du im Quicksetup nach der Installation eingestellt (auch wenn z.B. nur Sound, oder XORG war, kann das zu einem Problem führen) ==> nur eine Frage!!

Wenn das Modul "lirc_atiusb" auftaucht, wäre auch ein Test mit "irw" auf der Konsole interessant ==> Bitte Ausgabe posten

Kannst Du bitte beschreiben, welche Addons zu geladen hast?

Danke,

Pit
« Last Edit: January 16, 2014, 07:03:37 by P3f »
----------------------------------------------------------------------
VDR 1:(MLD 5.4-64), ZOTAC ION ITX F-E, 1GB 1033, ATRIC-Einschalter, ImonLCD, Cinergy S2 HD
VDR 2 MLD-BPI: BananaPI | 16 GB SD-Card | MLD 5.3 in Entwicklung
MLD-WTK: WeTek-Play | 8 GB MicroSD-Card | MLD 5.3 als SatIP-Server

Offline hampit

  • Adv. Member
  • ***
  • Posts: 103
    • View Profile
Medion X10
« Reply #2 on: January 16, 2014, 17:44:38 »
Natürelich habe ich den Stick entfernt. Dann hab ich auch alles soweit konfiguriert und installiert. Die Fernbedienung funktioniert dann auch direkt. Nur beim nächsten Reboot passt es dann nicht mehr.

dmesg:
Code: [Select]
Registered IR keymap rc-medion-x10-or2x
input: X10 WTI RF receiver as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/rc/rc0/input5
rc0: X10 WTI RF receiver as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/rc/rc0
input: X10 WTI RF receiver mouse as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input6
usbcore: registered new interface driver ati_remote
XFS (sda2): Mounting Filesystem
XFS (sda2): Ending clean mount
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
e100 0000:01:08.0 eth0: NIC Link is Up 100 Mbps Full Duplex
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
input: Sundtek Ltd. Remote Control as /devices/virtual/input/input8
input: lircd as /devices/virtual/input/input10

es taucht das Modul ati_remote auf, wahrscheinlich ist das dann das Problem?!
Geladen sind u.a.:
dvb-remote
dvb-sundtek
dvb-usb
irkeytable

MLD 5
Gehäuse: Thermaltake DH-101, DVB: Cine S2, GPU: GF GT220, LCD: imonLCD, FB: Harmony 700

Offline P3f

  • Administrator
  • Expert Member
  • ********
  • Posts: 1460
    • View Profile
Medion X10
« Reply #3 on: January 16, 2014, 19:03:03 »
Hallo hampit,

sieht doch garnicht so schlecht aus, jetzt ist es noch interessant, was ein "ir-keytable" auswirft, und ob "irw" funktioniert. Zur Sicherheit bitte auch mal die Ausgabe von "ls -l /var/run/lirc/*" posten.

danke,

Pit
----------------------------------------------------------------------
VDR 1:(MLD 5.4-64), ZOTAC ION ITX F-E, 1GB 1033, ATRIC-Einschalter, ImonLCD, Cinergy S2 HD
VDR 2 MLD-BPI: BananaPI | 16 GB SD-Card | MLD 5.3 in Entwicklung
MLD-WTK: WeTek-Play | 8 GB MicroSD-Card | MLD 5.3 als SatIP-Server

Offline hampit

  • Adv. Member
  • ***
  • Posts: 103
    • View Profile
Medion X10
« Reply #4 on: January 16, 2014, 21:59:03 »
Code: [Select]
MLD> ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver ati_remote, table rc-medion-x10-or2x
Supported protocols: other
Enabled protocols:
Repeat delay = 500 ms, repeat period = 125 ms
MLD>

Code: [Select]
MLD> irw

MLD>
gibt nix aus

Code: [Select]
MLD> ls -l /var/run/lirc/*
srw-rw-rw-    1 root     root             0 Jan 16 21:57 /var/run/lirc/lircd
-rw-r--r--    1 root     root             5 Jan 16 21:57 /var/run/lirc/lircd.pid
MLD> 

Danke



MLD 5
Gehäuse: Thermaltake DH-101, DVB: Cine S2, GPU: GF GT220, LCD: imonLCD, FB: Harmony 700

Offline P3f

  • Administrator
  • Expert Member
  • ********
  • Posts: 1460
    • View Profile
Medion X10
« Reply #5 on: January 17, 2014, 08:08:45 »
Hi,

kannst Du bitte mal die Keytable "sudo ir-keytable -w /lib/udev/rc_keymaps/rc-medion-x10" neu laden und danach mit "irw" (dann Tasten drücken, und es sollte eine Ausgabe kommen!) erneut eingeben.

Wenn sich da nichts ändert bitte mal unter /lib/udev/rc_keymaps/rc-medion-x10 den folgenden Inhalt eintragen, sicherheitshalber Neustart danach.

Code: [Select]
# table rc-medion-x10, type:other
0x0000 = KEY_MUTE
0x0002 = KEY_POWER2
0x0004 = KEY_DVD
0x0005 = KEY_IMAGES
0x0006 = KEY_AUDIO
0x0008 = KEY_VOLUMEDOWN
0x0009 = KEY_VOLUMEUP
0x000b = KEY_CHANNELUP
0x000c = KEY_CHANNELDOWN
0x000d = KEY_1
0x000e = KEY_2
0x000f = KEY_3
0x0010 = KEY_4
0x0011 = KEY_5
0x0012 = KEY_6
0x0013 = KEY_7
0x0014 = KEY_8
0x0015 = KEY_9
0x0016 = KEY_TEXT
0x0017 = KEY_0
0x0018 = KEY_SCREEN
0x0019 = KEY_MENU
0x001a = KEY_UP
0x001b = KEY_SETUP
0x001c = KEY_PROG2
0x001d = KEY_LEFT
0x001e = KEY_OK
0x001f = KEY_RIGHT
0x0020 = KEY_PROG1
0x0021 = KEY_PREVIOUS
0x0022 = KEY_DOWN
0x0023 = KEY_NEXT
0x0024 = KEY_REWIND
0x0025 = KEY_PLAY
0x0026 = KEY_FORWARD
0x0027 = KEY_RECORD
0x0028 = KEY_STOP
0x0029 = KEY_PAUSE
0x002c = KEY_TV
0x002d = KEY_PVR
0x002e = KEY_RADIO
0x002f = KEY_INFO
0x0030 = KEY_CHANNELS
0x0031 = KEY_VIDEO
0x0032 = KEY_RED
0x0033 = KEY_GREEN
0x0034 = KEY_YELLOW
0x0035 = KEY_BLUE
0x0036 = KEY_PROG3
0x0037 = KEY_PROG4
0x0038 = KEY_MENU
0x0039 = KEY_SCREEN
0x003a = KEY_RADIO

Wenn das alles nicht helfen sollte, bitte mal den Befehl " sudo ir-keytable -r" eingeben und nach den Tastendrücken auf der Fernbedienung die Ausgabe posten.

Gruß,

Pit
----------------------------------------------------------------------
VDR 1:(MLD 5.4-64), ZOTAC ION ITX F-E, 1GB 1033, ATRIC-Einschalter, ImonLCD, Cinergy S2 HD
VDR 2 MLD-BPI: BananaPI | 16 GB SD-Card | MLD 5.3 in Entwicklung
MLD-WTK: WeTek-Play | 8 GB MicroSD-Card | MLD 5.3 als SatIP-Server

Offline hampit

  • Adv. Member
  • ***
  • Posts: 103
    • View Profile
Medion X10
« Reply #6 on: January 17, 2014, 17:18:04 »
Code: [Select]
MLD> sudo ir-keytable -w /lib/udev/rc_keymaps/rc-medion-x10
-sh: sudo: not found
MLD>

Code: [Select]
MLD> ir-keytable -w /lib/udev/rc_keymaps/rc-medion-x10
opening keycode file: No such file or directory
Invalid parameter(s)
ir-keytable: -w: (PROGRAM ERROR) Option should have been recognized!?
Try `ir-keytable --help' or `ir-keytable --usage' for more information.

die Datei existiert bei mir gar nicht :(

MLD 5
Gehäuse: Thermaltake DH-101, DVB: Cine S2, GPU: GF GT220, LCD: imonLCD, FB: Harmony 700

Offline Delaney

  • Member
  • **
  • Posts: 99
    • View Profile
Medion X10
« Reply #7 on: January 17, 2014, 20:37:05 »
Moin,
Code: [Select]
MLD> ir-keytable -w /lib/udev/rc_keymaps/rc-medion-x10
opening keycode file: No such file or directory
Invalid parameter(s)
ir-keytable: -w: (PROGRAM ERROR) Option should have been recognized!?
Try `ir-keytable --help' or `ir-keytable --usage' for more information.

die Datei existiert bei mir gar nicht :(
die liegt bei MLD in /etc/rc_keymaps  ;)
Ebenso die bei Dir wohl geladene rc-medion-x10-or2x

Und bitte nicht lirc und eventlirc gleichzeitig konfigurieren und durcheinanderwürfeln.
Für die X-10 wird lirc i.A. nicht benötigt.

ati_remote  =>  eventlirc
lirc_atiusb   =>  lirc

Bitte mal die lsmod Ausgabe posten und evtest jeweils bei Installation und nach dem Reboot aufrufen.
cat /proc/bus/input/devices anstelle von evtest ginge nat. auch.
Mit letzterem läßt sich allerdings auch ohne lirc-addon die FB testen ;)



mfG Carsten

Offline hampit

  • Adv. Member
  • ***
  • Posts: 103
    • View Profile
Medion X10
« Reply #8 on: January 18, 2014, 16:52:59 »
Hi,
hab gerade neu installiert. Nach den ersten Setupeinstellungen im WEB-IF läuft die FB.

 
Code: [Select]
MLD> lsmod
Module                  Size  Used by    Tainted: P 
nvidia               9532495 47
drm                   162235  2 nvidia
uinput                  5093  1
snd_hda_codec_hdmi     22238  4
e100                   21388  0
mii                     2799  1 e100
snd_hda_codec_realtek    28666  1
rc_medion_x10_or2x       924  0
ati_remote              6236  0
rc_core                 9977  3 rc_medion_x10_or2x,ati_remote
intel_agp               7812  0
snd_hda_intel          22870  5
snd_hda_codec          88670  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
intel_gtt               8370  1 intel_agp
agpgart                17777  3 drm,intel_agp,intel_gtt
snd_hwdep               3819  1 snd_hda_codec
snd_pcm                46642  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              11761  3 snd_pcm
snd                    35279 13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          4914  2 snd_hda_intel,snd_pcm
MLD>

evtest
Code: [Select]
MLD> evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:Chicony USB Keyboard
/dev/input/event1:Chicony USB Keyboard
/dev/input/event2:X10 WTI RF receiver
/dev/input/event3:X10 WTI RF receiver mouse
/dev/input/event4:lircd
Select the device event number [0-4]: 2
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xbc7 product 0x6 version 0x100
Input device name: "X10 WTI RF receiver"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)

Nach dem Reboot
lsmod
Code: [Select]
MLD> lsmod
Module                  Size  Used by    Tainted: P 
uinput                  5093  0
snd_hda_codec_hdmi     22238  4
e100                   21388  0
mii                     2799  1 e100
nvidia               9532495 47
snd_hda_codec_realtek    28666  1
rc_medion_x10_or2x       924  0
drm                   162235  2 nvidia
ati_remote              6236  0
rc_core                 9977  3 rc_medion_x10_or2x,ati_remote
snd_hda_intel          22870  5
snd_hda_codec          88670  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               3819  1 snd_hda_codec
snd_pcm                46642  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              11761  3 snd_pcm
snd                    35279 13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          4914  2 snd_hda_intel,snd_pcm
intel_agp               7812  0
intel_gtt               8370  1 intel_agp
agpgart                17777  3 drm,intel_agp,intel_gtt
MLD>

evtest
Code: [Select]
MLD> evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:Chicony USB Keyboard
/dev/input/event1:Chicony USB Keyboard
/dev/input/event2:X10 WTI RF receiver
Input device name: "X10 WTI RF receiver"
Supported events:

Und dann nochmal
Code: [Select]
MLD> cat /proc/bus/input/devices
I: Bus=0003 Vendor=04f2 Product=0402 Version=0111
N: Name="Chicony USB Keyboard"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input3
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=7

I: Bus=0003 Vendor=04f2 Product=0402 Version=0111
N: Name="Chicony USB Keyboard"
P: Phys=usb-0000:00:1d.2-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input4
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=13
B: KEY=2000000 387a d801d001 1e0000 0 0 0
B: MSC=10

I: Bus=0003 Vendor=0bc7 Product=0006 Version=0100
N: Name="X10 WTI RF receiver"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/rc/rc0/input5
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=100013
B: KEY=108fc010 846051 0 0 0 0 8c00 180 c0300801 8e1680 0 0 ffc
B: MSC=10

I: Bus=0003 Vendor=0bc7 Product=0006 Version=0100
N: Name="X10 WTI RF receiver mouse"
P: Phys=usb-0000:00:1d.1-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input6
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=0
B: EV=7
B: KEY=1b0000 0 0 0 0 0 0 0 0
B: REL=3


MLD 5
Gehäuse: Thermaltake DH-101, DVB: Cine S2, GPU: GF GT220, LCD: imonLCD, FB: Harmony 700

[1] Archiv / MLD 3.x / Development / Medion X10
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.