USB to Serial을 공유기 USB 포트에 연결했을 때 동작되는 함순데요 ..............

gokore의 이미지

drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16

drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/usb.c usb_alloc_dev 362
drivers/usb/core/usb.c usb_bus_is_wusb 342
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
usb 1-1: new full speed USB device using ar71xx-ehci and address 5
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/usb.c usb_bus_notify 1039
drivers/usb/core/usb.c usb_devnode 323
drivers/usb/core/usb.c usb_dev_uevent 209
usb 1-1: configuration #1 chosen from 1 choice
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/core/usb.c usb_altnum_to_altsetting 124
drivers/usb/core/usb.c usb_bus_notify 1039
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/serial/usb-serial.c usb_serial_probe 767
drivers/usb/serial/usb-serial.c search_serial_device 725
drivers/usb/serial/usb-serial.c get_iface_id 707
drivers/usb/serial/usb-serial.c create_serial 669
drivers/usb/core/usb.c usb_get_dev 475
drivers/usb/serial/usb-serial.c get_iface_id 707
drivers/usb/serial/ftdi_sio.c ftdi_sio_probe 1672
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/serial/usb-serial.c get_free_serial 100
drivers/usb/serial/ftdi_sio.c ftdi_sio_port_probe 1692drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/serial/ftdi_sio.c ftdi_determine_type 1415
usb 1-1: Detected FT232BM
drivers/usb/serial/ftdi_sio.c ftdi_set_max_packet_size 1491
usb 1-1: Number of endpoints 2
usb 1-1: Endpoint 1 MaxPacketSize 16384
usb 1-1: Endpoint 2 MaxPacketSize 16384
usb 1-1: Setting MaxPacketSize 64
drivers/usb/serial/ftdi_sio.c read_latency_timer 1291drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16
drivers/usb/serial/ftdi_sio.c create_sysfs_attrs 1611
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
drivers/usb/core/usb.c usb_bus_notify 1039
drivers/usb/core/usb.c usb_bus_notify 1039
drivers/usb/core/urb.c usb_alloc_urb 68
drivers/usb/core/urb.c usb_init_urb 41
drivers/usb/core/urb.c usb_submit_urb 311
drivers/usb/core/urb.c usb_get_urb 113
drivers/usb/core/urb.c usb_unanchor_urb 165
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c usb_free_urb 95
drivers/usb/core/urb.c urb_destroy 16

위의 메시지는 공유기에 USB to Serial을 연결했을 때 나오는 커널 메시지 입니다.

아래와 같은 순서를 가지고 이동합니다.

usb_alloc_arb -> usb_init_urb -> usb_submit_urb -> usb_get_urb->usb_unanchor_urb->usb_free_urb->usb_free_urb->urb_destroy

대충 요약하자면 urb를 할당하고 초기화 하고 전송요청을 보내고 urb를 링크드리스트에서 제거하고 urb를 삭제시키고 객체 참조를 감소시키고 있는데요

이해가 안가는데 urb를 보내고 받는 과정이 없는 것 같은데, 원래 이런 과정이 있어야 하는 것 아닌가요??

아니면 제가 printk를 어딘가 해주지 않은 부분이 있어서 출력이 안된 것일까요???

댓글 달기

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