何やってんだか...pci パススルー (2)
2013/5/19
カテゴリー » Raspberry Pi 2 Model B
recpt1、b25等もインストールして動作テストするも録画できず?
それと一度でも認識させるとホスト側に再起動するまでは帰って来なくなる?
原因不明で今日も寝られない(笑)
— posted by くま at 11:54 pm
TrackBack [0]
CPUの数って関係あるの?
2013/5/18
カテゴリー » Raspberry Pi 2 Model B
知りませんでした(笑)
MPlayer UNKNOWN-4.4.3 (C) 2000-2010 MPlayer Team
MPlayer interrupted by signal 4 in module: unknown
- MPlayer crashed by an 'Illegal Instruction'.
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
— posted by くま at 12:07 pm
TrackBack [0]
何やってんだか...pci パススルー
2013/5/15
カテゴリー » Raspberry Pi 2 Model B
+-1e.0-[05]--+-00.0 Xilinx Corporation Device 211a
$ lspci -vv -s 05:00.0
05:00.0 Multimedia controller: Xilinx Corporation Device 211a (rev 01)
Subsystem: Device ef11:dee5
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
Region 0: Memory at fbfff000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: pt1-pci
Kernel modules: pt1_drv, earth-pt1
$ VBoxManage list vms
"vbox-xp_1" {4adce3a0-e2e7-48af-95da-1e0dcda97678}
"ubuntu12.10" {f277e7db-36e6-4dd4-92b0-1e0f5a9f0d17}
"ubuntu-test" {2b494e56-03a0-4988-9869-5d519f321851}
"vbox-xp_1_CH9" {a0875204-a8d6-40e1-9b6f-904f46c8375a}
"ubuntu12.10_clone" {04d4e7c1-fad0-4434-ad69-3db12b644f71}
$ VBoxManage modifyvm 04d4e7c1-fad0-4434-ad69-3db12b644f71 --pciattach 05:00.0
$ lspci | grep 05:00.0
05:00.0 Multimedia controller: Xilinx Corporation Device 211a (rev 01)
— posted by くま at 05:46 pm
TrackBack [0]
Xが突然起動しなくなった時は
2013/5/13
カテゴリー » Raspberry Pi 2 Model B
# Xorg -configure
# mv -f /root/xorg.conf.new /etc/X11/xorg.conf
# startx
最悪の場合のテキストモードで起動する場合は
# vi /etc/inittab
これでランレベルを3(txtモード)で起動して復旧する。
— posted by くま at 03:22 pm
TrackBack [0]
おまけ
2013/5/11
カテゴリー » Raspberry Pi 2 Model B
gnome-terminal --working-directory=/home/kkuma/desktop -e "sh -c 'qrencode --o test.png `cat %u`'"
http://kkuma.sytes.net/douga/out.ogg

— posted by くま at 11:54 pm
TrackBack [0]
Zbar CentOS6.4
カテゴリー » Raspberry Pi 2 Model B
してみた。以下これだけ必要であった。
zbar-0.10-7.el6.i686
libv4l-0.6.3-2.el6.i686
ImageMagick-6.5.4.7-6.el6_2.i686
libgomp-4.4.7-3.el6.i686
librsvg2-2.26.0-5.el6_1.1.0.1.centos.i686
libcroco-0.6.2-5.el6.i686
libwmf-lite-0.2.8.4-22.el6.centos.i686
ghostscript-8.70-15.el6_4.1.i686
libgsf-1.14.15-5.el6.i686
bzip2-libs-1.0.5-7.el6_0.i686
ImageMagick-c++-devel-6.5.4.7-6.el6_2.x86_64
qrencode-3.2.0-1.el6.rf.x86_64
USBカメラで認識する事を確認できた。
画像の読み取り時にコマンドを発行するのは面倒なのでドラッグアンドドロップで
読み取れるアイコンを作成した。コマンドは以下のとおり
gnome-terminal -e "sh -c 'zbarimg -q %u;exec bash'"
ドラッグアンドドロップすれば端末が立ち上がって読み取り内容が表示される。
— posted by くま at 07:46 am
TrackBack [0]
ウイルス対策 clamd
2013/5/10
カテゴリー » Raspberry Pi 2 Model B
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.6 Recommended version: 0.97.8
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Updating:
clamav x86_64 0.97.8-1.el6 epel 10 M
Updating for dependencies:
clamav-db x86_64 0.97.8-1.el6 epel 56 M
clamd x86_64 0.97.8-1.el6 epel 132 k
Transaction Summary
========================================================================================================================
Upgrade 3 Package(s)
Total download size: 67 M
Is this ok [y/N]:
— posted by くま at 05:01 pm
TrackBack [0]
REGZA用samba.conf 3.6.9 設定
2013/4/24
カテゴリー » Raspberry Pi 2 Model B
# from 127.0.0.1 (127.0.0.1)
# Date: 2013/04/05 10:28:27
[global]
dos charset = CP932
display charset = UTF-8
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
client use spnego = No
hosts allow = 192.168.1., 127
username map = /etc/samba/smbusers
unix extensions = no
[homes]
comment = Home Directories
path = %H/samba
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[video]
comment = Video Directories
path = /var/video/regza
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
share modes = yes
— posted by くま at 10:53 pm
TrackBack [0]
CentOS6.3 EP-704A スキャナードライバーをインストール
カテゴリー » Raspberry Pi 2 Model B
iscan-data-1.22.0-1.noarch.rpm
iscan-network-nt-1.1.0-2.x86_64.rpm
# ln -s /usr/lib64/libltdl.so.7 /usr/lib64/libltdl.so.3
— posted by くま at 04:52 pm
TrackBack [0]
epgrec
2013/4/10
カテゴリー » Raspberry Pi 2 Model B
— posted by くま at 02:52 pm
Comment [1]
TrackBack [0]
Comments