Telecomando per Conexant CX23880

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Telecomando per Conexant CX23880

Messaggio da clyde »

Salve a tutti,


Ho seguito alcune discussioni per configurare il telecomando della scheda in oggetto e, dando questo comando:

Codice: Seleziona tutto

sudo evtest /dev/input/event5
Ottengo la seguente risposta, dove vado a provare tutti i tasti elencati in questo modo:

Codice: Seleziona tutto

Input driver version is 1.0.0
Input device ID: bus 0x1 vendor 0x1822 product 0x19 version 0x1
Input device name: "cx88 IR (digitalnow DNTV Live! "
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 2 (1)
    Event code 3 (2)
    Event code 4 (3)
    Event code 5 (4)
    Event code 6 (5)
    Event code 7 (6)
    Event code 8 (7)
    Event code 9 (8)
    Event code 10 (9)
    Event code 11 (0)
    Event code 15 (Tab)
    Event code 102 (Home)
    Event code 103 (Up)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 108 (Down)
    Event code 113 (Mute)
    Event code 114 (VolumeDown)
    Event code 115 (VolumeUp)
    Event code 116 (Power)
    Event code 119 (Pause)
    Event code 128 (Stop)
    Event code 142 (Sleep)
    Event code 158 (Back)
    Event code 163 (NextSong)
    Event code 165 (PreviousSong)
    Event code 167 (Record)
    Event code 168 (Rewind)
    Event code 207 (Play)
    Event code 208 (Fast Forward)
    Event code 212 (Camera)
    Event code 223 (Cancel)
    Event code 352 (Ok)
    Event code 355 (Clear)
    Event code 368 (Language)
    Event code 370 (Subtitle)
    Event code 371 (Angle)
    Event code 372 (Zoom)
    Event code 375 (Screen)
    Event code 377 (TV)
    Event code 378 (TV2)
    Event code 385 (Radio)
    Event code 386 (Tuner)
    Event code 389 (DVD)
    Event code 392 (Audio)
    Event code 393 (Video)
    Event code 398 (Red)
    Event code 399 (Green)
    Event code 400 (Yellow)
    Event code 401 (Blue)
    Event code 402 (ChannelUp)
    Event code 403 (ChannelDown)
    Event code 412 (Previous)
  Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1282302251.168904, type 1 (Key), code 2 (1), value 1
Event: time 1282302251.168907, -------------- Report Sync ------------
Event: time 1282302251.419262, type 1 (Key), code 2 (1), value 2
Event: time 1282302251.419265, -------------- Report Sync ------------
Event: time 1282302251.454761, type 1 (Key), code 2 (1), value 2
Event: time 1282302251.454764, -------------- Report Sync ------------
Event: time 1282302251.455775, type 1 (Key), code 2 (1), value 0
Event: time 1282302251.455778, -------------- Report Sync ------------
Event: time 1282302253.127600, type 1 (Key), code 3 (2), value 1
Event: time 1282302253.127604, -------------- Report Sync ------------
Event: time 1282302253.305658, type 1 (Key), code 3 (2), value 0
Event: time 1282302253.305661, -------------- Report Sync ------------
Event: time 1282302256.866927, type 1 (Key), code 4 (3), value 1
Event: time 1282302256.866931, -------------- Report Sync ------------
Event: time 1282302257.054874, type 1 (Key), code 4 (3), value 0
Event: time 1282302257.054876, -------------- Report Sync ------------
Event: time 1282302263.000213, type 1 (Key), code 5 (4), value 1
Event: time 1282302263.000216, -------------- Report Sync ------------
Event: time 1282302263.178272, type 1 (Key), code 5 (4), value 0
Event: time 1282302263.178275, -------------- Report Sync ------------
Event: time 1282302263.880636, type 1 (Key), code 6 (5), value 1
Event: time 1282302263.880640, -------------- Report Sync ------------
Event: time 1282302264.058695, type 1 (Key), code 6 (5), value 0
Event: time 1282302264.058698, -------------- Report Sync ------------
Event: time 1282302264.652245, type 1 (Key), code 7 (6), value 1
Event: time 1282302264.652248, -------------- Report Sync ------------
Event: time 1282302264.830302, type 1 (Key), code 7 (6), value 0
Event: time 1282302264.830305, -------------- Report Sync ------------
Event: time 1282302266.670292, type 1 (Key), code 8 (7), value 1
Event: time 1282302266.670296, -------------- Report Sync ------------
Event: time 1282302266.848350, type 1 (Key), code 8 (7), value 0
Event: time 1282302266.848353, -------------- Report Sync ------------
Event: time 1282302267.362760, type 1 (Key), code 9 (8), value 1
Event: time 1282302267.362763, -------------- Report Sync ------------
Event: time 1282302267.550712, type 1 (Key), code 9 (8), value 0
Event: time 1282302267.550716, -------------- Report Sync ------------
Event: time 1282302268.253076, type 1 (Key), code 10 (9), value 1
Event: time 1282302268.253080, -------------- Report Sync ------------
Event: time 1282302268.431134, type 1 (Key), code 10 (9), value 0
Event: time 1282302268.431137, -------------- Report Sync ------------
Event: time 1282302269.192854, type 1 (Key), code 11 (0), value 1
Event: time 1282302269.192857, -------------- Report Sync ------------
Event: time 1282302269.370913, type 1 (Key), code 11 (0), value 0
Event: time 1282302269.370916, -------------- Report Sync ------------
Event: time 1282302270.745964, type 1 (Key), code 223 (Cancel), value 1
Event: time 1282302270.745968, -------------- Report Sync ------------
Event: time 1282302270.924022, type 1 (Key), code 223 (Cancel), value 0
Event: time 1282302270.924026, -------------- Report Sync ------------
Event: time 1282302271.517568, type 1 (Key), code 355 (Clear), value 1
Event: time 1282302271.517571, -------------- Report Sync ------------
Event: time 1282302271.695629, type 1 (Key), code 355 (Clear), value 0
Event: time 1282302271.695632, -------------- Report Sync ------------
Event: time 1282302275.880117, type 1 (Key), code 158 (Back), value 1
Event: time 1282302275.880120, -------------- Report Sync ------------
Event: time 1282302276.068069, type 1 (Key), code 158 (Back), value 0
Event: time 1282302276.068072, -------------- Report Sync ------------
Event: time 1282302277.185914, type 1 (Key), code 15 (Tab), value 1
Event: time 1282302277.185918, -------------- Report Sync ------------
Event: time 1282302277.363974, type 1 (Key), code 15 (Tab), value 0
Event: time 1282302277.363977, -------------- Report Sync ------------
Event: time 1282302279.500737, type 1 (Key), code 103 (Up), value 1
Event: time 1282302279.500741, -------------- Report Sync ------------
Event: time 1282302279.629331, type 1 (Key), code 103 (Up), value 0
Event: time 1282302279.629335, -------------- Report Sync ------------
Event: time 1282302280.212987, type 1 (Key), code 105 (Left), value 1
Event: time 1282302280.212991, -------------- Report Sync ------------
Event: time 1282302280.391046, type 1 (Key), code 105 (Left), value 0
Event: time 1282302280.391050, -------------- Report Sync ------------
Event: time 1282302280.875778, type 1 (Key), code 106 (Right), value 1
Event: time 1282302280.875782, -------------- Report Sync ------------
Event: time 1282302281.053836, type 1 (Key), code 106 (Right), value 0
Event: time 1282302281.053839, -------------- Report Sync ------------
Event: time 1282302281.568245, type 1 (Key), code 108 (Down), value 1
Event: time 1282302281.568248, -------------- Report Sync ------------
Event: time 1282302281.746303, type 1 (Key), code 108 (Down), value 0
Event: time 1282302281.746306, -------------- Report Sync ------------
Event: time 1282302282.211251, type 1 (Key), code 352 (Ok), value 1
Event: time 1282302282.211255, -------------- Report Sync ------------
Event: time 1282302282.389307, type 1 (Key), code 352 (Ok), value 0
Event: time 1282302282.389310, -------------- Report Sync ------------
Event: time 1282302288.997436, type 1 (Key), code 115 (VolumeUp), value 1
Event: time 1282302288.997440, -------------- Report Sync ------------
Event: time 1282302289.175495, type 1 (Key), code 115 (VolumeUp), value 0
Event: time 1282302289.175499, -------------- Report Sync ------------
Event: time 1282302289.937214, type 1 (Key), code 114 (VolumeDown), value 1
Event: time 1282302289.937218, -------------- Report Sync ------------
Event: time 1282302290.115271, type 1 (Key), code 114 (VolumeDown), value 0
Event: time 1282302290.115274, -------------- Report Sync ------------
Event: time 1282302290.995698, type 1 (Key), code 403 (ChannelDown), value 1
Event: time 1282302290.995701, -------------- Report Sync ------------
Event: time 1282302291.173756, type 1 (Key), code 403 (ChannelDown), value 0
Event: time 1282302291.173759, -------------- Report Sync ------------
Event: time 1282302293.172025, type 1 (Key), code 402 (ChannelUp), value 1
Event: time 1282302293.172029, -------------- Report Sync ------------
Event: time 1282302293.359977, type 1 (Key), code 402 (ChannelUp), value 0
Event: time 1282302293.359980, -------------- Report Sync ------------
Event: time 1282302297.425760, type 1 (Key), code 207 (Play), value 1
Event: time 1282302297.425763, -------------- Report Sync ------------
Event: time 1282302297.613712, type 1 (Key), code 207 (Play), value 0
Event: time 1282302297.613716, -------------- Report Sync ------------
Event: time 1282302299.790045, type 1 (Key), code 119 (Pause), value 1
Event: time 1282302299.790048, -------------- Report Sync ------------
Event: time 1282302299.977995, type 1 (Key), code 119 (Pause), value 0
Event: time 1282302299.977998, -------------- Report Sync ------------
Event: time 1282302300.541866, type 1 (Key), code 128 (Stop), value 1
Event: time 1282302300.541870, -------------- Report Sync ------------
Event: time 1282302300.719925, type 1 (Key), code 128 (Stop), value 0
Event: time 1282302300.719929, -------------- Report Sync ------------
Event: time 1282302302.896257, type 1 (Key), code 168 (Rewind), value 1
Event: time 1282302302.896261, -------------- Report Sync ------------
Event: time 1282302303.074315, type 1 (Key), code 168 (Rewind), value 0
Event: time 1282302303.074318, -------------- Report Sync ------------
Event: time 1282302303.925068, type 1 (Key), code 208 (Fast Forward), value 1
Event: time 1282302303.925072, -------------- Report Sync ------------
Event: time 1282302304.103126, type 1 (Key), code 208 (Fast Forward), value 0
Event: time 1282302304.103130, -------------- Report Sync ------------
Event: time 1282302306.457519, type 1 (Key), code 165 (PreviousSong), value 1
Event: time 1282302306.457523, -------------- Report Sync ------------
Event: time 1282302306.635580, type 1 (Key), code 165 (PreviousSong), value 0
Event: time 1282302306.635584, -------------- Report Sync ------------
Event: time 1282302307.713855, type 1 (Key), code 163 (NextSong), value 1
Event: time 1282302307.713859, -------------- Report Sync ------------
Event: time 1282302307.891915, type 1 (Key), code 163 (NextSong), value 0
Event: time 1282302307.891918, -------------- Report Sync ------------
Event: time 1282302310.909100, type 1 (Key), code 212 (Camera), value 1
Event: time 1282302310.909104, -------------- Report Sync ------------
Event: time 1282302311.097049, type 1 (Key), code 212 (Camera), value 0
Event: time 1282302311.097052, -------------- Report Sync ------------
Event: time 1282302313.016180, type 1 (Key), code 368 (Language), value 1
Event: time 1282302313.016184, -------------- Report Sync ------------
Event: time 1282302313.144777, type 1 (Key), code 368 (Language), value 0
Event: time 1282302313.144780, -------------- Report Sync ------------
Event: time 1282302318.269041, type 1 (Key), code 378 (TV2), value 1
Event: time 1282302318.269045, -------------- Report Sync ------------
Event: time 1282302318.447101, type 1 (Key), code 378 (TV2), value 0
Event: time 1282302318.447104, -------------- Report Sync ------------
Event: time 1282302320.623431, type 1 (Key), code 375 (Screen), value 1
Event: time 1282302320.623435, -------------- Report Sync ------------
Event: time 1282302320.811382, type 1 (Key), code 375 (Screen), value 0
Event: time 1282302320.811386, -------------- Report Sync ------------
Event: time 1282302324.293510, type 1 (Key), code 370 (Subtitle), value 1
Event: time 1282302324.293514, -------------- Report Sync ------------
Event: time 1282302324.471572, type 1 (Key), code 370 (Subtitle), value 0
Event: time 1282302324.471576, -------------- Report Sync ------------
Event: time 1282302326.895215, type 1 (Key), code 113 (Mute), value 1
Event: time 1282302326.895218, -------------- Report Sync ------------
Event: time 1282302327.073274, type 1 (Key), code 113 (Mute), value 0
Event: time 1282302327.073278, -------------- Report Sync ------------
Event: time 1282302330.159703, type 1 (Key), code 392 (Audio), value 1
Event: time 1282302330.159706, -------------- Report Sync ------------
Event: time 1282302330.347655, type 1 (Key), code 392 (Audio), value 0
Event: time 1282302330.347659, -------------- Report Sync ------------
Event: time 1282302337.361374, type 1 (Key), code 142 (Sleep), value 1
Event: time 1282302337.361377, -------------- Report Sync ------------
Event: time 1282302337.549324, type 1 (Key), code 142 (Sleep), value 0
Event: time 1282302337.549327, -------------- Report Sync ------------
Event: time 1282302339.656408, type 1 (Key), code 393 (Video), value 1
Event: time 1282302339.656411, -------------- Report Sync ------------
Event: time 1282302339.834467, type 1 (Key), code 393 (Video), value 0
Event: time 1282302339.834469, -------------- Report Sync ------------
Event: time 1282302340.942418, type 1 (Key), code 412 (Previous), value 1
Event: time 1282302340.942422, -------------- Report Sync ------------
Event: time 1282302341.130368, type 1 (Key), code 412 (Previous), value 0
Event: time 1282302341.130372, -------------- Report Sync ------------
Event: time 1282302343.652935, type 1 (Key), code 372 (Zoom), value 1
Event: time 1282302343.652939, -------------- Report Sync ------------
Event: time 1282302343.830993, type 1 (Key), code 372 (Zoom), value 0
Event: time 1282302343.830996, -------------- Report Sync ------------
Event: time 1282302344.721314, type 1 (Key), code 371 (Angle), value 1
Event: time 1282302344.721318, -------------- Report Sync ------------
Event: time 1282302344.909264, type 1 (Key), code 371 (Angle), value 0
Event: time 1282302344.909268, -------------- Report Sync ------------
Event: time 1282302348.173761, type 1 (Key), code 398 (Red), value 1
Event: time 1282302348.173765, -------------- Report Sync ------------
Event: time 1282302348.351817, type 1 (Key), code 398 (Red), value 0
Event: time 1282302348.351820, -------------- Report Sync ------------
Event: time 1282302350.073102, type 1 (Key), code 399 (Green), value 1
Event: time 1282302350.073105, -------------- Report Sync ------------
Event: time 1282302350.251160, type 1 (Key), code 399 (Green), value 0
Event: time 1282302350.251162, -------------- Report Sync ------------
Event: time 1282302352.081257, type 1 (Key), code 400 (Yellow), value 1
Event: time 1282302352.081260, -------------- Report Sync ------------
Event: time 1282302352.259317, type 1 (Key), code 400 (Yellow), value 0
Event: time 1282302352.259320, -------------- Report Sync ------------
Event: time 1282302352.882544, type 1 (Key), code 401 (Blue), value 1
Event: time 1282302352.882548, -------------- Report Sync ------------
Event: time 1282302353.070492, type 1 (Key), code 401 (Blue), value 0
Event: time 1282302353.070495, -------------- Report Sync ------------
Event: time 1282302357.324229, type 1 (Key), code 377 (TV), value 1
Event: time 1282302357.324233, -------------- Report Sync ------------
Event: time 1282302357.502289, type 1 (Key), code 377 (TV), value 0
Event: time 1282302357.502292, -------------- Report Sync ------------
Event: time 1282302358.719057, type 1 (Key), code 386 (Tuner), value 1
Event: time 1282302358.719061, -------------- Report Sync ------------
Event: time 1282302358.897116, type 1 (Key), code 386 (Tuner), value 0
Event: time 1282302358.897120, -------------- Report Sync ------------
Event: time 1282302361.597746, type 1 (Key), code 385 (Radio), value 1
Event: time 1282302361.597749, -------------- Report Sync ------------
Event: time 1282302361.775803, type 1 (Key), code 385 (Radio), value 0
Event: time 1282302361.775805, -------------- Report Sync ------------
Event: time 1282302364.674282, type 1 (Key), code 389 (DVD), value 1
Event: time 1282302364.674286, -------------- Report Sync ------------
Event: time 1282302364.852339, type 1 (Key), code 389 (DVD), value 0
Event: time 1282302364.852341, -------------- Report Sync ------------
Event: time 1282302367.454049, type 1 (Key), code 102 (Home), value 1
Event: time 1282302367.454052, -------------- Report Sync ------------
Event: time 1282302367.641995, type 1 (Key), code 102 (Home), value 0
Event: time 1282302367.641998, -------------- Report Sync ------------
Event: time 1282302369.551236, type 1 (Key), code 116 (Power), value 1
Event: time 1282302369.551239, -------------- Report Sync ------------
Event: time 1282302369.729296, type 1 (Key), code 116 (Power), value 0
Event: time 1282302369.729299, -------------- Report Sync ------------
Ora, i tasti vengono correttamente riconosciuti tutti, ma come faccio ad utilizzare il telecomando con, p.e., XBMC?

E non rispondetemi "punta il telecomando verso il ricevitore e premi i tasti", per favore....... (rotfl) (rotfl) (rotfl)

Grazie

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Rieccomi....

Dunque, continuando a leggere e googolando un pò ho trovato che qualcuno dice che per funzionare ha bisogno di Lirc ( che io non ho installato) mentre da altre parti leggo che, siccome il ricevitore del telecomando è connesso alla scheda tv allora il telecomando viene visto come una tastiera; ora, come dicevo sopra, Lirc non l'ho installato ( a meno che non sia presente di default, io sono su Ubuntu 9.10 ) ed eseguendo quel comando del primo post vedo che i comandi inviati dal telecomando arrivano e sono esatti, mentre se è vera la seconda ipotesi almeno i tasti di direzione (sù,giù,destra,sinistra) e anche enter dovrebbero funzionare, no?

Ed invece nisba...

Qualche aiuto?
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Allora , altre prove...

Ho provato a seguire questa guida

http://senbee.blogspot.com/2008/01/spesso-collego-luscita-della-scheda.html

soltanto nella parte dove spiegava come installare Lirc e sono riuscito a far funzionare il telecomando almeno con Totem però.....

Però mi si aprono un mare di altre domande e cioè:

Nella cartella /home/mio_nome/.lirc , creata automaticamente da mythbuntu-lirc-generator, ci sono i file di configurazione per vari player (totem, elisa, vlc,xine, ecc) ma sono tutti vuoti!! Come fa Lirc a permettermi di usare i tasti del mio telecomando con Totem se nel suo file di configurazione non c'è nulla? Allora forse usa i driver originali della scheda, quelli che verifico con questo comando qua:

Codice: Seleziona tutto

 sudo evtest /dev/input/event5 
Ma allora perchè con quel comando il tasto Enter/ok viene riconosciuto come tale e con Totem ( o con le icone sulla scrivania ) No ? :o

Oltretutto, funziona anche su xbmc, nonostante xbmc non sia inserito nella lista di player nella cartella /.lirc ,cioè posso scorrere le liste dei film e la musica, usare il FR ed il FF ma l'enter devo darglielo da mouse.....

Nessuno sa come aiutarmi?

Grazie

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Salve di nuovo,

credo di aver capito il problema, anche se non so risolverlo.

Guardando quà:
http://www.lirc.org/html/devinput.html

dice che, usando Lirc, non ci dovrebbe essere bisogno di configurare alcunche, dato che automaticamente lo stesso usa i parametri inseriti nel file devinput.sh.

Ora è forse possibile che il telecomando della Conexant trasmetta un codice di Enter/ok diverso da quello che lui si aspetta?

E se fosse così, come faccio a modificare questo file, dato che non lo trovo da nessuna parte?

Oltretutto, dato che l'HW funziona ma è diventata (credo ) una questione SW, dovrei spostare il messaggio nella categoria Software; come posso fare (Moderatori, help)?

Grazie

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Xgaz »

Io ho trovato molto utile questo schemino qui: http://blog.mymediasystem.net/wp-conten ... pping4.png

Keymap.xml: Al posto di questo io ho messo il file remote.xml in .xbmc/userdata/keymaps/ .Quello di default, da modificare in base ai tuoi comandi, lo trovi qui
Lircmap.xml: se non c'è aggiungi in coda i dati del tuo telecomando; lo trovi qui
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

:o :o

Aspetta aspetta aspetta aspetta.

intanto, Xgaz, grazie per la risposta, pensavo di scrivere nel vuoto...

Ora provo a capire tutto quello che mi hai scritto, ma la domanda iniziale resta:perche se da terminale scrivo

Codice: Seleziona tutto

sudo evtest /dev/input/event5
i tasti li vede tutti ( e non come codice, proprio come definizione : ok,next,back,FF) e quando lancio irw non mi vede l'enter?

Mistero?

Grazie per l'aiuto, provo e riscrivo

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Scusa Xgaz, ma ho un problema di fondo: come faccio a generare il file lircd.conf ?

Purtroppo quando schiaccio un tasto non ne vedo il codice bensì direttamente il "significato"

Codice: Seleziona tutto

Testing ... (interrupt to exit)
Event: time 1282302251.168904, type 1 (Key), code 2 (1), value 1
Event: time 1282302251.168907, -------------- Report Sync ------------
Event: time 1282302251.419262, type 1 (Key), code 2 (1), value 2
Event: time 1282302251.419265, -------------- Report Sync ------------
Event: time 1282302251.454761, type 1 (Key), code 2 (1), value 2
Event: time 1282302251.454764, -------------- Report Sync ------------
Event: time 1282302251.455775, type 1 (Key), code 2 (1), value 0
Event: time 1282302251.455778, -------------- Report Sync ------------
Event: time 1282302253.127600, type 1 (Key), code 3 (2), value 1
Event: time 1282302253.127604, -------------- Report Sync ------------
Event: time 1282302253.305658, type 1 (Key), code 3 (2), value 0
Event: time 1282302253.305661, -------------- Report Sync ------------
Event: time 1282302256.866927, type 1 (Key), code 4 (3), value 1
Event: time 1282302256.866931, -------------- Report Sync ------------
Event: time 1282302257.054874, type 1 (Key), code 4 (3), value 0
Event: time 1282302257.054876, -------------- Report Sync ------------
Event: time 1282302263.000213, type 1 (Key), code 5 (4), value 1
Event: time 1282302263.000216, -------------- Report Sync ------------
Event: time 1282302263.178272, type 1 (Key), code 5 (4), value 0
Event: time 1282302263.178275, -------------- Report Sync ------------
Event: time 1282302263.880636, type 1 (Key), code 6 (5), value 1
Event: time 1282302263.880640, -------------- Report Sync ------------
Event: time 1282302264.058695, type 1 (Key), code 6 (5), value 0
Event: time 1282302264.058698, -------------- Report Sync ------------
Event: time 1282302264.652245, type 1 (Key), code 7 (6), value 1
Event: time 1282302264.652248, -------------- Report Sync ------------
Event: time 1282302264.830302, type 1 (Key), code 7 (6), value 0
Event: time 1282302264.830305, -------------- Report Sync ------------
Event: time 1282302266.670292, type 1 (Key), code 8 (7), value 1
Event: time 1282302266.670296, -------------- Report Sync ------------
Event: time 1282302266.848350, type 1 (Key), code 8 (7), value 0
Event: time 1282302266.848353, -------------- Report Sync ------------
Event: time 1282302267.362760, type 1 (Key), code 9 (8), value 1
Event: time 1282302267.362763, -------------- Report Sync ------------
Event: time 1282302267.550712, type 1 (Key), code 9 (8), value 0
Event: time 1282302267.550716, -------------- Report Sync ------------
Event: time 1282302268.253076, type 1 (Key), code 10 (9), value 1
Event: time 1282302268.253080, -------------- Report Sync ------------
Event: time 1282302268.431134, type 1 (Key), code 10 (9), value 0
Event: time 1282302268.431137, -------------- Report Sync ------------
Event: time 1282302269.192854, type 1 (Key), code 11 (0), value 1
Event: time 1282302269.192857, -------------- Report Sync ------------
Event: time 1282302269.370913, type 1 (Key), code 11 (0), value 0
Event: time 1282302269.370916, -------------- Report Sync ------------
Event: time 1282302270.745964, type 1 (Key), code 223 (Cancel), value 1
Event: time 1282302270.745968, -------------- Report Sync ------------
Event: time 1282302270.924022, type 1 (Key), code 223 (Cancel), value 0
Event: time 1282302270.924026, -------------- Report Sync ------------
Event: time 1282302271.517568, type 1 (Key), code 355 (Clear), value 1
Event: time 1282302271.517571, -------------- Report Sync ------------
Event: time 1282302271.695629, type 1 (Key), code 355 (Clear), value 0
Event: time 1282302271.695632, -------------- Report Sync ------------
Event: time 1282302275.880117, type 1 (Key), code 158 (Back), value 1
Event: time 1282302275.880120, -------------- Report Sync ------------
Event: time 1282302276.068069, type 1 (Key), code 158 (Back), value 0
Event: time 1282302276.068072, -------------- Report Sync ------------
Event: time 1282302277.185914, type 1 (Key), code 15 (Tab), value 1
Event: time 1282302277.185918, -------------- Report Sync ------------
Event: time 1282302277.363974, type 1 (Key), code 15 (Tab), value 0
Event: time 1282302277.363977, -------------- Report Sync ------------
Event: time 1282302279.500737, type 1 (Key), code 103 (Up), value 1
Event: time 1282302279.500741, -------------- Report Sync ------------
Event: time 1282302279.629331, type 1 (Key), code 103 (Up), value 0
Event: time 1282302279.629335, -------------- Report Sync ------------
Event: time 1282302280.212987, type 1 (Key), code 105 (Left), value 1
Event: time 1282302280.212991, -------------- Report Sync ------------
Event: time 1282302280.391046, type 1 (Key), code 105 (Left), value 0
Event: time 1282302280.391050, -------------- Report Sync ------------
Event: time 1282302280.875778, type 1 (Key), code 106 (Right), value 1
Event: time 1282302280.875782, -------------- Report Sync ------------
Event: time 1282302281.053836, type 1 (Key), code 106 (Right), value 0
Event: time 1282302281.053839, -------------- Report Sync ------------
Event: time 1282302281.568245, type 1 (Key), code 108 (Down), value 1
Event: time 1282302281.568248, -------------- Report Sync ------------
Event: time 1282302281.746303, type 1 (Key), code 108 (Down), value 0
Event: time 1282302281.746306, -------------- Report Sync ------------
Event: time 1282302282.211251, type 1 (Key), code 352 (Ok), value 1
Event: time 1282302282.211255, -------------- Report Sync ------------
Event: time 1282302282.389307, type 1 (Key), code 352 (Ok), value 0
Event: time 1282302282.389310, -------------- Report Sync ------------
Event: time 1282302288.997436, type 1 (Key), code 115 (VolumeUp), value 1
Event: time 1282302288.997440, -------------- Report Sync ------------
Event: time 1282302289.175495, type 1 (Key), code 115 (VolumeUp), value 0
Event: time 1282302289.175499, -------------- Report Sync ------------
Event: time 1282302289.937214, type 1 (Key), code 114 (VolumeDown), value 1
Event: time 1282302289.937218, -------------- Report Sync ------------
Event: time 1282302290.115271, type 1 (Key), code 114 (VolumeDown), value 0
Event: time 1282302290.115274, -------------- Report Sync ------------
Event: time 1282302290.995698, type 1 (Key), code 403 (ChannelDown), value 1
Event: time 1282302290.995701, -------------- Report Sync ------------
Event: time 1282302291.173756, type 1 (Key), code 403 (ChannelDown), value 0
Event: time 1282302291.173759, -------------- Report Sync ------------
Event: time 1282302293.172025, type 1 (Key), code 402 (ChannelUp), value 1
Event: time 1282302293.172029, -------------- Report Sync ------------
Event: time 1282302293.359977, type 1 (Key), code 402 (ChannelUp), value 0
Event: time 1282302293.359980, -------------- Report Sync ------------
Event: time 1282302297.425760, type 1 (Key), code 207 (Play), value 1
Event: time 1282302297.425763, -------------- Report Sync ------------
Event: time 1282302297.613712, type 1 (Key), code 207 (Play), value 0
Event: time 1282302297.613716, -------------- Report Sync ------------
Event: time 1282302299.790045, type 1 (Key), code 119 (Pause), value 1
Event: time 1282302299.790048, -------------- Report Sync ------------
Event: time 1282302299.977995, type 1 (Key), code 119 (Pause), value 0
Event: time 1282302299.977998, -------------- Report Sync ------------
Event: time 1282302300.541866, type 1 (Key), code 128 (Stop), value 1
Event: time 1282302300.541870, -------------- Report Sync ------------
Event: time 1282302300.719925, type 1 (Key), code 128 (Stop), value 0
Event: time 1282302300.719929, -------------- Report Sync ------------
Event: time 1282302302.896257, type 1 (Key), code 168 (Rewind), value 1
Event: time 1282302302.896261, -------------- Report Sync ------------
Event: time 1282302303.074315, type 1 (Key), code 168 (Rewind), value 0
Event: time 1282302303.074318, -------------- Report Sync ------------
Event: time 1282302303.925068, type 1 (Key), code 208 (Fast Forward), value 1
Event: time 1282302303.925072, -------------- Report Sync ------------
Event: time 1282302304.103126, type 1 (Key), code 208 (Fast Forward), value 0
Event: time 1282302304.103130, -------------- Report Sync ------------
Event: time 1282302306.457519, type 1 (Key), code 165 (PreviousSong), value 1
Event: time 1282302306.457523, -------------- Report Sync ------------
Event: time 1282302306.635580, type 1 (Key), code 165 (PreviousSong), value 0
Event: time 1282302306.635584, -------------- Report Sync ------------
Event: time 1282302307.713855, type 1 (Key), code 163 (NextSong), value 1
Event: time 1282302307.713859, -------------- Report Sync ------------
Event: time 1282302307.891915, type 1 (Key), code 163 (NextSong), value 0
Event: time 1282302307.891918, -------------- Report Sync ------------
Event: time 1282302310.909100, type 1 (Key), code 212 (Camera), value 1
Event: time 1282302310.909104, -------------- Report Sync ------------
Event: time 1282302311.097049, type 1 (Key), code 212 (Camera), value 0
Event: time 1282302311.097052, -------------- Report Sync ------------
Event: time 1282302313.016180, type 1 (Key), code 368 (Language), value 1
Event: time 1282302313.016184, -------------- Report Sync ------------
Event: time 1282302313.144777, type 1 (Key), code 368 (Language), value 0
Event: time 1282302313.144780, -------------- Report Sync ------------
Event: time 1282302318.269041, type 1 (Key), code 378 (TV2), value 1
Event: time 1282302318.269045, -------------- Report Sync ------------
Event: time 1282302318.447101, type 1 (Key), code 378 (TV2), value 0
Event: time 1282302318.447104, -------------- Report Sync ------------
Event: time 1282302320.623431, type 1 (Key), code 375 (Screen), value 1
Event: time 1282302320.623435, -------------- Report Sync ------------
Event: time 1282302320.811382, type 1 (Key), code 375 (Screen), value 0
Event: time 1282302320.811386, -------------- Report Sync ------------
Event: time 1282302324.293510, type 1 (Key), code 370 (Subtitle), value 1
Event: time 1282302324.293514, -------------- Report Sync ------------
Event: time 1282302324.471572, type 1 (Key), code 370 (Subtitle), value 0
Event: time 1282302324.471576, -------------- Report Sync ------------
Event: time 1282302326.895215, type 1 (Key), code 113 (Mute), value 1
Event: time 1282302326.895218, -------------- Report Sync ------------
Event: time 1282302327.073274, type 1 (Key), code 113 (Mute), value 0
Event: time 1282302327.073278, -------------- Report Sync ------------
Event: time 1282302330.159703, type 1 (Key), code 392 (Audio), value 1
Event: time 1282302330.159706, -------------- Report Sync ------------
Event: time 1282302330.347655, type 1 (Key), code 392 (Audio), value 0
Event: time 1282302330.347659, -------------- Report Sync ------------
Event: time 1282302337.361374, type 1 (Key), code 142 (Sleep), value 1
Event: time 1282302337.361377, -------------- Report Sync ------------
Event: time 1282302337.549324, type 1 (Key), code 142 (Sleep), value 0
Event: time 1282302337.549327, -------------- Report Sync ------------
Event: time 1282302339.656408, type 1 (Key), code 393 (Video), value 1
Event: time 1282302339.656411, -------------- Report Sync ------------
Event: time 1282302339.834467, type 1 (Key), code 393 (Video), value 0
Event: time 1282302339.834469, -------------- Report Sync ------------
Event: time 1282302340.942418, type 1 (Key), code 412 (Previous), value 1
Event: time 1282302340.942422, -------------- Report Sync ------------
Event: time 1282302341.130368, type 1 (Key), code 412 (Previous), value 0
Event: time 1282302341.130372, -------------- Report Sync ------------
Event: time 1282302343.652935, type 1 (Key), code 372 (Zoom), value 1
Event: time 1282302343.652939, -------------- Report Sync ------------
Event: time 1282302343.830993, type 1 (Key), code 372 (Zoom), value 0
Event: time 1282302343.830996, -------------- Report Sync ------------
Event: time 1282302344.721314, type 1 (Key), code 371 (Angle), value 1
Event: time 1282302344.721318, -------------- Report Sync ------------
Event: time 1282302344.909264, type 1 (Key), code 371 (Angle), value 0
Event: time 1282302344.909268, -------------- Report Sync ------------
Event: time 1282302348.173761, type 1 (Key), code 398 (Red), value 1
Event: time 1282302348.173765, -------------- Report Sync ------------
Event: time 1282302348.351817, type 1 (Key), code 398 (Red), value 0
Event: time 1282302348.351820, -------------- Report Sync ------------
Event: time 1282302350.073102, type 1 (Key), code 399 (Green), value 1
Event: time 1282302350.073105, -------------- Report Sync ------------
Event: time 1282302350.251160, type 1 (Key), code 399 (Green), value 0
Event: time 1282302350.251162, -------------- Report Sync ------------
Event: time 1282302352.081257, type 1 (Key), code 400 (Yellow), value 1
Event: time 1282302352.081260, -------------- Report Sync ------------
Event: time 1282302352.259317, type 1 (Key), code 400 (Yellow), value 0
Event: time 1282302352.259320, -------------- Report Sync ------------
Event: time 1282302352.882544, type 1 (Key), code 401 (Blue), value 1
Event: time 1282302352.882548, -------------- Report Sync ------------
Event: time 1282302353.070492, type 1 (Key), code 401 (Blue), value 0
Event: time 1282302353.070495, -------------- Report Sync ------------
Event: time 1282302357.324229, type 1 (Key), code 377 (TV), value 1
Event: time 1282302357.324233, -------------- Report Sync ------------
Event: time 1282302357.502289, type 1 (Key), code 377 (TV), value 0
Event: time 1282302357.502292, -------------- Report Sync ------------
Event: time 1282302358.719057, type 1 (Key), code 386 (Tuner), value 1
Event: time 1282302358.719061, -------------- Report Sync ------------
Event: time 1282302358.897116, type 1 (Key), code 386 (Tuner), value 0
Event: time 1282302358.897120, -------------- Report Sync ------------
Event: time 1282302361.597746, type 1 (Key), code 385 (Radio), value 1
Event: time 1282302361.597749, -------------- Report Sync ------------
Event: time 1282302361.775803, type 1 (Key), code 385 (Radio), value 0
Event: time 1282302361.775805, -------------- Report Sync ------------
Event: time 1282302364.674282, type 1 (Key), code 389 (DVD), value 1
Event: time 1282302364.674286, -------------- Report Sync ------------
Event: time 1282302364.852339, type 1 (Key), code 389 (DVD), value 0
Event: time 1282302364.852341, -------------- Report Sync ------------
Event: time 1282302367.454049, type 1 (Key), code 102 (Home), value 1
Event: time 1282302367.454052, -------------- Report Sync ------------
Event: time 1282302367.641995, type 1 (Key), code 102 (Home), value 0
Event: time 1282302367.641998, -------------- Report Sync ------------
Event: time 1282302369.551236, type 1 (Key), code 116 (Power), value 1
Event: time 1282302369.551239, -------------- Report Sync ------------
Event: time 1282302369.729296, type 1 (Key), code 116 (Power), value 0
Event: time 1282302369.729299, -------------- Report Sync ------------
Aiuto......
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Xgaz »

