PDA

Afficher la version complète : [Réglé] ATI REMOTE WONDER / SuSE 10.0 ??



slider
05/12/2005, 01h10
Bonjour a tous, je suis sous SuSE 10.0 et j'ai quelques soucis avec ma telecommande ATI REMOTE WONDER, je ne l'avais jamais installer meme si elle est la depuis......longtemps lol, bon lirc 0.7.2 est installer, un

lsusb me donne :

Bus 003 Device 003: ID 07cc:0301 Carry Computer Eng., Co., Ltd 6-in-1 Card Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0bc7:0004 X10 Wireless Technology, Inc. X10 Receiver
Bus 001 Device 001: ID 0000:0000

donc la telecommande est reconnu, j'ai cherche un peu sur le net mais rien trouver comme config qui me permette de la faire fonctionner, j'ai pomper un fichier 'lirc.conf' pour cette telecommande que j'ai place dans /etc donc si je lance le demon lircd pas de soucis .
Par contre dans mon 'dmesg' j'ai sa :

ohci_hcd 0000:00:02.0: wakeup
usb 1-1: new low speed USB device using ohci_hcd and address 4
lirc_dev: module not supported by Novell, setting U taint flag.
lirc_dev: IR Remote Control driver registered, at major 60
lirc_atiusb: module not supported by Novell, setting U taint flag.

lirc_atiusb: USB remote driver for LIRC v0.4
lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_atiusb[4]: X10 Wireless Technology Inc USB Receiver on usb1:4
usbcore: registered new driver lirc_atiusb
usbcore: registered new driver ati_remote
drivers/usb/input/ati_remote.c: Registered USB driver ATI/X10 RF USB Remote Control v. 2.2.1


Si quelqu'un peu me donner un coup de main... Merci d'avance.

Slider

micke_suse
05/12/2005, 01h51
salut

j'ai aussi

<div class='quotetop'>Citation </div>
lirc_atiusb[4]: X10 Wireless Technology Inc USB Receiver on usb1:4
usbcore: registered new driver lirc_atiusb[/b]

c'est pas grave http://www.alionet.org/style_emoticons/<#EMO_DIR#>/smile.gif

il faut installer le rpm lirc

mon lsusb

<div class='quotetop'>Citation </div>
...
Bus 002 Device 003: ID 0bc7:0004 X10 Wireless Technology, Inc. X10 Receiver
...[/b]

mon lirc.conf


linux:/etc # cat lircd.conf
# this config file was automatically generated
# using lirc-0.7.0pre7(atiusb) on Tue Aug 31 21:16:31 2004
#
# contributed by Martin Tomasek <mtd@centrum.cz>
#
# brand: ATI Remote Wonder
# model no. of remote control:
# devices being controlled by this remote: ATI USB Receiver (X10).
#
# * remote is set to channel 1, driver reports channel 16. don't know
# which is true.

#
# P: Vendor=0bc7 ProdID=0004 Rev= 1.00
# S: Manufacturer=X10 Wireless Technology Inc
# S: Product=USB Receiver
#

begin remote

name atiusb_ch1
bits 16
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 8
pre_data 0x14
post_data_bits 16
post_data 0x0
gap 227933
toggle_bit 0


begin codes
A 0x000000000000D500
B 0x000000000000D601
C 0x000000000000EE19
D 0x000000000000F01B
E 0x000000000000F621
F 0x000000000000F823
POWER 0x000000000000D702
TV 0x000000000000D803
DVD 0x000000000000D904
WEB 0x000000000000DA05
BOOK 0x000000000000DB06
HAND 0x000000000000DC07
MOUSE_LEFT_BTN 0x0000000000004D78
MOUSE_RIGHT_BTN 0x000000000000517C
MOUSE_LEFT 0x0000000000004570
MOUSE_RIGHT 0x0000000000004671
MOUSE_UP 0x0000000000004772
MOUSE_DOWN 0x0000000000004873
VOL_UP 0x000000000000DD08
VOL_DOWN 0x000000000000DE09
MUTE 0x000000000000DF0A
CH_UP 0x000000000000E00B
CH_DOWN 0x000000000000E10C
1 0x000000000000E20D
2 0x000000000000E30E
3 0x000000000000E40F
4 0x000000000000E510
5 0x000000000000E611
6 0x000000000000E712
7 0x000000000000E813
8 0x000000000000E914
9 0x000000000000EA15
0 0x000000000000EC17
LIST 0x000000000000EB16
CHECK 0x000000000000ED18
UP 0x000000000000EF1A
DOWN 0x000000000000F722
LEFT 0x000000000000F21D
RIGHT 0x000000000000F41F
OK 0x000000000000F31E
TIMER 0x000000000000F11C
MAXIMIZE 0x000000000000F520
REW 0x000000000000F924
FFWD 0x000000000000FB26
PLAY 0x000000000000FA25
STOP 0x000000000000FD28
RECORD 0x000000000000FC27
PAUSE 0x000000000000FE29
end codes
end remote

mettre le service en start


cd /etc/init.d/
lircd start
verifier que c'est en marche



ps x | grep lirc
doit donner quel chose comme ça
4337 ? Ss 0:00 /usr/local/sbin/lircd

tester que la télécomande fonctionne
lancer dans un console irw et apuyer sur des touches de la télécomande
voila ce que sa donne quand sa marche



linux:/ # irw
00000014f9240000 00 REW atiusb_ch1
00000014fa250000 00 PLAY atiusb_ch1
00000014fa250000 01 PLAY atiusb_ch1
00000014fe290000 00 PAUSE atiusb_ch1
00000014fd280000 00 STOP atiusb_ch1
00000014fe290000 00 PAUSE atiusb_ch1
00000014f7220000 00 DOWN atiusb_ch1
00000014f7220000 01 DOWN atiusb_ch1

créer un fichier
/etc/lircrc


#amarok
begin
prog = irexec
button = PLAY
config = dcop amarok player play
end

begin
prog = irexec
button = RIGHT
config = dcop amarok player seekRelative 15
end

begin
prog = irexec
button = LEFT
config = dcop amarok player seekRelative -5
end

begin
prog = irexec
button = PAUSE
config = dcop amarok player pause
end

begin
prog = irexec
button = STOP
config = dcop amarok player stop
end

begin
prog = irexec
button = FFWD
config = dcop amarok player next
end

begin
prog = irexec
button = REW
config = dcop amarok player prev
end

begin
prog = irexec
button = A
config = amarok
end

begin
prog = irexec
button = POWER
config = dcop amarok MainApplication-Interface quit
end

begin
prog = irexec
button = VOL_UP
config = dcop amarok player volumeUp
end

begin
prog = irexec
button = MUTE
config = dcop amarok player mute
end

begin
prog = irexec
button = VOL_DOWN
config = dcop amarok player volumeDown
end

begin
prog = irexec
button = LIST
config = dcop amarok playlist togglePlaylist
end

begin
prog = irexec
button = CHECK
config = toggleRandomAmarok
end

begin
prog = irexec
button = MAXIMIZE
config = dcop amarok player showOSD
end

#kaffeine
begin
prog = irexec
button = B
config = kaffeine
end

begin
prog = irexec
button = DVD
config = dcop kaffeine KaffeineIface playDVD
end

begin
prog = irexec
button = PLAY
config = dcop kaffeine KaffeineIface play
end

begin
prog = irexec
button = PAUSE
config = dcop kaffeine KaffeineIface pause
end

begin
prog = irexec
button = STOP
config = dcop kaffeine KaffeineIface stop
end

begin
prog = irexec
button = FFWD
config = dcop kaffeine KaffeineIface posPlus
end

begin
prog = irexec
button = REW
config = dcop kaffeine KaffeineIface posMinus
end

begin
prog = irexec
button = RIGHT
config = dcop kaffeine KaffeineIface next
end

begin
prog = irexec
button = LEFT
config = dcop kaffeine KaffeineIface previous
end

begin
prog = irexec
button = POWER
config = dcop kaffeine KaffeineIface quit
end

begin
prog = irexec
button = VOL_UP
config = dcop kaffeine KaffeineIface volUp
end

begin
prog = irexec
button = MUTE
config = dcop kaffeine KaffeineIface mute
end

begin
prog = irexec
button = VOL_DOWN
config = dcop kaffeine KaffeineIface volDown
end

begin
prog = irexec
button = MAXIMIZE
config = dcop kaffeine KaffeineIface fullscreen
end

begin
prog = irexec
button = UP
config = dcop kaffeine KaffeinePartIface zoomIn
end

begin
prog = irexec
button = DOWN
config = dcop kaffeine KaffeinePartIface zoomOut
end

## MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = BOOK
repeat = 0
config = osd
end

begin
prog = mplayer
button = CHECK
repeat = 0
config = vo_ontop
end

# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 0
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 0
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 0
config = quit
end

# Mute
begin
prog = mplayer
button = MUTE
repeat = 3
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = REW
repeat = 0
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = FFWD
repeat = 0
config = seek +30
end

# Quit
begin
prog = mplayer
button = POWER
repeat = 0
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = RIGHT
repeat = 0
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = LEFT
repeat = 0
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = MAXIMIZE
repeat = 0
config = vo_fullscreen
end

begin
button = VOL_UP
prog = mplayer
config = volume 1
repeat = 1
end

begin
button = VOL_DOWN
prog = mplayer
config = volume -1
repeat = 1
end

créer un fichier (si vous utiliser kde )
/home/mickael/.kde/Autostart/ir
chmod +x ir


#!/bin/bash
killall irexec
irexec -d /etc/lircrc


relancer kde ou dans un console : ./ir

normalement tous doit marcher

Merci de nous tenir au courant http://www.alionet.org/style_emoticons/<#EMO_DIR#>/smile.gif