[gentoo-user] Re: modem configuration
On 2012-09-14 02:32:37 +0200, Walter Dnes said: On Thu, Sep 13, 2012 at 08:08:10PM +0200, Kraus Philipp wrote Hello, I have got a modem US Robotics 5637 and I would like to use it with Hylafax+. Hylafax works fine, all clients can create jobs, but now I would like to configure / test the modem. Can anybody explain me how I can test / configure my modem. I have installed minicom and the modem is setup under /dev/modem with this udev rules I have the same type of USB dialup modem running under Gentoo. I use it for emergency backup, if my ADSL connection goes down. First question... is your kernel properly configured? You need to select the USB Modem (CDC ACM) support kernel option. In make menuconfig the path is... Device Drivers --- [*] USB support --- * USB Modem (CDC ACM) support Thanks, I have forgot the CDC ACM module within the kernel. Rebuild my kernel, everything works fine except minicom, it shows always that my modem is offline, but if I send AT command the modem response Phil
[gentoo-user] Re: LIRC with kernel 3.2.11
On 2012-03-22 17:53:51 +0100, Canek Peláez Valdés said: On Thu, Mar 22, 2012 at 5:21 AM, Kraus Philipp philipp.kr...@flashpixx.de wrote: Hello, I'm using a Hauppauge WinTV HVR 1900 (usb), with a self-compiled kernel 3.2.11. The USB device works very well, but I would like to use LIRC 0.9.0 with my kernel. So I have set the LIRC_DEVICES=hauppauge within my make.conf and run emerge. Emerge fetches this packages: [ebuild N ] sys-kernel/gentoo-sources-3.2.11 USE=-build -deblob -symlink [ebuild N ] virtual/linux-sources-0 [ebuild N ] app-misc/lirc-0.9.0 On emerging this error is shown: /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: In function 'ir_probe': /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c:559:13: error: 'struct i2c_adapter' has no member named 'id' /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: At top level: /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c:232:12: warning: 'add_to_buf_pvr2000' defined but not used (How) Can I solve this problem? I don't know if this will help you in any way. I have a media center with a Thermaltake LCD, which besides the LCD (which is actually a VFD) it includes an imon remote control. I used to have LIRC, and everything was right. After kernel 2.6.36 (or similar), LIRC stopped working (I use vanilla-sources). So I upgraded to the 3.2 kernel, and selected IR_IMON in Device Drivers - Multimedia support - Remote Controller adapters. Thanks for this information. In the 3.2.11 sources the Remote Controller option is named CONFIG_RC_CORE and I have set the options Compile Remote Controller keymap modules (CONFIG_RC_MAP) Enable IR raw decoder for the NEC protocol (CONFIG_IR_NEC_DECODER) Enable IR raw decoder for the RC-5 protocol (CONFIG_IR_RC5_DECODER) Enable IR raw decoder for the RC6 protocol (CONFIG_IR_RC6_DECODER) Enable IR raw decoder for the JVC protocol (CONFIG_IR_JVC_DECODER) Enable IR raw decoder for the Sony protocol (CONFIG_IR_SONY_DECODER) Enable IR raw decoder for the RC-5 (streamzap) protocol (CONFIG_IR_RC5_SZ_DECODER) Enable IR raw decoder for the MCE keyboard/mouse protocol (CONFIG_IR_MCE_KBD_DECODER) Enable IR to LIRC bridge (CONFIG_IR_LIRC_CODEC) for building as modules. Now the remote works perfectly, *BUT* I don't have LIRC installed anymore. The remote works as a keyboard, and I didn't had to configure anything in XBMC. Can you run the emerge build command for lirc and take a look if the build process crashs at the same source code line, like my sources? Thanks a lot for your help Phil
[gentoo-user] Re: LIRC with kernel 3.2.11
On 2012-03-22 17:39:19 +0100, walt said: On 03/22/2012 04:21 AM, Kraus Philipp wrote: Hello, I'm using a Hauppauge WinTV HVR 1900 (usb), with a self-compiled kernel 3.2.11. The USB device works very well, but I would like to use LIRC 0.9.0 with my kernel. So I have set the LIRC_DEVICES=hauppauge within my make.conf and run emerge. Emerge fetches this packages: [ebuild N ] sys-kernel/gentoo-sources-3.2.11 USE=-build -deblob -symlink [ebuild N ] virtual/linux-sources-0 [ebuild N ] app-misc/lirc-0.9.0 error: 'struct i2c_adapter' has no member named 'id' I just found this commit in Linus's git repo: commit c185a9420bd1c645252249018e6887a968d3e1de Author: Jean Delvare khali@ Date: Sun Mar 20 14:50:53 2011 +0100 i2c: Drop i2c_adapter.id There is no user left of i2c_adapter.id, so we can get rid of it. Finally! :) And this comment from last June: -What: i2c_adapter.id -When: June 2011 -Why: This field is deprecated. I2C device drivers shouldn't change their - behavior based on the underlying I2C adapter. The lirc code includes several #ifdefs that test for the adapter id, so the lirc devs *are* changing their driver behavior based on it, obviously. Looks to me like lirc will need to be modified upstream for recent kernel code. I think so, but I have posted the error message on the lirc mailinglist with actually no answer Phil
[gentoo-user] Re: mt-daapd automake error
On 2012-01-10 22:01:40 +0100, Kraus Philipp said: Hello, I'm updating my system and I will emerge the mt-daapd package. revdep-rebuild shows no errors and the system is working. The emerge call builds the depended packages exception net-dns/avahi and the media-sound/mt-daapd. I'm building it with: [ebuild N ] net-dns/avahi-0.6.30-r2 USE=dbus gdbm introspection -autoipd -bookmarks -doc -gtk -gtk3 -howl-compat -ipv6 -mdnsresponder-compat -mono -python -qt4 -test -utils[ebuild N ] media-sound/mt-daapd-0.2.4.2 USE=avahi vorbis The avahi package breaks with: * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/net-dns/avahi-0.6.30-r2/temp/automake.out * ERROR: net-dns/avahi-0.6.30-r2 failed (prepare phase): * Failed Running automake ! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 5772: Called eautoreconf * environment, line 1596: Called eautomake * environment, line 1565: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' * environment, line 1248: Called die * The specific snippet of code: * die Failed Running $1 !; * * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.30-r2', * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.30-r2'. * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.30-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.30-r2/temp/environment'. * S: '/var/tmp/portage/net-dns/avahi-0.6.30-r2/work/avahi-0.6.30' The automake.out creates the error: * automake * * PWD: /var/tmp/portage/net-dns/avahi-0.6.30-r2/work/avahi-0.6.30 * automake --add-missing --copy --foreign configure.ac:143: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... configure.ac:143: the top level configure.ac:300: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... configure.ac:300: the top level service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate directory for `DATA' How I can fix this problem? I have testet the emerge command with the masked package (0.6.30-r2), it creates the same error. Than I have tested the source package of the avahi website, the configure script runs without any errors (same option like the emerge command) and make make install work fine. The avahi tools are build and installed. Phil
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 15:50:44 +0100, walt said: On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken. perl-cleaner shows: NO PERL INSTALLED! (at least not in your path) Phil
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 18:25:31 +0100, walt said: On 03/15/2011 08:05 AM, Philipp Kraus wrote: On 2011-03-15 15:50:44 +0100, walt said: On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken. perl-cleaner shows: NO PERL INSTALLED! (at least not in your path) I assumed you're trying to upgrade perl from an older version, but you are not, I guess. (I've never known anyone who didn't have perl already ;) I just finished re-installing perl-5.12.3 on two machines with no trouble, so there is something broken on your machine, but what? I'm wondering if the real error occurs somewhere before the errors you showed us, maybe dozens or even hundreds of lines earlier. Do you have sys-libs/libperl-5.10.1? Maybe try reemerging that package first. The emerging of the libperl crashs also with the same message. Phil
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 20:06:52 +0100, Arttu V. said: On 3/15/11, Kraus Philipp philipp.kr...@flashpixx.de wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/ perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? Maybe the following is helpful: http://forums.gentoo.org/viewtopic-t-430269.html Nice :-P I have rebooted the system and removed all environmental variables and now I can compile with ermeg