[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
linuxtv.fi • View topic - MCE kauko-ohjain Gentoossa - liikaa painalluksia..

MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Yleiset ongelmat, ohjelmien kääntäminen, kernel, lirc jne.

MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 11.03.2013 22:14

Kun kääsin kerneliin mce_usb alkoi kauko-ohjain toimia,
mutta irw näyttää upeampia painalluksia mikä tekee
käytöstä hankalaa.

.lircrc nättää tältä. cat .lircrc

# vaatii irexec -d .lircrc &

begin
prog = irexec
button = LiveTV
repeat = 0
config = vdr_start.sh
end

begin
prog = irexec
button = KEY_DVD
repeat = 0
config = xbmc
end

begin
prog = irexec
button = KEY_POWER
config = /usr/bin/killall -9 vdr-sxfe
end

kun painan dvd näppäintä xbmc kyllä käynnistyy, mutta kun lopetan
xbmc:n se käynnistyy uudestaan vielä kaksi kertaa. Mikä ei ole
kivaa. Valikoissa liikkuminen myös hankalaa.

Koetin xorg.conf-tiedostoon lisäystä

Section "InputClass"
Identifier "Ignore Philips mce remote"
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver (0471:060d)"
MatchIsKeyboard "true"
Option "Ignore" "true"
EndSection

nyt xor.log näyttää

[ 18.114] (II) config/udev: Adding input device Media Center Ed. eHome Infrared Remote Transceiver (0471:060d) (/dev/input/event0)
[ 18.114] (**) Media Center Ed. eHome Infrared Remote Transceiver (0471:060d): Ignoring device from InputClass "Ignore Philips mce remote"
[ 18.115] (II) config/udev: Adding input device IR-receiver inside an USB DVB receiver (/dev/input/event5)
[ 18.115] (**) IR-receiver inside an USB DVB receiver: Applying InputClass "evdev keyboard catchall"
[ 18.115] (**) IR-receiver inside an USB DVB receiver: Applying InputClass "Logitech Cordless"
[ 18.115] (II) Using input driver 'evdev' for 'IR-receiver inside an USB DVB receiver'
[ 18.115] (**) IR-receiver inside an USB DVB receiver: always reports core events
[ 18.115] (**) evdev: IR-receiver inside an USB DVB receiver: Device: "/dev/input/event5"
[ 18.115] (--) evdev: IR-receiver inside an USB DVB receiver: Vendor 0x4b4 Product 0x861f
[ 18.115] (--) evdev: IR-receiver inside an USB DVB receiver: Found keys
[ 18.115] (II) evdev: IR-receiver inside an USB DVB receiver: Configuring as keyboard
[ 18.115] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.1/usb1/1-6/rc/rc1/input5/event5"
[ 18.115] (II) XINPUT: Adding extended input device "IR-receiver inside an USB DVB receiver" (type: KEYBOARD, id 9)
[ 18.115] (**) Option "xkb_rules" "evdev"
[ 18.116] (**) Option "xkb_model" "logicordless"
[ 18.116] (**) Option "xkb_layout" "fi"
[ 18.117] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (mceusb) (/dev/input/event1)
[ 18.117] (**) MCE IR Keyboard/Mouse (mceusb): Applying InputClass "evdev pointer catchall"
[ 18.117] (**) MCE IR Keyboard/Mouse (mceusb): Applying InputClass "evdev keyboard catchall"
[ 18.117] (**) MCE IR Keyboard/Mouse (mceusb): Applying InputClass "Logitech Cordless"
[ 18.117] (II) Using input driver 'evdev' for 'MCE IR Keyboard/Mouse (mceusb)'
[ 18.117] (**) MCE IR Keyboard/Mouse (mceusb): always reports core events
[ 18.117] (**) evdev: MCE IR Keyboard/Mouse (mceusb): Device: "/dev/input/event1"
[ 18.118] (--) evdev: MCE IR Keyboard/Mouse (mceusb): Vendor 0 Product 0
[ 18.118] (--) evdev: MCE IR Keyboard/Mouse (mceusb): Found 3 mouse buttons
[ 18.118] (--) evdev: MCE IR Keyboard/Mouse (mceusb): Found relative axes
[ 18.118] (--) evdev: MCE IR Keyboard/Mouse (mceusb): Found x and y relative axes
[ 18.118] (--) evdev: MCE IR Keyboard/Mouse (mceusb): Found keys
[ 18.118] (II) evdev: MCE IR Keyboard/Mouse (mceusb): Configuring as mouse
[ 18.118] (II) evdev: MCE IR Keyboard/Mouse (mceusb): Configuring as keyboard
[ 18.118] (**) evdev: MCE IR Keyboard/Mouse (mceusb): YAxisMapping: buttons 4 and 5
[ 18.118] (**) evdev: MCE IR Keyboard/Mouse (mceusb): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 18.118] (**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
[ 18.118] (II) XINPUT: Adding extended input device "MCE IR Keyboard/Mouse (mceusb)" (type: KEYBOARD, id 10)
[ 18.118] (**) Option "xkb_rules" "evdev"
[ 18.118] (**) Option "xkb_model" "logicordless"
[ 18.118] (**) Option "xkb_layout" "fi"
[ 18.119] (II) evdev: MCE IR Keyboard/Mouse (mceusb): initialized for relative axes.
[ 18.120] (**) MCE IR Keyboard/Mouse (mceusb): (accel) keeping acceleration scheme 1
[ 18.120] (**) MCE IR Keyboard/Mouse (mceusb): (accel) acceleration profile 0
[ 18.120] (**) MCE IR Keyboard/Mouse (mceusb): (accel) acceleration factor: 2.000
[ 18.120] (**) MCE IR Keyboard/Mouse (mceusb): (accel) acceleration threshold: 4
[ 18.120] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (mceusb) (/dev/input/mouse0)
[ 18.121] (**) MCE IR Keyboard/Mouse (mceusb): Applying InputClass "Logitech Cordless"
[ 18.121] (II) Using input driver 'evdev' for 'MCE IR Keyboard/Mouse (mceusb)'
[ 18.121] (**) MCE IR Keyboard/Mouse (mceusb): always reports core events
[ 18.121] (**) evdev: MCE IR Keyboard/Mouse (mceusb): Device: "/dev/input/mouse0"
[ 18.121] (EE) MCE IR Keyboard/Mouse (mceusb): Couldn't open mtdev device
[ 18.160] (EE) evdev: MCE IR Keyboard/Mouse (mceusb): ioctl EVIOCGID failed: Bad file descriptor
[ 18.160] (EE) PreInit returned 8 for "MCE IR Keyboard/Mouse (mceusb)"

ja ei parantunut. Käytössä myös Logitechin langaton näppäimistö ja Anysee 30C viritin (USB) jossa myös
IR-vastaanotin. Kone on Asus EeeBox Atom 333 Ion.
Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Prelude » 12.03.2013 14:03

Katsoppas jos tuosta olisi apua.
Prelude
Säätäjä
 
Posts: 237
Joined: 02.02.2007 16:45

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby ppaalto » 12.03.2013 20:41

Mulla oli muistaakseni vastaavanlaisia ongelmia ja joku noista riveistä lircd.conf:ssa auttoi.

toggle_bit 2
min_repeat 2
suppress_repeat 2


Pasi
ppaalto
Asiantuntija
 
Posts: 140
Joined: 02.12.2005 23:38

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 13.03.2013 0:47

Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby noeikujoo » 28.03.2013 8:30

User avatar
noeikujoo
Yli-ihminen
 
Posts: 2156
Joined: 23.08.2004 3:00
Location: Kajaani

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 29.03.2013 14:59

Itsellä suunnilleen samanlainen .lircrc. Paitsi power näppäin sammuttaa vdr-sxfe:n tylysti killall.
Poistin joskus power-näppäimen VDR:n remote.conf tiedostosta. En kyllä muista miksi.
VDR käynnistyy nykyään ilman lirc vipua ja vdr-sxfe taas lirc vivun kanssa. Näin vdr ei lue
kauko-ohjainta kun XBMC on käynnissä. Itsellä XBMC sammuttaa koneen ihan painamalla
power-näppäintä tai sammutus valikosta. Tai sitten ihan automaattisesti kun pari tuntia
tulee toimettomana täyteen.

Itsellä kauko-ohjain alkaa toimimaan epämääräisen ajan jälkeen koneen käynnistymisen
jälkeen. Ihan mystistä. Käytössä oli hetken langallinen näppäimistö, jotta pääsi BIOS
asetuksia muuttamaan, jos saisi Wake Up:in joskus toimimaan. Olisko silläkin merkitystä
missä reijissä USB laitteet on? Lirc ja kernelin käännös uusiksi ei auttanut.


/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb
kannattaa kopioda lircd.conf tiedostoon. Jottei päivitys
kirjoita sitä yli. Ubuntussa hardware.conf tiedostossa
oikea ajuri tuolle on "dev/input" ja laite /dev/input/event?
mikä voi vaihdella - riippuu miten UDEV tunnistaa.

Openelecin asensin kokeeksi tikulle. Toimii ja sain Yle:n areenankin näkyviin.
Harmi kun siinä ei ole VDR:ää.
Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby noeikujoo » 29.03.2013 20:27

User avatar
noeikujoo
Yli-ihminen
 
Posts: 2156
Joined: 23.08.2004 3:00
Location: Kajaani

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 30.03.2013 16:24

MCE-kaukosäätimen pitäisikin toimia XBMC:ssä suoraan. On valmiiksi määritelty.
hardware.conf tiedostossa muuttaisin REMOTE="mceusb" ja vastaava nimi lircd.conf ja
Lircmap.xml tiedostoihin myös. mceusb voi tietysti olla Hp, Philips mikä nyt on käytössä.
REMOTE_DRIVER="/dev/input" yleensä - taitaa olla oletuksena kun on tyhjä.
/dev/lirc0 on ihan oletus laite. Jotta XBMC sammuttaa koneen pitää olla ainakin
PolicyKit ja upower asennettuna. Ja tietysti sopiva määritys XBMC:n sekavassa
systeemissä. Oletuksena on <power>XBMC.ShutDown()</power>
remote.xml. Lircmap.xml tiedostossa voi määritellä sitten <power> "jokunappi" </power>
Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 21.04.2013 17:12

Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37

Re: MCE kauko-ohjain Gentoossa - liikaa painalluksia..

Postby Droopy » 17.10.2013 21:25

Tuohon Lirc ongelmaan tuntuu auttavan #echo lirc > /sys/class/rc/rc1/protocols.
cat /sys/class/rc/rc1/protocols kertoo mitä on käytössä. Itsellä rc1 siksi, koska
rc0 on USB-virittimen kauko-ohjain - joka ei ole käytössä.

Tuon #echo lirc > /sys/class/rc/rc1/protocols pitäisi saada lisättyä
starttiin. Ja toiminee niin kauan kun USB-laitteet tunnistetaan
samassa järjestyksessä.
Droopy
Säätäjä
 
Posts: 219
Joined: 10.03.2008 17:37


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron