View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jan 20, 2006 12:49 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
I'm having a second go with this post ( first one seemed to have been deleted )

This is my first go at setting up a settop box and I'm trying to take it one step at a time.

After installing R5A30.1 my DViCO FusionHDTV DVB-T Plus seems to have been detected ok but the remote just will not work, I can't seem to get any output from the /dev/input/event[0-3] , am I missing something here ?

I read some information on http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/ saying that I need to patch the kernal dose anyone know if this is needed ?


dmesg
Code:
Linux version 2.6.13.2-chw-3

hiddev96: USB HID v1.10 Device [DVICO DVICO USB HID Remocon V1.00] on usb-0000:00:1d.0-2
Linux video capture interface: v1.00
cx2388x dvb driver version 0.0.5 loaded
cx88[0]: subsystem: 18ac:db10, board: DViCO FusionHDTV DVB-T Plus [card=21,autodetected]
TV tuner 4 at 0x1fe, Radio tuner -1 at 0x1fe
cx88[0]/2: found at 0000:02:04.2, rev: 5, irq: 16, latency: 32, mmio: 0xfb000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (DViCO FusionHDTV DVB-T Plus)...
cx2388x v4l2 driver version 0.0.5 loaded
cx88[0]/0: found at 0000:02:04.0, rev: 5, irq: 16, latency: 32, mmio: 0xfa000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: AUDIO driver version 0.0.0 loaded
saa7146: register extension 'dvb'.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
saa7146: register extension 'budget_av'.


cat /proc/bus/usb/devices
Code:
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0fe9 ProdID=9010 Rev= 1.00
S:  Manufacturer=DVICO
S:  Product=DVICO USB HID Remocon V1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   3 Ivl=32ms
E:  Ad=02(O) Atr=03(Int.) MxPS=   1 Ivl=32ms


Last edited by chrisj on Mon Jan 23, 2006 6:53 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 5:55 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
You don't need to patch the kernel. If your remote looks like this:

Image
Then it is the MCE version of the remote which the default knoppmyth lirc install is not configured for.
The original remote which it is configured for looks like this:
Image


Try using this file http://cvs.sourceforge.net/viewcvs.py/l ... iew=markup in place of /etc/lircd.conf (it has a new third section that looks like it is for this new remote).

restart lirc using:
/etc/init.d/lirc restart

then run irw and press buttons on your remote and see if they get displayed.

Because this remote has different keys, you will also probably need to modify the ~mythtv/.lircrc file.

cat /proc/bus/usb/devices from my card (with the old remote) looks like this:
Code:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0fe9 ProdID=9010 Rev= 1.00
S:  Manufacturer=DVICO
S:  Product=DVICO USB HID Remocon V1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   3 Ivl=32ms
E:  Ad=02(O) Atr=03(Int.) MxPS=   1 Ivl=32ms
This seems to be identical to yours, so they must use the same reciever. When you come up with a lircrc file, we'll have to have a go at producing a merged version that works for both of us and get cesman to include it in the next release.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 22, 2006 8:12 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
This seems have fix the problam , I've started work updating my .lircrc file.

now to get some TV channles to work ..

at them moment al get the following errors

Code:
2006-01-23 07:09:46.457 DVB#0 Recorder: Card opened successfully (using PS mode).
2006-01-23 07:09:46.462 DVB#0 ERROR - No PIDS set, please correct your channel setup.
2006-01-23 07:09:55.552 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:09:56.560 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:09:57.569 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:09:58.577 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:09:59.585 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:10:00.593 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:10:01.509 Couldn't read data from the capture card in 15 seconds. Stopping.
2006-01-23 07:10:01.586 Changing from WatchingLiveTV to None
2006-01-23 07:10:01.601 DVB#0 WARNING - No data from card in 1 second.
2006-01-23 07:10:01.606 Closing DVB recorder


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 22, 2006 8:34 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Looks like you havent scanned the channels, but you should only be posting one problem per thread. You should probably edit your original post and change the subject to something that describes the problem with the remote too.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 5:22 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day guys,

any update on this, I have the same remote ?

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 6:08 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
follow the info given byt Greg Frost's post and all sould work ok.

I found that I had to restart the system before everything worked .


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 7:30 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
Thanks, I can't seem to get to cvs, probably just congested. I'll try later

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 8:42 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day again Chris,

There seems to be some major cvs outage at the moment, I was wondering if you or some other kind sould would be able to post up the config file. If not I'll just wait until cvs gets fixed ??

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 8:45 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
you can try the ones I use , rember that you will need to restart restart lirc using:
/etc/init.d/lirc restart


this is my
Code:
/etc/lircd.conf and /etc/lirc/lircd.conf


