201

(4 odpowiedzi, napisanych Oprogramowanie / Software)

no to dziwna sprawa bo mi na rspbianie nic sie takiego nie działo. Ja bym próbował odwrotnie czyli na raspbianie normalnie z dhcp ustawił a na routerze dał stałe IP dla Rp PI. Ewentualnie spróbuj tak jak masz to teraz dopisać na raspbianie do dnsów adres bramy routera.

202

(57 odpowiedzi, napisanych Oprogramowanie / Software)

jak ma wyglądać dokładnie to ciągłe odbieranie? bo samo "cat -a" nie działa

root@Gargoyle:~# cat -a /dev/ttyUSB0
cat: invalid option -- a
BusyBox v1.19.4 (2013-01-19 12:07:48 CET) multi-call binary.

Usage: cat [FILE]...

Concatenate FILEs and print them to stdout

sprawdzałem czy karta coś wysyła przez programik pod windowsem i ładnie zwraca co chcemy. Ustawiłem że chce wartości binarne to i takie mi wysyłała. http://img255.imageshack.us/img255/1353/terminalo.jpg
zgodnie z dokumentacją zwraca pakiet 5 bajtowy, gdzie przedostatni bajt pokazuje stan przekaźników.
Więc wygląda na to że wina leży po stronie systemu a nie karty. Może brakuje mi jakiejś paczki do zainstalowania? albo może przy odczycie powinienem podać w jakiej postaci chce otrzymywać dane czyli tak jak w tym programie ustawiłem że w postaci binarnej. Mój skrypt do odczytu stanu przekaźników wygląda tak:

#!/bin/sh
cat /dev/ttyUSB0 > /www1/plik.txt &
echo -e '\x55\x01\x4B\x00\x13' > /dev/ttyUSB0
sleep 1
killall cat

w jaki sposób zdeklarować w nim jaki typ danych chce odczytać? a dokłanie że chce dane binarne

203

(4 odpowiedzi, napisanych Oprogramowanie / Software)

po wgraniu OpenWrt Rp Pi ma ustawione złącze RJ jako LAN więc podłączając go do routera kłócą się. Router chce przypisać DHCP i RpPI też przypisuje swoje dhcp. Podłącz Rp PI bezpośrednio do kompa i przez program WinScp skonfiguruj sobie plik /etc/config/network
jest w nim tak:

config interface lan
    option ifname    eth0
    option proto    static
    option ipaddr    192.168.1.1
    option netmask    255.255.255.0

a skoro chcesz go podłączyć do routera to musisz zmienić żeby port był WAN-em czyli na takie coś:

config interface 'wan'
    option ifname 'eth0'
    option proto 'dhcp'
    option macaddr 'XX:XX:XX:XX:XX:XX'

za xx musisz dać maca karty z Rp Pi

204

(57 odpowiedzi, napisanych Oprogramowanie / Software)

tak tylko karta ma jeszcze 8 wejść binarnych których stany niby sprawdza sie w ten sam sposób tylko komenda nieco sie różni. A do wejść moge podłaczyć np kontaktron, czy sonde zalania smile napisałem do producenta z tym problemem, zobaczymy co mi odpisze...

205

(57 odpowiedzi, napisanych Oprogramowanie / Software)

no nie pomogło, plik.txt pusty... a może to wysyła w określonych odstępach czasu i ja to próbuje odebrać wtedy kiedy nie wysyła?

206

(57 odpowiedzi, napisanych Oprogramowanie / Software)

panowie potrzebuje jeszcze waszych rad z uruchomieniem tej karty... sterowanie przekaźnikami działa już ok, ale sprawdzanie ich stanu nie. Zgodnie ze specyfikacją karty jest tak:
http://img4.imageshack.us/img4/5292/zapytania.jpg
Czyli ogółem kod jaki wysyłam do urządzenia wygląda w postaci

