2.6대 커널에 i2c-proc 가 없던데

punking의 이미지

2.6대 커널에 i2c-proc 가 없던데

2.6 에서 lm_sensor 좀 쓰려는데요..

커널 컴파일 메뉴중에 아무리 바도 위에 모듈 컴파일 옵션은 없던데

혹시 방법이 바뀌었나요..

eunjea의 이미지

i2c-proc 없어졌습니다.
lm_sensor 최근 버전을 사용하셔야 하고 (지금 2.8.4 입나다),
설치 하실때 make user; make user_install 만 해서 라이브러리와 유틸리티만 설치 합니다.

다음 중요한 것이 sysfs를 마운트 해줘야 합니다.
$ mount -t sysfs sysfs /sys
fstab에 "sysfs /sys sysfs defaults 0 0"를 추가하시면 되겠죠.

이제 모듈 올리면 잘 작동할 겁니다.

punking의 이미지

Module Size Used by
i2c_dev 8128 0
i2c_savage4 2724 0
i2c_algo_bit 9032 1 i2c_savage4
i2c_viapro 5100 0
i2c_core 18756 3 i2c_dev,i2c_algo_bit,i2c_viapro
soundcore 7264 0
iptable_filter 2208 1
ipt_multiport 1664 2
ipt_MASQUERADE 3008 1
iptable_nat 20836 2 ipt_MASQUERADE
3c59x 30600 0

모듈은 위와 같이 올라 갔는데요 ..
sensors
No sensors found!

위와 같이 했는데 작동안하네요...
ㅠ,ㅠ

eunjea의 이미지

i2c_sensor 모듈이 안올라 갔군요.
modprobe i2c_sensor 하면 뭐라 나오나요?

punking의 이미지

모듈은 올라 가는데요..
위와 같이

센서를 찾을수 없다는군요...

eunjea의 이미지

위에 lsmod 로 보면 I2C Hardware Sensors Chip 모듈도 안 올라가 있습니다.
전에 사용하던 센서칩 모듈이 뭐죠? w83627hf ? 이것도 다시 확인해 보시고요.
센서칩 모듈도 올라 갔는데 같은 메세지가 나오면 I2C Hardware Bus 모듈을 i2c-isa로 바꿔 보세요.

다음은 제 시스템들로 어떤 모듈이 사용되고 있는지 보시라고 올립니다.

Abit KT7 (via686a)
$ lsmod | grep i2c
i2c_isa                 1664  0 
i2c_sensor              2368  1 via686a
i2c_dev                 8192  0 
i2c_core               18944  4 via686a,i2c_isa,i2c_sensor,i2c_dev

Abit Nforce2
$ lsmod | grep i2c
i2c_isa                 1664  0 
i2c_sensor              2368  1 w83781d
i2c_dev                 8064  0 
i2c_core               18756  4 w83781d,i2c_isa,i2c_sensor,i2c_dev

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.