Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Boot von HDD, 2nd Channel, Master

    Scheduled Pinned Locked Moved Deutsch
    51 Posts 5 Posters 19.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Macom2007
      last edited by

      Das PDF gibt es auf meiner CD nicht. Allerding eine Pin-Beschreibung des Anschlußes für das LCD-Modul und Sourcen. Soweit ich das sehe handelt es sich um ein LCD, das über einen Parallel Port angesteuert wird. Anbei mal das Pin-Layout des Anschlußes.

      LCM.jpg
      LCM.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • H
        heiko
        last edited by

        Hi,
        das hatten wir auch schon recherchiert, hilft nicht wirklich weiter.

        Als Erinnerung: schick mal ein dmesq
        bye
        heiko

        1 Reply Last reply Reply Quote 0
        • M
          Macom2007
          last edited by

          Hier ist die Ausgabe :

          
           dmesg
          Copyright (c) 1992-2007 The FreeBSD Project.
          Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          	The Regents of the University of California. All rights reserved.
          FreeBSD is a registered trademark of The FreeBSD Foundation.
          FreeBSD 6.2-RELEASE-p4 #0: Wed May  9 16:05:56 EDT 2007
              sullrich@builder6.pfsense.com:/usr/obj.pfSense/usr/src/sys/pfSense.6
          MPTable: <oem00000 prod00000000="">Timecounter "i8254" frequency 1193182 Hz quality 0
          CPU: Mobile Intel(R) Celeron(R) CPU 1.20GHz (1199.87-MHz 686-class CPU)
            Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
            Features=0xbfebfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Features2=0x4400<cntx-id,<b14>>
          real memory  = 1072627712 (1022 MB)
          avail memory = 1040547840 (992 MB)
          ioapic0: Assuming intbase of 0
          ioapic0 <version 2.0="">irqs 0-23 on motherboard
          wlan: mac acl policy registered
          kbd1 at kbdmux0
          ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
          cpu0 on motherboard
          pcib0: <mptable host-pci="" bridge="">pcibus 0 on motherboard
          pci0: <pci bus="">on pcib0
          pci0: <base peripheral=""> at device 0.1 (no driver attached)
          pci0: <base peripheral=""> at device 0.3 (no driver attached)
          pci0: <display>at device 2.0 (no driver attached)
          uhci0: <intel 82801db="" (ich4)="" usb="" controller="" usb-a="">port 0xea00-0xea1f irq 16 at device 29.0 on pci0
          uhci0: [GIANT-LOCKED]
          usb0: <intel 82801db="" (ich4)="" usb="" controller="" usb-a="">on uhci0
          usb0: USB revision 1.0
          uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
          uhub0: 2 ports with 2 removable, self powered
          uhci1: <intel 82801db="" (ich4)="" usb="" controller="" usb-b="">port 0xec00-0xec1f irq 19 at device 29.1 on pci0
          uhci1: [GIANT-LOCKED]
          usb1: <intel 82801db="" (ich4)="" usb="" controller="" usb-b="">on uhci1
          usb1: USB revision 1.0
          uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
          uhub1: 2 ports with 2 removable, self powered
          ehci0: <intel 82801db="" l="" m="" (ich4)="" usb="" 2.0="" controller="">mem 0xe8280000-0xe82803ff irq 23 at device 29.7 on pci0
          ehci0: [GIANT-LOCKED]
          usb2: EHCI version 1.0
          usb2: companion controllers, 2 ports each: usb0 usb1
          usb2: <intel 82801db="" l="" m="" (ich4)="" usb="" 2.0="" controller="">on ehci0
          usb2: USB revision 2.0
          uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
          uhub2: 4 ports with 4 removable, self powered
          pcib1: <mptable pci-pci="" bridge="">at device 30.0 on pci0
          pci1: <pci bus="">on pcib1
          em0: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.2.9="">port 0xd000-0xd03f mem 0xe8000000-0xe801ffff,0xe8020000-0xe803ffff irq 20 at device 5.0 on pci1
          em0: Ethernet address: 00:90:0b:09:39:d4
          em1: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.2.9="">port 0xd100-0xd13f mem 0xe8040000-0xe805ffff,0xe8060000-0xe807ffff irq 21 at device 6.0 on pci1
          em1: Ethernet address: 00:90:0b:09:39:d5
          em2: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.2.9="">port 0xd200-0xd23f mem 0xe8080000-0xe809ffff,0xe80a0000-0xe80bffff irq 22 at device 7.0 on pci1
          em2: Ethernet address: 00:90:0b:09:39:d6
          em3: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.2.9="">port 0xd300-0xd33f mem 0xe80c0000-0xe80dffff,0xe80e0000-0xe80fffff irq 23 at device 9.0 on pci1
          em3: Ethernet address: 00:90:0b:09:39:d7
          isab0: <pci-isa bridge="">at device 31.0 on pci0
          isa0: <isa bus="">on isab0
          atapci0: <intel ich4="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
          ata0: <ata 0="" channel="">on atapci0
          ata1: <ata 1="" channel="">on atapci0
          pci0: <serial bus,="" smbus="">at device 31.3 (no driver attached)
          pmtimer0 on isa0
          orm0: <isa option="" roms="">at iomem 0xc0000-0xcc7ff,0xd0000-0xd3fff on isa0
          atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
          atkbd0: <at keyboard="">irq 1 on atkbdc0
          kbd0 at atkbd0
          atkbd0: [GIANT-LOCKED]
          ppc0: <parallel port="">at port 0x378-0x37f irq 7 on isa0
          ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
          ppbus0: <parallel port="" bus="">on ppc0
          lpt0: <printer>on ppbus0
          lpt0: Interrupt-driven port
          ppi0: <parallel i="" o="">on ppbus0
          sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
          sio0: type 16550A, console
          sio1 at port 0x2f8-0x2ff irq 3 on isa0
          sio1: type 16550A
          unknown: <pnp0303>can't assign resources (port)
          speaker0: <pc speaker="">at port 0x61 on isa0
          unknown: <pnp0c01>can't assign resources (memory)
          unknown: <pnp0501>can't assign resources (port)
          unknown: <pnp0400>can't assign resources (port)
          unknown: <pnp0501>can't assign resources (port)
          Timecounter "TSC" frequency 1199871192 Hz quality 800
          Timecounters tick every 1.000 msec
          Fast IPsec: Initialized Security Association Processing.
          ad2: 38154MB <hte541040g9at00 mb2oa60a="">at ata1-master UDMA100
          Trying to mount root from ufs:/dev/ad2s1a
          em0: link state changed to DOWN
          em3: link state changed to DOWN
          em0: link state changed to UP
          em1: link state changed to DOWN
          em3: link state changed to UP
          arplookup 192.168.2.200 failed: host is not on local network
          em1: link state changed to UP
          pflog0: promiscuous mode enabled
          arplookup 192.168.2.200 failed: host is not on local network
          em3: promiscuous mode enabled
          em3: promiscuous mode disabled
          em3: promiscuous mode enabled
          em3: promiscuous mode disabled</hte541040g9at00></pnp0501></pnp0400></pnp0501></pnp0c01></pc></pnp0303></parallel></printer></parallel></parallel></at></keyboard></isa></serial></ata></ata></intel></isa></pci-isa></intel(r)></intel(r)></intel(r)></intel(r)></pci></mptable></intel></intel></intel></intel></intel></intel></display></pci></mptable></version></cntx-id,<b14></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe></oem00000> 
          
          1 Reply Last reply Reply Quote 0
          • D
            DanielSHaischt
            last edited by

            Was ist den sonst noch so auf der CD drauf? Vielleicht nen Linux Treiber für das LCD und das Keypad? Oder vielleicht sogar die Quelldateien?

            Gruss
            Daniel S. Haischt

            Mit freundlichen Gruessen / With kind regards
            DAn.I.El S. Haischt

            1 Reply Last reply Reply Quote 0
            • M
              Macom2007
              last edited by

              Ja, Linux Sourcen sind drauf.

              1 Reply Last reply Reply Quote 0
              • H
                heiko
                last edited by

                Also jetzt aber, Maxom,

                bitte einen join auf #pfsenseDE

                das geht schneller. Machst DU?

                1 Reply Last reply Reply Quote 0
                • M
                  Macom2007
                  last edited by

                  Sorry, muß weg …. Nächstes mal aber ;-) Ich kann die Sourcen mailen, wenn nötig ...

                  1 Reply Last reply Reply Quote 0
                  • H
                    heiko
                    last edited by

                    Sorry, aber ich glaube so legt sich da keiner dauerhaft ins Zeug. ;)

                    1 Reply Last reply Reply Quote 0
                    • M
                      Macom2007
                      last edited by

                      Sorry, bin sonst so gut wie immer online. Auch tagsüber… Wir machen morgen weiter ...

                      1 Reply Last reply Reply Quote 0
                      • M
                        Macom2007
                        last edited by

                        Ich konnte jetzt das LCD Beispielprogramm von der CD kompilieren. Auf meiner VMWARE Session kann ich das auch ausführen, aber wenn ich es auf meine pfSense kopiere und starten will bekomme ich den Fehler : permisson denied

                        Wie kann ich die Rechte zum Ausführen erlangen ?

                        1 Reply Last reply Reply Quote 0
                        • M
                          Macom2007
                          last edited by

                          Hat sich erledigt …

                          chmod 777 filename

                          Ok, ich bin kein freeBSD/Linux/Unix Experte ... Aber ich komme voran ;-)

                          Nun bekomme ich diese Ausgabe :

                          LCM (20*2) Test .... und so weiter ... und dann zum Schluß :

                          Bus error (core dumped). Was bedeuted das ?

                          1 Reply Last reply Reply Quote 0
                          • D
                            DanielSHaischt
                            last edited by

                            Du hast den Quellcode schon auf einem FreeBSD system kompiliert? Oder etwa auf einem Linux System?

                            Gruss
                            Daniel S. Haischt

                            Mit freundlichen Gruessen / With kind regards
                            DAn.I.El S. Haischt

                            1 Reply Last reply Reply Quote 0
                            • T
                              trendchiller
                              last edited by

                              Macom: ohne IRC kein Kompilat :-)

                              also sieh zu…

                              IRC in #pfSenseDE on FreeNode

                              1 Reply Last reply Reply Quote 0
                              • M
                                Macom2007
                                last edited by

                                Ich habe es unter freeBSD compiliert und es funktiert auch. Die 4 Tasten am Gerät werden abgefragt und es erscheint je nach gedrückter Taste ein Text auf dem LCD. Nun ist die Frage, wie man das am besten in pfSense integrieren kann, bzw. ob man einen Treiber für LCDprog erstellen kann. Ich werde mich morgen mal an das compilieren von LCDprog machen. Vielleicht krieg ich das ja nun auch hin …

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Macom2007
                                  last edited by

                                  LCDproc habe ich nun (danke der Hilfe einiger Kollegen aus #pfsensede) unter pfSense am laufen. Leider wird das Display an meiner Hardware zur Zeit noch nicht unterstützt. Bei den meistens Treiber passiert gar nichts, bei einigen kommen nur wirre Zeichen auf das LCD. Das liegt aber weniger an LCDproc als an meiner Hardware. Ich habe mal einen Post in die LCDproc Mailingliste abgesetzt. Vielleicht kann da jemand helfen. Ich habe die diese Hardware :

                                  http://www.ipc2u.de/catalog/M/MB/33532.html

                                  1 Reply Last reply Reply Quote 0
                                  • jahonixJ
                                    jahonix
                                    last edited by

                                    Ich kann hier leider keine weitere Hilfe leisten, da ich ein völlig anderes LCD an COM2 vorliegen habe. Das kam halt mit dem Rechner so. Dort läuft ein Term244 von ibo-ott.de …
                                    LCDprog werde ich also vergessen können, da das Terminal einen eigenen Befehlssatz hat.

                                    Chris

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.