Community discussions

MikroTik App
 
trelane
just joined
Topic Author
Posts: 4
Joined: Fri Dec 22, 2023 2:50 am

rb5009UG+S+IN

Fri Dec 22, 2023 2:57 am

I just unboxed my shiny new rb5009UG+S+IN. It's been awhile since I used Mikrotik, but I seem to remember USB being visible under /port or /system/routerboard/usb. I can bounce the power, but I can't see the port. Does the USB port have to be turned on somewhere?
[admin@MikroTik] /port> print

 
gabacho4
Member
Member
Posts: 335
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: rb5009UG+S+IN

Fri Dec 22, 2023 4:04 am

It should be enabled out of the box and will show up under System/Disks when mounted.
 
trelane
just joined
Topic Author
Posts: 4
Joined: Fri Dec 22, 2023 2:50 am

Re: rb5009UG+S+IN

Fri Dec 22, 2023 4:14 am

So that USB port can't be used for anything other than storage? Like a GPS?

I have plugged in an external drive, and it does show up.
Last edited by trelane on Fri Dec 22, 2023 4:37 am, edited 1 time in total.
 
gabacho4
Member
Member
Posts: 335
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: rb5009UG+S+IN

Fri Dec 22, 2023 8:04 am

Yes it can and people have.
 
trelane
just joined
Topic Author
Posts: 4
Joined: Fri Dec 22, 2023 2:50 am

Re: rb5009UG+S+IN

Fri Dec 22, 2023 8:31 am

What am I missing? I have the GPS module installed, a GPS connected to USB, but the port doesn't show up in ports or GPS.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11640
Joined: Thu Mar 03, 2016 10:23 pm

Re: rb5009UG+S+IN

Fri Dec 22, 2023 9:03 am

Things get visible in /port only after device is inserted and appropriate serial driver is loaded. USB storage obviously won't show in /port (but rather in /disk). If you happen to plug in an USB device for which driver is missing from ROS, then device will still be enumerated under /system/resources/usb as this doesn't depend on running correct driver for it ... and vice-versa, listing device in this section does not assure it can properly work in ROS.
 
trelane
just joined
Topic Author
Posts: 4
Joined: Fri Dec 22, 2023 2:50 am

Re: rb5009UG+S+IN

Fri Dec 22, 2023 7:02 pm

Is there a doc on how to load the driver? It's a u-blox GPS.
 
User avatar
jvanhambelgium
Forum Veteran
Forum Veteran
Posts: 993
Joined: Thu Jul 14, 2016 9:29 pm
Location: Belgium

Re: rb5009UG+S+IN

Fri Dec 22, 2023 7:14 pm

In case you did not yet find these.

viewtopic.php?t=61007

So your product is NMEA-output support compliant ? Perhaps some fiddling with the baudrate ?

Offcourse all of this is RouterOS 6.x (old wiki)
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3505
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: rb5009UG+S+IN

Fri Dec 22, 2023 7:55 pm

Sounds like the USB device-id isn't being recognized as a serial device. e.g. it would show up in /port/print if it was reconqnized. And if there isn't /port for it, the GPS package isn't going to help.

Check /system/resource/usb/print, and see if it shows up on the USB bus. If it does, I'd open a ticket with Mikrotik with a supout.rif for the device with it attached. If USB device-id isn't known to RouterOS, there is no user available method to add it.
Last edited by Amm0 on Fri Dec 22, 2023 7:59 pm, edited 1 time in total.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3505
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: rb5009UG+S+IN

Fri Dec 22, 2023 7:58 pm

You might also want to update RouterOS to latest stable. And also firmware too (/system/routerboard/update). If you haven't already...
 
xrlls
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Sun Jan 13, 2019 4:43 pm

Re: rb5009UG+S+IN

Fri Dec 22, 2023 8:57 pm

I had a U-Blox 8 based GPS working on USB until 7.13.1, but then I both updated the RB5009, and messed around with the GPS at the same time (reset it to factory defaults) and it stopped registering as a port. I assumed it was something with 7.13.2 and 7.14 as it seems that people are having a lot of issues with third party LTE modems that are also registering as USB device, so currently I hoping for the next ROS update to fix, and if that does not work out, I will probably have to figure something out myself :)
 
trelane
just joined
Topic Author
Posts: 4
Joined: Fri Dec 22, 2023 2:50 am

Re: rb5009UG+S+IN

Sat Dec 23, 2023 10:00 pm

I really appreciate all the responses. This thing is speaking NMEA GPS at 9600 baud. Should be easily detected. I'm going to open a bug and attach a support.rtf after the holidays.

Andrew
 
Prince71
just joined
Posts: 2
Joined: Fri Jan 08, 2016 12:21 am

Re: rb5009UG+S+IN

Tue Jan 02, 2024 1:04 pm

Same problem with SONOFF Zigbee 3.0 USB Dongle Plus V2
It is visible under system/resource/usb but not visible in the port.

Who is online

Users browsing this forum: No registered users and 3 guests