One Port To Rule Them All // Serial, Ethernet, USB OTG, Raspberry Pi, OpenWrt

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 17

  • @DevOdyssey
    @DevOdyssey  2 ปีที่แล้ว +2

    What would you do with USB OTG?

    • @LBM01028
      @LBM01028 ปีที่แล้ว +1

      With serial mode I can use usb drives & devices via usb c on my Raspberry Pi? My USB-A ports died so I bought a USB hat that I want to connect to the Pi via usb c so I can use peripherals again.

    • @DevOdyssey
      @DevOdyssey  ปีที่แล้ว

      @@LBM01028 Thanks for watching Ben! Thats a great way to use OTG. When your USB A ports die, you still have USB on hand with USB C. So long as you can power your Pi, you can then use that USB C connection for peripherals like mouse, keyboard, for mass storage like flash drive, networking, or serial console access, which I personally enjoy. If you can give it power at the same time, then you have a pretty functional Pi even with those dead USB A ports.

  • @ericying
    @ericying ปีที่แล้ว

    Thanks for posting this! Saved me hours, probably days to figure this out.

    • @DevOdyssey
      @DevOdyssey  ปีที่แล้ว

      You’re welcome ericying! Thanks for watching. I hear you, and you’re probably not wrong. It actually took me an evening to figure this out with the prior knowledge I had, and just getting lucky with my tinkering around too. Now putting it all together in a video, that certainly took longer than an evening, but it brings me joy, including hearing how I’ve helped people like yourself.

  • @dishendra.
    @dishendra. 2 ปีที่แล้ว +1

    Hi! Is there something like Netgear readyshare usb utility for openwrt?
    When you connect a printer to Netgear router like r6120, using Netgear usb control utility on windows the printer acts like it is connected to the pc directly.
    I think it works something like usb over Ethernet host.
    Thanks.

    • @DevOdyssey
      @DevOdyssey  2 ปีที่แล้ว +1

      Thanks for watching Dishendra!
      So basically the USB ports on the Raspberry Pi 4B can act like ReadyShare. In particular, I'm not talking about the USB C port thats OTG, but rather the USB 3.0 and USB 2.0 ports (in USB A form factor).
      Anyway, if you want to use a printer, for example, you can download the openwrt package, p910nd or cups, to get printing to work over the network.
      openwrt.org/docs/guide-user/services/print_server/start
      In addition, if you want to share a storage device, like a USB flash drive as a NAS, you can use NFS to share that drive over the network.
      So that should cover the most generic use cases, but I'm sure there is more you can do.

    • @dishendra.
      @dishendra. 2 ปีที่แล้ว +1

      @@DevOdyssey Thankyou very much for reply, really appreciate it.

    • @DevOdyssey
      @DevOdyssey  2 ปีที่แล้ว

      @@dishendra. You're welcome!

  • @user-zr7kz4vs7c
    @user-zr7kz4vs7c 2 ปีที่แล้ว +1

    Nice video ~

    • @DevOdyssey
      @DevOdyssey  2 ปีที่แล้ว +1

      Thank you KC! I stumbled upon this feature one day and I thought “wow this is really useful, and not too difficult” so figured I’d share 😊
      I appreciate you watching!

  • @jefferyholcombe5189
    @jefferyholcombe5189 2 ปีที่แล้ว +1

    Sierra wireless says their is firmware for android, can it be loaded on and say plugged into an android car stereo with a USB-A port on the front and how can you get to a command line on an android device like an android car stereo head unit. Can you plug a hub and keyboard into it with a storage device to upload firmware to car stereo? Want to pipe 4G into a DD touchscreen car stereo to streem data for music data and navigation. Know the sierra modems have GPS antenna port and a navigation and media head unit with 4G and not have to buy a new car would be a cool option bellow.

    • @DevOdyssey
      @DevOdyssey  2 ปีที่แล้ว

      Great question Jeffrey!
      I can't answer this question with full confidence, but I imagine if you can get a serial interface on Android for a cellular modem, that you can probably somehow push it to a a car stereo head unit. Though, I'd imagine, that would be a horrible interface to interact with them modem, and something more GUI friendly would make more sense.
      As for using a USB hub to get different USB interfaces off of the USB C port, I'm not sure if the proper protocols could be mapped to more than one USB port on the hub, from the USB C port. Streaming the data for music should be simply enough, but definitely gets tougher when using GPS for navigation, as that is something I haven't really focused on with my experience regarding cellular modems. With a Raspberry Pi, I can see this as working, where you have more than one USB port, that you can utilize say for a keyboard / touch screen (with HDMI), USB for the actual modem connection itself (4G /5G), and then pulling the GPS data off that same connection. A challenge would be to make sure that Android recognizes the GPS interface with the modem, and if you can ensure that, you should hypothetically be able to achieve what you're looking to do.
      I haven't played around with Android too much, let alone Android Auto, but I feel like it's possible, at least for a Raspberry Pi. Getting it to all work over USB C should hypothetically be possible as well, since, it already works now with Androids. Just a matter of getting into weeds and seeing how they all interact.

  • @MASKDANTE
    @MASKDANTE หลายเดือนก่อน

    Friend, I want to add a 8811cu USB WiFi adapter. Do you have any video that can help me configure it?

    • @DevOdyssey
      @DevOdyssey  หลายเดือนก่อน +1

      Thanks for watching @MASKDANTE!
      While I don't have a video that will exactly sho you how to do this, the process is straightforward. Generally you search for the driver as a package, and you should be able to find if its supported by getting some packages to show up. If nothing does, then its likely not supported out of the box by OpenWrt.
      Now googling the driver, I do see some posts about it, but it seems you have to add it to OpenWrt manually. At this point, I'd suggest looking at other WiFi adapters, as this one is not well supported by the vendor / OpenWrt community. It would be much easier to do that, or get a mini router and flash it with vanilla OpenWrt like the GLiNet travel routers, instead of trying to get this dongle to work, or getting a new dongle even (again, really depends on cost).
      But if you really want to use this WiFi adapter / dongle, you can do some searching and find github repos that have the driver, where then you might have to cross compile the ipk, then add it to OpenWrt. These repos are not official either, so you will take some risk there installing them, and I can't personally guarantee they will work. So given all that, I'd honestly just find another WiFi adapter, as noted, or even a mini router like GL iNet, as I've personally had a great experience with them and made a couple of videos on them too, below being the latest.
      th-cam.com/video/CKpKuHt8BaE/w-d-xo.html

  • @freemangordon9021
    @freemangordon9021 ปีที่แล้ว

    u the best

    • @DevOdyssey
      @DevOdyssey  ปีที่แล้ว +1

      Thank you Freeman Gordon! 😊 You're too kind!