Kirjoittaja Aihe: digitikku A-link DTU(m)  (Luettu 116518 kertaa)

HanXi

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #60 : 13.03.08 - klo:20.02 »
Lainaus
Muutenhan tuo on ihan samallalailla kuin on aikaisemminkin neuvottu, mutta muutetaan vielä udev-sääntöjä.
Mitä hyötyä nuista udev-säännöistä on?


Niinpäs näköjään onkin ihan sama. En ollu ilmeisesti lukenu tätä ketjua ihan kokonaan.  Ja näköjään toimii ilman tota udev-säätöäkin.. tais olla mullakin aikasemmin joku puginen versio tosta ajurista.. heh :D

Aakko

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #61 : 22.03.08 - klo:00.17 »
Joo kerran sain tuon palikan toimimaan tuolla ajurilla. Bootin jälkeen en ole saanut näkymään kertaakaan vaikka olen nykinyt palikkaa irti ja takaisin ja kääntänyt ajurin uudestaan.

Distrona Arch Linux.

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #62 : 24.03.08 - klo:21.20 »
Joo kerran sain tuon palikan toimimaan tuolla ajurilla. Bootin jälkeen en ole saanut näkymään kertaakaan vaikka olen nykinyt palikkaa irti ja takaisin ja kääntänyt ajurin uudestaan.

Distrona Arch Linux.

mitäköhän se ajuri tulostelee message-lokiin?

/antti

Aakko

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #63 : 25.03.08 - klo:09.58 »
Välillä tuo tunnistuu bootissa. Tosin silloin kun palikan saan toimimaan yleensä se putoaa väylältä noin 10-15 minuutin Kaffeinella katselun jälkeen.

Kaffeine jää sitten taustalle jumittamaan eikä vastaa SIGTERM:iin tai SIGKILL:iin. Vaikka tapan X:n niin Kaffeinen prosessia ei silti saa tapettua.

Tässä läppärissä on Vian piirisarja jonka Linux-tuki on aika epävakaata muutenkin että sekin on osa syynä ongelmiin varmaan.

Karza

  • Käyttäjä
  • Viestejä: 5
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #64 : 31.03.08 - klo:17.33 »
Nyt on kummallisia ongelmia A-Datan digitikun kanssa.  Kanavat vaihtuvat itsestään ja volume liikkuu tai menee mutelle. Ajuri varmaankin luulee että kaukosäädintä painellaan vaikka niin ei ole. TV:n katsomisesta ei tule mitään kun koko ajan saa olla räpläämässä kanavaa/ääniä takaisin. Välillä tätä tapahtuu parin sekunnin välein mutta joskus ehtii katsoa ehkä minuutinkin.

Myöskin jos avaan terminaalin/tekstieditorin tulostuu näytölle harvakseltaan lukuja väliltä 1-9 vaikka en koske näppäimistöön. Tämä lakkaa heti kun tv-tikun nyppää irti.

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #65 : 31.03.08 - klo:18.31 »
Nyt on kummallisia ongelmia A-Datan digitikun kanssa.  Kanavat vaihtuvat itsestään ja volume liikkuu tai menee mutelle. Ajuri varmaankin luulee että kaukosäädintä painellaan vaikka niin ei ole. TV:n katsomisesta ei tule mitään kun koko ajan saa olla räpläämässä kanavaa/ääniä takaisin. Välillä tätä tapahtuu parin sekunnin välein mutta joskus ehtii katsoa ehkä minuutinkin.

Myöskin jos avaan terminaalin/tekstieditorin tulostuu näytölle harvakseltaan lukuja väliltä 1-9 vaikka en koske näppäimistöön. Tämä lakkaa heti kun tv-tikun nyppää irti.

mjoo, kaukosäädin se tosiaan on. Oletan että laitteessasi ei ole kaukosäädintä ollenkaan? Väliaikaisena ratkaisuna voit ladata dvb-usb-modulin optiolla joka estää kaukosäätimen pollauksen.

/antti

Karza

  • Käyttäjä
  • Viestejä: 5
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #66 : 01.04.08 - klo:09.05 »
Laite on af9015 piirillä varustettu A-Link DTU(m) jossa tulee mukana kaukosäädin. Kuinkas tuo moduulin latauksen virittely onnistuu?

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #67 : 07.04.08 - klo:04.11 »
Laite on af9015 piirillä varustettu A-Link DTU(m) jossa tulee mukana kaukosäädin. Kuinkas tuo moduulin latauksen virittely onnistuu?

