태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

티스토리 툴바

달력

052012  이전 다음

  •  
  •  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  •  
  •  

ubuntu start

LINUX 2010/05/03 14:40
안드로이드 공부를 위해 ubuntu 를 설치했다.

상당한 스피드에 대만족 fedora 보다 훨씬더 좋은 듯하다

인터넷 설정은 생각보다 쉬웠다  fedora 보다 훨씬더!!

영문 버전 linux 를 쓰는 나로써는 scim 설정이 필수!

그러기 위해서는 저장소를 교체와 scim 관련 파일 다운로드를 해야 했다.

그리고 yum 이 안되네 헐헐... 새로운 linux 에 빨리 적응 해야 할텐데 ㅋㅋ 화이팅
  
  sudo apt-get install scim-hangul
  sudo apt-get install language-support-ko
  sudo apt-get install language-pack-ko

저작자 표시
Posted by 숭흑호
mplayer 설치시 이런 오류를 보게 된다면

vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in
this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in
this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in
this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'


./configure --enable-gui --disable-ivtv 로 한다음 make 하세요!

저작자 표시
Posted by 숭흑호
노트북 averatec 8200
ver : linux 10
일단 alsa driver,lib,utils 를 설치 한다.
ftp://ftp.alsa-project.org/pub/driver/
ftp://ftp.alsa-project.org/pub/lib/
ftp://ftp.alsa-project.org/pub/utils/

sudo ./configure ##드라이버에선 "--with-cards=hda-intel"를 붙이라고 하는데 전 안해도 별 문제 없었습니다.
sudo make
sudo make install

코덱확인
cat /proc/asound/card0/codec#* | grep Codec
ALC883 으로 확인되었습니다.

vi /etc/modprobe.d/modprobe.conf.dist

입력
options snd-hda-intel model=MODEL

3stack-dig         3-jack with SPDIF I/O
6stack-dig         6-jack digital with SPDIF I/O
3stack-6ch         3-jack 6-channel
3stack-6ch-dig      3-jack 6-channel with SPDIF I/O
6stack-dig-demo      6-jack digital for Intel demo board
acer            Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire         Acer Aspire 9810
medion            Medion Laptops
medion-md2      Medion MD2
targa-dig         Targa/MSI
targa-2ch-dig      Targs/MSI with 2-channel
laptop-eapd         3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e         Lenovo 101E
lenovo-nb0763      Lenovo NB0763
lenovo-ms7195-dig    Lenovo MS7195
haier-w66         Haier W66
6stack-hp         HP machines with 6stack (Nettle boards)
3stack-hp         HP machines with 3stack (Lucknow, Samba boards)
6stack-dell         Dell machines with 6stack (Inspiron 530)
mitac            Mitac 8252D
auto            auto-config reading BIOS (default)

여기서 알맞는것을 골라서 MODEL 에 입력한다.(하나씩 해보는게 좋아요 )

하고나서 reboot

저같은경우는 targa-dig 를 입력하였습니다.

그경우 이어폰을 제거했을때

외장 사운드는 안나오는 경우 발생 -_-;;

이어폰만 사용 하면 되니깐 그냥 사용 ㅋㅋ

Posted by 숭흑호
# http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
# http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

설치한다.
Posted by 숭흑호

fedora10 root login

LINUX 2009/08/01 16:02
cd /etd/pam.d/gdm
 #auth       required    pam_succeed_if.so user != root quiet
를 주석 처리 한다.
Posted by 숭흑호

nateon 로그인 문제

LINUX 2009/07/31 16:58
Fedora 10 에서 네이트온 로그인 문제가 생겼을 경우

fedora10 은 kde4를 지원하기때문에 kde3를 설치 해주어야 한다.

yum install kdebase3.i386
Posted by 숭흑호
되는지 않는지 잘모르겠음 -_-;;
#include <stdio.h>
#include <unistd.h>
#include <sched.h>

int main(void)
{
    struct sched_param param;
    int i, j;

    sched_getparam( 0, &param);

    printf(" \nBefore set\n");
    printf(" Param.priority = %d\n", param.sched_priority);
    printf(" Sched policy = %d\n", sched_getscheduler(0));

    param.sched_priority = 10;
    sched_setscheduler(0, SCHED_FIFO, &param);
    sched_getparam( 0, &param);

    printf(" \nFIFO set\n");
    printf(" Param.priority = %d\n", param.sched_priority);
    printf(" Sched policy = %d\n", sched_getscheduler(0));

    for(i=0; i<100000; i++)
        for(j=0; j<100000; j++);

    param.sched_priority = 20;
    sched_setscheduler(0, SCHED_RR, &param);
    sched_getparam( 0, &param);

    printf(" \nRR set\n");
    printf(" Param.priority = %d\n", param.sched_priority);
    printf(" Sched policy = %d\n", sched_getscheduler(0));


    return 0;
}

Posted by 숭흑호

linux thread 만들기

LINUX 2009/07/18 00:52
#include <pthread.h>
int  pthread_create(pthread_t  *  thread, pthread_attr_t *attr, void * (*start_routine)(void *), void * arg);

첫번째 인자는 pthread_t 형 포인터변수
두번째 인자는 쓰레드 특성을 지정하는 것 보통 NULL
세번째 인자는 쓰레드로 사용할 함수 포인터
네번째 인자는 쓰레드로 전달될 파라미터

void *함수명(void *arg)
{
Range *range = (Range*)arg;
int start = range->start;
int end = range->end;
int i, j;
int startSqrt, flag;
float t;

for(i = start; i <= end; i++)
{
....
}
int main()
{

pthread_t tid[10];
int status;

 pthread_create(&tid[0], NULL, rangePrime, (void*)&range1);
생성
 pthread_join(tid[0], (void**)&status);
삭제
.....
 pthread_exit(NULL);
종료
}

Posted by 숭흑호

scim 설치

LINUX/SCIM 설정 2009/07/15 10:28

1. yum install scim-hangul
scim 한글을 설치한다.

2. 시스템 -> 기본설정 -> 하드웨어 -> 키보드 설정
키보드 모델 Korea 106-key
키 배치 korea, republic of 101/104 key compatible
키배치 기본값설정

3. scim 설정창 (terminal 창에서 scim-setup입력)
프론트 엔드 전체설정 전환키 hangul

4.시스템 -> 기본설정 -> 개인 -> 입력방식
활성화 후 제부팅!!

'LINUX > SCIM 설정' 카테고리의 다른 글

scim 설치  (0) 2009/07/15
Posted by 숭흑호
TAG SCIM
FEDORA 10 NATEON 한글입력 이 안될때
yum install scim-qtimm 설치 한후 안되면
yum install scim-bridge-qt3 을 설치한다.

 

Posted by 숭흑호