Mai usato evtest...

Io sulla mia Hauppauge HVR-4000 ho usato questo /etc/lirc/lircd.conf : http://www.linuxtv.org/wiki/index.php/H ... ol_Support

I codici a destra li ho verificati con showkey: premi CTRL+ALT+F1, loggati e digita showkey; entro 10 secondi (altrimenti si chiude) premi in sequenza i tasti del telecomando e annota i valori decimali ottenuti. Torna al desktop con CTRL+ALT+F7 e converti i valori con la calcolatrice di Ubuntu
-> inserisci i valori in lircd.conf
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Sto cominciando a capire, effettivamente sembra che alcuni codici siano giusti mentre altri (p.es. enter) non lo siano.....

domani provo a controllarli e poi posto i risultati.

Grazie ancora

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Ciao Xgaz,,

dunque, sto per mandare tutto al diavolo, ma ancora non lo faccio perchè tanto sto per diventare matto uguale, quindi........

Ho preso tutti i codici sul telecomando con Showkey, poi li ho inseriti in lircd.conf così:

Codice: Seleziona tutto

#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Linux input layer (/dev/input/eventX) remote:
include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"

#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Linux input layer (/dev/input/eventX) remote:
#include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"

begin remote

  name  Conexant CX23880
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          133325
  toggle_bit_mask 0x8001001C

      begin codes
	Power		0x0074
	Home		0x0066
	LiveTV		0x0179
	Tuner		0x0182
	Radio		0x0181
	DVD		0x0185
	1		0x0002
	2		0x0003
	3		0x0004
	4		0x0005
	5               0x0006
	6		0x0007
	7		0x0008
	8		0x0009
	9		0x000A
	0		0x000B
	Cancel		0x0223
	Clear		0x0163
	Back		0x009E
	Tab		0x000F
	Up		0x0067
	Left		0x0069
	Ok		0x0160
	Right		0x006A
	Down		0x006C
	VolumeUp	0x0073
	VolumeDown	0x0072
	ChannelDown	0x0193
	ChannelUp	0x0192
	Record		0x00A7
	Play		0x00CF
	Pause		0x0077
	Stop		0x0080
	Rewind		0x00A8
	FastForward	0x00D0
	PreviousSong	0x00A5
	NextSong	0x00A3
	Camera		0X00D4
	Language	0x0170
	TV2		0x017A
	Screen		0x0177
	Subtitle	0x0172
	Mute		0x0071
	Audio		0x0188
	Sleep		0x008E
	Video		0x0189
	Previous	0x019C
	Zoom		0x0174
	Angle		0x0173
	Red		0x018E
	Green		0x018F
	Yellow		0x0190
	Blue		0x0191

      end codes

