1 (edytowany przez tygrysss 2015-09-02 20:04:23)

Temat: Poszukiwany plik .ipk

Witam, mam gorącą prośbę - poszukuję programu lcd4linux lub lcdproc działającego pod Gargoyle AA - z wkompilowanym lcd2usb.
Przekopałem chyba pół internetu - niestety linki nie są aktywne.
Bardzo liczę na Waszą pomoc.
Pozdrawiam.

2

Odp: Poszukiwany plik .ipk

Witam!
Posiadam obie wersje działające na AA, ale dopiero mogę podesłać najwcześniej w środę lub czwartek, jak sobie nie poradzisz to daj znać.

TL-WR1043ND: HDD-USB, extroot, LCD, Pilot, MP3 - Radio Player, NAS, Torrent, FTP, Sterowanie głosem, Komunikaty Głosowe, Termometr, PowerSwitch - Sterownik oświetlenia, Budzik, LTE - ODU IDU 200
Raspberry Pi + HDMI-VGA + Lcd Controller + Lcd z laptopa = Pogodynka smile

3

Odp: Poszukiwany plik .ipk

Byłbym niezmiernie wdzięczny.  Środa czy czwartek - nie gra roli ponieważ jestem w chwili obecnej na wyjeździe wiec zabiorę się do tego dopiero w weekend.

Pozdrawiam.

4

Odp: Poszukiwany plik .ipk

Podbijam

5

Odp: Poszukiwany plik .ipk

Wysłałem na maila. Sprawdź i daj znać czy działa

TL-WR1043ND: HDD-USB, extroot, LCD, Pilot, MP3 - Radio Player, NAS, Torrent, FTP, Sterowanie głosem, Komunikaty Głosowe, Termometr, PowerSwitch - Sterownik oświetlenia, Budzik, LTE - ODU IDU 200
Raspberry Pi + HDMI-VGA + Lcd Controller + Lcd z laptopa = Pogodynka smile

6

Odp: Poszukiwany plik .ipk

Niestety, coś idzie nie tak ;/

lcd4linux -F -f /etc/lcd4linux.conf
LCD2USB: could not find a LCD2USB USB LCD
Error initializing driver LCD2USB: Exit!

Wynik dmesg

root@Gargoyle:~# dmesg
[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #68 Sat Sep 27 10:04:23 CEST 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7241 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802ed700, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line:  board=TL-MR3220 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29044k/32768k available (2224k kernel code, 3724k reserved, 391k data, 184k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-MR3220
[    0.500000] registering PCI controller with io_map_base unset
[    0.540000] bio: create slab <bio-0> at 0
[    0.550000] PCI host bridge to bus 0000:00
[    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.560000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.560000] pci 0000:00:00.0: [168c:002b] type 0 class 0x000280
[    0.560000] pci 0000:00:00.0: fixup device configuration
[    0.570000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1000ffff 64bit]
[    0.570000] pci 0000:00:00.0: supports D1
[    0.570000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.570000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.580000] Switching to clocksource MIPS
[    0.580000] NET: Registered protocol family 2
[    0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.590000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.610000] TCP reno registered
[    0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] NET: Registered protocol family 1
[    0.630000] PCI: CLS 0 bytes, default 32
[    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.660000] msgmni has been set to 56
[    0.670000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.680000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.690000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.720000] console [ttyS0] enabled, bootconsole disabled
[    0.740000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.750000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.750000] 5 tp-link partitions found on MTD device spi0.0
[    0.760000] Creating 5 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000020000 : "u-boot"
[    0.770000] 0x000000020000-0x00000010b600 : "kernel"
[    0.770000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.790000] 0x00000010b600-0x0000003f0000 : "rootfs"
[    0.790000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.810000] mtd: partition "rootfs" set to be root filesystem
[    0.810000] mtd: partition "rootfs_data" created automatically, ofs=3A0000, len=50000
[    0.820000] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
[    0.830000] 0x0000003f0000-0x000000400000 : "art"
[    0.830000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.860000] ag71xx_mdio: probed
[    0.860000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.420000] eth0: Found an AR7240/AR9330 built-in switch
[    2.450000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    3.000000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    3.010000] TCP cubic registered
[    3.010000] NET: Registered protocol family 17
[    3.020000] Bridge firewalling registered
[    3.020000] Ebtables v2.0 registered
[    3.030000] 8021q: 802.1Q VLAN Support v1.8
[    3.040000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.050000] Freeing unused kernel memory: 184k freed
[    6.460000] Registered led device: tp-link:green:system
[    6.460000] Registered led device: tp-link:green:qss
[    6.460000] Registered led device: tp-link:green:3g
[    9.770000] JFFS2 notice: (448) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 23 of xref (0 dead, 5 orphan) found.
[   10.510000] SCSI subsystem initialized
[   10.680000] usbcore: registered new interface driver usbfs
[   10.690000] usbcore: registered new interface driver hub
[   10.700000] usbcore: registered new device driver usb
[   11.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.170000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   11.180000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   11.220000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   11.240000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   11.240000] hub 1-0:1.0: USB hub found
[   11.250000] hub 1-0:1.0: 1 port detected
[   11.270000] Initializing USB Mass Storage driver...
[   11.270000] usbcore: registered new interface driver usb-storage
[   11.280000] USB Mass Storage support registered.
[   11.570000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   11.720000] hub 1-1:1.0: USB hub found
[   11.720000] hub 1-1:1.0: 4 ports detected
[   12.020000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[   12.130000] scsi0 : usb-storage 1-1.1:1.0
[   13.130000] scsi 0:0:0:0: Direct-Access     USBDisk  FlashDisk        1.00 PQ: 0 ANSI: 2
[   13.140000] sd 0:0:0:0: [sda] 496800 512-byte logical blocks: (254 MB/242 MiB)
[   13.140000] sd 0:0:0:0: [sda] Write Protect is off
[   13.150000] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[   13.150000] sd 0:0:0:0: [sda] No Caching mode page present
[   13.160000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.170000] sd 0:0:0:0: [sda] No Caching mode page present
[   13.180000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.210000]  sda: sda1
[   13.210000] sd 0:0:0:0: [sda] No Caching mode page present
[   13.220000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.220000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   33.330000] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   33.340000] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   33.350000] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[   34.020000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   34.020000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   34.200000] cfg80211: Calling CRDA to update world regulatory domain
[   34.210000] cfg80211: World regulatory domain updated:
[   34.210000] cfg80211:  DFS Master region: unset
[   34.220000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   34.230000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   34.240000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   35.240000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   35.250000] ath: phy0: Enable LNA combining
[   35.260000] ath: EEPROM regdomain: 0x0
[   35.260000] ath: EEPROM indicates default country code should be used
[   35.260000] ath: doing EEPROM country->regdmn map search
[   35.260000] ath: country maps to regdmn code: 0x3a
[   35.260000] ath: Country alpha2 being used: US
[   35.260000] ath: Regpair used: 0x3a
[   35.270000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   35.270000] Registered led device: ath9k-phy0
[   35.270000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40
[   35.280000] cfg80211: Calling CRDA for country: US
[   35.290000] cfg80211: Regulatory domain changed to country: US
[   35.290000] cfg80211:  DFS Master region: unset
[   35.300000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   35.310000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   35.310000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   35.550000] PPP generic driver version 2.4.2
[   35.700000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.120000] NET: Registered protocol family 24
[   36.180000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   36.810000] xt_time: kernel timezone is -0000
[   37.510000]  Hooked IMQ after mangle on PREROUTING
[   37.510000]  Hooked IMQ after nat on POSTROUTING
[   37.520000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   37.720000] Netfilter messages via NETLINK v0.30.
[   37.750000] ip_set: protocol 6
[   38.340000] usbcore: registered new interface driver cdc_acm
[   38.350000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   38.480000] usbcore: registered new interface driver usbserial
[   38.490000] USB Serial support registered for generic
[   38.490000] usbcore: registered new interface driver usbserial_generic
[   38.500000] usbserial: USB Serial Driver core
[   38.550000] usbcore: registered new interface driver cdc_ether
[   38.690000] usbcore: registered new interface driver cdc_ncm
[   38.800000] USB Serial support registered for GSM modem (1-port)
[   38.810000] usbcore: registered new interface driver option
[   38.820000] option: v0.7.2:USB Driver for GSM modems
[   38.940000] USB Serial support registered for Sierra USB modem
[   38.950000] usbcore: registered new interface driver sierra
[   38.950000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
[   48.040000] device eth0 entered promiscuous mode
[   50.320000] eth1: link up (100Mbps/Full duplex)
[   54.090000] device wlan0 entered promiscuous mode
[   54.410000] br-lan: port 2(wlan0) entered forwarding state
[   54.410000] br-lan: port 2(wlan0) entered forwarding state
[   56.410000] br-lan: port 2(wlan0) entered forwarding state
[  132.420000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
[  132.420000]                old minutes west=0, new minutes west=-120

Pod Windowsem normalnie wszytsko działa.
Oczywiście doinstalowałem brakujące lib'y.

Display LCD2USB {
    Driver 'LCD2USB'
    Size '16x2'
    Backlight 1
    Icons 1
}

Odznaczylem LCD2USB.

#Display 'Image'
#Display 'Trefon'
Display 'LCD2USB'
#Display 'LPH7508-serdisplib'
#Display 'LPH7508'
#Display 'ctinclud'
#Display 'picoLCD'
#Display 'VNC'
#Display 'GLCD2USB'

Layout 'Default'
#Layout 'TestLayer'
#Layout 'TestImage'
#Layout 'L8x2'
#Layout 'L16x1'
#Layout 'L16x2'
#Layout 'L20x2'
#Layout 'L40x2'
#Layout 'Test'
#Layout 'Test2'
#Layout 'TestGPO'
#Layout 'Debug'
#Layout 'TestIcons'

Nie wiem, po podpięciu do huba (pasywny, ale podpięty tylko pendrive) nawet nie pojawia się to logo na wyświetlaczu tak jak ma to miejsce w windowsie (bez uruchamiana programu).

7

Odp: Poszukiwany plik .ipk

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0c76 ProdID=0005 Rev= 1.00
S:  Manufacturer=USBDisk
S:  Product=FlashDisk
S:  SerialNumber=0608301517032
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us

8

Odp: Poszukiwany plik .ipk

Wygląda na to jak by go nie wykrywało?

9

Odp: Poszukiwany plik .ipk

Ok poszło - podmiana na hub aktywny i działa smile
Ale jest problem ponieważ tło jest ciemne, brak podświetlenia. A nie widzę w LCD2USB opcji contrast. Jak mogę "podkręcić" kontrast?

10

Odp: Poszukiwany plik .ipk

Udało się smile Działa ! Wystarczyło dodać linijkę Brightness !

Serdecznie dziękuję za plik ipk!

Biorę się za konfigurowanie tego co ma się wyświetlać.

11

Odp: Poszukiwany plik .ipk

Nie ma za co. Sorki za opóźnienie.

TL-WR1043ND: HDD-USB, extroot, LCD, Pilot, MP3 - Radio Player, NAS, Torrent, FTP, Sterowanie głosem, Komunikaty Głosowe, Termometr, PowerSwitch - Sterownik oświetlenia, Budzik, LTE - ODU IDU 200
Raspberry Pi + HDMI-VGA + Lcd Controller + Lcd z laptopa = Pogodynka smile

12

Odp: Poszukiwany plik .ipk

Żaden problem kolego smile
Jeszcze raz serdecznie dziękuję.

Ps. Sprawdź maila.

13

Odp: Poszukiwany plik .ipk

Zmienianie ekranów w lcd4linux realizowane jest przez kopiowanie konfiguracji do innego pliku - czy w ten sposób nie zajade  pendrive ?

14

Odp: Poszukiwany plik .ipk

Dlatego też konfig podmieniaj w /tmp a nie w /etc - przecież lcd4linux możesz uruchomić z określonym konfigiem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Poszukiwany plik .ipk

Tzn? Mógłbyś przybliżyć w jaki sposób to zrobić?
Konfigi mają być w /tmp czy jak ?

16

Odp: Poszukiwany plik .ipk

Dokładnie tak. Sam przecież je kopiujesz, więc rób to do /tmp i uruchamiaj odpowiednio lcd4linux.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.