Skip to content
Snippets Groups Projects
Commit e64a972b authored by A. Hahn's avatar A. Hahn
Browse files

wishbone-serial: add symlink for dev/ttyUSBn devices

parent 5d1b1b4b
ACTION=="add", SUBSYSTEM=="tty", ENV{ID_BUS}=="usb", KERNEL=="ttyUSB*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6062", SYMLINK+="wbmUSB%n"
......@@ -25,6 +25,7 @@ install:
$(MAKE) -C $(KERNELDIR) M=$(PWD) INSTALL_MOD_PATH=$(STAGING) modules_install
mkdir -p $(STAGING)/etc/udev/rules.d
cp 95-pcie-wb.rules $(STAGING)/etc/udev/rules.d
cp 99-usb-wb-serial.rules $(STAGING)/etc/udev/rules.d
[ $$(id -u) -ne 0 ] || depmod -a $(KERNELVER)
[ $$(id -u) -ne 0 ] || groupadd wishbone || true
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment