[완료] Linux 에서 USB to Serial 사용하기

ikariksj의 이미지

리눅스에서 USB to Serial 을 사용하려고하는데요..

다들 잘 아시겠지만.. 윈도우용 드라이버는 많은데..

리눅스용 드라이버가 거의 없던거 같은데요..

그나마 배포 해주는 드라이버도 검색해서 여러가지 찾아본결과 2.4 기반 으로 제작 된거 밖에 없던데요..

2.6 버전용 드라이버 배포하는데는 검색해도 찾을수가 없었는데요.. 설정 할수 있는 방법이 없을까요?

물론 minicom 에서 ttyUSB0 으로 설정해서 사용하는 분들도 계신거 같은데..

그거 말고요.. 윈도우에서처럼 read / write 할수가 있어야 하는데..

minicom에서 ttyUSB0 으로 해서 사용해도 윈도우에서 하이퍼 터미널 처럼 출력 밖에못하는데요..

드라이버만 잡혀 있으면 직접 open 해서 read/write 가 가능하면 편할텐데..

그게 잘안돼네요...

설정 하셔서 사용하고 계신분 계시면 답글 부탁 드립니다..

전 ubuntu Edgy 버전사용중입니다..

시간이 안나서 Feisty 업그레이드를 못하고 있네요..ㅎ

haze11의 이미지

2.6 드라이버를 따로 제공하지 않는 이유는 이미 커널에 포함되서 사용 가능하기 때문입니다.
윈도우에서처럼 read/write 한다는 말이 이해되지 않네요. ㅡ.ㅡa
ttyUSB0으로 해서 사용한다는 것은 이미 드라이버가 잡혀있는 상태구요.
터미널이 아닌 프로그램상에서 read/write하고싶다면, /dev/ttyUSB0 을 open 하셔서 (파일 입출력 하듯이)
read/write 하시면 됩니다.

ikariksj의 이미지

따로 드라이버 설치 할필요가 없네요..

minicom에서만 ttyUSB0 가 먹는지 알았는데..

바로 open해서 사용이 가능하네요..^^

전 드라이버가 있어야 가능한지 알았는데.. 2.6부터 커널에 포함 되어 있어서 편하네요..

간단한건데.. 몰라서 맨날 시리얼 포트 있는 pc로 옴겨가서 작업했는데..

이제 편해지겠네요..

답글 감사합니다

수고하세요

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.