0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OpenWrt/LEDEでUSBシリアル変換アダプタを使う

Last updated at Posted at 2017-09-18

Silicon Labs CP2102を利用したUSB-TTL変換モジュールをOpenWrt/LEDE環境で使おうと思った。手元のマシンは古いBuffaloのルータにLEDE 17.01.2をインストールしたもの。

cp210xのカーネルモジュールだけインストールしたら動くかと思いきや、USB一式を別途インストールする必要があった。

# opkg update
# opkg install kmod-usb-uhci
# opkg install kmod-usb-ohci
# opkg install kmod-usb2
# opkg install kmod-usb-serial-cp210x

結果。

# dmesg
 (snip)
[   12.139580] usbcore: registered new interface driver cp210x
[   12.145297] usbserial: USB Serial support registered for cp210x
 (snip)
[   12.747034] cp210x 2-1:1.0: cp210x converter detected
[   12.752381] usb 2-1: cp210x converter now attached to ttyUSB0
 (snip)

無事 /dev/ttyUSB0 にシリアルデバイスが作られた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?