megint távirányító

Fórumok

Tom sok forum foglalkozott már vele, majdnem az összesen túl is vagyok,

Kérdésem:

dmesg | grep saa7133
[ 41.563631] saa7133[0]: found at 0000:02:0b.0, rev: 208, irq: 19, latency: 64, mmio: 0xfbffb800
[ 41.563641] saa7133[0]: subsystem: 11bd:002e, board: Pinnacle PCTV 40i/50i/110i (saa7133) [card=77,autodetected]
[ 41.563664] saa7133[0]: board init: gpio is 200c000
[ 41.728351] ir-kbd-i2c: Pinnacle PCTV detected at i2c-0/0-0047/ir0 [saa7133[0]]
[ 41.761337] saa7133[0]: i2c eeprom 00: bd 11 2e 00 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 41.761354] saa7133[0]: i2c eeprom 10: ff e0 60 02 ff 20 ff ff ff ff ff ff ff ff ff ff
[ 41.761367] saa7133[0]: i2c eeprom 20: 01 2c 01 23 23 01 04 30 98 ff 00 e2 ff 22 00 c2
[ 41.761381] saa7133[0]: i2c eeprom 30: 96 ff 03 30 15 01 ff 15 0c 22 17 aa 03 ac 10 a9
[ 41.761395] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 41.761409] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 41.761423] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 41.761438] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 41.893062] tuner 0-004b: chip found @ 0x96 (saa7133[0])
[ 42.203414] saa7133[0]: registered device video1 [v4l2]
[ 42.203447] saa7133[0]: registered device vbi0
[ 42.203479] saa7133[0]: registered device radio0
[ 42.376102] saa7133[0]/alsa: saa7133[0] at 0xfbffb800 irq 19 registered as card -2

eszerint ir-kdb-i2c a taviranyito.

cat /proc/bus/input/devices
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="Pinnacle PCTV"
P: Phys=i2c-0/0-0047/ir0
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=100003
B: KEY=108fc010 2100802 0 0 0 0 48000 2180 c0000801 9e1680 0 0 4ffc

eszerint be is füzte event6-nak

sudo irrecord -H dev/input -d /dev/input/event6 /tmp/my-remote

irrecord: gap not found, can't continue
irrecord: closing '/dev/input/event6'

Mi lehet a hiba? hogy tovább?

pch

Hozzászólások

up.
v4lwiki ezt irja:

Using with lircd

lircd versions newer than 0.7.0 support reading events from the linux input layer (via event device). This method replaces lirc_gpio and lirc_i2c, so make sure you don't have any of those modules loaded. The input layer tools tarball comes with a lircd config file.

nekem 0.8.3 van hogy cseréljem li a lirc_gpio -t lirc_i2c-re?

eredeti lirc ezeket adja vissza:

Supported drivers:
accent
alsa_usb
asusdh
atilibusb
audio_alsa
bte
bw6130
creative
creative_infracd
default
devinput
dsp
dvico
ea65
i2cuser
irman
livedrive_midi
livedrive_seq
logitech
macmini
mp3anywhere
mouseremote
mouseremote_ps2
null
pcmak
pinsys
pixelview
sb0540
silitek
tira
udp
uirt2
uirt2_raw
usb_uirt_raw
usbx

nah ujraraktam a lirc-et

tök üres conf-al irw müködik csak naaaagyon lassan.
kb minden 50 lenyomást érzékel...

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="false"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

/dev/lirc van

pch@pch-desktop:~$ cat /dev/li*
cat: /dev/lircd: Nincs ilyen eszköz vagy cím

modprobe lirc_i2c utáni dmesg:

[ 1802.866328] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 1802.974167] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 2188.284729] Pinnacle PCTV: unknown key: key=0x50 raw=0x50 down=1
[ 2188.392569] Pinnacle PCTV: unknown key: key=0x50 raw=0x50 down=0
[ 2562.803116] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 2562.910996] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 2690.224126] Pinnacle PCTV: unknown key: key=0x1a raw=0x1a down=1
[ 2690.331965] Pinnacle PCTV: unknown key: key=0x1a raw=0x1a down=0
[ 3185.876764] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 3185.984594] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 3540.144874] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 3540.252717] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 3674.547630] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 3674.655470] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 3899.737180] usb 5-7: reset high speed USB device using ehci_hcd and address 7
[ 4054.098649] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 4054.204922] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 4062.495329] usb 5-7: reset high speed USB device using ehci_hcd and address 7
[ 4072.851118] Pinnacle PCTV: unknown key: key=0x50 raw=0x50 down=1
[ 4072.958967] Pinnacle PCTV: unknown key: key=0x50 raw=0x50 down=0
[ 4168.366948] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=1
[ 4168.474789] Pinnacle PCTV: unknown key: key=0x15 raw=0x15 down=0
[ 4414.656350] kjournald starting. Commit interval 5 seconds
[ 4414.661951] EXT3 FS on sdb1, internal journal
[ 4414.661965] EXT3-fs: mounted filesystem with ordered data mode.
[ 4820.992507] lirc_dev: IR Remote Control driver registered, at major 61
[ 4821.073298] bttv: driver version 0.9.17 loaded
[ 4821.073309] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 4821.135199] ivtv: Start initialization, version 1.1.0
[ 4821.135270] ivtv: End initialization
[ 4821.165825] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded

szerk:

és elindul a lirc is
pch@pch-desktop:~$ sudo /etc/init.d/lirc restart
* Stopping remote control daemon(s): LIRC [fail]
* Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]

Ma megprobalom meg becserelni a tunert pro-ra, mert ez csak Pinnacle PCTV
Hátha azzal nincs szopás. Mindenesetre felirom a card számát és elküldöm Lircéknek....

pch

Tegnap kicseréltem a tvcardot Pinnacle PCTV analog(pro) ra.
A távirányító más lett, viszont ugyanugy nemtudom életre kelteni.
a dmesg | grep saa7133 majdnem ugyanezt adta vissza?! mint fent van.
egyedül ez a sor változott:
[ 41.563631] saa7133[0]: found at 0000:02:0b.0, rev: 208
Lehet hogy átverés áédozata vagyok?

pch