Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
è da circa due settimane che mi sono cimentato nella costruzione di un mediacenter linux con ubuntu e mythtv adesso sono arrivato all'ultimo passo: far funzionare il telecomando della mia Hauppauge WinTV Nova-T pci attraverso lirc per comandare mythtv.
Vi giuro che ho letto decine di guide ma arrivo sempre ad un punto dove mi blocco e non posso più andare avanti.
Innanzi tutto partiamo dall' installazione di Lirc, qual'è la procedura corretta? da terminale scaricando il pacchetto dal sito ufficiale o tramite synaptic?
Qualcuno che ha la mia stessa scheda è riuscito nell'intento?
Grazie 1k
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Non dipende dalla scheda, ma dal ricevitore, poi una volta configurato quello puoi usare qualsiasi telecomando.simonz ha scritto: Ciao a tutti,
è da circa due settimane che mi sono cimentato nella costruzione di un mediacenter linux con ubuntu e mythtv adesso sono arrivato all'ultimo passo: far funzionare il telecomando della mia Hauppauge WinTV Nova-T pci attraverso lirc per comandare mythtv.
Vi giuro che ho letto decine di guide ma arrivo sempre ad un punto dove mi blocco e non posso più andare avanti.
Innanzi tutto partiamo dall' installazione di Lirc, qual'è la procedura corretta? da terminale scaricando il pacchetto dal sito ufficiale o tramite synaptic?
Qualcuno che ha la mia stessa scheda è riuscito nell'intento?
Grazie 1k
Lirc va bene quello dei repository ufficiali.
Prova ad installarlo, ti apparirà una maschera di configurazione, se il tuo ricevitore è nell'elenco funzionerà subito.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Tornando a lirc io lo installo con:
Codice: Seleziona tutto
sudo apt get install lircAdesso a quanto ho capito devo configurare i file presenti in /etc/lirc
apro il file hardware.conf
Codice: Seleziona tutto
sudo gedit /etc/lirc/hardware.confCodice: Seleziona tutto
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#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
# Run "lircd --driver=help" for a list of supported drivers.
#DRIVER=""
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/hauppauge"
MODULES="lirc_dev lirc_i2c"
# Default configuration files for your hardware if any
LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
LIRCMD_CONF=""Codice: Seleziona tutto
DEVICE="/dev/input/hauppauge" Codice: Seleziona tutto
cat /proc/bus/input/devicesCodice: Seleziona tutto
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0001 Vendor=0070 Product=9002 Version=0001
N: Name="cx88 IR (Hauppauge Nova-T DVB-T"
P: Phys=pci-0000:06:0c.0/ir0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=100003
B: KEY=100fc312 214a802 0 0 0 0 18000 41a8 4801 9e1680 0 0 10000ffc
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=40001
B: SND=6
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=mouse1 event4
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=button_power/button/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event6
B: EV=3
B: KEY=100000 0 0 0
Codice: Seleziona tutto
sudo gedit /etc/lirc/hardware.confCodice: Seleziona tutto
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Thu May 4 13:05:46 2006
#
# contributed by
#
# brand: myconfig.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name Hauppauge_wintw_nova-t_pci
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 135696
toggle_bit 0
begin codes
GO 0x0161
POWER 0x0074
TV 0x0179
VIDEOS 0x0189
MUSIC 0x0188
PICTURES 0x016F
GUIDE 0x016D
RADIO 0x0181
UP 0x0067
DOWN 0x006C
LEFT 0x0069
RIGHT 0x006A
OK 0x001C
BACK_EXIT 0x00AE
MENU 0x008B
PREV_CH 0x019C
MUTE 0x0071
VOL+ 0x0073
VOL- 0x0072
CH+ 0x0192
CH- 0x0193
REC 0x00A7
STOP 0x0080
REWIND 0x00A8
FORWARD 0x00D0
PLAY 0x00CF
PREVIOUS 0x00A5
NEXT 0x00A3
PAUSE 0x0077
1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
ASTERISK 0x0184
0 0x000B
NUMBER 0x0172
RED 0x018E
GREEN 0x018F
YELLOW 0x0190
BLUE 0x0191
end codes
end remoteCodice: Seleziona tutto
begin
prog = mythtv
button = GO
config = I
end
begin
prog = mythtv
button = POWER
config = Esc
end
begin
prog = mythtv
button = UP
config = Up
repeat = 1
end
begin
prog = mythtv
button = DOWN
config = Down
repeat = 1
end
begin
prog = mythtv
button = LEFT
config = Left
repeat = 1
end
begin
prog = mythtv
button = RIGHT
config = Right
repeat = 1
end
begin
prog = mythtv
button = OK
config = Return
end
begin
prog = mythtv
button = BACK_EXIT
config = Esc
end
begin
prog = mythtv
button = MENU
config = M
end
begin
prog = mythtv
button = MUTE
config = F9
end
begin
prog = mythtv
button = CH+
config = Up
repeat = 1
end
begin
prog = mythtv
button = CH-
config = Down
repeat = 1
end
begin
prog = mythtv
button = REC
config = R
end
begin
prog = mythtv
button = STOP
config = T
end
begin
prog = mythtv
button = REWIND
config = PgUp
repeat = 3
end
begin
prog = mythtv
button = FORWARD
config = PgDown
repeat = 3
end
begin
prog = mythtv
button = PLAY
config = P
end
begin
prog = mythtv
button = PREVIOUS
config = Q
end
begin
prog = mythtv
button = NEXT
config = Z
end
begin
prog = mythtv
button = PAUSE
config = P
end
begin
prog = mythtv
button = 1
config = 1
end
begin
prog = mythtv
button = 2
config = 2
end
begin
prog = mythtv
button = 3
config = 3
end
begin
prog = mythtv
button = 4
config = 4
end
begin
prog = mythtv
button = 5
config = 5
end
begin
prog = mythtv
button = 6
config = 6
end
begin
prog = mythtv
button = 7
config = 7
end
begin
prog = mythtv
button = 8
config = 8
end
begin
prog = mythtv
button = 9
config = 9
end
begin
prog = mythtv
button = ASTERISK
config = F10
repeat = 3
end
begin
prog = mythtv
button = 0
config = 0
end
begin
prog = mythtv
button = NUMBER
config = F11
repeat = 3
end
begin
prog = mythtv
button = RED
config = D
end
begin
prog = mythtv
button = GREEN
config = I
end
begin
prog = mplayer
button = GO
config = osd
end
begin
prog = mplayer
button = POWER
config = quit
end
begin
prog = mplayer
button = MUTE
config = mute
end
begin
prog = mplayer
button = STOP
config = quit
end
begin
prog = mplayer
button = REWIND
config = seek -60
repeat = 3
end
begin
prog = mplayer
button = FORWARD
config = seek +60
repeat = 3
end
begin
prog = mplayer
button = PLAY
config = play
end
begin
prog = mplayer
button = PREVIOUS
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = NEXT
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = PAUSE
config = pause
end
begin
prog = mplayer
button = ASTERISK
config = volume -3
repeat = 1
end
begin
prog = mplayer
button = NUMBER
config = volume +1
repeat = 1
endCodice: Seleziona tutto
irwun'altra incognita è il file: /etc/init.d/lirc
in questa quida: http://www.htpcpoint.it/index.asp?action=articoli&id=22 scopro che deve essere modificato ma il mio file e molto diverso da quello della guida.
A questo punto spero che qualcuno possa darmi quache dritta.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Hai 2 possibilità lo usi come periferica di imput, tipo tastiera, oppure cerchi un ricevitore seriale da pochi euro ed usi lirc. Puoi anche autocostruirtelo.
O se non vuoi sbattimenti ti compri un ricevitore presente nei device supportati da lirc, io ho un imon che uso con vdr, mai avuto un problema. Stabile come un decoder.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Alcuni utenti tra qui il blogger di malex.org sono riusciti a farlo funzionare.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Puoi configurare mythtv per funzionare con la tastiera.
Ho avuto un ricevitore simile al tuo:
http://vdr-italia.phpbb24.com/forum/viewtopic.php?t=208
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Prova a darmi lsusb se è usb o la descrizione del ricevitore se seriale.simonz ha scritto: Mah! se apro un foglio e premo i bottini dei numeri mi escono numeri, con i bottoni direzionali riesco a spostarmi all'interno del foglio mentre con tutti gli altri tasti non esce niente, cmq di sicuro non escono caratteri ascii.
O più probabile è come dico io ma non è configurato correttamente in xorg. Perchè le periferiche di imput dipendono da xorg.
Se non vuoi sbatterti rimedia un ricevitore nell'elenco dei driver di lirc.
Per mce2 o imon ad esempio trovi i file di configurazione di mythtv già fatti.
Il forum che ti ho lincato sopra è il migliore per i mediacenter per linux.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
http://www.malex.org/archives/2006/09/l ... lecomando/
Non conoscevo questa caratteristica di lirc, in effetti funziona, ma viene visto come una tastiera (dev/input). quindi l'uso è molto limitato, come detto dalla nota in basso.
Se vuoi un consiglio, compra un ricevitore seriale, 3 euro da cesarex:
http://www.cesarex.com/product_info.php ... cts_id=347
fattelo da solo.
http://vdr.spaghettilinux.org/index.php ... c-Vdr-Xine
Oppure un telecomando usb come ti ho detto sopra l'imon costa 40 euro, l'mce una quindicina.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Ci guadagni in salute, e puoi usare qualsiasi telecomando.simonz ha scritto: OK grazie proverò con l'autocostruzione.
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
installo lirc con
Codice: Seleziona tutto
sudo apt-get install lircAdesso modifico i file lircd.conf e hardware.conf presenti in /etc/lirc/
Codice: Seleziona tutto
sudo gedit /etc/lirc/hardware.confCodice: Seleziona tutto
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#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
# Run "lircd --driver=help" for a list of supported drivers.
#DRIVER=""
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/hauppauge"
MODULES="lirc_dev lirc_i2c"
# Default configuration files for your hardware if any
LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
LIRCMD_CONF=""Codice: Seleziona tutto
sudo gedit /etc/lirc/lircd.confCodice: Seleziona tutto
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Thu May 4 13:05:46 2006
#
# contributed by
#
# brand: myconfig.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name Hauppauge_wintw_nova-t_pci
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 135696
toggle_bit 0
begin codes
GO 0x0161
POWER 0x0074
TV 0x0179
VIDEOS 0x0189
MUSIC 0x0188
PICTURES 0x016F
GUIDE 0x016D
RADIO 0x0181
UP 0x0067
DOWN 0x006C
LEFT 0x0069
RIGHT 0x006A
OK 0x001C
BACK_EXIT 0x00AE
MENU 0x008B
PREV_CH 0x019C
MUTE 0x0071
VOL+ 0x0073
VOL- 0x0072
CH+ 0x0192
CH- 0x0193
REC 0x00A7
STOP 0x0080
REWIND 0x00A8
FORWARD 0x00D0
PLAY 0x00CF
PREVIOUS 0x00A5
NEXT 0x00A3
PAUSE 0x0077
1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
ASTERISK 0x0184
0 0x000B
NUMBER 0x0172
RED 0x018E
GREEN 0x018F
YELLOW 0x0190
BLUE 0x0191
end codes
end remoteCodice: Seleziona tutto
sudo gedit /etc/udev/rules.d/60-hauppauge-ir.rulesCodice: Seleziona tutto
# Hauppauge WinTV Nova-T Remote
KERNEL=="event[0-9]*", ATTRS{name}=="cx88 IR *", SYMLINK+="input/hauppauge"Adesso da terminale digito:
Codice: Seleziona tutto
irwOra quello che non riesco a fare è integrare lirc con mythtv, dovrebbe bastare creare il file .lircrc nella directory /home/mythtv e inserire il codice seguente:
Codice: Seleziona tutto
begin
prog = mythtv
button = GO
config = I
end
begin
prog = mythtv
button = POWER
config = Esc
end
begin
prog = mythtv
button = UP
config = Up
repeat = 1
end
begin
prog = mythtv
button = DOWN
config = Down
repeat = 1
end
begin
prog = mythtv
button = LEFT
config = Left
repeat = 1
end
begin
prog = mythtv
button = RIGHT
config = Right
repeat = 1
end
begin
prog = mythtv
button = OK
config = Return
end
begin
prog = mythtv
button = BACK_EXIT
config = Esc
end
begin
prog = mythtv
button = MENU
config = M
end
begin
prog = mythtv
button = MUTE
config = F9
end
begin
prog = mythtv
button = CH+
config = Up
repeat = 1
end
begin
prog = mythtv
button = CH-
config = Down
repeat = 1
end
begin
prog = mythtv
button = REC
config = R
end
begin
prog = mythtv
button = STOP
config = T
end
begin
prog = mythtv
button = REWIND
config = PgUp
repeat = 3
end
begin
prog = mythtv
button = FORWARD
config = PgDown
repeat = 3
end
begin
prog = mythtv
button = PLAY
config = P
end
begin
prog = mythtv
button = PREVIOUS
config = Q
end
begin
prog = mythtv
button = NEXT
config = Z
end
begin
prog = mythtv
button = PAUSE
config = P
end
begin
prog = mythtv
button = 1
config = 1
end
begin
prog = mythtv
button = 2
config = 2
end
begin
prog = mythtv
button = 3
config = 3
end
begin
prog = mythtv
button = 4
config = 4
end
begin
prog = mythtv
button = 5
config = 5
end
begin
prog = mythtv
button = 6
config = 6
end
begin
prog = mythtv
button = 7
config = 7
end
begin
prog = mythtv
button = 8
config = 8
end
begin
prog = mythtv
button = 9
config = 9
end
begin
prog = mythtv
button = ASTERISK
config = F10
repeat = 3
end
begin
prog = mythtv
button = 0
config = 0
end
begin
prog = mythtv
button = NUMBER
config = F11
repeat = 3
end
begin
prog = mythtv
button = RED
config = D
end
begin
prog = mythtv
button = GREEN
config = I
end
begin
prog = mplayer
button = GO
config = osd
end
begin
prog = mplayer
button = POWER
config = quit
end
begin
prog = mplayer
button = MUTE
config = mute
end
begin
prog = mplayer
button = STOP
config = quit
end
begin
prog = mplayer
button = REWIND
config = seek -60
repeat = 3
end
begin
prog = mplayer
button = FORWARD
config = seek +60
repeat = 3
end
begin
prog = mplayer
button = PLAY
config = play
end
begin
prog = mplayer
button = PREVIOUS
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = NEXT
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = PAUSE
config = pause
end
begin
prog = mplayer
button = ASTERISK
config = volume -3
repeat = 1
end
begin
prog = mplayer
button = NUMBER
config = volume +1
repeat = 1
endCodice: Seleziona tutto
mythfrontend restartIdee?
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Scusa ma se fosse come dici tu non dovrebbe funzionare neanche mplayer giusto? invece con mplayer riesco a configurare qualsiasi tasto del telecomando.mattia77 ha scritto: ti ho già detto il perchè
-
albepancio
- Scoppiettante Seguace

