VoCore -> USB Relay Board

dark_avenger
 
Posts: 4
Joined: Wed Feb 11, 2015 10:55 am

VoCore -> USB Relay Board

Wed Feb 11, 2015 11:08 am

Hi,

I have both a VoCore and a 4 channel USB relay board which is a FT232RL USB to UART chip with 4 relays.

I have soldered up the two wires for the USB and both the VoCore and Relay board are both running from a 5V wall wart.

The VoCore starts and connects to my WiFi no worries and I can SSH into it however it does not appear to see the USB-Serial chip even with the
kmod-usb-serial and kmod-usb-serial-ftdi modules installed.

I have attached a picture of the setup (excuse the awful soldering)
Connections have been checked with a multimeter and seem OK.
The chip is a FT232RL USB to UART.

Any suggestions?

Here is the output of dmesg:
Code: Select all
BusyBox v1.22.1 (2014-09-21 10:15:39 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (14.07, r42625)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:~# cd /
root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 16:33:08 CEST 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is VoCore
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802b4b40, node_mem_map 81005180
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=000694cd
[    0.000000] Readback ErrCtl register=000694cd
[    0.000000] Memory: 29152k/32768k available (2284k kernel code, 3616k reserved, 574k data, 212k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 360MHz
[    0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.090000] NET: Registered protocol family 16
[    0.110000] rt2880-pinmux pinctrl.1: try to register 28 pins ...
[    0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.110000] pinctrl core: add 3 pinmux maps
[    0.110000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag
[    0.110000] rt2880-pinmux pinctrl.1: found group selector 2 for uartf
[    0.110000] rt2880-pinmux pinctrl.1: found group selector 5 for led
[    0.110000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 22 (io22) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 23 (io23) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 24 (io24) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 25 (io25) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 26 (io26) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.160000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.170000] rt2880_gpio 10000660.gpio: registering 6 gpios
[    0.180000] rt2880_gpio 10000660.gpio: registering 6 irq handlers
[    0.190000] Switching to clocksource MIPS
[    0.200000] NET: Registered protocol family 2
[    0.210000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.230000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.240000] TCP: Hash tables configured (established 512 bind 512)
[    0.250000] TCP: reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] NET: Registered protocol family 1
[    0.290000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[    0.310000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.350000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.360000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.380000] msgmni has been set to 56
[    0.390000] io scheduler noop registered
[    0.400000] io scheduler deadline registered (default)
[    0.410000] rt2880-pinmux pinctrl.1: request pin 0 (io0) for pio:0
[    0.410000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for pio:7
[    0.410000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for pio:8
[    0.410000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for pio:9
[    0.410000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for pio:12
[    0.410000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for pio:13
[    0.410000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pio:14
[    0.410000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for pio:17
[    0.420000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pio:18
[    0.420000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pio:19
[    0.420000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pio:20
[    0.420000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pio:21
[    0.420000] rt2880-pinmux pinctrl.1: request pin 22 (io22) for pio:22
[    0.420000] rt2880-pinmux pinctrl.1: request pin 23 (io23) for pio:23
[    0.420000] rt2880-pinmux pinctrl.1: request pin 24 (io24) for pio:24
[    0.420000] rt2880-pinmux pinctrl.1: request pin 25 (io25) for pio:25
[    0.420000] rt2880-pinmux pinctrl.1: request pin 26 (io26) for pio:26
[    0.420000] gpio-export gpio-export.4: 17 gpio(s) exported
[    0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.470000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.470000] pinctrl core: add 1 pinmux maps
[    0.470000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[    0.470000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[    0.470000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[    0.470000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.480000] console [ttyS0] enabled, bootconsole disabled
[    0.510000] pinctrl core: add 1 pinmux maps
[    0.510000] pinctrl core: add 1 pinmux maps
[    0.510000] rt2880-pinmux pinctrl.1: found group selector 1 for spi
[    0.510000] rt2880-pinmux pinctrl.1: found group selector 6 for spi_cs1
[    0.510000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi
[    0.510000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi
[    0.510000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi
[    0.510000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi
[    0.510000] rt2880-pinmux pinctrl.1: request pin 27 (io27) for 10000b00.spi
[    0.520000] m25p80 spi32766.0: found w25q128, expected s25fl064k
[    0.530000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.540000] 4 ofpart partitions found on MTD device spi32766.0
[    0.550000] Creating 4 MTD partitions on "spi32766.0":
[    0.560000] 0x000000000000-0x000000030000 : "uboot"
[    0.570000] 0x000000030000-0x000000040000 : "uboot-env"
[    0.590000] 0x000000040000-0x000000050000 : "factory"
[    0.600000] 0x000000050000-0x000000800000 : "firmware"
[    0.620000] 0x000000151849-0x000000800000 : "rootfs"
[    0.630000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.660000] mtd: device 4 (rootfs) set to be root filesystem
[    0.670000] mtd: partition "rootfs_data" created automatically, ofs=0x370000, len=0x490000
[    0.680000] 0x000000370000-0x000000800000 : "rootfs_data"
[    0.710000] eth0: done loading
[    0.720000] rt3xxx-usbphy usbphy.3: loaded
[    0.730000] rt2880_wdt 10000120.watchdog: Initialized
[    0.740000] TCP: cubic registered
[    0.750000] NET: Registered protocol family 17
[    0.760000] Bridge firewalling registered
[    0.770000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.820000] Freeing unused kernel memory: 212K (802cb000 - 80300000)
[    6.760000] usbcore: registered new interface driver usbfs
[    6.770000] usbcore: registered new interface driver hub
[    6.780000] usbcore: registered new device driver usb
[    6.800000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.810000] ehci-platform: EHCI generic platform driver
[    7.030000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[    7.040000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[    7.050000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    7.060000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    7.080000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    7.110000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    7.120000] usb usb1: no of_node; not parsing pinctrl DT
[    7.120000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    7.120000] hub 1-0:1.0: USB hub found
[    7.130000] hub 1-0:1.0: 1 port detected
[    7.140000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.150000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[    7.170000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    7.180000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    7.260000] usb usb2: no of_node; not parsing pinctrl DT
[    7.260000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    7.260000] hub 2-0:1.0: USB hub found
[    7.270000] hub 2-0:1.0: 1 port detected
[    7.280000] leds-gpio gpio-leds.5: pins are not configured from the driver
[    7.290000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for pio:10
[    7.300000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for pio:11
[    8.350000] rt305x-esw 10110000.esw: link changed 0x00
[   12.330000] jffs2: notice: (327) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (1 unchecked, 17 orphan) and 26 of xref (0 dead, 17 orphan) found.
[   15.120000] NET: Registered protocol family 10
[   15.150000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[   15.170000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.210000] pinctrl core: add 1 pinmux maps
[   15.210000] rt2880-pinmux pinctrl.1: found group selector 0 for i2c
[   15.210000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for 10000900.i2c
[   15.210000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for 10000900.i2c
[   15.210000] i2c-ralink 10000900.i2c: loaded
[   15.230000] usbcore: registered new interface driver cdc_acm
[   15.250000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.260000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   15.280000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   15.300000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.360000] usbcore: registered new interface driver usbserial
[   15.370000] usbcore: registered new interface driver usbserial_generic
[   15.390000] usbserial: USB Serial support registered for generic
[   15.440000] xt_time: kernel timezone is -0000
[   15.500000] cfg80211: Calling CRDA to update world regulatory domain
[   15.520000] usbcore: registered new interface driver ftdi_sio
[   15.540000] cfg80211: World regulatory domain updated:
[   15.550000] cfg80211:  DFS Master region: unset
[   15.550000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.570000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.590000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.610000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   15.620000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   15.640000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.650000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.670000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   15.690000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   15.700000] usbserial: USB Serial support registered for FTDI USB Serial Device
[   15.800000] PPP generic driver version 2.4.2
[   15.810000] NET: Registered protocol family 24
[   15.870000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   15.890000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   15.900000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   28.280000] cfg80211: Calling CRDA for country: AU
[   28.310000] cfg80211: Regulatory domain changed to country: AU
[   28.320000] cfg80211:  DFS Master region: unset
[   28.330000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   28.350000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   28.360000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   28.380000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2400 mBm), (0 s)
[   28.390000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2400 mBm), (0 s)
[   28.410000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   29.740000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.020000] wlan0: authenticate with 24:0a:64:b6:fa:81
[   32.060000] wlan0: send auth to 24:0a:64:b6:fa:81 (try 1/3)
[   32.070000] wlan0: authenticated
[   32.080000] wlan0: associating with AP with corrupt probe response
[   32.090000] wlan0: associate with 24:0a:64:b6:fa:81 (try 1/3)
[   32.110000] wlan0: RX AssocResp from 24:0a:64:b6:fa:81 (capab=0x431 status=0 aid=5)
[   32.120000] wlan0: associated
[   32.130000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

dark_avenger
 
Posts: 4
Joined: Wed Feb 11, 2015 10:55 am

Re: VoCore -> USB Relay Board

Thu Feb 12, 2015 8:48 am

Forgot to attach picture
Attachments
DSC_1145.JPG
DSC_1145.JPG (215.21 KiB) Viewed 10218 times

Ruphobia
 
Posts: 18
Joined: Fri Jan 30, 2015 4:07 pm

Re: VoCore -> USB Relay Board

Thu Feb 12, 2015 6:29 pm

please post response from the following commands:

lsmod
ls /dev/ttyU*

Thanks

dark_avenger
 
Posts: 4
Joined: Wed Feb 11, 2015 10:55 am

Re: VoCore -> USB Relay Board

Fri Feb 13, 2015 12:22 am

Return of lsmod:
Code: Select all
root@OpenWrt:/# lsmod
arc4                    1312  2
cdc_acm                12496  0
cfg80211              197687  2 rt2x00lib
compat                  2285  3 rt2800soc
crc_ccitt               1019  2 rt2800lib
crc_itu_t               1019  0
crypto_blkcipher       10375  1 arc4
eeprom_93cx6            1807  0
ehci_hcd               29964  1 ehci_platform
ehci_platform           2272  0
ftdi_sio               27840  0
gpio_button_hotplug     5984  0
i2c_core               15054  2 i2c_ralink
i2c_ralink              2304  0
ip6_tables              8993  3 ip6table_raw
ip6t_REJECT             2368  0
ip6table_filter          656  0
ip6table_mangle         1024  0
ip6table_raw             576  0
ip_tables               9165  4 iptable_nat
ipt_MASQUERADE          1136  0
ipt_REJECT              1776  0
iptable_filter           720  0
iptable_mangle           928  0
iptable_nat             1968  0
iptable_raw              640  0
ipv6                  249724 24 ip6t_REJECT
leds_gpio               2944  0
mac80211              344513  3 rt2800lib
nf_conntrack           46062 13 iptable_nat
nf_conntrack_ftp        5136  1 nf_nat_ftp
nf_conntrack_ipv4       5204  1
nf_conntrack_ipv6       5584  0
nf_conntrack_irc        2784  1 nf_nat_irc
nf_defrag_ipv4           790  1 nf_conntrack_ipv4
nf_defrag_ipv6          8727  1 nf_conntrack_ipv6
nf_nat                 10752  7 iptable_nat
nf_nat_ftp              1216  0
nf_nat_ipv4             2718  1 iptable_nat
nf_nat_irc              1008  0
nls_base                5006  1 usbcore
of_i2c                  1344  1 i2c_ralink
ohci_hcd               13360  0
ppp_async               6176  0
ppp_generic            19650  3 pppoe
pppoe                   7744  0
pppox                   1338  1 pppoe
rt2800lib              91393  2 rt2800soc
rt2800mmio              6338  1 rt2800soc
rt2800soc               2464  0
rt2x00lib              34047  5 rt2800soc
rt2x00mmio              1952  2 rt2800soc
rt2x00soc               1218  1 rt2800soc
slhc                    4347  1 ppp_generic
usb_common              1160  1 usbcore
usbcore               107099  6 ftdi_sio
usbserial              18295  1 ftdi_sio
x_tables               10997 26 ipt_MASQUERADE
xt_CT                   2272  0
xt_LOG                  9744  0
xt_REDIRECT             1056  0
xt_TCPMSS               2704  0
xt_comment               480  0
xt_conntrack            2144  0
xt_id                    480  0
xt_limit                 992  0
xt_mac                   608  0
xt_mark                  672  0
xt_multiport            1200  0
xt_nat                  1072  0
xt_state                 688  0
xt_tcpudp               1712  0
xt_time                 1664  0


Return of ls /dev/ttyU*
Code: Select all
root@OpenWrt:/# ls /dev/ttyU*
ls: /dev/ttyU*: No such file or directory


Return of ls /dev:
Code: Select all
root@OpenWrt:/# ls /dev
bus                 mtd3ro              ppp                 ttyS15
console             mtd4                ptmx                ttyS2
cpu_dma_latency     mtd4ro              pts                 ttyS3
full                mtd5                random              ttyS4
kmsg                mtd5ro              shm                 ttyS5
log                 mtdblock0           spidev32766.1       ttyS6
mem                 mtdblock1           tty                 ttyS7
mtd0                mtdblock2           ttyS0               ttyS8
mtd0ro              mtdblock3           ttyS1               ttyS9
mtd1                mtdblock4           ttyS10              urandom
mtd1ro              mtdblock5           ttyS11              watchdog
mtd2                network_latency     ttyS12              watchdog0
mtd2ro              network_throughput  ttyS13              zero
mtd3                null                ttyS14

Ruphobia
 
Posts: 18
Joined: Fri Jan 30, 2015 4:07 pm

Re: VoCore -> USB Relay Board

Fri Feb 13, 2015 4:59 pm

Everything looks correct in your module list:

usb_common 1160 1 usbcore
usbcore 107099 6 ftdi_sio
usbserial 18295 1 ftdi_sio

So at least your modules are loading properly. I suspect it's a wiring issue, i noticed there's no ground on the USB cable going to the relay board. I would start by wiring the ground on that USB cable to a ground pin on the VoCore.

If it still doesn't work. Try adding +5V on the USB cable as well.

You should see "/dev/ttyUSB0" when you do ls /dev/ttyU* when it is working.

You can then talk to it by doing:
screen /dev/ttyUSB0 115200 (change the baud rate to match the relay board if its not 115200)

Thanks

dark_avenger
 
Posts: 4
Joined: Wed Feb 11, 2015 10:55 am

Re: VoCore -> USB Relay Board

Sun Feb 15, 2015 6:52 am

I'll give it a shot. The DC jack is wired back to the same PSU but it's quite possible the USB -> Serial chip is powered from the USB port.

I'll let you know how I get on.

Thank you :)

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 26 guests