Re: Which Lenovo Laptop?
Hi, I am typing this message on a W520 running 9.0 stable, which should be similar enough to the T520. - MBR boot works fine, but GPT seems to be impossible (Lenovo appears to have messed up again). - The NVidia driver is working almost perfectly once you enforce it in BIOS, but occasionally (3 times in last 2.5 months) the screen starts displaying a strange block pattern after some time and renders the display unusable until I restart X (logging in via SSH works, as does the power button == ACPI shutdown). Haven't been able track the cause down yet. - Suspend seems to be unreliable, so I stopped trying (back on BETA2). - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, line 338, and replace "IBM0068" with "LEN0068", which makes most of the multimedia keys usable. - Wireless is working (iwn), but I'm not using it that frequently so YMMV. - I cannot comment on bluetooth, camera or SD card reader, since I never use those. But there is one annoying problem I did not manage to fix yet: The screen brightness control does not work at all, i.e. it's always at maximum (hw.acpi.video sysctls seem to have no effect). All in all, this laptop is a nice desktop replacement, just don't expect the battery to last too long. Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Which Lenovo Laptop?
On Fri, 9 Dec 2011 09:18:17 -0500 Pierre-Luc Drouin wrote: > On Fri, Dec 9, 2011 at 2:03 AM, 文鳥 wrote: > > Hi, > > > > I am typing this message on a W520 running 9.0 stable, which should > > be similar enough to the T520. > > > > - MBR boot works fine, but GPT seems to be impossible (Lenovo > > appears to have messed up again). > > - The NVidia driver is working almost perfectly once you enforce it > > in BIOS, but occasionally (3 times in last 2.5 months) the screen > > starts displaying a strange block pattern after some time and > > renders the display unusable until I restart X (logging in via SSH > > works, as does the power button == ACPI shutdown). Haven't been > > able track the cause down yet. > > - Suspend seems to be unreliable, so I stopped trying (back on > > BETA2). > > - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, > > line 338, and replace "IBM0068" with "LEN0068", which makes most of > > the multimedia keys usable. > > - Wireless is working (iwn), but I'm not using it that frequently so > > YMMV. > > - I cannot comment on bluetooth, camera or SD card reader, since I > > never use those. > > > > But there is one annoying problem I did not manage to fix yet: The > > screen brightness control does not work at all, i.e. it's always at > > maximum (hw.acpi.video sysctls seem to have no effect). All in all, > > this laptop is a nice desktop replacement, just don't expect the > > battery to last too long. > > > > Best regards > > When you say that suspending seems unreliable, do you mean that it > sometimes work? Did you try unloading kernel modules before putting it > in sleep mode to see if it makes a difference? > About screen brightness, I thought there was a setting in xorg.conf > that made it to work? > > Cheers OK, now I feel foolish now: I _had_ tried the "RegistryDwords" "EnableBrightnessControl=1" setting once, but had a typo in it and didn't notice. Now I brightness control also works. So the only remaining problem really is putting the machine to sleep. Should teach me not to accept failure to quickly ;) Best regards, and thanks for the tip. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Which Lenovo Laptop?
On Fri, 9 Dec 2011 19:05:26 +0100 Polytropon wrote: > On Fri, 9 Dec 2011 16:50:23 +0100, 𫝆井 Pierre wrote: > > If there is a setting to xorg.conf that does work for setting the > > screen brightness, please tell me. Everything I tried so far turned > > out negative, but maybe there's something I overlooked. > > Don't "modern" laptops come with keys (or key combinations, > usually Fn + Cursor or Fn + PF key) to adjust brightness > and contrast, or has this lowest-level functionality > finally moved into the world of software, i. e. drivers? > At first I thought so too, but apparently you need the right drivers to get some of the keys to work: Now I am finally able to control the brightness by pressing Fn + Home/End, but only thanks to the co-operation of the acpi_video & acpi_ibm modules and the nvidia driver (which needs the "RegistryDwords" "EnableBrightnessControl=1" option in xorg.conf). And just to make things more complicated: the keyboard light and mixer mute keys seem to still be hard-wired and thus do not need driver support... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why Clang
On Wed, 06 Jun 2012 19:05:59 +0100 Matthew Seaman wrote: > On 06/06/2012 18:28, Thomas D. Dean wrote: > > Has the discussion on why change to clang been made available? > > Yes, endlessly. Mostly on lists like freebsd-hackers@... and at > various conferences and developer summits. Check the list archives. > > > I would like to know the reasoning. > > It's simple. gcc-4.2, which is what the base system compiler is > derived from is: > > * fairly old > > * doesn't perform as well as more recent compilers > > * doesn't adhere to recently established standards There's another good reason for clang which nobody mentioned so far: clear diagnostics. If you ever had to wade through gcc's debug output and compare several thousand character long template instantiations, just to find where they differ and then see the clear problem descriptions that clang produces instead, you'll understand what I mean. And in combination with libc++, which just arrived on stable, I am finally able to use all the features of C++11 that I want. Try to use e.g. std::regex even on g++47, and just see what happens. Of course, getting rid of GPL is an added benefit ;) After reading all those complaints, I just had to respond and thank everyone involved very much for importing clang and libc++. Great job well done! Best regards, 文鳥 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Clang with libc++ doesn't find quuick_exit()
On Fri, 10 Aug 2012 02:21:28 +0400 Артем Зуйков wrote: > Hi, > > I can't build anything with clang & libc++ > What am I doing wrong? > > > > clang++ -stdlib=libc++ test1.cpp -o x > In file included from test1.cpp:1: > /usr/include/c++/v1/cstdlib:134:9: error: no member named > 'at_quick_exit' in the global namespace > using ::at_quick_exit; > ~~^ > /usr/include/c++/v1/cstdlib:135:9: error: no member named > 'quick_exit' in the global namespace > using ::quick_exit; > ~~^ > 2 errors generated. > > > > A part of /usr/include/stdlib.h > > #if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L > _Noreturn void > quick_exit(int); > int at_quick_exit(void (*)(void)); > #endif /* __ISO_C_VISIBLE >= 2011 */ > Hi, quick_exit() has only become available in C++ as part of the C++11 standard. Thus you will have to invoke clang++ as follows: clang++ -std=c++11 -stdlib=libc++ test1.cpp -o x or '-std=c++0x' if you're using an older version of clang++ Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Make gtk widgets use a larger font
The fastest solution is probably to install x11/gtk-theme-switch2 and use "switch2" to change the theme and/or font. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling vim with gnome, anyone?
On Wed, 28 Jul 2010 11:07:38 +0200 Antonio Vieiro wrote: > > make -DWITH_VIM_OPTIONS config Hi Antonio, I also had problems getting gnome support added, but at least the following worked for me: make WITH_GTK2=yes WITH_GNOME=yes install clean Alternatively, you might consider installing ports-mgmt/portconf and adding the following line to /usr/local/etc/ports.conf: editors/vim*: WITH_GTK2 | WITH_GNOME then just type "make". The same goes for all the other options you need. Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BSD logo (a moderate opinion)
On Wed, 28 Jul 2010 12:55:04 -0600 Dale Scott wrote: > Personally, I enjoy our mascot Beastie, as well as the > Beastie-influenced official logo. I also smile when I see Casper, > Wendy andHotStuff. However, I also accept there are individuals who > understand these symbols differently than me, and that I may be > alienating them to my detriment. It seems consumer products need to > be mindful of cultural differences, is FreeBSD different? A larger > community and increased OS market share wouldn't be all that bad, > would it? > > I hope that those of you who believe in FreeBSD but with a personal > conflict with the mascot or logo, band together and propose a > complementary alternate symbol. I don't mean flooding the mail list > (it's obvious we can do that on our own), I'm talking about difficult > time-consuming organization, lobbying, and support gathering. For me, > I hope Beastie endures forever - he our first and legacy mascot - but > I also wouldn't object to one or two more officially sanctioned > mascots and logos either. > > Dale Scott > Personally, I tried to stay out of this conversion (because it's OT and I find all religions annoying). But, anyway, IIRC, the reason why our nice little beastie is no longer the official FreeBSD logo, is the sentiments you just mentioned. There was a discussion about this years ago on one of the mailing lists (I don't remember which one anymore), which resulted in a contest, and the result is the horned ball logo you find on the top of www.freebsd.org. This is also the reason why we have to add 'beastie_disable="NO"' to /boot/loader.conf after a fresh install now. So, please, refrain from calling for yet another new logo. Best regards 文鳥 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Japanese ISO9660/Joliet and locale = ja_JP.UTF8 problems
Hallo everyone, I have the following problems when mounting CDs/DVDs containing Japanese file names which were burned on Japanese Windows XP (SJIS, Multi-byte extended Joliet). If I mount them normally ("mount -t iso9660 /cdrom"), file names are garbled (ls shows ?, etc). If I mount them using "mount_cd9660 -C SHIFT-JIS", and then pipe the output from ls through nkf ("ls /cdrom | nkf -Sw"), the file names are displayed correctly. Naturally, this work-around is not satisfying, and I would like to keep my locale set to ja_JP.UTF-8. Playing around with different locales when mounting did not work out either. Does anyone here know how to fix this? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6.1 Japanese ISO9660/Joliet and locale ja_JP.UTF8 problems
Hallo everyone, On my FreeBSD 6.1 workstation, I have the following problems when mounting CDs/DVDs containing Japanese file names which were burned on Japanese Windows XP (SJIS, Multi-byte extended Joliet). If I mount them normally ("mount -t iso9660 /cdrom"), file names are garbled (ls shows ?, etc). If I mount them using "mount_cd9660 -C SHIFT-JIS", and then pipe the output from ls through nkf ("ls /cdrom | nkf -Sw"), the file names are displayed correctly. Naturally, this work-around is not satisfying, and I would like to keep my locale set to ja_JP.UTF-8. Playing around with different locales when mounting did not work out either. Does anyone here know how to fix this? Thanks in advance ^-^ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dvd extractor
> Im looking to extract some of my dvd's, not convert to mpeg4 or > anything... > simply extract the video_ts and audio_ts... Hallo Eoghan, how about vobcopy (/usr/ports/sysutils/vobcopy)? It works fine for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unicode support on FreeBSD
> It's worth noting that while this solution may work, it's an > add-on. > The question of Unicode is complex; you should check for > relevant threads in the questions@ and i18n@ archives. I am using FreeBSD 6.1. with locale set to ja_JP.UTF-8 for quite some time now, and it's working splendidly. Gnome/KDE work fine, fluxbox is a bit more difficult to set up correctly when it comes to Japanese / Unicode. The only problem I did come across is CD9660-Unicode support: whenever I try to use a CD created on Windows containing Japanese file names, I screws up completely (filenames become mojibake). Messing around with mount options does not help, but reverting to ja_JP.eucJP does. I think it's a bug, but I am not sure. I posted a message to questions@ concerning this problem, but didn't get one answer, so I don't know whether I should post a PR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Secure update of /usr/src
Hello all, is there any way to securely follow the STABLE branch of FreeBSD, e.g. a cryptographically signed distribution method like portsnap? Afaik, the usual update methods (CVSup, etc.) do not include any authentication / integrity checking. Am I missing something here? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Secure update of /usr/src
2008/1/13, Erik Cederstrand <[EMAIL PROTECTED]>: > 文鳥 wrote: > > Hello all, > > > > is there any way to securely follow the STABLE branch of FreeBSD, e.g. > > a cryptographically signed distribution method like portsnap? Afaik, > > the usual update methods (CVSup, etc.) do not include any > > authentication / integrity checking. Am I missing something here? > > freebsd-update(8) is portsnap for the base system. However, you can only > follow RELEASE branches, not STABLE. > > Erik > Thanks for the reply. Unfortunately, I need to follow STABLE and (to be policy-compliant) at the same time make sure that the code has not been tampered with by, for example, checking the signature. Is there a way to do this for STABLE? Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Secure update of /usr/src
08/01/13 に Erik Cederstrand<[EMAIL PROTECTED]> さんは書きました: > 文鳥 wrote: > > 2008/1/13, Erik Cederstrand <[EMAIL PROTECTED]>: > >> 文鳥 wrote: > >>> Hello all, > >>> > >>> is there any way to securely follow the STABLE branch of FreeBSD, e.g. > >>> a cryptographically signed distribution method like portsnap? Afaik, > >>> the usual update methods (CVSup, etc.) do not include any > >>> authentication / integrity checking. Am I missing something here? > >> freebsd-update(8) is portsnap for the base system. However, you can only > >> follow RELEASE branches, not STABLE. > >> > >> Erik > >> > > Thanks for the reply. Unfortunately, I need to follow STABLE and (to > > be policy-compliant) at the same time make sure that the code has not > > been tampered with by, for example, checking the signature. Is there a > > way to do this for STABLE? > > Just making sure; you are aware that STABLE only means "stable API" and > is in fact the cutting edge for the 6.x line, right? If you want to > follow a stable release branch, as in "is tested, supported by security > team, and will not break in interesting ways", RELEASE is the branch to > follow. freebsd-update(8) will fetch the security updates for you as > they are applied to the RELEASE branch. > > Erik > Yes, I am aware of that fact. However, 7.x STABLE is the only version apart from CURRENT that I was able to get working reliably on the hardware in question. And alas, even though the system in question is used for testing only,I am still bound by the company security policy in this matter... Guess I will have to wait until 7.0 is released. Thanks for your help in this matter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenMP
Hello Andrea, I have no 6.3 box around for testing, but on 7.2 OpenMP works without problems using base gcc when I compile using -fopenmp, but without -lgomp. Thus I would suggest upgrading to 7.2 or 8 beta. Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9
On Wed, 29 Apr 2009 11:48:42 -0600 (MDT) Keith Seyffarth wrote: > > Is anyone else having issues wit Gnucash 2.2.7 crashing when you try > to open an account after portupgrading Firefox in response to security > audit reports from about a week ago? > I have the same issues you're reporting, also tried reinstalling several ports, compiling gnucash from sourceforge, etc, but to no avail. My solution for now is to run gnucash in a qemu-vm. However, I am not really sure that the crash caused by the firefox update, since there were several other ports I upgraded at the same time (especially perl), and since I found no direct dependency for firefox3 in the Makefile... Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"