- Messaggi: 436
- Iscrizione: venerdì 16 marzo 2007, 21:25
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
http://vdr.spaghettilinux.org/index.php?title=Seriale_-_Come_costruire_l%27interfaccia_ad_infrarossi_rs-232_adattata_alla_Sky_Star_2_dvb-s_con_Lirc-Vdr-Xine
Io invece ho un problema con il mio telecomando della hauppauge wintv nova-td, il telecomando dovrebbe funziare come tastiera, invece tasto "ok" e "play" non funzionano (mentre volume e frecce si):
ho guardato su:
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-TD-Stick
però non funziona, il mio telecomando è; A415 OH/S 1-1.
Ho provato a seguire le istruzioni ma non cambia nulla, ho usato:
Codice: Seleziona tutto
davide@davide:~$ ls -la /dev/input/by-path/
total 0
drwxr-xr-x 2 root root 140 2008-07-08 21:38 .
drwxr-xr-x 4 root root 300 2008-07-08 21:38 ..
lrwxrwxrwx 1 root root 9 2008-07-08 21:05 pci-0000:00:10.3-usb-0:2:1.0-event-mouse -> ../event6
lrwxrwxrwx 1 root root 9 2008-07-08 21:05 pci-0000:00:10.3-usb-0:2:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2008-07-08 21:38 pci-0000:00:10.4-usb-0:2.2-event-ir -> ../event7
lrwxrwxrwx 1 root root 9 2008-07-08 21:05 platform-i8042-serio-0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 2008-07-08 21:05 platform-pcspkr-event-spkr -> ../event5
Dove sbaglio?? ???
Sia i driver che il firmware dovrebbero essere nel kernel
-
albepancio
- Scoppiettante Seguace

