免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1401 | 回复: 0
打印 上一主题 下一主题

安装ubuntu7.10 随记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-03 11:05 |只看该作者 |倒序浏览

一、下载光盘镜像,dvd的带中文包,安装。
二、安装nvidia驱动,用系统自带的应可以
三、开启特效,须下载compiz-seting-config包进行管理。
四、蓝牙与手机相连出现无效的obex://连接,须安装一些其它的软件包,用新立得软件搜索bluetooth 及 obex,安装了一些软件包后能够连接 手机,
五、mplayer安装。
     用新立  得搜索mplayer,安装。
    安装解码.下载http://www.mplayerhq.hu/design7/dload.html,essential-20071007.tar.bz2,将其放入/usr/lib/win32中.
   将mplayer中video设置为X11/(Ximage/shm),将etc/mplayer/mplayer.conf中zoom=yes前注释去掉或在用户目录/.mplayer/config文件中加入zoom=yes
   安装插件mplayerplug-in.
六使totem能播放rmvb.
    用新立得,安装totem-xine,会提示删除totem-gstreamer,
    安裝gstreamer的解碼器:
sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse
安裝xine及解碼器:
sudo apt-get install libxine1-ffmpeg  totem-xine ffmpeg lame faad sox mjpegtools libxine-main1
安裝w32codecs:
可在下列網址下載
http://www.debian-multimedia.org/pool/main/w/w32codecs/
全部完成後,即可用 totem-xine 來看 rmvb。
如果此時有出現「有影無聲」的情形可用下列的方式修正。
可以編輯~/.xine/catalog.cache文件,找到
[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
把 decoder_priority 增加到 10
七安装stardict。
  1.安装deb包
  2字典文件
Linux系统下安装字典文件:
按照如下步骤安装字典:
tar -xjvf a.tar.bz2
mv a /usr/share/stardict/dic
3WyabdcRealPeopleTTS 软件包是星际译王词语的发音文件,是扩展名为.wav的文件.
Linux系统下,通过(tar -xjvf) 解压文件 tarball 到 "/usr/share/".Windows系统下,可以使用WinRAR压缩工具释放tarball 文件,放到类似"C:\Program Files\" 或 "Program Files\StarDict\"的安装目录下。
八安装virtualbox ose ,用新立得管理安装
九网络电视gsopcast,下载http://linuxdesktop.cn/downloads/gsopcast/gsopcast_0.3.1-1_i386.deb,安装即可。说明网址http://linuxdesktop.cn/2007/07/24/gsopcast-03-deb
十、安装usb-serial 线。
    插入后能检查出是ftdi_sio类型的线,但不能生成/dev/ttyUSB0接口。上网下载了新的驱动ftdi_sio.tar.gz,解压后不能编译,找了一上午也没查出原因。
   查日志/var/log/message ,有如下信息:
Oct 24 14:05:27 wxg-move kernel: [22435.024000] usb 2-1: new full speed USB device using uhci_hcd and address 7
Oct 24 14:05:28 wxg-move kernel: [22435.272000] usb 2-1: configuration #1 chosen from 1 choice
Oct 24 14:05:28 wxg-move kernel: [22435.276000] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
Oct 24 14:05:28 wxg-move kernel: [22435.276000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/ftdi_sio.c: Detected FT232BM
Oct 24 14:05:28 wxg-move kernel: [22435.276000] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
Oct 24 14:05:29 wxg-move kernel: [22437.032000] usb 2-1: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
Oct 24 14:05:29 wxg-move kernel: [22437.032000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Oct 24 14:05:29 wxg-move kernel: [22437.032000] ftdi_sio 2-1:1.0: device disconnected
Oct 24
说明串口线安装后又自动断线,与brltty冲突。试将brltty及libbrlapi1软件包卸载,插入转换线后工作正常。真它妈的。
brltty似乎是盲人终端。
十一、安装仿真终端程序
1.安装minicom,
     配置sudo  minicom -s. 使用后感觉不顺手,
2安装ckermit,
# 首先安装kermit
apt-get install ckermit
# 安装zmode通信协议工具,由于kermit本身不提供zmodem通信协议功能,而是通过调用其他程序来完成该功能,所以需要单独安装。
apt-get instll lrzsz
# 安装完成之后需要对kermit进行相应的设置才能开始使用,在$HOME目录下建立.kermrc文件,该文件是kermit的设置文件,内容如下:
set line /dev/ttyUSB0
set speed 9600
set serial 8n1                #数据的格式,8位,没有奇偶校验,1位停止位
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5`
set modem type none           #没有modem
set escape ^a                #设置escape字符为Ctrl-a
set protocol zmodem          #传送文件时使用zmodem协议
#set protocol ymodem
#set protocol xmodem
之后 运行kermit,执行connect,完成连接。
此设置也可用set命令设置。
# 为了使当前的用户有串口的权限,将当前用户加入到tty组。
十二安装摄像头webcam:
   本sony本的摄像头是motion eye (Ricoh Co. Ltd),sony不提供linux驱动,上网找了半天终于找到一个网站http://www.arakhne.org/spip.php?article47提供驱动,是deb包,有源码及bin,可直接下载,也可增加源。有最新的7.10的包,ricoh-webcam-r5u870-2.6.22-14-generic_0.10.0-4_i386.deb真是够快的。另chinaunix.net中也有驱动,下载编译不通过,等有时间再研究。
安装后,下载camorama包,试一下,发现只能出黑白,不知是驱动原因还是camorama 原因,还是有问题,再研究。
试编译motioneye-1.3软件包,先是缺少X11/xlib.h等 ,安装libx11-dev,还缺少
display.c:30:34: 错误: X11/extensions/shape.h:No such file or directory
display.c:31:19: 错误: Imlib.h:No such file or directory
display.c: 在函数 ‘display_rgb’ 中:
display.c:98: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
display.c:98: 错误: ‘id’ 未声明 (在此函数内第一次使用)
display.c:98: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
display.c:98: 错误: 所在的函数内只报告一次。)
display.c:100: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
display.c:100: 错误: ‘im’ 未声明 (在此函数内第一次使用)
display.c:109: 警告: 隐式声明函数 ‘Imlib_init’
display.c:126: 警告: 隐式声明函数 ‘Imlib_create_image_from_data’
display.c:127: 警告: 隐式声明函数 ‘Imlib_paste_image’
display.c:128: 警告: 隐式声明函数 ‘Imlib_kill_image’
make: *** [display.o] 错误 1
wxg@w
继续安装xorg-dev包,还出现 Imlib.h:No such file or directory
安装imlib等几个开发包,安装docbook2x,docbook2odf开发包
他娘的,这个程序不是驱动,好像是拍照或录像的软件。
经测试,ricoh-webcam-r5u870-2.6.22-14-generic_0.10.0-4_i386.deb的驱动是正常的,camorama软件有问题
十三安装chm浏览器,经过使用比较,选用chmsee。
十四,突然,mplayer 和totem都不能播放rm格式的视频,找了半天的原因,试删除了一些昨天新装的程序也不解决。后在终端下试用mplayer 播放视频,发现如下错误
Opening video decoder: [realvid] RealVideo decoder
Error: libstdc++.so.5: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
试安装新安装libstdc++ 5 软件包后,程序正常。其原因可能是我昨天用sudo apt-get autoremove删除一些无用 的软件时将原libstdc++删除了。
十五devede,mencoder的图形界面。
        k3b,图形化的刻录软件,但基于kde。
        gnomebaker,基于gnome的刻录软件
十六解决运行secondlife有噪音问题。
      本机运行secondlife经爆音出现,估计是cpu占用过高问题,试安装新的alsa驱动看能否解决。
     下载http://www.alsa-project.org/main/index.php/Main_Page中alsa-driver-1.0.15.alsa-lib-1.0.15.alsa-utils-1.0.15
    安装后声卡不能使用,出现如下错误
(output of dmesg |grep snd)::
Quote:
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_ctl_add
[ 1058.932000] snd_hda_intel: Unknown symbol snd_ctl_add
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_new
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_new
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_limit_hw_rates
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_card_register
[ 1058.932000] snd_hda_intel: Unknown symbol snd_card_register
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_card_free
[ 1058.932000] snd_hda_intel: Unknown symbol snd_card_free
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_card_proc_new
[ 1058.932000] snd_hda_intel: Unknown symbol snd_card_proc_new
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_ctl_find_id
[ 1058.932000] snd_hda_intel: Unknown symbol snd_ctl_find_id
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_ctl_new1
[ 1058.932000] snd_hda_intel: Unknown symbol snd_ctl_new1
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_component_add
[ 1058.932000] snd_hda_intel: Unknown symbol snd_component_add
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_card_new
[ 1058.932000] snd_hda_intel: Unknown symbol snd_card_new
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_lib_malloc_pages
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_lib_ioctl
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_lib_free_pages
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages
[ 1058.932000] snd_hda_intel: Unknown symbol snd_ctl_elem_read
[ 1058.932000] snd_hda_intel: Unknown symbol snd_ctl_elem_write
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_set_ops
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_set_ops
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_list
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_list
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_device_new
[ 1058.932000] snd_hda_intel: Unknown symbol snd_device_new
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_suspend_all
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_suspend_all
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_card_disconnect
[ 1058.932000] snd_hda_intel: Unknown symbol snd_card_disconnect
[ 1058.932000] snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_integer
[ 1058.932000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer
[ 1058.936000] snd_hda_intel: disagrees about version of symbol snd_pcm_period_elapsed
[ 1058.936000] snd_hda_intel: Unknown symbol snd_pcm_period_elapsed
[ 1058.936000] snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_step
[ 1058.936000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_ste
上网找资料,中文没有到,后在英文网站找到如下说明
网址:https://help.ubuntu.com/community/HdaIntelSoundHowto
http://ubuntuforums.org/showthread.php?t=577699
原因:ubuntu default snd-hda-intel.ko location:
/lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
alsa 1.0.15's installation location:
/lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko
so copy /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko to /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko .
and put the modules/* in alsa's compile directory into /lib/modules/.../kernel/sound, you can use "find" to get their location.
snd-hda-intel.ko
snd-hwdep.ko
snd.ko
snd-mixer-oss.ko
snd-page-alloc.ko
snd-pcm.ko
snd-pcm-oss.ko
snd-rtctimer.ko
snd-seq-device.ko
snd-seq.ko
snd-seq-midi-event.ko
snd-seq-oss.ko
snd-timer.ko
then, depmod -a
reboot, try again
其中的安装步骤
Re: Alsa 1.0.15?
thank you very much pcmanlin,
i have pavilion dv6560el ( 6560 dv6560 : mytest   ,将RISING 解压。用命令sudo mount -o loop mytest /mnt,能够正常安装,文件系统格式为iso9660,将mytest改名为mytest.iso,能用文档管理器打开,其为一个光盘镜像文件。我想,稍加改进,就可将此软件运行在linux下(不用引导盘)   


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11233/showart_488229.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP