Tarkoituksena olisi asentaa Atin Remote Wonder -kaukosäädin Linuxiin näillä ohjeilla: http://remotew.free.fr/linux_en.htm. Pelkäsin jo etukäteen, että v****ksi menee, kun joudun asentamaan jotain käsin ilman Yastia. Yritin vain tehdä ohjeen mukaan ja toivoin parasta. Palkintona sain make-komennolla seuraavan palautteen: # make gcc -m486 -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include -c ati_remote.c make: gcc: Command not found make: *** [ati_remote.o] Error 127 Tajuan tuosta yhtä paljon kuin siat hopealusikoista. Voisiko joku ystävällisesti veikata, mikä voisi olla vialla? Jakeluna openSUSE 10.3.
Command not found eli komentoa, tassa tapauksessa ohjelmaa ei loydy. En tieda minka nimisessa paketissa susessa on GCC sun muut kaannos tyokalut, mutta ne pitaa asentaa package managerin kautta.
Jeps. siitähän se ensimmäinen virheilmoitus tosiaan oli kiinni. Minä ajattelin, että se herjaa make-komennosta ja tarkistin, että se on jo asennettu, enkä tajunnut, että gcc:n se haluaa. Asensin tuon gcc:n Yastista. Tuloksena lähinnä virheiden määrän kasvu make-komennolla: # make gcc -m486 -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common - DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include -c ati_remote.c ati_remote.c:31:24: error: linux/slab.h: No such file or directory ati_remote.c:33:26: error: linux/module.h: No such file or directory ati_remote.c:34:24: error: linux/init.h: No such file or directory ati_remote.c:35:23: error: linux/usb.h: No such file or directory ati_remote.c:44: error: expected declaration specifiers or ‘...’ before string c onstant ati_remote.c:44: warning: data definition has no type or storage class ati_remote.c:44: warning: type defaults to ‘int’ in declaration of ‘MODULE_AUTHO R’ ati_remote.c:44: warning: function declaration isn’t a prototype ati_remote.c:45: error: expected declaration specifiers or ‘...’ before string c onstant ati_remote.c:45: warning: data definition has no type or storage class ati_remote.c:45: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCR IPTION’ ati_remote.c:45: warning: function declaration isn’t a prototype ati_remote.c:46: error: expected declaration specifiers or ‘...’ before string c onstant ati_remote.c:46: warning: data definition has no type or storage class ati_remote.c:46: warning: type defaults to ‘int’ in declaration of ‘MODULE_LICEN SE’ ati_remote.c:46: warning: function declaration isn’t a prototype ati_remote.c:47: error: expected ‘)’ before string constant ati_remote.c:48: error: expected ‘)’ before string constant ati_remote.c:66: error: array type has incomplete element type ati_remote.c:67: error: field ‘irq’ has incomplete type ati_remote.c:67: error: field ‘out’ has incomplete type ati_remote.c:68: error: expected specifier-qualifier-list before ‘wait_queue_hea d_t’ ati_remote.c:167: error: expected declaration specifiers or ‘...’ before ‘u16’ ati_remote.c: In function ‘send_packet’: ati_remote.c:169: warning: implicit declaration of function ‘DECLARE_WAITQUEUE’ ati_remote.c:169: error: ‘wait’ undeclared (first use in this function) ati_remote.c:169: error: (Each undeclared identifier is reported only once ati_remote.c:169: error: for each function it appears in.) ati_remote.c:169: error: ‘current’ undeclared (first use in this function) ati_remote.c:170: error: ‘HZ’ undeclared (first use in this function) ati_remote.c:172: warning: implicit declaration of function ‘memcpy’ ati_remote.c:172: warning: incompatible implicit declaration of built-in functio n ‘memcpy’ ati_remote.c:172: error: ‘cmd’ undeclared (first use in this function) ati_remote.c:176: error: ‘struct ati_remote’ has no member named ‘send_flags’ ati_remote.c:178: warning: implicit declaration of function ‘set_current_state’ ati_remote.c:178: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this func tion) ati_remote.c:179: warning: implicit declaration of function ‘add_wait_queue’ ati_remote.c:179: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c:181: warning: implicit declaration of function ‘usb_submit_urb’ ati_remote.c:182: error: ‘TASK_RUNNING’ undeclared (first use in this function) ati_remote.c:183: warning: implicit declaration of function ‘remove_wait_queue’ ati_remote.c:183: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c:184: warning: implicit declaration of function ‘printk’ ati_remote.c:188: error: ‘EINPROGRESS’ undeclared (first use in this function) ati_remote.c:189: error: ‘struct ati_remote’ has no member named ‘send_flags’ ati_remote.c:190: warning: implicit declaration of function ‘schedule_timeout’ ati_remote.c:191: warning: implicit declaration of function ‘rmb’ ati_remote.c:195: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c:197: warning: implicit declaration of function ‘usb_unlink_urb’ ati_remote.c: In function ‘ati_remote_irq’: ati_remote.c:202: error: dereferencing pointer to incomplete type ati_remote.c:209: error: dereferencing pointer to incomplete type ati_remote.c:211: error: dereferencing pointer to incomplete type ati_remote.c:218: error: dereferencing pointer to incomplete type ati_remote.c:223: error: dereferencing pointer to incomplete type ati_remote.c:227: error: dereferencing pointer to incomplete type ati_remote.c:228: error: ‘HZ’ undeclared (first use in this function) ati_remote.c:228: error: ‘jiffies’ undeclared (first use in this function) ati_remote.c:238: error: dereferencing pointer to incomplete type ati_remote.c:245: warning: implicit declaration of function ‘input_event’ ati_remote.c:255: warning: implicit declaration of function ‘input_report_rel’ ati_remote.c: In function ‘ati_remote_open’: ati_remote.c:300: error: dereferencing pointer to incomplete type ati_remote.c:304: error: ‘struct ati_remote’ has no member named ‘open’ ati_remote.c:309: error: ‘KERN_ERR’ undeclared (first use in this function) ati_remote.c:309: error: expected ‘)’ before string constant ati_remote.c:310: error: ‘EIO’ undeclared (first use in this function) ati_remote.c: In function ‘ati_remote_close’: ati_remote.c:319: error: dereferencing pointer to incomplete type ati_remote.c:321: error: ‘struct ati_remote’ has no member named ‘open’ ati_remote.c: In function ‘ati_remote_usb_out’: ati_remote.c:327: error: dereferencing pointer to incomplete type ati_remote.c:328: error: dereferencing pointer to incomplete type ati_remote.c:329: error: ‘struct ati_remote’ has no member named ‘send_flags’ ati_remote.c:330: warning: implicit declaration of function ‘wmb’ ati_remote.c:331: warning: implicit declaration of function ‘waitqueue_active’ ati_remote.c:331: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c:332: warning: implicit declaration of function ‘wake_up’ ati_remote.c:332: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c: At top level: ati_remote.c:336: warning: ‘struct usb_device_id’ declared inside parameter list ati_remote.c:336: warning: its scope is only this definition or declaration, whi ch is probably not what you want ati_remote.c: In function ‘ati_remote_probe’: ati_remote.c:347: error: dereferencing pointer to incomplete type ati_remote.c:348: error: dereferencing pointer to incomplete type ati_remote.c:348: error: dereferencing pointer to incomplete type ati_remote.c:350: error: dereferencing pointer to incomplete type ati_remote.c:350: error: ‘NULL’ undeclared (first use in this function) ati_remote.c:353: error: dereferencing pointer to incomplete type ati_remote.c:354: error: dereferencing pointer to incomplete type ati_remote.c:355: error: dereferencing pointer to incomplete type ati_remote.c:356: error: dereferencing pointer to incomplete type ati_remote.c:358: warning: implicit declaration of function ‘usb_rcvintpipe’ ati_remote.c:358: error: dereferencing pointer to incomplete type ati_remote.c:359: warning: implicit declaration of function ‘usb_maxpacket’ ati_remote.c:359: warning: implicit declaration of function ‘usb_pipeout’ ati_remote.c:360: error: dereferencing pointer to incomplete type ati_remote.c:362: warning: implicit declaration of function ‘usb_set_idle’ ati_remote.c:362: error: dereferencing pointer to incomplete type ati_remote.c:364: warning: implicit declaration of function ‘kmalloc’ ati_remote.c:364: error: ‘GFP_KERNEL’ undeclared (first use in this function) ati_remote.c:364: warning: assignment makes pointer from integer without a cast ati_remote.c:365: warning: implicit declaration of function ‘memset’ ati_remote.c:365: warning: incompatible implicit declaration of built-in functio n ‘memset’ ati_remote.c:369: warning: assignment makes pointer from integer without a cast ati_remote.c:370: warning: implicit declaration of function ‘kfree’ ati_remote.c:374: error: dereferencing pointer to incomplete type ati_remote.c:375: warning: implicit declaration of function ‘usb_string’ ati_remote.c:375: error: dereferencing pointer to incomplete type ati_remote.c:376: warning: implicit declaration of function ‘strcat’ ati_remote.c:376: warning: incompatible implicit declaration of built-in functio n ‘strcat’ ati_remote.c:377: error: dereferencing pointer to incomplete type ati_remote.c:378: error: dereferencing pointer to incomplete type ati_remote.c:379: warning: implicit declaration of function ‘sprintf’ ati_remote.c:379: warning: incompatible implicit declaration of built-in functio n ‘sprintf’ ati_remote.c:381: warning: implicit declaration of function ‘strlen’ ati_remote.c:381: warning: incompatible implicit declaration of built-in functio n ‘strlen’ ati_remote.c:383: error: dereferencing pointer to incomplete type ati_remote.c:383: error: dereferencing pointer to incomplete type ati_remote.c:390: warning: implicit declaration of function ‘set_bit’ ati_remote.c:391: warning: implicit declaration of function ‘clear_bit’ ati_remote.c:394: warning: implicit declaration of function ‘BIT’ ati_remote.c:395: warning: implicit declaration of function ‘LONG’ ati_remote.c:408: error: dereferencing pointer to incomplete type ati_remote.c:409: error: dereferencing pointer to incomplete type ati_remote.c:410: error: dereferencing pointer to incomplete type ati_remote.c:414: error: ‘jiffies’ undeclared (first use in this function) ati_remote.c:417: warning: implicit declaration of function ‘init_waitqueue_head ’ ati_remote.c:417: error: ‘struct ati_remote’ has no member named ‘wait’ ati_remote.c:419: error: dereferencing pointer to incomplete type ati_remote.c:420: warning: implicit declaration of function ‘FILL_INT_URB’ ati_remote.c:421: error: dereferencing pointer to incomplete type ati_remote.c:423: warning: implicit declaration of function ‘usb_sndintpipe’ ati_remote.c:423: error: dereferencing pointer to incomplete type ati_remote.c:424: error: dereferencing pointer to incomplete type ati_remote.c:426: error: ‘KERN_INFO’ undeclared (first use in this function) ati_remote.c:426: error: expected ‘)’ before string constant ati_remote.c:429: warning: implicit declaration of function ‘input_register_devi ce’ ati_remote.c:431: error: expected ‘)’ before string constant ati_remote.c:435: warning: passing argument 2 of ‘send_packet’ makes pointer fro m integer without a cast ati_remote.c:435: error: too many arguments to function ‘send_packet’ ati_remote.c:436: warning: passing argument 2 of ‘send_packet’ makes pointer fro m integer without a cast ati_remote.c:436: error: too many arguments to function ‘send_packet’ ati_remote.c: In function ‘ati_remote_disconnect’: ati_remote.c:447: warning: implicit declaration of function ‘input_unregister_de vice’ ati_remote.c: At top level: ati_remote.c:451: error: array type has incomplete element type ati_remote.c:452: warning: implicit declaration of function ‘USB_DEVICE’ ati_remote.c:456: warning: data definition has no type or storage class ati_remote.c:456: warning: type defaults to ‘int’ in declaration of ‘MODULE_DEVI CE_TABLE’ ati_remote.c:456: warning: parameter names (without types) in function declarati on ati_remote.c:458: error: variable ‘ati_remote_driver’ has initializer but incomp lete type ati_remote.c:459: error: unknown field ‘name’ specified in initializer ati_remote.c:459: warning: excess elements in struct initializer ati_remote.c:459: warning: (near initialization for ‘ati_remote_driver’) ati_remote.c:460: error: unknown field ‘probe’ specified in initializer ati_remote.c:460: warning: excess elements in struct initializer ati_remote.c:460: warning: (near initialization for ‘ati_remote_driver’) ati_remote.c:461: error: unknown field ‘disconnect’ specified in initializer ati_remote.c:461: warning: excess elements in struct initializer ati_remote.c:461: warning: (near initialization for ‘ati_remote_driver’) ati_remote.c:462: error: unknown field ‘id_table’ specified in initializer ati_remote.c:462: warning: excess elements in struct initializer ati_remote.c:462: warning: (near initialization for ‘ati_remote_driver’) ati_remote.c:465: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ati_remote_init’ ati_remote.c:472: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ati_remote_exit’ ati_remote.c:477: warning: data definition has no type or storage class ati_remote.c:477: warning: type defaults to ‘int’ in declaration of ‘module_init ’ ati_remote.c:477: warning: parameter names (without types) in function declarati on ati_remote.c:478: warning: data definition has no type or storage class ati_remote.c:478: warning: type defaults to ‘int’ in declaration of ‘module_exit ’ ati_remote.c:478: warning: parameter names (without types) in function declarati on make: *** [ati_remote.o] Error 1 Mitäs tämä tahtoo sanoa? Ilmeisesti tarvitsen jotain muutakin kuin sen GCC-kääntäjän. En onnistu Googlella löytämään tietoa, mitä tämä jokin voisi olla.
Atin remove- wonder tunnistuu ainakin itsellä feisty/gutsy/hardy- akselilla ihan peruskernelillä x11:n kautta, eli usb- lähetin kiinni ja buuttia.
Hmm, Googlella asiaa etsittyäni löysin muutamia sivuja, joissa kerrottiin, että pitäisi tunnistua SUSE 10.3:llakin suoraan. Varmaan tyhmä kysymys, mutta mistä sen tietää, että se tunnistuu? Ainakaan videosoittimissa ei tapahdu mitään nappeja painellessa ja hiiren kursori ei liiku Remote Wonderin kautta. Myöskään xev ei tunnista yhtään kaukosäätimen painallusta. Yritin myös asentaa Linux Infrared Remote Control -ohjelmistoa mukana tulleiden ohjeiden mukaan (tuolla pitäisi kait tämän RW:nkin toimia). Kun yritin ajaa ohjeiden mukaisesti (http://www.lirc.org/html/install.html#compiling) ./setup.sh -komennon asettaakseni oikean kaukosäätimen toimimaan, minua tervehti seuraava litania ja sen lopussa virheilmoitus: Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: /home/jarmo/asennuspaketit/ajurit/Ati: No such file or directory configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for mknod... /bin/mknod checking for mkfifo... /usr/bin/mkfifo checking for depmod... /sbin/depmod checking for libusb-config... no checking whether ln -s works... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared li braries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No suc h file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li braries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li braries... yes checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No suc h file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for gettimeofday... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtoul... yes checking for snprintf... yes checking for strsep... yes checking for vsyslog... yes checking for forkpty... no checking for forkpty in -lutil... yes checking vga.h usability... no checking vga.h presence... no checking for vga.h... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for getopt_long... yes checking for mktemp... yes checking for Linux kernel sources... no Makefile found checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... no checking iguanaIR.h usability... no checking iguanaIR.h presence... no checking for iguanaIR.h... no checking for ir_strerror in -lirman... no checking for ir_strerror in -lirman_sw... no checking portaudio.h usability... no checking portaudio.h presence... no checking for portaudio.h... no checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/hiddev.h... yes checking for HIDDEV_FLAG_UREF support... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking linux/i2c-dev.h usability... yes checking linux/i2c-dev.h presence... yes checking for linux/i2c-dev.h... yes configure: error: *** you need to have the Linux kernel source installed for this driver Että tällaista tällä kertaa. Että voi olla vaikeaa yhden kaukosäätimen toimimaan saaminen. Windowsissa muuten toimii ihan hyvin, eli toimivasta yksilöstä pitäisi kuitenkin olla kysymys.
Kiitos vihjeestä. Tämä tosiaan ratkaisi ongelman ja sain tuon konfiguroinnin tehtyä. Sen jälkeen ajoin ohjeiden mukaisesti komennon make ja tällainen virheilmoitus tässä vaiheessa: make make all-recursive make[1]: Entering directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3' Making all in drivers make[2]: Entering directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers' Making all in lirc_dev make[3]: Entering directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers/lirc_dev' Makefile:8: ************************************************** Makefile:8: *** Makefile trick not undone, trying to recover * Makefile:8: ************************************************** mv Makefile.automake Makefile make all make[4]: Entering directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers/lirc_dev' mv Makefile Makefile.automake cp ./../Makefile.kernel Makefile CPPFLAGS="" CFLAGS="" LDFLAGS="" \ make -C /lib/modules/2.6.22.17-0.1-default/build/ SUBDIRS=/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[5]: Entering directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default' make -C ../../../linux-2.6.22.17-0.1 O=../linux-2.6.22.17-0.1-obj/i386/default Remote make -C /usr/src/linux-2.6.22.17-0.1-obj/i386/default \ KBUILD_SRC=/usr/src/linux-2.6.22.17-0.1 \ KBUILD_EXTMOD="/home/jarmo/asennuspaketit/ajurit/Ati" -f /usr/src/linux-2.6.22.17-0.1/Makefile Remote test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) make[7]: *** No rule to make target `Remote'. Stop. make[6]: *** [Remote] Error 2 make[5]: *** [Remote] Error 2 make[5]: Leaving directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default' make[4]: *** [lirc_dev.o] Error 2 make[4]: Leaving directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers/lirc_dev' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jarmo/asennuspaketit/ajurit/Ati Remote Wonder 2.11/lirc-0.8.3/lirc-0.8.3' make: *** [all] Error 2
Sain ongelman ratkaistua. En tosin asentamalla sitä tuosta paketista, vaan havaitsemalla, että lirc on asennettu Suseen valmiiksi. Olisi pitänyt aloittaa tarkastelu loogisesta päästä. Kaukosäädintä nyt en sentään saanut toimimaan ohjelmien kanssa yhteen, mutta ei nyt liikoja sentään vaadita!
http://geexbox.org/en/index.html Veljelle laitettiin tuollainen vanhalle läppärille. Usb- lähetin kiinni, s-video-piuha telkkuun, geexbox- cd sisään ja buuttia. Kaukosäädin toimii suoraan ja löytää mediat ulkoiselta levyltä ja dvd- asemasta. Susellekin saa varmasti saman taiteltua, tuossa on perustana mplayer+lirc. edit: Helpoiten voit kokeilla, tunnistuuko kapula seuraavasti: Pääte tai konsoli esiin ja sinne xev. Valkoinen neliö päällimmäisenä räpellät kaukosäädintä. Jos kone tunnistaa painallukset, kapula on tunnistettu. Tämän jälkeen siirryt vaikkapa gentoon dokumentaatioon: http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys
Varmasti tuo GeexBoxikin pelittäisi, jos sen virittelisi, mutta sain itse kaukosäädinongelman jo ratkaistua eri tietä. Erilliseksi näppikseksi en ole tuota kaukosäädintä saanut missään vaiheessa muutettua, joten xev ei tunnista ollenkaan sen painalluksia, vaikka kaukosäädin onkin tunnistunut oikein. Itse virittelin tarvitsemani toiminnallisuuden Lircin kautta. Sain haluamani toiminnot toimimaan Lircin mukana tulevien irxevent ja irexec -apuohjelmien avulla ja nyt kaukosäädin tottelee komentoani melkein toivomallani tavalla.