26

Odp: TL-WR1043ND HUB USB - problem z radio

robiłem mpd start
a teraz zrobiłem jak pisałeś i mam


root@Gargoyle:~# opkg  /etc/init.d/mpd start
gpkg: opkg/ipkg compatible package manager
      written by Eric Bishop

usage: gpkg sub-command [options] [package argument(s)]
where sub-command is one of:

Package Manipulation:
  update                        Update list of available packages
  upgrade [pkgs]                Upgrade packages
  install [pkgs]                Install package(s)
  remove  [pkgs]                Remove package(s)

Informational Commands
  list [pkgs|regexp]            List available packages
  list-installed [pkgs|regexp]  List installed packages
  info [pkgs|regexp]            Display info for packages
  dest-info                     Display info about package destinations

Options:
  --regex,r                     Package argument is a regular expression
                                Only accepted for list/info commands
  --conf,-f [conf_file]         Use <conf_file> as opkg/gpkg configuration file
  --dest,-d [dest_name]         Use <dest_name> as the the root directory for
                                package installation, removal, upgrading
                                <dest_name> should be a defined dest name from
                                the configuration file,
  --link-dest,-l [dest_name]    After installation, symlink files to a
                                differentdestination specified by <dest_name>
  --only-dest,-n [dest_name]    Only display packages installed in <dest_name>
  --tmp-dir,-t   [dir_path]     Specify path of tmp-dir
  --output-format,-o [format]   Specify output format of list/info commands
                                can be 'human-readable', 'json' or 'js'
                                Default is 'human-readable'
  --package-variables,-v [vars] Comma seperated list of package variables
                                to print when info command is called

Force Options:
  --force-depends,-p            Install/remove despite failed dependencies
  --force-maintainer,-m         Overwrite preexisting config files
  --force-reinstall,-e          Reinstall package(s)
  --force-overwrite,-w          Overwrite files from other package(s)
  --autoremove,-a               Remove packages that were installed
                                automatically to satisfy dependencies
  --autoremove-same-dest,-s     Remove packages that were installed
                                automatically to satisfy dependencies
                                only if they were installed to same
                                destination as package being removed
root@Gargoyle:~# mpc add http://195.150.20.244:8000/rmf_fm
error: Connection refused
root@Gargoyle:~#

27

Odp: TL-WR1043ND HUB USB - problem z radio

/etc/init.d/mpd start

Nie opkg. Opkg służy do instalacji pakietu, nie uruchamiania programu.

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

28

Odp: TL-WR1043ND HUB USB - problem z radio

root@Gargoyle:~# /etc/init.d/mpd start
-ash: /etc/init.d/mpd: not found
root@Gargoyle:~#

29

Odp: TL-WR1043ND HUB USB - problem z radio

opkg list_installed | grep mpd

Pokaż.

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

30

Odp: TL-WR1043ND HUB USB - problem z radio

root@Gargoyle:~# opkg list_installed | grep mpd
libmpdclient - 2.4-1
root@Gargoyle:~#

31

Odp: TL-WR1043ND HUB USB - problem z radio

Nie masz w ogóle mpd zainstalowanego, więc jak chcesz przez niego odtwarzać muzykę?

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

32

Odp: TL-WR1043ND HUB USB - problem z radio

zaktualizowałe pakiety i dalem
root@Gargoyle:~# opkg mpd install
gpkg: opkg/ipkg compatible package manager
      written by Eric Bishop

usage: gpkg sub-command [options] [package argument(s)]
where sub-command is one of:

Package Manipulation:
  update                        Update list of available packages
  upgrade [pkgs]                Upgrade packages
  install [pkgs]                Install package(s)
  remove  [pkgs]                Remove package(s)

Informational Commands
  list [pkgs|regexp]            List available packages
  list-installed [pkgs|regexp]  List installed packages
  info [pkgs|regexp]            Display info for packages
  dest-info                     Display info about package destinations

Options:
  --regex,r                     Package argument is a regular expression
                                Only accepted for list/info commands
  --conf,-f [conf_file]         Use <conf_file> as opkg/gpkg configuration file
  --dest,-d [dest_name]         Use <dest_name> as the the root directory for
                                package installation, removal, upgrading
                                <dest_name> should be a defined dest name from
                                the configuration file,
  --link-dest,-l [dest_name]    After installation, symlink files to a
                                differentdestination specified by <dest_name>
  --only-dest,-n [dest_name]    Only display packages installed in <dest_name>
  --tmp-dir,-t   [dir_path]     Specify path of tmp-dir
  --output-format,-o [format]   Specify output format of list/info commands
                                can be 'human-readable', 'json' or 'js'
                                Default is 'human-readable'
  --package-variables,-v [vars] Comma seperated list of package variables
                                to print when info command is called

Force Options:
  --force-depends,-p            Install/remove despite failed dependencies
  --force-maintainer,-m         Overwrite preexisting config files
  --force-reinstall,-e          Reinstall package(s)
  --force-overwrite,-w          Overwrite files from other package(s)
  --autoremove,-a               Remove packages that were installed
                                automatically to satisfy dependencies
  --autoremove-same-dest,-s     Remove packages that were installed
                                automatically to satisfy dependencies
                                only if they were installed to same
                                destination as package being removed
root@Gargoyle:~# opkg list_installed | grep mpd
libmpdclient - 2.4-1

33

Odp: TL-WR1043ND HUB USB - problem z radio

opkg install mpd-full

Nie czytasz w ogóle tego co na ekran ci wyskakuje.

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

34

Odp: TL-WR1043ND HUB USB - problem z radio

root@Gargoyle:~# opkg install mpd-full mpc
ERROR: Not enough space in destination root to install specified packages:
        libfaad2, libtheora, glib2, libspeex, libflac, mpc, libbz2, libffi, alsa-lib, libmms, libogg, libffmpeg-mini, mpd-full, libvorbis, libcurl, libvorbisidec, libshout, libsndfile, libaudiofile

root@Gargoyle:~#

35

Odp: TL-WR1043ND HUB USB - problem z radio

Nie zrobiłeś extroota i nie masz miejsca już na instalację pakietów?

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

36

Odp: TL-WR1043ND HUB USB - problem z radio

nie nie robiłem nic takiego nie wiem co to jest i jak go zrobic...

37

Odp: TL-WR1043ND HUB USB - problem z radio

Na eko.one.pl szukaj informacji...

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

38

Odp: TL-WR1043ND HUB USB - problem z radio

ok, widze ze lepiej będzie jak zrobie wszystko od początku łacznie z wgraniem gargoyle...

39

Odp: TL-WR1043ND HUB USB - problem z radio

Nie. Przywróć z gui ustawienia domyślnie i już. Nie musisz wgrywać ponownie, to nie windows.

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

40

Odp: TL-WR1043ND HUB USB - problem z radio

Zrobiłem extroota i zainstalowalem wszystko od nowa i nadal kłopot:

root@Gargoyle:~# /etc/init.d/mpd start
BusyBox v1.19.4 (2013-11-13 19:50:00 CET) multi-call binary.

Usage: nice [-n ADJUST] [PROG ARGS]

Change scheduling priority, run PROG

        -n ADJUST       Adjust priority by ADJUST

music directory is not a directory: "/mnt/sda1/music"
playlist directory is not a directory: "/mnt/sda1/playlists"
Failed to load database: Failed to open database file "/mnt/sda1/database": No such file or directory
database: Couldn't stat parent directory of db file "/mnt/sda1/database": No such file or directory
root@Gargoyle:~# mpc add http://195.150.20.244:8000/rmf_fm
error: Connection refused


proszę o pomoc

41

Odp: TL-WR1043ND HUB USB - problem z radio

uruchomiłem, radio gra, okazało się że nie zaistalowałem na samym poczatku sterownikow do karty..

42

Odp: TL-WR1043ND HUB USB - problem z radio

wczoraj radio grało a dziś juz nie chce, wyłaczyłem radio a dziś nie moe uruchomić..

root@Gargoyle:~# mpc add http://195.150.20.244:8000/rmf_fm
-ash: mpc: not found
root@Gargoyle:~# /etc/init.d/mpd start
-ash: /etc/init.d/mpd: not found
root@Gargoyle:~#


proszę o informację co jest nie tak lub co źle zrobiłem, robię?

43

Odp: TL-WR1043ND HUB USB - problem z radio

Zakładam że nie masz extroota skoro nie masz tych poleceń.

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

44

Odp: TL-WR1043ND HUB USB - problem z radio

zrobiłem go na usb, pokazuje mi tak:
root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14580k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@Gargoyle:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.6M    612.0K    988.0K  38% /
/dev/root                 5.5M      5.5M         0 100% /rom
tmpfs                    14.2M    552.0K     13.7M   4% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            1.6M    612.0K    988.0K  38% /overlay
overlayfs:/overlay        1.6M    612.0K    988.0K  38% /
root@Gargoyle:~#

45

Odp: TL-WR1043ND HUB USB - problem z radio

z tym że wczoraj, jak wszystko działało, wyłączyłem radio i wyłączyłem ruter z pradu, a dziś po włączeniu nie chce działać...

46

Odp: TL-WR1043ND HUB USB - problem z radio

Nie masz extroota. Nie wiem co i jak robiłeś, ale nie masz go. Nawet nośnika w innym miejscu nie masz zamontowanego.

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

47

Odp: TL-WR1043ND HUB USB - problem z radio

doszedłem do tego, uruchomiłem ponownie ruter, przepiołem do innego usb nośnik i wszystko zaczęło działać... proszę teraz o informację jak dodać i obsłuzyć pilot mdion rf remonte control p/n 20018071 ?

48

Odp: TL-WR1043ND HUB USB - problem z radio

Było tu na forum, poszukaj o lirc.

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

49 (edytowany przez Pawci_o 2013-11-26 19:59:03)

Odp: TL-WR1043ND HUB USB - problem z radio

zrobiłem wszystko co dotyczy lirc i pisze http://eko.one.pl/forum/viewtopic.php?id=2276
jednak nie działa- teraz radio mi nie działa nawet jak wlacze przez putty..
root@Gargoyle:~# /etc/init.d/mpd start
BusyBox v1.19.4 (2013-11-13 19:50:00 CET) multi-call binary.

Usage: nice [-n ADJUST] [PROG ARGS]

Change scheduling priority, run PROG

        -n ADJUST       Adjust priority by ADJUST

root@Gargoyle:~# mpc add http://195.150.20.244:8000/rmf_fm
root@Gargoyle:~# mpc play
RMF FM: Jamal - Peron
[playing] #1/5 138:42/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
root@Gargoyle:~#

a w glośnikach cisza,,,

plik lircd.conf :

#!/bin/sh /etc/rc.common
# Copyright (C) 2007-2010 OpenWrt.org
START=99

start() {
mkdir -p /var/run/lirc/   # u mnie bez tego nie chce sie uruchomić
lircd
irexec &
}

stop() {
killall irexec
killall lircd
}

plik
lircrc:

#begin
        prog = irexec
        button = POWER
        config = /etc/init.d/mpd start
#killall mpd
end


begin
        prog = irexec
        button = PLAY
        config = mpc play
end

begin
        prog = irexec
        button = PAUSE
        config = mpc pause
end

begin
        prog = irexec
        button = STOP
        config = mpc stop
end


begin
        prog = irexec
        button = VOL-
        config = mpc volume -5
end

begin
        prog = irexec
        button = VOL+
        config = mpc volume +5
end

begin
        prog = irexec
        button = 1
        config = mpc add http://195.150.20.244:8000/rmf_fm
end


Pilot medion X10 p/n 20018071 fcc id b4s200016398

teraz w putty zrobiłem:

root@Gargoyle:~# mpc add http://195.150.20.244:8000/rmf_fm
root@Gargoyle:~# mpc play
RMF FM: Jamal - Peron
[playing] #1/5 138:42/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
root@Gargoyle:~#
root@Gargoyle:~# mpc stop
volume:100%   repeat: off   random: off   single: off   consume: off
root@Gargoyle:~# mpc play
RMF FM: Jamal - Peron
[playing] #1/5   0:00/0:00 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
root@Gargoyle:~#

i zaczęło grać ale na pilota nie reaguje...


proszę o pomoc.

50

Odp: TL-WR1043ND HUB USB - problem z radio

cat /proc/bus/usb/devices pokaż

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