echo -e '\x55\x01\x47\x00\x5e' > /dev/ttyUSB0

mamy tu zgodnie ze specyfikacją wysyłaną komendę "47" kilka postów wyżej jest screenshot jak co ta cała reszta oznacza w tym pakiecie.
w trakcie wysyłania takiego pakietu sprawdzam co zwraca:

cat /dev/ttyUSB0>>/tmp/plik.dat

tak jak kolega @mrox zaproponował wysyłam to do pliku. Jednak wygląda na to że nic sie nie dzieje. Plik waży 0 B, sprawdzam go w vi i jest pusto.

bez sensu ciągle wywala z tym samym błędem Firmware Download Failed...
Próbowałem załadować ten moduł it913x-fe ale nawet jak podam bezpośrednią ścieżkę do niego to nie ładuje sie. Próbowałem też modułów z serwera @zdzichu6969  dvb-core, dvb-usb, it913x-fe, dvb-usb-it913x. Ale efekt ten sam. Nie ładuje tego jednego a przy próbie uruchomienia firmware wywala ten błąd co wszędzie...

mam zapasowego tp linka wiec zaraz wrzuce na niego najświeższa wersje Gagulca i zobaczymy, może wystartuje smile

http://product.madeinchina.com/WandTV-U … 6814.shtml tylko pilot mam nieco inny.
Przedstawiał sie jako

048D:9005 dvb-usb-it913x.ko

a więc dałem

insmod dvb-core
insmod dvb-usb
insmod it913x-fe
insmod dvb-usb-it913x

mój cały lsmod wygląda tak:

root@Gargoyle:~# lsmod
Module                  Size  Used by    Tainted: G
dvb_usb_it913x          9328  0
it913x_fe              27664  0
dvb_usb                13344  1 dvb_usb_it913x
dvb_core               58464  1 dvb_usb
fuse                   51088  0
usbhid                 20656  0
sierra                  6736  0
option                 15104  0
usb_wwan                6560  1 option
hid                    64000  1 usbhid
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
usbserial              23792  3 sierra,option,usb_wwan
usblp                   8288  0
cdc_acm                11456  0
rc_core                 9392  2 dvb_usb_it913x,dvb_usb
evdev                   7008  0
ath79_wdt               2240  1
ledtrig_usbdev          2032  0
ledtrig_netdev          3184  0
xt_set                  3056 10
ip_set_list_set         4800  0
ip_set_hash_netport    22512  0
ip_set_hash_netiface    22880  0
ip_set_hash_net        20288  1
ip_set_hash_ipportnet    23904  0
ip_set_hash_ipportip    18976  0
ip_set_hash_ipport     17936  0
ip_set_hash_ip         16336  0
ip_set_bitmap_port      4160  0
ip_set_bitmap_ipmac     4816  0
ip_set_bitmap_ip        4864  0
ip_set                 17936 12 xt_set,ip_set_list_set,ip_set_hash_netport,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip
ebt_among               1968  0
ebt_802_3                592  0
nfnetlink               1680  1 ip_set
xt_IMQ                   624  0
imq                     5024  0
ipt_weburl             13296  0
ipt_webmon             12528  0
ipt_timerange            784  0
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_iprange               896  0
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592  0
xt_length                608  0
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
xt_quota                 656  0
xt_pkttype               528  0
xt_physdev              1248  0
xt_owner                 592  0
ipt_bandwidth          17600 20
ipt_REDIRECT             576  2
ipt_NETMAP               592  0
ipt_MASQUERADE           976 17
iptable_nat             2544  1
nf_nat                 10256  6 nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  0
xt_connbytes            1424  0
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38176 16 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppox                   1152  1 pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400  0
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
nfsd                   69648  0
nfs                   124704  0
msdos                   5520  0
tun                    10640  0
ppp_async               5952  0
ppp_generic            18848  3 pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  0
fat                    41728  2 msdos,vfat
lockd                  55552  2 nfsd,nfs
sunrpc                149216  4 nfsd,nfs,lockd
ath9k                  85536  0
ath9k_common            1152  1 ath9k
ath9k_hw              316944  2 ath9k,ath9k_common
ath                    12480  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 784  0
nls_koi8_r              3824  0
nls_iso8859_2           3312  0
nls_iso8859_15          3312  0
nls_iso8859_13          3312  0
nls_iso8859_1           2800  0
nls_cp866               3824  0
nls_cp852               3568  0
nls_cp850               3568  0
nls_cp775               3824  0
nls_cp437               4336  0
nls_cp1251              3568  0
nls_cp1250              3824  0
mac80211              254208  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  0
crc_ccitt                944  1 ppp_async
exportfs                2608  1 nfsd
cfg80211              154304  2 ath9k,mac80211
compat                  5776  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
input_core             20016  5 dvb_usb,usbhid,hid,rc_core,evdev
arc4                     768  2
aes_generic            29808  3
usb_storage            33136 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ehci_hcd               33616  0
sd_mod                 22240  3
ext4                  237664  1
jbd2                   37248  1 ext4
mbcache                 3504  1 ext4
usbcore                99168 23 dvb_usb_it913x,dvb_usb,usbhid,sierra,option,usb_wwan,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,usbserial,usblp,cdc_acm,ledtrig_usbdev,usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  3 ums_cypress,usb_storage,sd_mod
nls_base                4640 16 vfat,fat,nls_utf8,nls_koi8_r,nls_iso8859_2,nls_iso8859_15,nls_iso8859_13,nls_iso8859_1,nls_cp866,nls_cp852,nls_cp850,nls_cp775,nls_cp437,nls_cp1251,nls_cp1250,usbcore
crc16                    944  1 ext4
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

kernel:

root@Gargoyle:~# uname -a
Linux Gargoyle 3.3.8 #35 Sat Nov 24 08:08:12 CET 2012 mips GNU/Linux

i przy każdej wersji fw wywala w logach

Feb 14 12:49:06 Gargoyle kern.info kernel: [  645.270000] it913x: FRM Firmware Download Failed (ffffff6f)

dzieki za zainteresowanie i pomoc. A co zmieniałeś w tym firmware? bo dalej wywala, tylko teraz wypisuje inny typ chipu. Może problem tkwi w nieprawidłowym załadowaniu modułów?? może coś pomieszałem w kolejności albo czegoś mi brakuje? choć sprawdzałem 2 razy...

Feb 14 01:01:16 Gargoyle kern.info kernel: [  307.760000] it913x: Chip Version=80 Chip Type=1352
Feb 14 01:01:17 Gargoyle kern.info kernel: [  308.560000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 14 01:01:18 Gargoyle kern.info kernel: [  310.480000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 14 01:01:18 Gargoyle kern.info kernel: [  310.510000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 14 01:01:19 Gargoyle kern.info kernel: [  310.710000] it913x: FRM Starting Firmware Download
Feb 14 01:01:43 Gargoyle kern.info kernel: [  335.220000] it913x: FRM Firmware Download Failed (ffffff6f)
Feb 14 01:01:43 Gargoyle kern.info kernel: [  335.420000] it913x: Chip Version=80 Chip Type=e9c7
Feb 14 01:01:44 Gargoyle kern.info kernel: [  336.060000] it913x: DEV it913x Error
Feb 14 01:01:44 Gargoyle kern.info kernel: [  336.060000] usbcore: registered new interface driver it913x

no niestety nadal nie startuje

Feb 14 00:28:39 Gargoyle kern.info kernel: [  414.280000] it913x: Chip Version=80 Chip Type=f34e
Feb 14 00:28:40 Gargoyle kern.info kernel: [  415.080000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 14 00:28:42 Gargoyle kern.info kernel: [  417.000000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 14 00:28:43 Gargoyle kern.info kernel: [  417.600000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 14 00:28:43 Gargoyle kern.info kernel: [  417.810000] it913x: FRM Starting Firmware Download
Feb 14 00:29:17 Gargoyle kern.info kernel: [  452.120000] it913x: FRM Firmware Download Failed (ffffff6f)
Feb 14 00:29:17 Gargoyle kern.info kernel: [  452.320000] it913x: Chip Version=81 Chip Type=ec0e
Feb 14 00:29:18 Gargoyle kern.info kernel: [  452.960000] it913x: DEV it913x Error
Feb 14 00:29:18 Gargoyle kern.info kernel: [  452.960000] usbcore: registered new interface driver it913x

dzięki za podpowiedź. Przerobiłem to na taki o jaki prosił czyli: dvb-usb-it9135-01.fw
ale nadal nie działa prawidłowo

Feb 13 22:56:46 Gargoyle kern.warn kernel: [  517.880000] dvb_usb_it913x: Unknown symbol it913x_fe_attach (err 0)
Feb 13 22:57:23 Gargoyle daemon.info hostapd: wlan0: STA a0:0b:ba:85:ce:6a IEEE 802.11: disassociated due to inactivity
Feb 13 22:57:24 Gargoyle daemon.info hostapd: wlan0: STA a0:0b:ba:85:ce:6a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Feb 13 22:57:46 Gargoyle kern.warn kernel: [  577.940000] dvb_usb_it913x: Unknown symbol it913x_fe_attach (err 0)
Feb 13 22:57:59 Gargoyle authpriv.info dropbear[3692]: Child connection from 192.168.1.152:58486
Feb 13 22:58:06 Gargoyle authpriv.notice dropbear[3692]: Password auth succeeded for 'root' from 192.168.1.152:58486
Feb 13 22:59:12 Gargoyle daemon.info hostapd: wlan0: STA 00:22:58:50:5b:86 WPA: group key handshake completed (RSN)
Feb 13 22:59:19 Gargoyle kern.warn kernel: [  670.740000] dvb_usb_it913x: Unknown symbol it913x_fe_attach (err 0)
Feb 13 22:59:58 Gargoyle kern.warn kernel: [  710.040000] dvb_usb_it913x: Unknown symbol it913x_fe_attach (err 0)
Feb 13 23:01:58 Gargoyle kern.info kernel: [  830.340000] it913x: Chip Version=80 Chip Type=5463
Feb 13 23:01:59 Gargoyle kern.info kernel: [  831.140000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 13 23:02:01 Gargoyle kern.info kernel: [  833.060000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 23:02:01 Gargoyle kern.info kernel: [  833.090000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 13 23:02:01 Gargoyle kern.info kernel: [  833.290000] it913x: FRM Starting Firmware Download
Feb 13 23:02:36 Gargoyle kern.info kernel: [  867.600000] it913x: FRM Firmware Download Failed (ffffff6f)
Feb 13 23:02:36 Gargoyle kern.info kernel: [  867.800000] it913x: Chip Version=80 Chip Type=b460
Feb 13 23:02:36 Gargoyle kern.info kernel: [  868.440000] it913x: DEV it913x Error

może ktoś posiada firmware do dvb-usb-it913x ???

a firmware pobrałem z tąd http://www.ite.com.tw/uploads/firmware/ … it9135.zip

root@Gargoyle:~# ls -al /lib/firmware
drwxr-xr-x    1 root     root          4096 Feb 13 15:34 .
drwxr-xr-x    1 root     root          4096 Feb  1 19:54 ..
-rwxr-xr-x    1 root     root         25105 Jul 20  2011 dvb-usb-it9135-01.fw

jest wrzucone do odp katalogu i zmieniłem na odp nazwe

jest już lepiej ale w logach ciągle błędy... nie ta wersja firmware czy jak?

Feb 13 15:00:49 Gargoyle kern.info kernel: [ 2965.600000] it913x: Chip Version=02 Chip Type=9135
Feb 13 15:00:49 Gargoyle kern.info kernel: [ 2965.600000] it913x: Dual mode=0 Remote=5 Tuner Type=0
Feb 13 15:00:49 Gargoyle kern.info kernel: [ 2965.610000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 15:00:49 Gargoyle kern.err kernel: [ 2965.640000] dvb-usb: did not find the firmware file. (dvb-usb-it9135-01.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
Feb 13 15:00:49 Gargoyle kern.info kernel: [ 2965.660000] it913x: DEV it913x Error
Feb 13 15:00:49 Gargoyle kern.info kernel: [ 2965.660000] usbcore: registered new interface driver it913x
Feb 13 15:02:26 Gargoyle daemon.info hostapd: wlan0: STA 00:22:58:50:5b:86 WPA: group key handshake completed (RSN)
Feb 13 15:04:34 Gargoyle daemon.info dnsmasq-dhcp[2398]: DHCPREQUEST(br-lan) 192.168.1.153 cc:5d:4e:c9:f9:13
Feb 13 15:04:34 Gargoyle daemon.info dnsmasq-dhcp[2398]: DHCPACK(br-lan) 192.168.1.153 cc:5d:4e:c9:f9:13 nsa310
Feb 13 15:08:10 Gargoyle kern.info kernel: [ 3406.940000] usbcore: deregistering interface driver it913x
Feb 13 15:12:26 Gargoyle daemon.info hostapd: wlan0: STA 00:22:58:50:5b:86 WPA: group key handshake completed (RSN)
Feb 13 15:15:18 Gargoyle kern.info kernel: [ 3835.160000] it913x: Chip Version=02 Chip Type=9135
Feb 13 15:15:18 Gargoyle kern.info kernel: [ 3835.180000] it913x: Dual mode=0 Remote=5 Tuner Type=0
Feb 13 15:15:18 Gargoyle kern.info kernel: [ 3835.180000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 15:15:18 Gargoyle kern.info kernel: [ 3835.230000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 13 15:15:18 Gargoyle kern.info kernel: [ 3835.240000] it913x: FRM Starting Firmware Download
Feb 13 15:15:48 Gargoyle authpriv.info dropbear[3654]: Exit (root): Exited normally
Feb 13 15:15:57 Gargoyle authpriv.info dropbear[11124]: Child connection from 192.168.1.152:53255
Feb 13 15:16:02 Gargoyle kern.info kernel: [ 3879.190000] it913x: FRM Firmware Download Failed (ffffffff)
Feb 13 15:16:03 Gargoyle kern.info kernel: [ 3879.390000] it913x: Chip Version=81 Chip Type=f7cd
Feb 13 15:16:03 Gargoyle authpriv.notice dropbear[11124]: Password auth succeeded for 'root' from 192.168.1.152:53255
Feb 13 15:16:03 Gargoyle kern.info kernel: [ 3880.030000] it913x: DEV it913x Error
Feb 13 15:16:03 Gargoyle kern.info kernel: [ 3880.030000] usbcore: registered new interface driver it913x
Feb 13 15:22:26 Gargoyle daemon.info hostapd: wlan0: STA 00:22:58:50:5b:86 WPA: group key handshake completed (RSN)
Feb 13 15:32:26 Gargoyle daemon.info hostapd: wlan0: STA 00:22:58:50:5b:86 WPA: group key handshake completed (RSN)
Feb 13 15:33:33 Gargoyle kern.info kernel: [ 4930.200000] usbcore: deregistering interface driver it913x
Feb 13 15:34:11 Gargoyle kern.info kernel: [ 4968.040000] it913x: Chip Version=80 Chip Type=bb6a
Feb 13 15:34:12 Gargoyle kern.info kernel: [ 4968.840000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 13 15:34:14 Gargoyle kern.info kernel: [ 4970.760000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 15:34:14 Gargoyle kern.err kernel: [ 4970.780000] dvb-usb: did not find the firmware file. (dvb-usb-it9135-01.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
Feb 13 15:34:14 Gargoyle kern.info kernel: [ 4970.800000] it913x: DEV it913x Error
Feb 13 15:34:14 Gargoyle kern.info kernel: [ 4970.800000] usbcore: registered new interface driver it913x
Feb 13 15:35:01 Gargoyle kern.info kernel: [ 5017.860000] usbcore: deregistering interface driver it913x
Feb 13 15:35:08 Gargoyle kern.info kernel: [ 5024.680000] it913x: Chip Version=80 Chip Type=79a8
Feb 13 15:35:09 Gargoyle kern.info kernel: [ 5025.480000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 13 15:35:11 Gargoyle kern.info kernel: [ 5027.400000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 15:35:11 Gargoyle kern.info kernel: [ 5027.430000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 13 15:35:11 Gargoyle kern.info kernel: [ 5027.630000] it913x: FRM Starting Firmware Download
Feb 13 15:36:07 Gargoyle authpriv.info dropbear[16382]: Child connection from 192.168.1.152:53765
Feb 13 15:36:16 Gargoyle authpriv.notice dropbear[16382]: Password auth succeeded for 'root' from 192.168.1.152:53765
Feb 13 15:36:16 Gargoyle kern.info kernel: [ 5093.140000] it913x: FRM Firmware Download Failed (ffffff6f)
Feb 13 15:36:17 Gargoyle kern.info kernel: [ 5093.340000] it913x: Chip Version=80 Chip Type=944d
Feb 13 15:36:17 Gargoyle kern.info kernel: [ 5093.980000] it913x: DEV it913x Error
Feb 13 15:36:17 Gargoyle kern.info kernel: [ 5093.980000] usbcore: registered new interface driver it913x
Feb 13 15:37:17 Gargoyle authpriv.info dropbear[16382]: Exit (root): Exited normally
Feb 13 15:40:28 Gargoyle kern.info kernel: [ 5344.690000] usbcore: deregistering interface driver it913x
Feb 13 15:40:37 Gargoyle kern.info kernel: [ 5354.290000] it913x: Chip Version=80 Chip Type=9baa
Feb 13 15:40:38 Gargoyle kern.info kernel: [ 5355.090000] it913x: Dual mode=6f Remote=6f Tuner Type=6f
Feb 13 15:40:40 Gargoyle kern.info kernel: [ 5357.010000] dvb-usb: found a 'ITE 9135(9005) Generic' in cold state, will try to load a firmware
Feb 13 15:40:40 Gargoyle kern.info kernel: [ 5357.040000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-01.fw'
Feb 13 15:40:40 Gargoyle kern.info kernel: [ 5357.240000] it913x: FRM Starting Firmware Download
Feb 13 15:41:46 Gargoyle kern.info kernel: [ 5422.750000] it913x: FRM Firmware Download Failed (ffffff6f)
Feb 13 15:41:46 Gargoyle kern.info kernel: [ 5422.950000] it913x: Chip Version=81 Chip Type=83d7
Feb 13 15:41:47 Gargoyle kern.info kernel: [ 5423.590000] it913x: DEV it913x Error
Feb 13 15:41:47 Gargoyle kern.info kernel: [ 5423.590000] usbcore: registered new interface driver it913x

wszystkie moduły mam pościągane do katalogu /lib/modules/3.3.8. Po załadowaniu dvb_core oraz dvb_usb w logach nic się nie pojawia. Natomiast lsmod pokazuje mi że załadowane są. Swoją droga to dlaczego najpierw ładuje dvb_usb i dvb_core skoro z zalezności wychodzi mi że do działania dvb_core potrzebne jest jeszcze rc-core i input-core, a do dvb-usb wszystkie te wcześniejsze + usbcore, nls_base i usb_common. No i też dziwna sprawa bo raz moduły ładują sie np z dvb_usb a raz nie chcą tylko trzaba dać dvb-usb.

218

(30 odpowiedzi, napisanych Oprogramowanie / Software)

dzięki za cierpliwość. Nauczka dla mnie, następnym razem od razu robić w vi. Gnokii działa już poprawnie smile

mam problem z prawidłowym załadowaniem modułów... przejżałem wszystkie zależności i wykonałem kolejno załadowanie każdych, ale lsmod nie pokazuje mi żeby było to wykonane prawidłowo

root@Gargoyle:~# strings /lib/modules/3.3.8/dvb-usb-it913x.ko | grep depends
depends=dvb-usb,usbcore,rc-core
root@Gargoyle:~# insmod input_core
root@Gargoyle:~# insmod rc_core
root@Gargoyle:~# insmod dvb_core
root@Gargoyle:~# insmod nls_base
insmod: can't insert 'nls_base': File exists
root@Gargoyle:~# insmod nls-base
root@Gargoyle:~# insmod usb_common
root@Gargoyle:~# insmod dvb_usb
root@Gargoyle:~# insmod dvb_usb_it913x
root@Gargoyle:~# lsmod
Module                  Size  Used by    Tainted: G
fuse                   51088  0
sierra                  6736  0
option                 15104  0
usb_wwan                6560  1 option
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
usbserial              23792  3 sierra,option,usb_wwan
usblp                   8288  0
cdc_acm                11456  0
rc_core                 9392  0
ath79_wdt               2240  1
ledtrig_usbdev          2032  0
ledtrig_netdev          3184  0
xt_set                  3056 10
ip_set_list_set         4800  0
ip_set_hash_netport    22512  0
ip_set_hash_netiface    22880  0
ip_set_hash_net        20288  1
ip_set_hash_ipportnet    23904  0
ip_set_hash_ipportip    18976  0
ip_set_hash_ipport     17936  0
ip_set_hash_ip         16336  0
ip_set_bitmap_port      4160  0
ip_set_bitmap_ipmac     4816  0
ip_set_bitmap_ip        4864  0
ip_set                 17936 12 xt_set,ip_set_list_set,ip_set_hash_netport,ip_se                                           t_hash_netiface,ip_set_hash_net,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_se                                           t_hash_ipport,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitma                                           p_ip
ebt_among               1968  0
ebt_802_3                592  0
nfnetlink               1680  1 ip_set
xt_IMQ                   624  0
imq                     5024  0
ipt_weburl             13296  0
ipt_webmon             12528  0
ipt_timerange            784  0
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_iprange               896  0
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592  0
xt_length                608  0
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
xt_quota                 656  0
xt_pkttype               528  0
xt_physdev              1248  0
xt_owner                 592  0
ipt_bandwidth          17600 20
ipt_REDIRECT             576  2
ipt_NETMAP               592  0
ipt_MASQUERADE           976 17
iptable_nat             2544  1
nf_nat                 10256  6 nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ip                                           t_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  0
xt_connbytes            1424  0
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38176 16 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntr                                           ack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_con                                           nbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppox                   1152  1 pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400  0
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_f                                           ilter
nfsd                   69648  0
nfs                   124704  0
msdos                   5520  0
tun                    10640  0
ppp_async               5952  0
ppp_generic            18848  3 pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  0
fat                    41728  2 msdos,vfat
lockd                  55552  2 nfsd,nfs
sunrpc                149216  4 nfsd,nfs,lockd
ath9k                  85536  0
ath9k_common            1152  1 ath9k
ath9k_hw              316944  2 ath9k,ath9k_common
ath                    12480  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 784  0
nls_koi8_r              3824  0
nls_iso8859_2           3312  0
nls_iso8859_15          3312  0
nls_iso8859_13          3312  0
nls_iso8859_1           2800  0
nls_cp866               3824  0
nls_cp852               3568  0
nls_cp850               3568  0
nls_cp775               3824  0
nls_cp437               4336  0
nls_cp1251              3568  0
nls_cp1250              3824  0
mac80211              254208  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  0
crc_ccitt                944  1 ppp_async
exportfs                2608  1 nfsd
cfg80211              154304  2 ath9k,mac80211
compat                  5776  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
input_core             20016  1 rc_core
arc4                     768  2
aes_generic            29808  3
usb_storage            33136 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_ju                                           mpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ehci_hcd               33616  0
sd_mod                 22240  3
ext4                  237664  1
jbd2                   37248  1 ext4
mbcache                 3504  1 ext4
usbcore                99168 20 sierra,option,usb_wwan,ums_usbat,ums_sddr55,ums_                                           sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums                                           _alauda,usbserial,usblp,cdc_acm,ledtrig_usbdev,usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  3 ums_cypress,usb_storage,sd_mod
nls_base                4640 16 vfat,fat,nls_utf8,nls_koi8_r,nls_iso8859_2,nls_i                                           so8859_15,nls_iso8859_13,nls_iso8859_1,nls_cp866,nls_cp852,nls_cp850,nls_cp775,n                                           ls_cp437,nls_cp1251,nls_cp1250,usbcore
crc16                    944  1 ext4
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

220

(30 odpowiedzi, napisanych Oprogramowanie / Software)

dzięki za cierpliwość, siedze już nad tym 3 dzień, próbowałem z telefonem po kablu i bluetooth i nie działało teraz z tym modemem i dalej nie czyta...

root@Gargoyle:~$ gnokii --config /root/.gnokiirc --identify
GNOKII Version 0.6.21
Couldn't read /root/.gnokiirc config file.
Config file cannot be read.
File: /root/.gnokiirc

a plik ma nadane parametry chmod 755....

221

(35 odpowiedzi, napisanych Termometr)

poczytaj o rezystorach podciągających dla linii 1-wire. Po to on jest. Choć jak piszesz działa i bez, ale nie zawsze

222

(30 odpowiedzi, napisanych Oprogramowanie / Software)

hmm jak daje gnokii --config /root/.gnokiirc, to nie działa, wyskakuje cały help. Pewnie dlatego że trzeba tą ścieżke jakoś inaczej wpisać, tylko jak?

223

(30 odpowiedzi, napisanych Oprogramowanie / Software)

edytowałem to w winscp. Ale sprawdziłem czy nie ma dziwnych znaków przez VI i wygląda ok. Usunąłem wcięcia i dalej to samo...

root@Gargoyle:~$ vi /root/.gnokiirc
[global]
model = AT
port = /dev/ttyUSB2
connection = serial
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
- /root/.gnokiirc 1/3 33%

224

(30 odpowiedzi, napisanych Oprogramowanie / Software)

bez sensu... niby nie widzi pliku gnokiirc i nie rozróżnia typu połączenia, a to jest modem hauwei e169 więc nie wiem jakie inne może być jak nie "serial"

root@Gargoyle:~$ ls -al /root/.gnokiirc
-rwxr-xr-x    1 root     root           71 Feb 11 13:42 /root/.gnokiirc
root@Gargoyle:~$ gnokii --identify
GNOKII Version 0.6.21
You need to define 'connection' in the config file.
Couldn't read /root/.gnokiirc config file.
No connection type specified in the config file.

/root/.gnokiirc

[global]
    model = AT
    port = /dev/ttyUSB2
    connection = serial

225

(30 odpowiedzi, napisanych Oprogramowanie / Software)

root@Gargoyle:~$ ls -al /root/.gnokiirc
-rwxr-xr-x    1 root     root           71 Feb  8 21:49 /root/.gnokiirc
root@Gargoyle:~$ ls -al /root/gnokiirc
ls: /root/gnokiirc: No such file or directory
root@Gargoyle:~$