- Messaggi: 436
- Iscrizione: venerdì 16 marzo 2007, 21:25
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
senza sbattimenti
ho visto questo indirizzo e dice che funzionano le scheda hauppage
http://www.lirc.org/tv_cards.html
sono indeciso fra queste tre.
WinTV HVR 1100
PCI WinTV-NOVA-T
Cinema-P7131 Hybrid
quale mi consigliate
- Janvitus
- Amministratore

- Messaggi: 18787
- Iscrizione: lunedì 25 aprile 2005, 15:52
- Desktop: GNOME Shell / Xfce
- Sesso: Maschile
- Località: Potenza
- Contatti:
Re: Lirc con WinTV Nova-T pci e ubuntu 7.10 aiutatemi a venirne a capo
http://www.linuxtv.org/wiki/index.php/Hauppaugealeh ha scritto: ciao a tutti come faccio a sapere una lista delle schede tv e ricevitori nativamente supportati,
senza sbattimenti
ho visto questo indirizzo e dice che funzionano le scheda hauppage
http://www.lirc.org/tv_cards.html
sono indeciso fra queste tre.
WinTV HVR 1100
PCI WinTV-NOVA-T
Cinema-P7131 Hybrid
quale mi consigliate
Controlla bene però, non so quanto sia aggiornata la pagina.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti