What's new

using RFXCOM 433 usb tranceiver on AC66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

steef84

Occasional Visitor
Hi folks,

what im trying to achieve is as follows: Im running Domoticz on Syno Nas,
however the nas is not placed in an optimal place for the usb 433mhz tranceiver. My router is placed a lot better, so I want attach this usb tranceiver at the router, and running socat to let in communicate with the Synology. I can use the cli and a bit linux, but now im lost.

Code:
ASUSWRT-Merlin RT-AC66U_3.0.0.4 Sat Dec 27 18:21:40 UTC 2014
admin@RT-AC66u:/tmp/home/root# dmesg | grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver usb-storage
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_ncm
usb 1-1.1: new full speed USB device using ehci_hcd and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
usb 1-1.2: new high speed USB device using ehci_hcd and address 4
usb 1-1.2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver qmi_wwan
usbcore: registered new interface driver cdc_mbim
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2

As seen ttyUSB0 is known as usb gsm driver. I want to make it recognised as FTDI Usb Serial Device. Therefore im think I must compile / install kernel modules i guess. Thats were i struggle: cant find compiled modules or how to compile for my AC66U.

What I also cant find on google is socat on AC66U.
So Is above possible at my router or is it waste of time?
 
In advance of my former post:

It seemed that I should compile the module myself in a VM Ubuntu. I succesfully did, after a few tries :).
I've copied the file to /mnt/sda5/entware/lib/modules/2.6.22.19/kernel/drivers/usb/serial/ftdi_sio.ko.
After that I ran insmod ftdi_sio.ko and plugged the usb tranceiver in. It it now properly recognised.

I have one small problem left: how can I automatically load this module after reboot?
 
Use router boot scripts /jffs/scripts/.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top