morjens
Päivitin ajuria sen verran että tuon bugin ei enää pitäisi vaivata. Kaukosäätimen tuki voi olla kyllä mennyttä nyt, mutta se ei varmaan ole iso onkkelma. Katellaan sitä sitten myöhemmin.

Ja ajuriin on lisätty tuki monelle uudelle laitteelle. Tukee seuraavia virittimiä nyt: MT2060, MT2061, QT1010, TDA18271 ja MXL5003. Maxlinear MXL5003 on käytetty varsinkin laitteissa joissa on kaksi viritintä. Se toinen viritin ei tosin vielä toimi...

/antti

ilpony

  • Käyttäjä
  • Viestejä: 49
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #68 : 15.04.08 - klo:12.25 »
Mikähän lienee ongelma kun dmesg | grep dvb komento antaa tulokseksi seuraavaa:

[   31.256044] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[   31.386567] dvb-usb: did not find the firmware file. (dvb-usb-af9015.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
[   31.386585] dvb_usb_af9015: probe of 5-4:1.0 failed with error -2
[   31.386611] usbcore: registered new interface driver dvb_usb_af9015

Toiseen koneeseen sain näillä ohjeilla asennettua suoraan toimivan kokonaisuuden kaffeinen kanssa. Asensin kaksi kerta ja ainoa virhe joka tuli oli fontista, jonka sitten poistin ja asensin uudelleen ilman virheilmoituksia. Näyttää siltä, että itse tikku löytyy mutta kaffeine ei löydä sitä.

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #69 : 17.04.08 - klo:07.09 »
[   31.386567] dvb-usb: did not find the firmware file. (dvb-usb-af9015.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)

Firmware puuttuu. Se löytyy http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/

Antti

toppari

  • Käyttäjä
  • Viestejä: 3
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #70 : 19.04.08 - klo:11.34 »
Kuinka tämä firmware avataan? itselläni ei suostu siirtymään tuohon kansioon mikä edellisellä sivulla on.

floating

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #71 : 22.04.08 - klo:16.42 »
sudo cp dvb-usb-af9015.fw /lib/firmware/2.6.20-14-generic  <- meinaakko etta ei tota tunnista ? kirjota siihen /lib/firmware/2 ja paina tabia jos sulla on eri versio kernelista

Sit kayta hg clone http://linuxtv.org/hg/~anttip/af9015  tota tohon hg clonaukseen, ja sitte cd af9015 missa se make ja sudo make install.

Mulla lahti noilla ajureilla hyvin toimimaan. buuttauksen jalkeen dmesg:n viesti naytti lampimalta. Koitin sitten skannata fi-raahe tiedostoni, ja sieltahan niita loytyi. Sitte vaa uudestaan skannaus mutta tulokset channel.confiin ja sen tiedoston avaus vlc playerilla ja kanavat ovat vlc:n playlistissa aina kun tuon tiedoston avaa. Tolla vlc:lla toistamiseen ei vaadi muuta kun sudo apt-get install dvb-utils vlc

Ongelmana mulla on toi A-nippu, joka nakyy huonosti ja patkien.  kuva 
Jos konsolista kaynnistaa vlc channels.conf, niin ongelmanipun kanavat antavat jatkuvasti tallaista:
Koodia: [Valitse]
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 18numerot vaihtelevat vaa..

Windowsilla kyseinen nippu totalmedia playerin kanssa nakyy viela huonommin. Siina kanavat toistuvat ~kerran 10sek still-kuvina, etta en kylla pettynyt tasta tuloksesta. Xubuntulla ja vlc playerilla pystyn jopa jotenkuten seuraamaan tarkeita lahetyksia, tosin jotain tweakkausta vois kait yrittaakkin ^^
« Viimeksi muokattu: 22.04.08 - klo:16.55 kirjoittanut floating »

Frank Zappa

  • Käyttäjä
  • Viestejä: 282
    • Profiili
digitikku A-link DTU(m) Paha ongelma
« Vastaus #72 : 14.05.08 - klo:22.12 »
Feisty 2.6.20-15-generic, ei /dev/dvb-kansiota, firmware on /lib/modules/

dmesg tunnistaa af9015

mutta kun yritin asentaa sudo make/ sudo make install udev-121:n niin mikään ei toiminu.
missä vika, paitsi minussa ?
T: Frank Zappa  8)

sudo make

 GENHDR   udev_version.h
  CC       udev_device.o