Code:
#
# contributed by  Chris Pascoe
#
# brand:                       DVICO
# model no. of remote control: DVB-T
# devices being controlled by this remote:
#
############################################################
# 22-01-06. Modified so that it is in the same format as
# the DVICO_MCE section below.
# Changed by: Greg Frost greg.frost@optusnet.com.au
############################################################

begin remote

  name  DVICO
  bits            8
  eps             30
  aeps            100

  one             0     0
  zero            0     0
  pre_data_bits   48
  pre_data        0x100460000
  post_data_bits  8
  post_data       0xF9
  gap             195755
  toggle_bit      0

      begin codes
          1                        0x11
          2                        0x12
          3                        0x13
          4                        0x14
          5                        0x15
          6                        0x16
          7                        0x17
          8                        0x18
          9                        0x19
          0                        0x10
          power                    0x0A
          pcoff                    0x0C
          camera                   0x1A
          record                   0x1B
          chup                     0x00
          chdown                   0x01
          volup                    0x02
          voldown                  0x03
          playpause                0x1F
          rew                      0x1C
          stop                     0x1E
          ff                       0x1D
          folder                   0x40
          atvdtv                   0x06
          dvhs                     0x41
          menu                     0x08
          aspect                   0x07
          zoom                     0x04
          epg                      0x0B
          mute                     0x0D
          back                     0x0E
          hd                       0x0F
          red                      0x05
          green                    0x09
          yellow                   0x42
          blue                     0x43
      end codes

end remote

# this config file was automatically generated
# using lirc-0.7.3-CVS(dvico) on Thu Sep  1 21:36:06 2005
#
# contributed by: David Bussenschutt <buzz|oska.com>
#
# brand:     "DViCO"
# model no. of remote control:  "Fusion Remote MCE"
# devices being controlled by this remote: My MythTV install
############################################################
# 21-01-06. Changed the Gap Value as it produced unsensitive
# buttons when used with mythtv
# Changed by: Brendan Beveridge <psynode@gmail.com>
############################################################

begin remote

  name                  DVICO_MCE
  bits                  8
  eps                   30
  aeps                  100
 one                   0     0
  zero                  0     0
  pre_data_bits         48
  pre_data              0x100460000
  post_data_bits        8
  post_data             0xFE
  gap                   195968
  toggle_bit            0


      begin codes
          ok                       0x5e
          up                       0x51
          down                     0x53
          left                     0x5B
          right                    0x5F
          setup                    0x16
          tv_onoff                 0x46
          guide                    0x0A
          dtv                      0x02
          mp3                      0x0E
          dvd                      0x1A
          cpf                      0x1E
          back                     0x49
          more                     0x59
          dvd_menu                 0x4D
          alt_tab                  0x55
          replay                   0x0F
          skip                     0x12
          start                    0x42
          vol_up                   0x15
          vol_down                 0x05
          ch_up                    0x11
          ch_down                  0x09
          photo                    0x52
          live                     0x5A
          folder                   0x19
          1                        0x0B
          2                        0x17
          3                        0x1B
          4                        0x07
          5                        0x50
          6                        0x54
          7                        0x48
          8                        0x4C
          9                        0x58
          0                        0x03
          ratio                    0x13
          zoom                     0x1F
          rew                      0x43
          playpause                0x47
          ff                       0x4F
          mute                     0x57
          stop                     0x0D
          rec                      0x01
          power_onoff              0x4e
      end codes

end remote



I have only setup TV playback , and started on mplayer settings ..

I have used several Jumppoints created in Mythweb

Code:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the Fustion
#

#begin
#Jumppoint for Program Guide created in Mythweb
#    prog = mythtv
#    button = guide
#    config = !
#end

begin
#Jumppoint for DVD playback created in Mythweb
    prog = mythtv
    button = dvd
    config = @
end

begin
#Jumppoint for MythWeater created in Mythweb
    prog = mythtv
    button = start
    config = #
end

begin
#Jumppoint for MythVideo created in Mythweb
    prog = mythtv
    button = cpf
    config = $
end

begin
    prog = mythtv
#Jumppoint for LiveTV created in Mythweb
    button = dtv
    config = ^
end

begin
    prog = mythtv
#Jumppoint for Music created in Mythweb
    button = mp3
    config = F8
end

begin
    prog = mythtv
    button = 1
    config = 1
    repeat = 5
end

begin
    prog = mythtv
    button = 2
    config = 2
    repeat = 5
end

begin
    prog = mythtv
    button = 3
    config = 3
    repeat = 5
end

begin
    prog = mythtv
    button = 4
    config = 4
    repeat = 5
end

begin
    prog = mythtv
    button = 5
    config = 5
    repeat = 5
end

begin
    prog = mythtv
    button = 6
    config = 6
    repeat = 5
end

begin
    prog = mythtv
    button = 7
    config = 7
    repeat = 5
end

begin
    prog = mythtv
    button = 8
    config = 8
    repeat = 5
end

begin
    prog = mythtv
    button = 9
    config = 9
    repeat = 5
end

begin
    prog = mythtv
    button = 0
    config = 0
    repeat = 5
end

begin
    prog = mythtv
    button = up
    config = Up
end

begin
    prog = mythtv
    button = down
    config = Down
end

begin
    prog = mythtv
    button = left
    config = Left
end

begin
    prog = mythtv
    button = right
    config = Right
end

begin
    prog = mythtv
    button = replay
    config = Left
end

begin
    prog = mythtv
    button = skip
    config = Right
end

begin
    prog = mythtv
    button = back
    config = Esc
end

begin
    prog = mythtv
# Enter button
    button = ok
    config = Return
end

begin
    prog = mythtv
    button = tv_onoff
    config = Esc
end


begin
    prog = mythtv
    button = ch_up
    config = Up
end

begin
    prog = mythtv
    button = ch_down
    config = Down
end

begin
    prog = mythtv
    button = vol_down
    repeat = 3
    config = F10
end

begin
  prog = mythtv
  button = vol_up
  repeat = 3
  config = F11
end

begin
    prog = mythtv
    button = mute
    config = F9
end

begin
   prog = mythtv
   button = more
   config = I
end

begin
    prog = mythtv
    button = ff
    config = >
end

begin
    prog = mythtv
    button = rew
    config = <
end

begin
    prog = mythtv
    button = power_onoff
    config = Y
end

begin
    prog = mythtv
    button = live
    config = C
end

########### Start Of TV #############

begin
#Jumppoint for Program Guide created in Mythweb
    prog = irxevent
    button = guide
    config = Key S CurrentWindow
end

begin
    prog = irxevent
    button = dvd_menu
    config = Key M CurrentWindow
end

begin
   prog = irxevent
   button = ratio
   config = Key W CurrentWindow
end

begin
    prog = irxevent
    button = rec
    config = Key R CurrentWindow
end

begin
    prog = irxevent
    button = playpause
    config = Key P CurrentWindow
end

begin
   prog = irxevent
   button = alt_tab
# Use for forward commercial skip
   config = Key Z CurrentWindow
end

begin
   prog = irxevent
   button = folder
# Use for Teletext
   config = Key T CurrentWindow
end

########### Start Of Music #############

begin
# Mute for MythMusic
    prog = mythtv
    button = MUTE
    config = |
end

begin
    prog = mythtv
    button = DVD_ROOTMENU
    config = M
end

begin
    prog = mythtv
# Enter button
    button = SETUP
    config = Return
end


begin
    prog = mythtv
    button = A
    config = S
end

begin
    prog = mythtv
    button = B
    config = I
end

begin
    prog = mythtv
    button = C
    config = T
end

begin
prog = mythtv
# Change focus for PiP (to change channel in the other window)
button = MAXAMIZE
config = B
end

begin
prog = mythtv
# Toggle PiP on/off
button = TV_ON_DEMAND
config = V
end


begin
    prog = mythtv
    button = BACK
    config = <
end

begin
    prog = mythtv
    button = NEXT
    config = >
end

begin
    prog = mythtv
    button = BACK
    config = Left
end


begin
    prog = mythtv
    button = NEXT
    config = Right
end

begin
prog = mythtv
button = RECCORD
config = R
end

begin
prog = mythtv
button = STOP
config = Esc
end

begin
prog = mythtv
button = PLAY
config = P
end

begin
prog = mythtv
button = PAUSE
config = P
end

#Page Up/Down
begin
prog = mythtv
button = E
config = PgUp
end

begin
prog = mythtv
button = F
config = PgDown
end

begin
prog = mythtv
button = E
# Use for backwards commercial skip
config = Q
end

begin
prog = mythtv
button = F
# Use for forward commercial skip
config = Z
end

#Mplayer

begin
prog = mplayer
button = PLAY
config = pause
end

begin
prog = mplayer
button = PAUSE
config = pause
end

begin
prog = mplayer
button = STOP
config = quit
end

begin
prog = mplayer
button = POWER
config = quit
end

begin
prog = mplayer
button = D
config = quit
end

begin
prog = mplayer
button = MOUSE_RIGHT_BTN
config = quit
end

begin
prog = mplayer
button = MUTE
config = mute
end
begin
prog = mplayer
button = E
repeat = 6
config = seek -10
end

begin
prog = mplayer
button = F
repeat = 6
config = seek 10
end

begin
prog = mplayer
button = Left
repeat = 6
config = seek -70
end

begin
prog = mplayer
button = Right
repeat = 6
config = seek 70
end

begin
        prog = mplayer
        button = ch_up
        config = seek 10
end

begin
        prog = mplayer
        button = ch_down
        config = seek -10
end


begin
prog = mplayer
button = vol_down
repeat = 6
config = volume -1
end

begin
prog = mplayer
button = vol_up
repeat = 6
config = volume 1
end

begin
    prog = mplayer
    button = 1
    config = 1
    repeat = 5
end

begin
    prog = mplayer
    button = 2
    config = 2
    repeat = 5
end

begin
    prog = mplayer
    button = 3
    config = 3
    repeat = 5
end

begin
    prog = mplayer
    button = 4
    config = 4
    repeat = 5
end


begin
    prog = mplayer
    button = 5
    config = 5
    repeat = 5
end

begin
    prog = mplayer
    button = 6
    config = 6
    repeat = 5
end

begin
    prog = mplayer
    button = 7
    config = 7
    repeat = 5
end

begin
    prog = mplayer
    button = 8
    config = 8
    repeat = 5
end

begin
    prog = mplayer
    button = 9
    config = 9
    repeat = 5
end

begin
    prog = mplayer
    button = 0
    config = 0
    repeat = 5
end


#Xine

begin
prog = xine
button = PLAY
config = Play
end

begin
prog = xine
button = PAUSE
config = PAUSE
end

begin
prog = xine
button = STOP
config = Stop
end

begin
prog = xine
button = POWER
config = Quit
end

begin
prog = xine
button = D
config = quit
end

begin
prog = xine
button = MOUSE_RIGHT_BTN
config = quit
end

begin
prog = xine
button = ARROW_UP
repeat = 4
config = EventUp
end

begin
prog = xine
button = ARROW_DOWN
repeat = 4
config = EventDown
end

begin
prog = xine
button = ARROW_LEFT
repeat = 4
config = EventLeft
end

begin
prog = xine
button = ARROW_RIGHT
repeat = 4
config = EventRight
end

begin
prog = xine
button = OK
repeat = 0
config = EventSelect
end

begin
prog = xine
button = MOUSE_UP
repeat = 4
config = EventUp
end

begin
prog = xine
button = MOUSE_DOWN
repeat = 4
config = EventDown
end

begin
prog = xine
button = MOUSE_LEFT
repeat = 4
config = EventLeft
end

begin
prog = xine
button = MOUSE_RIGHT
repeat = 4
config = EventRight
end

begin
prog = xine
button = MOUSE_LEFT_BTN
repeat = 0
config = EventSelect
end

begin
prog = xine
button = DVD_ROOTMENU
repeat = 0
config = Menu
end

#vol down
begin
prog = xine
button = VOL_DOWN
repeat = 1
config = Volume-
end

#vol up
begin
prog = xine
button = VOL_UP
repeat = 1
config = Volume+
end

begin
prog = xine
button = TV_ON_DEMAND
repeat = 1
config = ZoomIn
end

begin
prog = xine
button = MAXAMIZE
repeat = 1
config = ZoomOut
end

#skip chapter forward
begin
prog = xine
button = NEXT
repeat = 1
config = EventNext
end

#skip chapter backward
begin
prog = xine
button = BACK
repeat = 1
config = EventPrior
end

begin
prog = xine
button = F
repeat = 2
config = SeekRelative+45
end

begin
prog = xine
button = E
repeat = 2
config = SeekRelative-45
end

[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 9:15 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
Mate, legend in the Gillespie class.

Thanks, Ill give it a try.

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 10:22 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
Ok, sorry to seem a bit dumb about this.

I have run irw and I can see the key presses, and they correctly reflect the button I am pressing.

However when I go into mythfrontend, I can't navigate around the menu, or select anything in livetv. I have missed a step somewhere ?, I have copied the file above into /home/myth/.lircrc etc.

I notice that the lircd.conf has two entries, one is DVICO and one is DVICO_MCE. My system is configured for DVICO, do I need to change it to DVICO_MCE and if so where is that done ?

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 10:48 pm 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
OK,

Think it might be a dos file/ carriage return linefeed problem.

I'll fix that if I can work out where to get a textto style program. :)

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 10:51 pm 
Offline
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location: Australia
I found when setting mine up that I had to restart mythbackend and mythfrontend along with lircd , have you restarted the system the system ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 20, 2006 5:38 am 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day,

All working, thanks.


My problem was the carriage return line feeds in my conf files.

Matt


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu