LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: aloha_cn

天敏电视大师3/4的用户进

[复制链接]
发表于 2007-6-13 20:33:26 | 显示全部楼层
请用中文再说一遍起?
回复 支持 反对

使用道具 举报

发表于 2007-6-14 14:32:11 | 显示全部楼层
我没有用过那款电视卡,帮不了你了。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-15 09:28:05 | 显示全部楼层
Post by lsosa
经过测试,确实是没有问题的,而且最关键的地方就是那个参数的设置,我之前加的代码中就是因为参数没有设置正确而导致不能正常显示声音;
在此谢谢了。。。
终于可以在Linux下使用天敏大师系列2,3了。。。
4我手中没有,我估计也应该没问题,毕竟是一个公司出的,那么对应的参数也应该是一样的。


恩,既然好用的话,我有空把遥控器的配置文件贴出来,省得大家各自麻烦了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-15 09:36:18 | 显示全部楼层
Post by sjchenkan
它的win驱动中文件名都是csp7134.*


linux下面是以芯片为基础做驱动的,既然7134字样都出来了,除了saa7134,还会是哪一家?主要还是看看tuner是哪一家的。

耐心的调吧,如果实在没耐心,也很正常,linux确实不是普通用户的最好选择。
回复 支持 反对

使用道具 举报

发表于 2007-6-15 12:25:01 | 显示全部楼层
老兄,我没 耐心??我现在95%的时间都在linux下,用了快四年了
回复 支持 反对

使用道具 举报

发表于 2007-6-15 20:20:13 | 显示全部楼层
Post by aloha_cn
linux下面是以芯片为基础做驱动的,既然7134字样都出来了,除了saa7134,还会是哪一家?主要还是看看tuner是哪一家的。

耐心的调吧,如果实在没耐心,也很正常,linux确实不是普通用户的最好选择。

嗯,不知道这位仁兄是怎么调的?不会真的是我说的那种一个一个试的方法吧?这种方法实际上是应用层级的,我想你既然是在代码层级做的更改,一定对电视卡的硬件参数有所了解了?我想知道你是从那里得到哪些硬件资料的?
回复 支持 反对

使用道具 举报

发表于 2007-6-15 21:14:53 | 显示全部楼层
呵呵,我被硬件ID误导了 ,高频头可以用LG PALnew驱动的
我现在在/etc/rc.d/rc.local里加入了以下两条:
rmmod saa7134
modprobe saa7134 card=3

顺便对新手说一下card=3是把电视卡驱动设置成flyvedio2000,高频头驱动默认是LG PALnew
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-1 09:59:51 | 显示全部楼层
Post by aloha_cn;1721311
恩,既然好用的话,我有空把遥控器的配置文件贴出来,省得大家各自麻烦了。


最新的kernel已经支持大师3。

关于遥控器的配置:
我使用lirc + irexec。先安装相关软件。配置文件附上。
fedora core的配置方法:
1. lircd.conf 放到/etc
2. .lircrc放到home
3. 修改/etc/X11/xinit/xinitrc_common,找个地方加上irexec -d
文件清单:
################## lircd.conf
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.1(dev/input) on Sun May  6 22:05:14 2007
#
# contributed by
#
# brand:                       /tmp/my-remote
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  /etc/lircd.conf
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          199977
  toggle_bit      0


      begin codes
          Power                    0x0074
          Mute                     0x0071
          Tuner                    0x0179
          Video                    0x0189
          Music                    0x0188
          Photo                    0x016F
          1                        0x0002
          2                        0x0003
          3                        0x0004
          4                        0x0005
          5                        0x0006
          6                        0x0007
          7                        0x0008
          8                        0x0009
          9                        0x000A
          0                        0x000B
          -/--                     0x018B
          Recall                   0x0195
          Start                    0x0066
          Out                      0x00AE
          Ch+                      0x0067
          Ch-                      0x006C
          Vol-                     0x0069
          Vol+                     0x006A
          OK                       0x001C
          Esc                      0x0001
          Desktop                  0x0020
          Tab                      0x000F
          Switch                   0x00E3
          Menu                     0x008B
          Zoom                     0x0174
          Timeshift                0x0167
          Videosource              0x0175
          Record                   0x00A7
          Play                     0x00CF
          Stop                     0x0080
          Snapshot                 0x00D4
          Backward                 0x00A8
          Forward                  0x00D0
          Prev                     0x019C
          Next                     0x0197
          Multiview                0x016C
          AudioTrack               0x00D5
          Sound                    0x0170
          Subtitle                 0x0184
          Timer                    0x008E
          Stereo                   0x0175
          SAP                      0x0161
          Text                     0x0094
          Red                      0x018E
          Green                    0x018F
          Yellow                   0x0190
          Blue                     0x0191
      end codes

end remote
##################### end of lircd.conf

##################### .lircrc
# This is an example config file for your LIRC remote.  All buttons
# depend on what you have configured in your lircd.conf file.  Please
# refer to this and adjust the labels below accordingly.
#
# tvtime is controlled through a separate program called tvtime-command.
# For a list of commands, see 'man tvtime-command'.  Key events can
# be 'faked' using the command KEY_EVENT, which allows for mapping a
# single remote control button to both a menu mode command and a normal
# mode command.
#
# begin
#    prog = irexec
#    button = DISPLAY
#    config = tvtime-command DISPLAY_INFO
# end


# This section includes two configs, what this does is that it allows
# you to open tvtime and close tvtime with one button.  If your remote
# has seperate buttons for this, then you can break it apart.
begin
    prog = irexec
    button = Tuner
    config = tvtime &
    config = tvtime-command QUIT
end

begin
    prog = irexec
    button = Tuner
    config = tvtime-command SET_INPUT 0
end

begin
    prog = irexec
    button = Video
    config = tvtime-command SET_INPUT 2
end

begin
    prog = irexec
    button = Tab
    config = tvtime-command TOGGLE_ASPECT
end
   
# The following defines most of the common buttons found on a remote and
# what commads they would map to inside tvtime.
begin
    prog = irexec
    button = Videosource
    config = tvtime-command TOGGLE_INPUT
end

begin
    prog = irexec
    button = DISPLAY
    config = tvtime-command DISPLAY_INFO
    repeat = 1
end
begin
    prog = irexec
    button = Zoom
    config = tvtime-command TOGGLE_FULLSCREEN
end
begin
    prog = irexec
    button = Subtitle
    config = tvtime-command TOGGLE_CC
end

begin
    prog = irexec
    button = Mute
    config = tvtime-command TOGGLE_MUTE
end

begin
    prog = irexec
    button = Start
    config = tvtime-command DISPLAY_INFO
end

begin
    prog = irexec
    button = Timeshift
    config = tvtime-command SET_NORM NTSC ; tvtime-command RESTART
    config = tvtime-command SET_NORM PAL ; tvtime-command RESTART
end
   
begin
    prog = irexec
    button = Menu
    config = tvtime-command SHOW_MENU
end
   
begin
    prog = irexec
    button = Play
    config = tvtime-command TOGGLE_PAUSE
end
   
begin
    prog = irexec
    button = AudioTrack
    config = tvtime-command SET_AUDIO_MODE "mono"
    config = tvtime-command SET_AUDIO_MODE "stereo"
    config = tvtime-command SET_AUDIO_MODE "sap"
end

begin
    prog = irexec
    button = Red
    config = tvtime-command TOGGLE_CHROMA_KILL
end

begin
    prog = irexec
    button = Green
    config = tvtime-command  TOGGLE_MIRROR
end

begin
    prog = irexec
    button = Yellow
    config = tvtime-command TOGGLE_COLOR_INVERT
end

begin
    prog = irexec
    button = Blue
    config = tvtime-command TOGGLE_BARS
end
   
# Menu navigation.
begin
    prog = irexec
    button = Ch+
    config = tvtime-command UP
    repeat = 1
end
begin
    prog = irexec
    button = Ch-
    config = tvtime-command DOWN
    repeat = 1
end
begin
    prog = irexec
    button = Vol+
    config = tvtime-command RIGHT
    repeat = 2
end
begin
    prog = irexec
    button = Vol-
    config = tvtime-command LEFT
    repeat = 2
end

begin
    prog = irexec
    button = Recall
    config = tvtime-command CHANNEL_JUMP
    repeat = 1
end

begin
    prog   = irexec
    button = 1
    config = tvtime-command CHANNEL_1
end
begin
    prog   = irexec
    button = 2
    config = tvtime-command CHANNEL_2
end
begin
    prog   = irexec
    button = 3
    config = tvtime-command CHANNEL_3
end
begin
    prog   = irexec
    button = 4
    config = tvtime-command CHANNEL_4
end
begin
    prog   = irexec
    button = 5
    config = tvtime-command CHANNEL_5
end
begin
    prog   = irexec
    button = 6
    config = tvtime-command CHANNEL_6
end
begin
    prog   = irexec
    button = 7
    config = tvtime-command CHANNEL_7
end
begin
    prog   = irexec
    button = 8
    config = tvtime-command CHANNEL_8
end
begin
    prog   = irexec
    button = 9
    config = tvtime-command CHANNEL_9
end
begin
    prog   = irexec
    button = 0
    config = tvtime-command CHANNEL_0
end
begin
    prog = irexec
    button = OK
    config = tvtime-command ENTER
end
######################### end of .lircrc

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-12-1 17:40:48 | 显示全部楼层
Up 一个;)
谢谢,有空测试一下。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表