Ergebnis 1 bis 20 von 33

Thema: Generally create USB->RS232 driver

Hybrid-Darstellung

  1. #1
    IPPF-Fan
    Registriert seit
    11.01.2007
    Beiträge
    133

    Generally create USB->RS232 driver

    Hi.
    I want to connect KundenDisplay via USB->RS232 converter.
    I'v read many topics here, but all I fount - it is necessary to compile firmware.
    As I'm complete newbi in linux, for me will be much easer to get this driver as *.o module, that I can store it to USB disk and use it, when I need to send something via RS232.
    On driver disk for my converter I have some source codes for linux. Is it possible to compile this SS to *.o file and then use it?
    Sorry that I'm rising this topic again - I read all on this forum, maybe I missed something because of my not perfect german.

    Thnx

  2. #2
    IPPF-Urgestein
    Registriert seit
    22.04.2007
    Beiträge
    11.051
    If you have the source code for your driver, it should be possible to compile it and load it as a module.

    You must make sure that you create a module for the correct version of the kernel in your firmware, and you need a cross compiler for mips.

    With ds-mod you have a complete cross compiler tool chain. You can use it to create your kernel module, even if you don't intend to use the ds-mod firmware.

  3. #3
    IPPF-Fan
    Registriert seit
    11.01.2007
    Beiträge
    133
    ds-mod is it a compiler with source codes of firmware?
    Can I download it from somewere?

  4. #4
    IPPF-Urgestein
    Registriert seit
    22.04.2007
    Beiträge
    11.051
    ds-mod for new firmwares based on Kernel 2.6.

    ds-mod is a set of tools to modify and extend the original firmware. It contains the tools to compile user space programs, the kernel and kernel modules. It also contains make-files for various programs that can be compiled to run on the box.

    You will need a linux system (real or inside a virtual machine) and an internet connection. The script will download the tools (compiler/linker) and sources for various packages. In your case the sources for the AVM kernel is the most important one.

    ds-mod is normally used to create a replacement firmware, but you can also only use the tools to produce some binaries to run on the box.

  5. #5
    IPPF-Fan
    Registriert seit
    11.01.2007
    Beiträge
    133
    Thnx for info.
    Virtual PC I got.
    What Linux variant U can recommend to install?

  6. #6
    IPPF-Fan
    Registriert seit
    11.01.2007
    Beiträge
    133
    Ohhh.
    I have now KUBUNTU Linux running on VMWare.
    But Its really dificcult to understand how to compile module.
    Also I found that on CD I have drivers *.c files only for RedHat7, RedHat8 and RedHat9.
    My linux PC says that for my device this driver is used: uhci_hcd.o
    I searched for this file on my HD - no such file.
    Can I simply download such file?
    Or maybe somebody has this file?

    Thnx for your time

Ähnliche Themen

  1. RS232-USB-Adapter an Fritzbox
    Von ao im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 61
    Letzter Beitrag: 06.12.2012, 22:31
  2. RS232-Adapter an Fritz!Box Fon 5050
    Von MegaServer im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 3
    Letzter Beitrag: 09.06.2009, 08:35
  3. Antworten: 3
    Letzter Beitrag: 18.03.2009, 21:11
  4. Thermometer via RS232/USB?
    Von vpe im Forum Freetz
    Antworten: 10
    Letzter Beitrag: 11.12.2008, 09:27
  5. 15666: RS232 und so
    Von chrisdog im Forum telegent
    Antworten: 0
    Letzter Beitrag: 09.04.2008, 02:02

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •