1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Filebase
  4. Forum
  5. Zebradem-WIKI
  6. Foren-Regeln
  7. Spenden Liste
    1. Spenden
  • Anmelden
  • Registrieren
  • Suche
ZebraDem-Sponsoring
Dieses Thema
  1. Forum
  2. Computer Ecke
  3. Mini PC s
  4. Raspberry PI und Co

lcd4linux 2 Displays am RPi möglich

  • nicovanorton
  • 28. März 2014 um 09:40
  • nicovanorton
    Anfänger
    Punkte
    260
    Beiträge
    43
    • 28. März 2014 um 09:40
    • #1

    Hallo ZD-Gemeinde,

    ich nutze ein Rpi mit einem linkdelight (pearl) Display. Das funktioniert auch alles gut.

    Dieses 1. Display hat die USB Serial: 1

    Ich will nun ein 2. Display nutzen, gleicher Bautyp mit USB Serial: 2.

    Die beiden lcd4linux.conf Dateien habe ich entsprechend angepasst.

    Ich will nun lcd4linux jeweils manuell starten:

    /usr/sbin/lcd4linux -f /etc/lcd14linux.conf -vv -p /tmp/lcd1.pid >/tmp/lcd1Start.log


    /usr/sbin/lcd4linux -f /etc/lcd24linux.conf -vv -p /tmp/lcd2.pid >/tmp/lcd2Start.log

    Bekomme aber nur leider einen angesprochen, der zweite ist dunkel :mad:

    Beide Displays sind gepatcht. Bevor ich logs poste, die Frage: ist es genrell möglich 2 Displays am Rpi zu betreiben?

    Merci
    NvO


    • Zitieren
  • mandy28
    Erleuchteter
    Reaktionen
    1
    Punkte
    88.996
    Beiträge
    16.178
    • 28. März 2014 um 14:58
    • #2

    Du kannst es mal damit versuchen die Displays mit udev fest zu verlinken

    • Zitieren
  • nicovanorton
    Anfänger
    Punkte
    260
    Beiträge
    43
    • 28. März 2014 um 15:38
    • #3

    Habe ich auch schon gemacht und in der config /dev/display1 bzw. /dev/display2 angegeben.

    in udev/rules.d habe ich den link

    es scheint mir eher so, dass lcd4linux nicht 2x gestartet werden kann ?!?!?!?!?? :eek:

    • Zitieren
  • BurnStar
    Co-Admin
    Punkte
    37.740
    Beiträge
    7.425
    • 28. März 2014 um 16:57
    • #4

    doch kann es.
    Aber die Binary muss verschieden benannt sein.
    lcd4linux1 / lcd4linux2 sollte gehen.

    • Zitieren
  • nicovanorton
    Anfänger
    Punkte
    260
    Beiträge
    43
    • 28. März 2014 um 17:58
    • #5

    so, habe die ursprüngliche lcd4linux kopiert und 1 x lcd14linux genannt mit 755 und 1 x lcd24linux mit 755 genannt.
    getrennt gestartet, aber es bleibt immer noch das eine Display dunkel.
    Er starte auch nur die erste PID, dies sehe ich in var/run oder im Pfade, den ich angebe. Die zweite Instanz/Prozess startet er nicht?
    Muss ich noch etwas kompilieren?
    Kann gerne auch logs senden.

    Ich habe weiter geforscht :D

    Ich glaube es ist ein Treiber Problem, bzw. bei der Zuweisung der Serials zu den Displays.

    syslog:

    Zitat

    root@rpi:/var/log# cat syslogMar 28 19:23:41 rpi kernel: [ 2488.460856] usb 1-1.3: usbfs: process 2329 (lcd1linux) did not claim interface 0 before use
    Mar 28 19:24:12 rpi LCD4Linux[2333]: dpf: cannot open dpf device /dev/usbdisplay2
    Mar 28 19:24:12 rpi LCD4Linux[2333]: Error initializing driver DPF: Exit!
    Mar 28 19:24:12 rpi kernel: [ 2518.834626] usb 1-1.3: usbfs: process 2333 (lcd2linux) did not claim interface 0 before use

    config1:

    Zitat

    ### lcd14linux.conf ###Display dpf {
    Driver 'DPF'
    Port '/dev/usbdisplay1'
    Size '320x240'
    Font '22x36'
    Basecolor '000000' # Displayhintergrund
    Orientation 1 # Orientation value from 0-3
    Backlight 2 # Backlight variable control
    }
    Widget NAME {
    class 'Text'
    width 10
    align 'L'
    expression ('BluePeer 1')
    Foreground 'ffffff'
    Background 'FFFFFF00'
    speed 200
    update tick
    }
    Widget TIME {
    class 'Text'
    expression strftime('%H:%M', time())
    width 5
    align 'L'
    update 30000
    style 'bold'
    Foreground 'ee9a49'
    }


    Display 'DPF'
    Layout mylayout {
    Row2.Col03 'NAME'
    Row5.Col06 'TIME'
    }
    Layout 'mylayout'

    Alles anzeigen

    config2:

    Zitat

    #### lcd2linux.conf ####Display dpf {
    Driver 'DPF'
    Port '/dev/usbdisplay2'
    Size '320x240'
    Font '22x36'
    Basecolor '000000' # Displayhintergrund
    Orientation 1 # Orientation value from 0-3
    Backlight 2 # Backlight variable control
    }
    Widget NAME {
    class 'Text'
    width 10
    align 'L'
    expression ('BluePeer 2')
    Foreground 'ffffff'
    Background 'FFFFFF00'
    speed 200
    update tick
    }
    Widget TIME {
    class 'Text'
    expression strftime('%H:%M', time())
    width 5
    align 'L'
    update 30000
    style 'bold'
    Foreground 'ee9a49'
    }


    Display 'DPF'
    Layout mylayout {
    Row2.Col03 'NAME'
    Row5.Col06 'TIME'
    }
    Layout 'mylayout'

    Alles anzeigen

    udev regel:

    Zitat

    # lcd4linux Display1ATTRS{serial}=="001",ATTRS{product}=="USB-Display",SYMLINK+="usbdisplay1"
    # lcd4linux Display2
    ATTRS{serial}=="002",ATTRS{product}=="USB-Display",SYMLINK+="usbdisplay2"

    lcd1linux / lcd2linux:

    Zitat

    LCD4Linux 0.11.0-SVN-1092Copyright (C) 2005, 2006, 2007, 2008, 2009 The LCD4Linux Team <lcd1linux-devel@users.sourceforge.net>


    available display drivers:
    DPF : generic hacked photo frame


    available plugins:
    cfg, math, string, test, time, apm, asterisk, button_exec, cpuinfo, diskstats, dvb, exec, event, fifo, file, hddtemp, huawei, i2c_sensors, imon, isdn, kvv, loadavg, meminfo, netdev, netinfo, pop3, ppp, proc_stat, sample, seti, statfs, uname, uptime, w1retap, xmms

    Alles anzeigen

    Für Anregungen, Tipps oder Ideen bin ich dankbar :)

    • Zitieren
  • mandy28
    Erleuchteter
    Reaktionen
    1
    Punkte
    88.996
    Beiträge
    16.178
    • 28. März 2014 um 19:41
    • #6

    Der dpf Treiber ist doch in der binäry selber drin
    Mit Deiner udev Regel kann was nicht stimmen
    poste mal die Ausgaben von

    Code
    lsusb -v


    und

    Code
    dmesg
    Zitat


    Automatische Erkennung

    Code
    lsusb
    Bus 002 Device 007: ID 1908:0102 GEMBIRD
    Code
    lsusb -v -s 002:007 | egrep "idVendor|idProduct|iManufacturer|iProduct"
    idVendor 0x1908 GEMBIRD
    idProduct 0x0102
    iManufacturer 2 hackfin
    iProduct 3 USB-Display


    /lib/udev/rules.d/usb-display.rules [-rw------- ro ot ro ot]

    Code
    SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", \
    RUN+="/etc/init.d/lcd4linux start"
    SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", \
    RUN+="/etc/init.d/lcd4linux stop"
    • Zitieren
  • nicovanorton
    Anfänger
    Punkte
    260
    Beiträge
    43
    • 28. März 2014 um 19:53
    • #7

    lsusb -v

    Code
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         2 TT per port
      bMaxPacketSize0        64
      idVendor           0x0424 Standard Microsystems Corp.
      idProduct          0x9512 
      bcdDevice            2.00
      iManufacturer           0 
      iProduct                0 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           41
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                2mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      1 Single TT
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0001  1x 1 bytes
            bInterval              12
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       1
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      2 TT per port
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0001  1x 1 bytes
            bInterval              12
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             3
      wHubCharacteristic 0x000d
        Per-port power switching
        Compound device
        Per-port overcurrent protection
        TT think time 8 FS bits
      bPwrOn2PwrGood       50 * 2 milli seconds
      bHubContrCurrent      1 milli Ampere
      DeviceRemovable    0x02
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0503 highspeed power enable connect
       Port 2: 0000.0103 power enable connect
       Port 3: 0000.0103 power enable connect
    Device Qualifier (for other device speed):
      bLength                10
      bDescriptorType         6
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      bNumConfigurations      1
    Device Status:     0x0001
      Self Powered
    
    
    
    
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         1 Single TT
      bMaxPacketSize0        64
      idVendor           0x1d6b Linux Foundation
      idProduct          0x0002 2.0 root hub
      bcdDevice            3.10
      iManufacturer           3 Linux 3.10.25+ dwc_otg_hcd
      iProduct                2 DWC OTG Controller
      iSerial                 1 bcm2708_usb
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0004  1x 4 bytes
            bInterval              12
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             1
      wHubCharacteristic 0x0008
        Ganged power switching
        Per-port overcurrent protection
        TT think time 8 FS bits
      bPwrOn2PwrGood        1 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x00
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0503 highspeed power enable connect
    Device Status:     0x0001
      Self Powered
    
    
    
    
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass          255 Vendor Specific Class
      bDeviceSubClass         0 
      bDeviceProtocol         1 
      bMaxPacketSize0        64
      idVendor           0x0424 Standard Microsystems Corp.
      idProduct          0xec00 
      bcdDevice            2.00
      iManufacturer           0 
      iProduct                0 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           39
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                2mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass      0 
          bInterfaceProtocol    255 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0010  1x 16 bytes
            bInterval               4
    Device Qualifier (for other device speed):
      bLength                10
      bDescriptorType         6
      bcdUSB               2.00
      bDeviceClass          255 Vendor Specific Class
      bDeviceSubClass         0 
      bDeviceProtocol         1 
      bMaxPacketSize0        64
      bNumConfigurations      1
    Device Status:     0x0001
      Self Powered
    
    
    
    
    Bus 001 Device 004: ID 1908:0102 GEMBIRD 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass          255 Vendor Specific Class
      bDeviceSubClass       255 Vendor Specific Subclass
      bDeviceProtocol       255 Vendor Specific Protocol
      bMaxPacketSize0         8
      idVendor           0x1908 GEMBIRD
      idProduct          0x0102 
      bcdDevice            2.00
      iManufacturer           2 hackfin
      iProduct                3 USB-Display
      iSerial                 1 001
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           32
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              200mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass      0 
          bInterfaceProtocol      0 
          iInterface              4 libusb
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x01  EP 1 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
    Device Status:     0x1a38
      (Bus Powered)
    
    
    
    
    Bus 001 Device 005: ID 1908:0102 GEMBIRD 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass          255 Vendor Specific Class
      bDeviceSubClass       255 Vendor Specific Subclass
      bDeviceProtocol       255 Vendor Specific Protocol
      bMaxPacketSize0         8
      idVendor           0x1908 GEMBIRD
      idProduct          0x0102 
      bcdDevice            2.00
      iManufacturer           2 hackfin
      iProduct                3 USB-Display
      iSerial                 1 002
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           32
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              200mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass      0 
          bInterfaceProtocol      0 
          iInterface              4 libusb
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x01  EP 1 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
    Device Status:     0x1a38
      (Bus Powered)
    Alles anzeigen

    dmesg

    Code
    [    0.000000] Booting Linux on physical CPU 0x0[    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.10.25+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014
    [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [    0.000000] Machine: BCM2708
    [    0.000000] cma: CMA: reserved 16 MiB at 1b000000
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] On node 0 totalpages: 114688
    [    0.000000] free_area_init_node: node 0, pgdat c05cfd6c, node_mem_map c067d000
    [    0.000000]   Normal zone: 896 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 114688 pages, LIFO batch:31
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
    [    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1136 bcm2708_fb.fbheight=592 bcm2708.boardrev=0xf bcm2708.serial=0x7e33ad2 smsc95xx.macaddr=B8:27:EB:E3:3A:D2 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 448MB = 448MB total
    [    0.000000] Memory: 431652k/431652k available, 27100k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05727b4   (5546 kB)
    [    0.000000]       .init : 0xc0573000 - 0xc0597424   ( 146 kB)
    [    0.000000]       .data : 0xc0598000 - 0xc05d0870   ( 227 kB)
    [    0.000000]        .bss : 0xc05d0870 - 0xc067c3e0   ( 687 kB)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:330
    [    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] console [tty1] enabled
    [    0.001183] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
    [    0.001251] pid_max: default: 32768 minimum: 301
    [    0.001720] Mount-cache hash table entries: 512
    [    0.002531] Initializing cgroup subsys memory
    [    0.002642] Initializing cgroup subsys devices
    [    0.002682] Initializing cgroup subsys freezer
    [    0.002718] Initializing cgroup subsys blkio
    [    0.002878] CPU: Testing write buffer coherency: ok
    [    0.003358] Setting up static identity map for 0xc0406048 - 0xc04060a4
    [    0.005189] devtmpfs: initialized
    [    0.019620] NET: Registered protocol family 16
    [    0.025605] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [    0.026725] bcm2708.uart_clock = 0
    [    0.028450] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [    0.028505] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.028546] mailbox: Broadcom VideoCore Mailbox driver
    [    0.028645] bcm2708_vcio: mailbox at f200b880
    [    0.028754] bcm_power: Broadcom power driver
    [    0.028795] bcm_power_open() -> 0
    [    0.028823] bcm_power_request(0, 8)
    [    0.529548] bcm_mailbox_read -> 00000080, 0
    [    0.529593] bcm_power_request -> 0
    [    0.529821] Serial: AMBA PL011 UART driver
    [    0.529984] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
    [    0.872120] console [ttyAMA0] enabled
    [    0.898085] bio: create slab <bio-0> at 0
    [    0.903421] SCSI subsystem initialized
    [    0.907398] usbcore: registered new interface driver usbfs
    [    0.913118] usbcore: registered new interface driver hub
    [    0.918696] usbcore: registered new device driver usb
    [    0.925292] Switching to clocksource stc
    [    0.929641] FS-Cache: Loaded
    [    0.932814] CacheFiles: Loaded
    [    0.948586] NET: Registered protocol family 2
    [    0.954013] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.961283] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.967809] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.974283] TCP: reno registered
    [    0.977543] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.983453] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.990194] NET: Registered protocol family 1
    [    0.995127] RPC: Registered named UNIX socket transport module.
    [    1.001190] RPC: Registered udp transport module.
    [    1.005917] RPC: Registered tcp transport module.
    [    1.010670] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.018021] bcm2708_dma: DMA manager at f2007000
    [    1.022842] bcm2708_gpio: bcm2708_gpio_probe c05a5e50
    [    1.028299] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
    [    1.037688] audit: initializing netlink socket (disabled)
    [    1.043365] type=2000 audit(0.890:1): initialized
    [    1.205651] VFS: Disk quotas dquot_6.5.2
    [    1.210053] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.218896] FS-Cache: Netfs 'nfs' registered for caching
    [    1.225634] NFS: Registering the id_resolver key type
    [    1.230948] Key type id_resolver registered
    [    1.235160] Key type id_legacy registered
    [    1.239967] msgmni has been set to 875
    [    1.245830] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    1.253686] io scheduler noop registered
    [    1.257648] io scheduler deadline registered (default)
    [    1.263243] io scheduler cfq registered
    [    1.267389] bcm2708_fb_debugfs_init: could not create debugfs entry
    [    1.274973] BCM2708FB: allocated DMA memory 5b400000
    [    1.280129] BCM2708FB: allocated DMA channel 0 @ f2007000
    [    1.307688] Console: switching to colour frame buffer device 142x37
    [    1.319637] uart-pl011 dev:f1: no DMA platform data
    [    1.324657] kgdb: Registered I/O driver kgdboc.
    [    1.332163] vc-cma: Videocore CMA driver
    [    1.338313] vc-cma: vc_cma_base      = 0x00000000
    [    1.345243] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
    [    1.352868] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
    [    1.369857] brd: module loaded
    [    1.380513] loop: module loaded
    [    1.386172] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
    [    1.396277] Loading iSCSI transport class v2.0-870.
    [    1.404747] usbcore: registered new interface driver smsc95xx
    [    1.413139] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    1.621303] Core Release: 2.80a
    [    1.626632] Setting default values for core params
    [    1.633638] Finished setting default values for core params
    [    1.841406] Using Buffer DMA mode
    [    1.846878] Periodic Transfer Interrupt Enhancement - disabled
    [    1.854857] Multiprocessor Interrupt Enhancement - disabled
    [    1.862579] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    1.869028] Dedicated Tx FIFOs mode
    [    1.875169] dwc_otg: Microframe scheduler enabled
    [    1.875417] dwc_otg bcm2708_usb: DWC OTG Controller
    [    1.882661] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [    1.892153] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [    1.899845] Init: Port Power? op_state=1
    [    1.905802] Init: Power Port (0)
    [    1.911235] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.920230] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.929628] usb usb1: Product: DWC OTG Controller
    [    1.936445] usb usb1: Manufacturer: Linux 3.10.25+ dwc_otg_hcd
    [    1.944389] usb usb1: SerialNumber: bcm2708_usb
    [    1.951874] hub 1-0:1.0: USB hub found
    [    1.957763] hub 1-0:1.0: 1 port detected
    [    1.964170] dwc_otg: FIQ enabled
    [    1.964190] dwc_otg: NAK holdoff enabled
    [    1.964201] dwc_otg: FIQ split fix enabled
    [    1.964221] Module dwc_common_port init
    [    1.964675] usbcore: registered new interface driver usb-storage
    [    1.973310] mousedev: PS/2 mouse device common for all mice
    [    1.981780] bcm2835-cpufreq: min=700000 max=700000 cur=700000
    [    1.989912] bcm2835-cpufreq: switching to governor powersave
    [    1.997741] bcm2835-cpufreq: switching to governor powersave
    [    2.005577] cpuidle: using governor ladder
    [    2.011835] cpuidle: using governor menu
    [    2.017951] sdhci: Secure Digital Host Controller Interface driver
    [    2.026252] sdhci: Copyright(c) Pierre Ossman
    [    2.032806] sdhci: Enable low-latency mode
    [    2.079389] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
    [    2.089629] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
    [    2.097702] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.105692] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.116127] hidraw: raw HID events driver (C) Jiri Kosina
    [    2.131279] usbcore: registered new interface driver usbhid
    [    2.139123] usbhid: USB HID core driver
    [    2.149810] TCP: cubic registered
    [    2.157318] Initializing XFRM netlink socket
    [    2.165891] Indeed it is in host mode hprt0 = 00021501
    [    2.173287] NET: Registered protocol family 17
    [    2.192582] Key type dns_resolver registered
    [    2.209758] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
    [    2.226358] registered taskstats version 1
    [    2.237721] mmc0: new high speed SDHC card at address e624
    [    2.249828] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    [    2.269908] mmcblk0: mmc0:e624 SU08G 7.40 GiB 
    [    2.279768]  mmcblk0: p1 p2 < p5 p6 > p3
    [    2.322247] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    [    2.332930] VFS: Mounted root (ext4 filesystem) on device 179:6.
    [    2.350915] devtmpfs: mounted
    [    2.356686] Freeing unused kernel memory: 144K (c0573000 - c0597000)
    [    2.419412] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [    2.428409] Indeed it is in host mode hprt0 = 00001101
    [    2.640012] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
    [    2.649260] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.661842] hub 1-1:1.0: USB hub found
    [    2.668454] hub 1-1:1.0: 3 ports detected
    [    2.949736] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [    3.069943] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [    3.089482] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    3.110735] smsc95xx v1.0.4
    [    3.184525] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:e3:3a:d2
    [    3.289798] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
    [    3.422503] usb 1-1.2: New USB device found, idVendor=1908, idProduct=0102
    [    3.439471] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    3.463746] usb 1-1.2: Product: USB-Display
    [    3.473885] usb 1-1.2: Manufacturer: hackfin
    [    3.489594] usb 1-1.2: SerialNumber: 001
    [    3.589710] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
    [    3.731518] usb 1-1.3: New USB device found, idVendor=1908, idProduct=0102
    [    3.749554] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    3.768463] usb 1-1.3: Product: USB-Display
    [    3.776558] usb 1-1.3: Manufacturer: hackfin
    [    3.784837] usb 1-1.3: SerialNumber: 002
    [    4.008484] udevd[156]: starting version 175
    [    6.054974] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
    [    9.673860] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
    [   10.175466] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
    [   16.254885] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   18.604553] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [   20.218779] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
    [   23.603832] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SSFS
    [  172.730174] usb 1-1.3: usbfs: process 2149 (lcd4linux1) did not claim interface 0 before use
    [  201.124186] usb 1-1.3: usbfs: process 2153 (lcd4linux2) did not claim interface 0 before use
    [  955.139399] usb 1-1.3: usbfs: process 2189 (lcd1linux) did not claim interface 0 before use
    [  975.620472] usb 1-1.3: usbfs: process 2194 (lcd2linux) did not claim interface 0 before use
    [ 1282.451080] usb 1-1.3: usbfs: process 2223 (lcd1linux) did not claim interface 0 before use
    [ 1319.640113] usb 1-1.3: usbfs: process 2227 (lcd2linux) did not claim interface 0 before use
    [ 1465.500535] usb 1-1.3: usbfs: process 2239 (lcd1linux) did not claim interface 0 before use
    [ 1483.692483] usb 1-1.3: usbfs: process 2245 (lcd2linux) did not claim interface 0 before use
    [ 1568.737248] usb 1-1.3: usbfs: process 2251 (lcd2linux) did not claim interface 0 before use
    [ 1955.054513] usb 1-1.3: usbfs: process 2283 (lcd1linux) did not claim interface 0 before use
    [ 2488.460856] usb 1-1.3: usbfs: process 2329 (lcd1linux) did not claim interface 0 before use
    [ 2518.834626] usb 1-1.3: usbfs: process 2333 (lcd2linux) did not claim interface 0 before use
    [ 2744.571808] usb 1-1.3: usbfs: process 2350 (lcd1linux) did not claim interface 0 before use
    [ 3220.062612] usb 1-1.3: usbfs: process 2409 (lcd4linux1) did not claim interface 0 before use
    [ 3261.978194] usb 1-1.3: usbfs: process 2413 (lcd4linux2) did not claim interface 0 before use
    [ 3304.860056] usb 1-1.3: usbfs: process 2418 (lcd4linux2) did not claim interface 0 before use
    [ 3341.194272] usb 1-1.3: usbfs: process 2423 (lcd4linux2) did not claim interface 0 before use
    [ 3364.727818] usb 1-1.3: usbfs: process 2428 (lcd4linux2) did not claim interface 0 before use
    [ 3415.732069] usb 1-1.3: usbfs: process 2433 (lcd4linux2) did not claim interface 0 before use
    [ 3536.166399] usb 1-1.3: usbfs: process 2442 (lcd4linux2) did not claim interface 0 before use
    [ 3572.558182] usb 1-1.3: usbfs: process 2447 (lcd4linux2) did not claim interface 0 before use
    Alles anzeigen

    So hier mal die erweiterten Ausgaben:

    Code
    [FONT=Menlo]lsusb[/FONT][FONT=Menlo]Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. [/FONT]
    [FONT=Menlo]Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub[/FONT]
    [FONT=Menlo]Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. [/FONT]
    [FONT=Menlo]Bus 001 Device 004: ID 1908:0102 GEMBIRD [/FONT]
    [FONT=Menlo]Bus 001 Device 005: ID 1908:0102 GEMBIRD [/FONT]
    
    
    Ich habe ja zwei Displays am Bus 001  004 und 005

    Das erste Display:

    Code
    [FONT=Menlo]lsusb -v -s 001:004 | egrep "idVendor|idProduct|iManufacturer|iProduct"[/FONT][FONT=Menlo]  
     idVendor           0x1908 GEMBIRD[/FONT]
    [FONT=Menlo]  idProduct          0x0102 [/FONT]
    [FONT=Menlo]  iManufacturer           2 hackfin[/FONT]
    [FONT=Menlo]  iProduct                3 USB-Display
    [/FONT]

    Das zweite Display:

    Code
    [FONT=Menlo]lsusb -v -s 001:005 | egrep "idVendor|idProduct|iManufacturer|iProduct"[/FONT][FONT=Menlo]  
     idVendor           0x1908 GEMBIRD[/FONT]
    [FONT=Menlo]  idProduct          0x0102 [/FONT]
    [FONT=Menlo]  iManufacturer           2 hackfin[/FONT]
    [FONT=Menlo]  iProduct                3 USB-Display
    [/FONT]

    Bei der udev Regel muss ich ja dann zwangsläufig über iSerial gehen, da alles andere ja gleich ist.

    Code
    [FONT=Menlo]lsusb -v -s 001:004 | egrep "iSerial"[/FONT][FONT=Menlo]  
    iSerial                 1 001[/FONT]

    und

    Code
    [FONT=Menlo]lsusb -v -s 001:005 | egrep "iSerial"[/FONT]
    [FONT=Menlo]iSerial                 1 002
    [/FONT]
    Code
    [FONT=Menlo]
    [/FONT]
    [FONT=Menlo]Mar 28 21:45:24 mc01s02rpi kernel: [  289.755277] usb 1-1.3: usbfs: process 2137 (lcd2linux) did not claim interface 0 before use[/FONT]
    [FONT=Menlo]Mar 28 21:46:18 mc01s02rpi kernel: [  344.452362] usb 1-1.3: USB disconnect, device number 5[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.714923] usb 1-1.3: new full-speed USB device number 6 using dwc_otg[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837636] usb 1-1.3: New USB device found, idVendor=1908, idProduct=0102[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837675] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837694] usb 1-1.3: Product: USB-Display[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837711] usb 1-1.3: Manufacturer: hackfin[/FONT]
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837727] usb 1-1.3: SerialNumber: 002[/FONT]
    Code
    [FONT=Menlo]Mar 28 21:47:26 mc01s02rpi kernel: [  411.789526] usb 1-1.2: USB disconnect, device number 4[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.309720] usb 1-1.2: new full-speed USB device number 7 using dwc_otg[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431819] usb 1-1.2: New USB device found, idVendor=1908, idProduct=0102[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431858] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431879] usb 1-1.2: Product: USB-Display[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431897] usb 1-1.2: Manufacturer: hackfin[/FONT]
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431915] usb 1-1.2: SerialNumber: 001[/FONT]

    starte ich die erste lcd1linux wird das richtige Display angesprochen,

    beim zweiten schlägt es fehl!

    reboote ich das zweite Display und starte lcd2linux mit entsprechender config-Datei dann funktioniert es, vermutlich dann wieder nicht auf dem anderen.

    In der Config habe ich Port 'usb1' und in der anderen config 'usb2' eingetragen. Warum udev nicht klappt ?!?!?!

    Was aber auffällt:

    Code
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837675] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [/FONT]
    und
    
    
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431858] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [/FONT]
    obwohl ja
    
    
    [FONT=Menlo]Mar 28 21:47:27 mc01s02rpi kernel: [  413.431915] usb 1-1.2: SerialNumber: 001[/FONT]
    
    
    und 
    
    
    [FONT=Menlo]Mar 28 21:46:20 mc01s02rpi kernel: [  345.837727] usb 1-1.3: SerialNumber: 002
    [/FONT]
    Alles anzeigen

    Jemand noch eine Idee?

    Tja, scheint irgendwie nicht zu funktionieren mit zwei identischen Displays.

    Projekt abgebrochen, bzw. zurückgestellt. Muss ich halt nur ein Display nutzen.

    Fall jemand das am laufen hat gerne auch per PN oder hier.

    • Zitieren

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!

Benutzerkonto erstellen Anmelden

Spenden

Vielen Dank für die Unterstützung!
Hiermit unterstützt du Zebradem.
Das beinhaltet überwiegend die Serverkosten und Lizenzgebühren.
Spenden

Letzte Beiträge

  • Elektronische Patientenakte: Sicherheitsbedenken durch den CCC

    Katze Flohli 10. Mai 2025 um 08:58
  • Festnahmen von Online-Drogenhändlern in Deutschland

    heugabel 9. Mai 2025 um 08:27
  • KJM kritisiert öffentliche Sperrlisten

    heugabel 8. Mai 2025 um 14:27
  • Plex Live TV / LG Channels / Wedo TV

    Fellfresse 7. Mai 2025 um 21:31
  • Samsung TV Plus/Rakuten TV

    scarface247 7. Mai 2025 um 19:35
  • Deutsche Bank Sicherheitsvorfall: Romantische Eskapaden im Rechenzentrum

    heugabel 7. Mai 2025 um 17:27
  • Social-Media-Verbot für Kinder: Ein Blick auf Deutschlands Herausforderungen

    Katze Flohli 7. Mai 2025 um 16:46
  • Die Pornhub-Sperre in Deutschland: Ein kurzes Fazit

    Katze Flohli 7. Mai 2025 um 07:29
  • Pluto TV

    Fellfresse 6. Mai 2025 um 19:11
  • IPTV-Piraterie 2025: Ein Blick auf das illegale Streaming

    heugabel 5. Mai 2025 um 12:27

Aktivste Themen

  • Raspberry Pi ab Ende Februar zu haben

    125 Antworten
  • Raspberry PI: Erste Bilder und Berichte

    42 Antworten
  • Raspberry PI Unterforum ?

    21 Antworten
  • Entwickler stellt Prototyp des 17-Euro-PCs vor!

    21 Antworten
  • Raspberry PI: Gehäuse und Gehäuse Ideen

    18 Antworten
  • Raspberry PI und Emu

    17 Antworten
  • RecalboxOS – Die Retro-Gaming-Plattform für den Raspberry Pi 2

    12 Antworten
  • Raspberry Pi Lieferzeit Farnell vs. RS-Components

    12 Antworten
  • Ambilight

    11 Antworten
  • Display für Raspberry zwecks Oscam Information

    11 Antworten

Benutzer online in diesem Thema

  • 1 Besucher
  1. Kontakt
© 2024 Zebradem - Software by WoltLab
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Seiten
  • Dateien
  • Forum
  • Erweiterte Suche