728x90

C:\WINDOWS\Installer 내에 있는 내용들 지웠더니 ms office아이콘들이 다 사라졌다.


solution : 

{90120000-0011-0000-0000-0000000FF1CE}.zip


탐색기 실생 -> 도구 -> 폴더 옵션 -> 파일형식 ( XP 기준 )

에서 MS Office 문서 확장자 ( doc, docx, xls, xlsx, ppt, pptx 등 )를 선택

고급 -> 아이콘 변경 선택하면 

C:\WINDOWS\Installer\{90120000-0030-0000-0000-0000000FF1CE}\xlicons.exe 파일을 찾을 수 없습니다. 와 같은 메시지가 나온다.

ms office 버전에 따라 폴더 명이 다르다. 2010의 경우{90140000-0030-0000-0000-0000000FF1CE}


압축파일을 푼다. 폴더를 해당 경로로 옮긴다.(ms office 2007기준)

C:\WINDOWS\Installer\{90120000-0011-0000-0000-0000000FF1CE}

(ms office 2010의 경우 C:\WINDOWS\Installer\{90140000-0011-0000-0000-0000000FF1CE}


해결!


728x90
728x90

소스코드 참고

http://people.csail.mit.edu/albert/bluez-intro/c404.html#simplescan.c



$apt-get install libbluetooth-dev

simplescan.c



$gcc -o scantest simplescan.c -lbluetooth


$bccmd -t BCSP -d /dev/ttyUSB0 psload -r ./test/csr_4841.psr


Loading PSKEY_LM_TEST_SEND_ACCEPTED_TWICE ... done

Loading PSKEY_PMALLOC_SIZES ... done

...


$hciattach -s 921600 /dev/ttyUSB0 bcsp 921600 noflow


Device setup complete


$hciconfig hci0 reset


$ ./scantest

==> 실행은 되는데 결과가 나오지 않는다.

hcidump로 확인해봐도 hci command는 정상적으로 result를 받는데 inquriy result가 없다.


blueZ를 이용한 hfp 예제를 다운받아 test해보기로 함.

nohands

http://nohands.svn.sourceforge.net/viewvc/nohands/?view=tar


$ apt-get install ed

$ sudo apt-get install autotools-dev

$ sudo apt-get install automake

$ apt-get install libspeexdsp-dev


1: In libhfp/Makefile.am:

Add "-fpermissive" to the AM_CXXFLAGX line.

Next, rerun autogen.sh


2: In include/libhfp/events.h:

Replace all references to Invoke() with this->Invoke() and RegisterDirect() with this->RegisterDirect().



$ ./configure

$ make


$ data/hfconsole

를 실행시켜 놓고 해봐도 동일한 결과

hcitool scan을 해봐도 동일


help.....



sloved : 

//PSKEY_ANA_FREQ

&01fe = 6590


이걸 psr에 추가해줘야 해결되는 문제였다.

USB로 되고 BC05로도 되는데 rom type의 chip으로 해결되지 않는 문제


728x90
728x90

$ apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 


libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev libglapi-mesa:i386
mesa관련 설치하니까 재부팅이 안된다.ㅡㅡ;

이거 지우니 됨

$ ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so


http://www.jusuchyne.com/codingforme/2012/05/installing-oracle-java-jdk-6-or-7-on-ubuntu/

$ apt-get install git

wget http://ftp.gnu.org/gnu/make/make-3.81.tar.gz
$ ./configure; make; make install

wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
$ ./configure; make; make install

## download blueZ
$wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.2.tar.xz
$ tar xf bluez-5.2.tar.xz
$ cd bluez-5.2
$ ./configure

### ERROR: configure: error: GLib >= 2.28 is required
$ apt-get install libglib2.0-dev

### ERROR: configure: error: D-Bus >= 1.4 is required
$ apt-get install dbus-*dev

### ERROR: configure: error: USB library support is required
$ apt-get install libusb-dev

### ERROR: configure: error: libudev >= 143 is required
$ apt-get install libudev-dev

### ERROR: configure: error: libical is required
$ apt-get libical-dev

$./configure --disable-systemd
$ make

### ERROR: /usr/bin/ld: cannot find -lreadline
$apt-get install libreadline-dev

$ make
$ make install


728x90
728x90

blueZ를 우선 linux에 설치해보기로 함

http://www.bluez.org/download/


checking for GLIB... no

configure: error: GLib >= 2.28 is required

에러를 만남


GLIB를 설치하기로 함

https://launchpad.net/glib/+milestone/2.28.7


*** You must have either have gettext support in your C library, or use the

*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html

에러를 만남


$apt-get install gettext

cd glib-2.28.7

$./configure

$make

$make install


GLIB 설치 완료됨


configure: error: D-Bus >= 1.4 is required

에러를 만남


$apt-get install dbus

1.4.14 설치 되나 제대로 해결되지 않음

configure: error: D-Bus >= 1.4 is required

동일한 에러를 만남


source를 받아서 설치하기로 함

https://launchpad.net/ubuntu/+source/dbus/1.4.6-1ubuntu6


checking for XML_ParserCreate_MM in -lexpat... no

configure: error: Could not find expat.h, check config.log for failed attempts

에러를 만남


http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz

$cd expat-2.0.1

$./configure

$make

$make install


$cd dbus-1.4.6

$./configure

$make

$make install

D-BUS 설치 됨


checking for USB... no

configure: error: USB library support is required

에러를 만남


$apt-get install libusb-dev

http://sourceforge.net/projects/libusb/files/

받아서 설치함

libusb-1.0.9


checking for UDEV... no

configure: error: libudev >= 143 is required

에러를 만남


$apt-get install libudev-dev


checking for ICAL... no

configure: error: libical is required

에러를 만남


$apt-get install libical-dev


checking for readline/readline.h... no

configure: error: readline header files are required

에러를 만남


http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html

leadline download


$cd readline-6.2

$./configure

$make

$make install

readline 설치함


checking sytemd system unit dir... configure: error: systemd system unit directory is required

에러를 만남


./configure --disable-systemd


힘겨운 configure 지나감


$make


/usr/local/lib/libreadline.so: undefined reference to `tputs'

/usr/local/lib/libreadline.so: undefined reference to `tgoto'

/usr/local/lib/libreadline.so: undefined reference to `tgetflag'

/usr/local/lib/libreadline.so: undefined reference to `UP'

/usr/local/lib/libreadline.so: undefined reference to `tgetent'

/usr/local/lib/libreadline.so: undefined reference to `tgetnum'

/usr/local/lib/libreadline.so: undefined reference to `PC'

/usr/local/lib/libreadline.so: undefined reference to `tgetstr'

/usr/local/lib/libreadline.so: undefined reference to `BC'

collect2: ld returned 1 exit status

에러를 만남


./configure --disable-systemd

$apt-get install libreadline-gplv2-dev

$apt-get build-dep libreadline-gplv2-dev


$cd /usr/local/lib

$ln -s /usr/lib/libreadline.so ./libreadline.so


드이어 make 됨


728x90

+ Recent posts