udev_device.c:20:20: error: stdlib.h: No such file or directory
udev_device.c:21:19: error: stdio.h: No such file or directory
udev_device.c:23:20: error: unistd.h: No such file or directory
udev_device.c:24:19: error: fcntl.h: No such file or directory
udev_device.c:25:19: error: errno.h: No such file or directory
udev_device.c:26:19: error: ctype.h: No such file or directory
udev_device.c:27:23: error: sys/ioctl.h: No such file or directory
udev_device.c:28:24: error: sys/socket.h: No such file or directory
udev_device.c:29:20: error: net/if.h: No such file or directory
udev_device.c:30:27: error: linux/sockios.h: No such file or directory
In file included from udev_device.c:32:
udev.h:23:23: error: sys/types.h: No such file or directory
udev.h:24:23: error: sys/param.h: No such file or directory
In file included from udev.h:27,
                 from udev_device.c:32:
logging.h:34:20: error: syslog.h: No such file or directory
In file included from udev.h:27,
                 from udev_device.c:32:
logging.h: In function ‘logging_init’:
logging.h:62: warning: implicit declaration of function ‘openlog’
logging.h:62: warning: nested extern declaration of ‘openlog’
logging.h:62: error: ‘LOG_PID’ undeclared (first use in this function)
logging.h:62: error: (Each undeclared identifier is reported only once
logging.h:62: error: for each function it appears in.)
logging.h:62: error: ‘LOG_CONS’ undeclared (first use in this function)
logging.h:62: error: ‘LOG_DAEMON’ undeclared (first use in this function)
logging.h: In function ‘logging_close’:
logging.h:68: warning: implicit declaration of function ‘closelog’
logging.h:68: warning: nested extern declaration of ‘closelog’
In file included from udev.h:28,
                 from udev_device.c:32:
udev_sysdeps.h:24:20: error: string.h: No such file or directory
udev_sysdeps.h:26:20: error: stdint.h: No such file or directory
udev_sysdeps.h:29:25: error: sys/syscall.h: No such file or directory
udev_sysdeps.h:112:25: error: sys/inotify.h: No such file or directory
In file included from udev_device.c:32:
udev.h: At top level:
udev.h:82: error: expected specifier-qualifier-list before ‘mode_t’
udev.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘dev_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘mode_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘uid_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘gid_t’
udev.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_user’
udev.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_group’
In file included from udev_device.c:33:
udev_rules.h:85: error: expected specifier-qualifier-list before ‘mode_t’
udev_device.c: In function ‘udev_device_init’:
udev_device.c:39: warning: implicit declaration of function ‘malloc’
udev_device.c:39: warning: incompatible implicit declaration of built-in function ‘malloc’
udev_device.c:42: warning: implicit declaration of function ‘memset’
udev_device.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:52: error: ‘struct udevice’ has no member named ‘mode’
udev_device.c:53: warning: implicit declaration of function ‘strcpy’
udev_device.c:53: warning: incompatible implicit declaration of built-in function ‘strcpy’
udev_device.c:56: error: ‘struct udevice’ has no member named ‘event_timeout’
udev_device.c: In function ‘udev_device_cleanup’:
udev_device.c:64: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:65: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:66: warning: implicit declaration of function ‘free’
udev_device.c:66: warning: nested extern declaration of ‘free’
udev_device.c: At top level:
udev_device.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev_device.c:83: warning: ‘struct ifreq’ declared inside parameter list
udev_device.c:83: warning: its scope is only this definition or declaration, which is probably not what you want
udev_device.c:83: error: parameter 1 (‘ifr’) has incomplete type
udev_device.c: In function ‘kernel_log’:
udev_device.c:86: error: ‘FILE’ undeclared (first use in this function)
udev_device.c:86: error: ‘f’ undeclared (first use in this function)
udev_device.c:88: warning: implicit declaration of function ‘open’
udev_device.c:88: warning: nested extern declaration of ‘open’
udev_device.c:88: error: ‘O_WRONLY’ undeclared (first use in this function)
udev_device.c:92: warning: implicit declaration of function ‘fdopen’
udev_device.c:92: warning: nested extern declaration of ‘fdopen’
udev_device.c:94: warning: implicit declaration of function ‘close’
udev_device.c:94: warning: nested extern declaration of ‘close’
udev_device.c:98: warning: implicit declaration of function ‘fprintf’
udev_device.c:98: warning: incompatible implicit declaration of built-in function ‘fprintf’
udev_device.c:100: warning: implicit declaration of function ‘fclose’
udev_device.c:100: warning: nested extern declaration of ‘fclose’
udev_device.c: In function ‘rename_netif’:
udev_device.c:106: error: storage size of ‘ifr’ isn’t known
udev_device.c:109: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:110: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:113: warning: implicit declaration of function ‘socket’
udev_device.c:113: warning: nested extern declaration of ‘socket’
udev_device.c:113: error: ‘PF_INET’ undeclared (first use in this function)
udev_device.c:113: error: ‘SOCK_DGRAM’ undeclared (first use in this function)
udev_device.c:115: error: ‘LOG_ERR’ undeclared (first use in this function)
udev_device.c:115: warning: implicit declaration of function ‘strerror’
udev_device.c:115: warning: nested extern declaration of ‘strerror’
udev_device.c:115: error: ‘errno’ undeclared (first use in this function)
udev_device.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
udev_device.c:119: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:119: error: invalid application of ‘sizeof’ to incomplete type ‘struct ifreq’
udev_device.c:120: error: ‘IFNAMSIZ’ undeclared (first use in this function)
udev_device.c:122: warning: implicit declaration of function ‘ioctl’
udev_device.c:122: warning: nested extern declaration of ‘ioctl’
udev_device.c:122: error: ‘SIOCSIFNAME’ undeclared (first use in this function)
udev_device.c:124: error: type of formal parameter 1 is incomplete
udev_device.c:129: error: ‘EEXIST’ undeclared (first use in this function)
udev_device.c:130: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:139: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:150: error: type of formal parameter 1 is incomplete
udev_device.c:155: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:160: warning: implicit declaration of function ‘usleep’
udev_device.c:160: warning: nested extern declaration of ‘usleep’
udev_device.c:106: warning: unused variable ‘ifr’
udev_device.c: In function ‘udev_device_event’:
udev_device.c:175: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:178: warning: implicit declaration of function ‘major’
udev_device.c:178: warning: nested extern declaration of ‘major’
udev_device.c:178: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:179: warning: implicit declaration of function ‘strcmp’
udev_device.c:185: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:227: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:238: error: ‘PATH_MAX’ undeclared (first use in this function)
udev_device.c:247: warning: implicit declaration of function ‘setenv’
udev_device.c:247: warning: nested extern declaration of ‘setenv’
udev_device.c:251: warning: implicit declaration of function ‘strrchr’
udev_device.c:251: warning: incompatible implicit declaration of built-in function ‘strrchr’
udev_device.c:238: warning: unused variable ‘devpath’
udev_device.c:265: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:273: warning: implicit declaration of function ‘putenv’
udev_device.c:273: warning: nested extern declaration of ‘putenv’
udev_device.c:281: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:286: error: ‘struct udevice’ has no member named ‘ignore_remove’
udev_device.c:300: error: ‘struct udevice’ has no member named ‘ignore_device’
make: *** [udev_device.o] Error 1
 
 

Frank Zappa

  • Käyttäjä
  • Viestejä: 282
    • Profiili
Vs: digitikku A-link DTU(m) Paha ongelma
« Vastaus #73 : 14.05.08 - klo:22.15 »
osa 2
Feisty 2.6.20-15-generic, ei /dev/dvb-kansiota, firmware on /lib/modules/

sudo make install

  CC       udev_device.o
udev_device.c:20:20: error: stdlib.h: No such file or directory
udev_device.c:21:19: error: stdio.h: No such file or directory
udev_device.c:23:20: error: unistd.h: No such file or directory
udev_device.c:24:19: error: fcntl.h: No such file or directory
udev_device.c:25:19: error: errno.h: No such file or directory
udev_device.c:26:19: error: ctype.h: No such file or directory
udev_device.c:27:23: error: sys/ioctl.h: No such file or directory
udev_device.c:28:24: error: sys/socket.h: No such file or directory
udev_device.c:29:20: error: net/if.h: No such file or directory
udev_device.c:30:27: error: linux/sockios.h: No such file or directory
In file included from udev_device.c:32:
udev.h:23:23: error: sys/types.h: No such file or directory
udev.h:24:23: error: sys/param.h: No such file or directory
In file included from udev.h:27,
                 from udev_device.c:32:
logging.h:34:20: error: syslog.h: No such file or directory
In file included from udev.h:27,
                 from udev_device.c:32:
logging.h: In function ‘logging_init’:
logging.h:62: warning: implicit declaration of function ‘openlog’
logging.h:62: warning: nested extern declaration of ‘openlog’
logging.h:62: error: ‘LOG_PID’ undeclared (first use in this function)
logging.h:62: error: (Each undeclared identifier is reported only once
logging.h:62: error: for each function it appears in.)
logging.h:62: error: ‘LOG_CONS’ undeclared (first use in this function)
logging.h:62: error: ‘LOG_DAEMON’ undeclared (first use in this function)
logging.h: In function ‘logging_close’:
logging.h:68: warning: implicit declaration of function ‘closelog’
logging.h:68: warning: nested extern declaration of ‘closelog’
In file included from udev.h:28,
                 from udev_device.c:32:
udev_sysdeps.h:24:20: error: string.h: No such file or directory
udev_sysdeps.h:26:20: error: stdint.h: No such file or directory
udev_sysdeps.h:29:25: error: sys/syscall.h: No such file or directory
udev_sysdeps.h:112:25: error: sys/inotify.h: No such file or directory
In file included from udev_device.c:32:
udev.h: At top level:
udev.h:82: error: expected specifier-qualifier-list before ‘mode_t’
udev.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘dev_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘mode_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘uid_t’
udev.h:128: error: expected declaration specifiers or ‘...’ before ‘gid_t’
udev.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_user’
udev.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookup_group’
In file included from udev_device.c:33:
udev_rules.h:85: error: expected specifier-qualifier-list before ‘mode_t’
udev_device.c: In function ‘udev_device_init’:
udev_device.c:39: warning: implicit declaration of function ‘malloc’
udev_device.c:39: warning: incompatible implicit declaration of built-in function ‘malloc’
udev_device.c:42: warning: implicit declaration of function ‘memset’
udev_device.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:45: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:46: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:52: error: ‘struct udevice’ has no member named ‘mode’
udev_device.c:53: warning: implicit declaration of function ‘strcpy’
udev_device.c:53: warning: incompatible implicit declaration of built-in function ‘strcpy’
udev_device.c:56: error: ‘struct udevice’ has no member named ‘event_timeout’
udev_device.c: In function ‘udev_device_cleanup’:
udev_device.c:64: error: ‘struct udevice’ has no member named ‘run_list’
udev_device.c:65: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:66: warning: implicit declaration of function ‘free’
udev_device.c:66: warning: nested extern declaration of ‘free’
udev_device.c: At top level:
udev_device.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘udev_device_get_devt’
udev_device.c:83: warning: ‘struct ifreq’ declared inside parameter list
udev_device.c:83: warning: its scope is only this definition or declaration, which is probably not what you want
udev_device.c:83: error: parameter 1 (‘ifr’) has incomplete type
udev_device.c: In function ‘kernel_log’:
udev_device.c:86: error: ‘FILE’ undeclared (first use in this function)
udev_device.c:86: error: ‘f’ undeclared (first use in this function)
udev_device.c:88: warning: implicit declaration of function ‘open’
udev_device.c:88: warning: nested extern declaration of ‘open’
udev_device.c:88: error: ‘O_WRONLY’ undeclared (first use in this function)
udev_device.c:92: warning: implicit declaration of function ‘fdopen’
udev_device.c:92: warning: nested extern declaration of ‘fdopen’
udev_device.c:94: warning: implicit declaration of function ‘close’
udev_device.c:94: warning: nested extern declaration of ‘close’
udev_device.c:98: warning: implicit declaration of function ‘fprintf’
udev_device.c:98: warning: incompatible implicit declaration of built-in function ‘fprintf’
udev_device.c:100: warning: implicit declaration of function ‘fclose’
udev_device.c:100: warning: nested extern declaration of ‘fclose’
udev_device.c: In function ‘rename_netif’:
udev_device.c:106: error: storage size of ‘ifr’ isn’t known
udev_device.c:109: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:110: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:113: warning: implicit declaration of function ‘socket’
udev_device.c:113: warning: nested extern declaration of ‘socket’
udev_device.c:113: error: ‘PF_INET’ undeclared (first use in this function)
udev_device.c:113: error: ‘SOCK_DGRAM’ undeclared (first use in this function)
udev_device.c:115: error: ‘LOG_ERR’ undeclared (first use in this function)
udev_device.c:115: warning: implicit declaration of function ‘strerror’
udev_device.c:115: warning: nested extern declaration of ‘strerror’
udev_device.c:115: error: ‘errno’ undeclared (first use in this function)
udev_device.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
udev_device.c:119: warning: incompatible implicit declaration of built-in function ‘memset’
udev_device.c:119: error: invalid application of ‘sizeof’ to incomplete type ‘struct ifreq’
udev_device.c:120: error: ‘IFNAMSIZ’ undeclared (first use in this function)
udev_device.c:122: warning: implicit declaration of function ‘ioctl’
udev_device.c:122: warning: nested extern declaration of ‘ioctl’
udev_device.c:122: error: ‘SIOCSIFNAME’ undeclared (first use in this function)
udev_device.c:124: error: type of formal parameter 1 is incomplete
udev_device.c:129: error: ‘EEXIST’ undeclared (first use in this function)
udev_device.c:130: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:139: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:150: error: type of formal parameter 1 is incomplete
udev_device.c:155: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
udev_device.c:160: warning: implicit declaration of function ‘usleep’
udev_device.c:160: warning: nested extern declaration of ‘usleep’
udev_device.c:106: warning: unused variable ‘ifr’
udev_device.c: In function ‘udev_device_event’:
udev_device.c:175: error: ‘LOG_INFO’ undeclared (first use in this function)
udev_device.c:178: warning: implicit declaration of function ‘major’
udev_device.c:178: warning: nested extern declaration of ‘major’
udev_device.c:178: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:179: warning: implicit declaration of function ‘strcmp’
udev_device.c:185: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:197: error: ‘struct udevice’ has no member named ‘test_run’
udev_device.c:227: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:238: error: ‘PATH_MAX’ undeclared (first use in this function)
udev_device.c:247: warning: implicit declaration of function ‘setenv’
udev_device.c:247: warning: nested extern declaration of ‘setenv’
udev_device.c:251: warning: implicit declaration of function ‘strrchr’
udev_device.c:251: warning: incompatible implicit declaration of built-in function ‘strrchr’
udev_device.c:238: warning: unused variable ‘devpath’
udev_device.c:265: error: ‘struct udevice’ has no member named ‘devt’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:272: error: ‘struct udevice’ has no member named ‘env_list’
udev_device.c:273: warning: implicit declaration of function ‘putenv’
udev_device.c:273: warning: nested extern declaration of ‘putenv’
udev_device.c:281: error: ‘struct udevice’ has no member named ‘ignore_device’
udev_device.c:286: error: ‘struct udevice’ has no member named ‘ignore_remove’
udev_device.c:300: error: ‘struct udevice’ has no member named ‘ignore_device’
make: *** [udev_device.o] Error 1


T: Frank Zappa  8)


crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m) Paha ongelma
« Vastaus #74 : 14.05.08 - klo:22.59 »
Feisty 2.6.20-15-generic, ei /dev/dvb-kansiota, firmware on /lib/modules/

dmesg tunnistaa af9015

mutta kun yritin asentaa sudo make/ sudo make install udev-121:n niin mikään ei toiminu.
missä vika, paitsi minussa ?
T: Frank Zappa  8)

En tajua miksi ja mitä olet edes asentamassa. Jos se dmesg tunnistaa laitteen ja lataa sille firmwaren niin sen pitäis toimia.

Antti

edv

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #75 : 15.05.08 - klo:00.58 »
Terve, ostin ko. tikun eilen ja näyttää siltä, että A-Link on siirtynyt käyttämään eri piiriä näissä. Pakkauksen EAN-koodi: 6 418949 034019

Koodia: [Valitse]
edv@sangueferro:~$ uname -a && lsb_release -a
Linux sangueferro 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy

lsusb näyttää:
Koodia: [Valitse]
Bus 007 Device 002: ID 05e3:f170 Genesys Logic, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0xf170
  bcdDevice            1.02
  iManufacturer           2 Pronets Technology .co
  iProduct                3 DVB-T USB 2.0 Device
  iSerial                 4 T0000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           80
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Palikka siis toimii gl861-moduulilla (viittauksia A-Linkiin löytyy myös ko moduulin lähdekoodista, http://lxr.linux.no/linux/drivers/media/dvb/dvb-usb/gl861.c)

Kysyä haluaisin lähinnä tuosta mukana tulevasta kaukosäätimestä... se kun tunnistuu usb-näppäimistönä (hidraw):
Koodia: [Valitse]
edv@sangueferro:~$ dmesg|grep -i dvb
[   25.447928] input: Pronets Technology .co DVB-T USB 2.0 Device as /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.1/input/input2
[   25.469640] input,hidraw0: USB HID v1.01 Keyboard [Pronets Technology .co DVB-T USB 2.0 Device] on usb-0000:00:1a.7-4
[   43.912244] dvb-usb: found a 'A-LINK DTU DVB-T USB2.0' in warm state.
[   43.912382] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   43.919036] DVB: registering new adapter (A-LINK DTU DVB-T USB2.0)
[   43.983904] DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
[   44.036101] dvb-usb: A-LINK DTU DVB-T USB2.0 successfully initialized and connected.
[   44.037886] usbcore: registered new interface driver dvb_usb_gl861

Kaukosäätimen IR-linkki palikkaan siis toimii ja kaukkarin näppäimet tuottavat ihan normaaleja näppäimenpainalluksia (esim. säätimen "volume up" napista tulostuu ruudulle kirjain q):
Koodia: [Valitse]
KeyPress event, serial 31, synthetic NO, window 0x2e00001,
    root 0x13b, subw 0x0, time 10725358, (834,707), root:(841,733),
    state 0x10, keycode 24 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"
    XmbLookupString gives 1 bytes: (71) "q"
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2e00001,
    root 0x13b, subw 0x0, time 10725680, (834,707), root:(841,733),
    state 0x10, keycode 24 (keysym 0x71, q), same_screen YES,
    XLookupString gives 1 bytes: (71) "q"
    XFilterEvent returns: False

Yritin googlella etsiä tietoa miten saisin 'rebindattua' nuo kaukosäätimen näppäimet vaikuttamatta kuitenkaan normaalin näppäimistön (ps/2) toimintaan siinä kuitenkaan onnistumatta. Mahtaakos kellään olla parempaa tietoa asiasta, että miten tuota lähtisi ratkaisemaan? xmodmap ei käsittääkseni tässä auta, vaan pitäisi saada määriteltyä erillinen keymap tuolle säätimelle..?

Toinen asia näin heads-uppina vaikkei se hirveästi nyt häiritsekään on se, etten saanut ko. palikkaa toimimaan itse kääntämilläni 2.6.25 tai 2.6.25.3 kerneleillä, vaikka DVB-asetukset pitäisi olla samat. Kernel näyttää tunnistavan vain tuon kaukosäätimen, kuten 2.6.25.3 bootista näemme:
Koodia: [Valitse]
edv@sangueferro:~$ zgrep -i dvb /var/log/dmesg.2.gz
[    1.993874] input: Pronets Technology .co DVB-T USB 2.0 Device as /class/input/input2
[    2.004162] input,hidraw0: USB HID v1.01 Keyboard [Pronets Technology .co DVB-T USB 2.0 Device] on usb-0000:00:1d.7-1

Jokatapauksessa "downgradesin" nyt toistaiseksi tuohon 2.6.24 eikä se tuota ongelmaa. Tulevaisuutta ajatellen olisi kai hyvä tarkistaa onko koodissa rikottu jotain .24 ja .25 välillä, tai sitten .configgini DVB/USB osuuksissa oli jotain väärin.

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #76 : 15.05.08 - klo:02.11 »
Terve, ostin ko. tikun eilen ja näyttää siltä, että A-Link on siirtynyt käyttämään eri piiriä näissä. Pakkauksen EAN-koodi: 6 418949 034019

Jopas nyt jotakin. Kaupan hyllylle on unohtunut vanhempi A-Linkki, ei tosiaankaan tämä uudempi. Tämä sun laite on se A-Link DTU ja tässä ketjussa keskustellaan A-Link DTU(m):stä joka on siis se uudempi. Vanhemmalle löytyy oma ketjunsa. On suunnilleen sama laite kuin MSI Megasky 580 (uudempi revisio, GL861).

Laitteessasi on;
GL861 -usb-silta
ZL10353 -demodulaattori
QT1010 -tuner

kaikki varsin tuttuja minulle. Voin sanoa että todennäköisesti et saa kunnon kuvaa sillä nyt. Tutkin asiaa jahka kerkiän....


terveisin
Antti

edv

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #77 : 15.05.08 - klo:09.57 »
Terve, ostin ko. tikun eilen ja näyttää siltä, että A-Link on siirtynyt käyttämään eri piiriä näissä. Pakkauksen EAN-koodi: 6 418949 034019

Jopas nyt jotakin. Kaupan hyllylle on unohtunut vanhempi A-Linkki, ei tosiaankaan tämä uudempi. Tämä sun laite on se A-Link DTU ja tässä ketjussa keskustellaan A-Link DTU(m):stä joka on siis se uudempi. Vanhemmalle löytyy oma ketjunsa. On suunnilleen sama laite kuin MSI Megasky 580 (uudempi revisio, GL861).

Laitteessasi on;
GL861 -usb-silta
ZL10353 -demodulaattori
QT1010 -tuner

kaikki varsin tuttuja minulle. Voin sanoa että todennäköisesti et saa kunnon kuvaa sillä nyt. Tutkin asiaa jahka kerkiän....


terveisin
Antti
Jaahas, kiitos tiedosta. En haulla löytänyt ketjua tolle vanhemmalle.. kuinkas vanha tämä sitten on verrattuna tuohon (m) versioon? Kuvanlaatuun olen itse ihan tyytyväinen, ei kyllä pahemmin vertailukohtia ole kun olen ollut viimeiset 1,5v ilman tv:tä. Lähinnä tällä hetkellä kiinnostaisi tosiaan tuo kaukosäätimen toiminta, pitänee tutkia tuohon MSI:n palikkaan liittyviä ohjeita.

crope

  • Käyttäjä
  • Viestejä: 817
  • Fedora 12
    • Profiili
    • http://palosaari.fi/
Vs: digitikku A-link DTU(m)
« Vastaus #78 : 15.05.08 - klo:14.00 »
Terve, ostin ko. tikun eilen ja näyttää siltä, että A-Link on siirtynyt käyttämään eri piiriä näissä. Pakkauksen EAN-koodi: 6 418949 034019

Jopas nyt jotakin. Kaupan hyllylle on unohtunut vanhempi A-Linkki, ei tosiaankaan tämä uudempi. Tämä sun laite on se A-Link DTU ja tässä ketjussa keskustellaan A-Link DTU(m):stä joka on siis se uudempi. Vanhemmalle löytyy oma ketjunsa. On suunnilleen sama laite kuin MSI Megasky 580 (uudempi revisio, GL861).

Laitteessasi on;
GL861 -usb-silta
ZL10353 -demodulaattori
QT1010 -tuner

kaikki varsin tuttuja minulle. Voin sanoa että todennäköisesti et saa kunnon kuvaa sillä nyt. Tutkin asiaa jahka kerkiän....


terveisin
Antti
Jaahas, kiitos tiedosta. En haulla löytänyt ketjua tolle vanhemmalle.. kuinkas vanha tämä sitten on verrattuna tuohon (m) versioon? Kuvanlaatuun olen itse ihan tyytyväinen, ei kyllä pahemmin vertailukohtia ole kun olen ollut viimeiset 1,5v ilman tv:tä. Lähinnä tällä hetkellä kiinnostaisi tosiaan tuo kaukosäätimen toiminta, pitänee tutkia tuohon MSI:n palikkaan liittyviä ohjeita.

DTU(m) ilmestyi myyntiin pikkasen yli vuosi sitten. Ja sitä ennen oli varmaan vuoden pari myynnissä se vanhempi DTU.

Se kaukosäädin on GL861:ssa rakennettu siten että piirisarja tekee HID-laitteen (niinkuin USB-näppis esmes.). Nykyinen Linuxin GL861 -ajuri ei ota kantaa kaukosäätimeen mitenkään. Tästä on muutamaan otteeseen tullut valituksia ettei kaikki näppäimet toimi MSI Megasky 580:ssa. Pidän todennäköisenä että tuolle GL861 -piirille olisi mahdollista ladata IR-taulukko ja saada se palauttamaan sen mukaisia näppäinkoodeja. Siinäpä olis helppo nakki implementoida jos kiinnostaa ;) Mulla ei oikein nuin vähäiseen näpräykseen intoa ja aikaa riitä.

Antti


jori52

  • Käyttäjä
  • Viestejä: 2047
    • Profiili
Vs: digitikku A-link DTU(m)
« Vastaus #79 : 04.06.08 - klo:21.14 »
nuo ohjeet joissa käsketään muokkamaan tiedostoa käsin on johonkin toiseen ajuriin. http://linuxtv.org/hg/~anttip/af9015 ajuri toimii ilman mitään muokkauksia tai virityksiä. Jos olet mennyt asentamaan jonkin muun AF9015-ajurin, niin silloin täytyy poistaa rm-komennolla vanhan ajurin modulit (jos ajurin modulien nimet ovat erit niin uuden ajurin asennus ei jyrää vanhoja yli, esim. af901x vs. af9015) ja asentaa tämä uusi päälle. Tämä siksi että ajurit ladataan USB-ID:n perusteella ja jos siellä on useampi päällekkäinen ajuri samalle USB-ID:lle niin ongelmiahan siitä seuraa.

Ja tässä on mummo-ohjeet ajurien kääntämiseen / asentamiseen:
Koodia: [Valitse]
sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
hg clone http://linuxtv.org/hg/~anttip/af9015
cd af9015
make
sudo make install
cd /lib/firmware/
sudo wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw

terveisin
Antti

Kiitoksia Cropelle erittäin selkeistä ohjeista,tänään ostamani A-linkin dvb sovittimen 9016 versio meni heittämällä 2.6.24-18 kerneliin ja toimii todella hyvin Metv:llä (Kaffeine ei pysy pystyssä, se lienee Kaffeinen vika) .

Terveisin jori52
« Viimeksi muokattu: 04.06.08 - klo:21.17 kirjoittanut jori52 »
Linux counter #348392
 Asus G750JW ja ubuntu 13.10