end remote
Dopo ho aggiunto in coda alla tabella Lircmap.xml i miei codici così:

Codice: Seleziona tutto

<remote device="Conexant CX23880">
	                <display>KEY_SCREEN</display>
	                <power>KEY_POWER</power>
	                <one>KEY_1</one>
	                <two>KEY_2</two>
	                <three>KEY_3</three>
	                <four>KEY_4</four>
	                <five>KEY_5</five>
	                <six>KEY_6</six>
	                <seven>KEY_7</seven>
	                <eight>KEY_8</eight>
	                <nine>KEY_9</nine>
	                <record>KEY_RECORD</record>
	                <zero>KEY_0</zero>
	                <myvideo>favorite</myvideo>
	                <volumeminus>KEY_VOLUMEUP</volumeminus>
	                <volumeplus>KEY_VOLUMEDOWN</volumeplus>
	                <up>KEY_UP</up>
	                <left>KEY_LEFT</left>
	                <select>KEY_PLAY</select>
	                <right>KEY_RIGHT</right>
	                <down>KEY_DOWN</down>
	                <menu>recall</menu>
	                <stop>KEY_STOP</stop>
	                <pause>KEY_PAUSE</pause>
	                <mute>KEY_MUTE</mute>
	                <info>epg</info>
	                <recordedtv>recordlist</recordedtv>
	                <title>teletext</title>
		</remote>
Non li ho inseriti tutti, solo alcuni per testare la cosa e li ho inseriti in maiuscolo perchè è cosi che irw me li mostra.Per ultimo ho inserito il file remote.xml nella cartella keymaps e voilà.....non funziona!!  >:(

Allora ho ricontrollato con irw ed i codici che mi arrivano sono esatti, quindi il file lircd.conf almeno è esatto, ma allora come mai non va?

Oltretutto non ho capito come dovrei modificare il file remote.xml, dato che in questo file c'è soltanto la corrispondenza fra i comandi interni di xbmc e quello che gli arriva dalla tabella Lircmap.xml ma la corrispondenza è già giusta..

Oppure in xbmc, a parte dove spunto "il telecomando simula i tasti della tastiera", c'è un altro menu che mi fa abilitare il telecomando?

Nun me lasciate solo......
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18787
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Janvitus »

Prima cosa devi installare il pacchetto "lirc", senza di esso è un po' difficile che ti funzioni un po' tutto. Poi, se sei su GNOME, potresti installare il pacchetto gnome-lirc-properties così ti configuri tutto da interfaccia grafica. Se hai Lucid puoi anche installare l'ultima versione dal mio PPA:

https://edge.launchpad.net/~janvitus/+a ... hive-extra
+Fedora 40 • +Xubuntu 24.04
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Grazie per la risposta,Janvitus,

lirc è già installato ed ho provato anche ad installare gnome-lirc-properties, ma quando scelgo Linux Input Device come IR Receiver non mi fa scegliere Event5 ( che sarebbe il telecomando), ma Event0 che chiama Power Button...

O sbaglio io nel configurarlo? Come versione ho la 9.10..

Grazie

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18787
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Janvitus »

Provato con il relevamento automatico?
+Fedora 40 • +Xubuntu 24.04
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Si, il tasto autodetect mi apre una finestra con dentro due righe uguali con scritto

" Linux Input Device Power Button"
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18787
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Janvitus »

Quando hai installato lirc la prima volta ti ha chiesto di configurarlo, riprova e metti "none" "none" "/dev/lirc0":

Codice: Seleziona tutto

sudo dpkg-reconfigure lirc
Proi riprova con gnome-lirc-properties e ripristina la configurazione, se te lo chiede. Rifai il rilevamento automatico. Se nememno così non va, allora c'è qualche problema nel rilevamento hardware.
+Fedora 40 • +Xubuntu 24.04
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Credo di avere un qualche grosso problema ( o io o lirc..) perchè dopo il secondo "none" mi esce dalla procedura e mi torna in terminale
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Oltetutto se faccio così i comandi arrivano...

Codice: Seleziona tutto

claudio@camera-server:~$ sudo evtest /dev/input/event4
Input driver version is 1.0.0
Input device ID: bus 0x1 vendor 0x1822 product 0x19 version 0x1
Input device name: "cx88 IR (digitalnow DNTV Live! "
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 2 (1)
    Event code 3 (2)
    Event code 4 (3)
    Event code 5 (4)
    Event code 6 (5)
    Event code 7 (6)
    Event code 8 (7)
    Event code 9 (8)
    Event code 10 (9)
    Event code 11 (0)
    Event code 15 (Tab)
    Event code 102 (Home)
    Event code 103 (Up)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 108 (Down)
    Event code 113 (Mute)
    Event code 114 (VolumeDown)
    Event code 115 (VolumeUp)
    Event code 116 (Power)
    Event code 119 (Pause)
    Event code 128 (Stop)
    Event code 142 (Sleep)
    Event code 158 (Back)
    Event code 163 (NextSong)
    Event code 165 (PreviousSong)
    Event code 167 (Record)
    Event code 168 (Rewind)
    Event code 207 (Play)
    Event code 208 (Fast Forward)
    Event code 212 (Camera)
    Event code 223 (Cancel)
    Event code 352 (Ok)
    Event code 355 (Clear)
    Event code 368 (Language)
    Event code 370 (Subtitle)
    Event code 371 (Angle)
    Event code 372 (Zoom)
    Event code 375 (Screen)
    Event code 377 (TV)
    Event code 378 (TV2)
    Event code 385 (Radio)
    Event code 386 (Tuner)
    Event code 389 (DVD)
    Event code 392 (Audio)
    Event code 393 (Video)
    Event code 398 (Red)
    Event code 399 (Green)
    Event code 400 (Yellow)
    Event code 401 (Blue)
    Event code 402 (ChannelUp)
    Event code 403 (ChannelDown)
    Event code 412 (Previous)
  Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1282662974.819720, type 1 (Key), code 352 (Ok), value 1
Event: time 1282662974.819727, -------------- Report Sync ------------
Event: time 1282662974.997774, type 1 (Key), code 352 (Ok), value 0
Event: time 1282662974.997780, -------------- Report Sync ------------
Event: time 1282662975.848542, type 1 (Key), code 108 (Down), value 1
Event: time 1282662975.848555, -------------- Report Sync ------------
^[[BEvent: time 1282662975.977134, type 1 (Key), code 108 (Down), value 0
Event: time 1282662975.977143, -------------- Report Sync ------------
Event: time 1282662976.184878, type 1 (Key), code 105 (Left), value 1
Event: time 1282662976.184884, -------------- Report Sync ------------
^[[DEvent: time 1282662976.372831, type 1 (Key), code 105 (Left), value 0
Event: time 1282662976.372836, -------------- Report Sync ------------
Event: time 1282662976.540999, type 1 (Key), code 106 (Right), value 1
Event: time 1282662976.541005, -------------- Report Sync ------------
^[[CEvent: time 1282662976.719066, type 1 (Key), code 106 (Right), value 0
Event: time 1282662976.719072, -------------- Report Sync ------------
Event: time 1282662976.887234, type 1 (Key), code 352 (Ok), value 1
Event: time 1282662976.887241, -------------- Report Sync ------------
Event: time 1282662977.065296, type 1 (Key), code 352 (Ok), value 0
Event: time 1282662977.065302, -------------- Report Sync ------------
Event: time 1282662977.164223, type 1 (Key), code 103 (Up), value 1
Event: time 1282662977.164229, -------------- Report Sync ------------
^[[AEvent: time 1282662977.292818, type 1 (Key), code 103 (Up), value 0
Event: time 1282662977.292823, -------------- Report Sync ------------
Boh? Quello che non capisco è anche come si faccia a legare lirc all'event5 fisso, dato che ad ogni ripartenza del sistema mi cambia numero di evento ( infatti adesso è diventato event4). L'ultima volta non funzionava neanche la tastiera..

grazie ancora per l'aiuto.

Clyde
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Telecomando per Conexant CX23880

Messaggio da Xgaz »

clyde ha scritto:
Credo di avere un qualche grosso problema ( o io o lirc..) perchè dopo il secondo "none" mi esce dalla procedura e mi torna in terminale
Se parli del menu di configurazione: non devi dare sempre "none" ...

Io nella prima scelta, non essendoci la mia scheda, ho messo una simile (HVR-1100) e poi, una volta installato lirc, ho modificato il lircd.conf
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Allora, con calma....

il "none" "none" lo devo mettere quando riconfiguro lirc oppure in Remote Control Properties?

Se lo metto quando lancio

Codice: Seleziona tutto

sudo dpkg-reconfigure lirc
al secondo "none" mi esce dalla configurazione.

Se lo metto nei primi due campi di Remote Control Properties, poi non mi mostra in nessuno dei rimanenti due campi /dev/lirc0.

Ora provo a rimuovere lirc con tutti gli ammennicoli ( lircd, .lirc, irexec, ecc) poi lo installo di nuovo con in più gnome-lirc-properties scegliendo una Hauppage a caso e modificandola, poi vediamo...
Sicuramente sbaglio qualcosa, ma mi sfugge "cosa"

Grazie
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Avatar utente
clyde
Prode Principiante
Messaggi: 77
Iscrizione: lunedì 10 agosto 2009, 21:16

Re: Telecomando per Conexant CX23880

Messaggio da clyde »

Rieccomi quà ( come disse uno dei nipoti di Paperino)  ;D

A parte le facezie, ho eseguito i seguenti passi:

1)

Codice: Seleziona tutto

sudo apt-get remove lirc
2)

Codice: Seleziona tutto

sudo apt-get autoremove
3) rimosso cartella lirc in /etc

4) Provato se i codici arrivavano ancora

Codice: Seleziona tutto

sudo evtest /dev/input/event4
Bene, arrivano ancora.

5)

Codice: Seleziona tutto

sudo apt-get install lirc
6)

Codice: Seleziona tutto

sudo apt-get install gnome-lirc-properties
7)

Codice: Seleziona tutto

sudo dpkg-reconfigure lirc
Selezionato telecomando NovaT500

Terminata riconfigurazione lirc, provato telecomando e...... funzionano i tasti direzione,replay,skip, vol+ e vol- più qualche altro.

Purtroppo non funzionano i due più importanti (almeno per me), Enter/ok e Play.

Vado a verificare nel file lircd.conf.hauppauge_novat500 ed i codici impostati per l'Enter/ok e per il Play sono gli stessi che escono dal mio telecomando...

Per scrupolo lancio

Codice: Seleziona tutto

irw
e constato che a terminale, quando li premo sul telecomando, arrivano i tasti freccia, il power, l'hibernate,tutti i numeri ma quando premo Enter/ok o Play, non arriva nessun carattere!!

Avete qualche idea di dove vadano a finire sti' caratteri quando premo i tasti sul telecomando?

Domanda di riserva: c'è un modo per assegnare al valore che arriva dal mio telecomando la funzione "enter" oltre che da lirc?
In fondo a me basterebbe soltanto quello.....
Certo che Ubuntu è veramente bello: non mi sentivo cosi "padrone del mezzo" da quando mi regalarono il mio Vic20.......
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti