It would not be desirable to pass, on анлим since speed small and it is expensive, but it is necessary since has foolishly put FreeBSD without having waited while докачается Debian, and also it is necessary to update eclipse, and that has decided to put yesterday cdt and all was covered with a copper basin java projects have ceased to work.
Помойму I have burned port from встроеной видюхи on стром a computer when перетыкал моник, in пронципе it and isn't necessary since всёравно on ssh I will be конектиться to FreeBSD.
As нехотелось to update a blog, but safety and so on than it has ended last time I already wrote, now has simply rocked archive, just next day version 2,6,1 has appeared, has filled in has updated бд, outside all norms and here in админке styles изчезли, but had no time for it, and has now decided to understand and it has appeared that the rights somehow are clumsily exposed хз даж why 700 have turned out, as wouldn't be desirable all folders to check and change the right but was necessary, and knowingly) all became norms, so has still appeared, as before not everything is all right was with the rights since there were pictures in the menu).
ЗЫ: just there was an earthquake) даж I haven't understood сначало from what эт on a chair I fidget, and then as тряхонуло), but ничё like not on fell, only have rocked.
Tried to pick up 2 monitor to the laptop, didn't leave yet to make as it would be desirable, but I will torture. But not about it while read ман to xorg.conf has come across an interesting line:
VIDEOADAPTOR SECTION
Nobody wants to say how this works. Maybe nobody knows …
And how it works? And the horse-radish knows it)))
With a software not so all раздужно as I thought, figs with it with an opera I thought it a single instance, but wasn't present (Have decided коиент to put for юзанья P2P networks, have put amule, and it at start begins rigidly юзать memory, as consequence a swap so also a disk, well and it is necessary to kill him. Like has solved a problem пересобрав without wxunicode or as that there, it was started and even works), but at closing of all tabs in search it has fallen, and at tab restart weren't closed any more, and it hasn't fallen). Still the hogwash with qdvdauthor the same history with папятью or than хз that not clear does that, and all brakes. As Kompozer sometimes falls. Вобщем, hand roofing felts curve roofing felts that? Ещё фигня с qdvdauthor такая же история с папятью или чем хз, что то непонятное делает, и всё тормозит. Так же Kompozer иногда падает. Вобщем, толи руки кривые толи что?
Here such here a hogwash, has wanted to look at a film, has thrust ear-phones has started xine, and to me shout, a sound switch off, I remove ear-phones, and a sound that and from columns goes, have looked in an Internet, have asked at a forum, have advised to look in mailing if wasn't present there to write. There there was a question of year prescription and Ariff to a forehead specially finished/usr/src/sys/dev/sound/pci/hda/hdac.c and gave to it so except change hdac.c nothing will help as I has understood, has written a similar question but while the answer hasn't come, has decided to glance, and what there such interesting that? As it has appeared anything terrible there isn't present) has found announcements of constants with names of models, has found and for ACER: Как оказалось ничего страшного там нет) нашёл объявления констант с именами моделей, нашёл и для ACER :
1 2 3 4 5 6 | #define ACER_VENDORID 0x1025 #define ACER_A5050_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0x010f) #define ACER_A4520_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0x0127) #define ACER_A4710_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0x012f) #define ACER_3681WXM_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0x0110) #define ACER_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0xffff) |
Well I have added a line
1 | #define ACER_E5220_SUBVENDOR HDA_MODEL_CONSTRUCT (ACER, 0x011f) |
0x011f it is taken from type катры
1 2 3 4 | # pciconf-lv | grep-A2 pcm pcm0@pci0:0:27:0: class=0x040300 card=0x011f1025 chip=0x284b8086 rev=0x03 hdr=0x00:0: class=0x040300 card=0x011f1025 chip=0x284b8086 rev=0x03 hdr=0x00 vendor = ' Intel Corporation' device = ' 82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8' |
Has then looked where these constants are used, it appears only in one place
In роне 690 lines, for all асеров lines identical, mean is added такуюже for just созданой constants
1 | {ACER_E5220_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL, 0, 0,-1, 20, {21,-1},-1},, -1, 20, { 21, -1 }, -1 }, |
We keep, and компилим all this business
1 2 3 | # cd/usr/src/sys/modules/sound/; make clean cleandir; make && make install # kldunload snd_hda # kldload snd_hda |
That's all, at me has earned)
Wrote here a script which creates folders and writes down in them information, and so a field of test start, it has appeared not савсем as it is necessary it работет, it is necessary to remove. Here I also have reflected to remove as one command only folders, a script to leave, плучилось so
1 | % find.-type d-exec rm-rf {} \;-type d -exec rm -rf {} \; |
Truth in a conclusion is written that folders such don't exist.
From video something that relations at me weren't set, the driver only vesa approached, but about it later. Has decided to watch a film, has put video a player vlc, in Windows it suited me, it unique who showed недокаченое video, and HDTV too showed. And it seemed to me that unix the native environment for it, but strangely enough, he of as that has strange moved, at opening by it video all started to brake terribly, very long passed opening, and at viewing of couples all terribly braked. Has put mplayer, but it something руганулся and didn't begin to render video. Well though xine has normally opened and has shown. I still have specially decided to check up on how many to me the accumulator charge, and so will suffice it slightly нехватило to look through a film, and during film viewing as it seemed to me went jerky. И мне казалось, что unix родная среда для него, но как ни странно, он себя как то странно повёл, при открытии им видео всё начинало жутко тормозить, очень долго проходило открытие, да и при просмотре чёт всё жутко тормозило. Поставил mplayer, но он что-то руганулся и не стал оказывать видео. Хорошо хоть xine нормально открыл и показал. Я ещё специально решил проверить на сколько мне хватит заряда аккумулятора, так вот его чуть-чуть нехватило чтоб досмотреть фильм, да и во время просмотра фильма как мне показалось он шёл рывками.
But here I have decided to update ports and a software, it has appeared xorg-driver demanded updating, at during a configuration I have chosen fire wood intel vesa i810 and still there a little, and so at such config they обновлятся have refused having given out any error about i810 as it has then appeared intel and i810 clash among themselves, I disconnected i810 and updated, but in/etc/X11/xorg.conf the driver intel wasn't perceived, yesterday has again decided to update, again the same problem, has decided to remove intel and to put i810, and so the driver интел has appeared неустановленым, устновив i810, иксы have refused it to perceive, and I has put intel and about a miracle, дравер intel иксы have accepted as native) as it seemed to me to video now without jerks. And mplayer the film, truth xine couples too has oddly started to show has ceased запускатся, has updated for it library and it like as too has earned. I am happy. Я доволен.
At last has adjusted multimedia keys.
At first has learned codes of keys with the help xev:
176 – Fn + an arrow upwards
174 – Fn + an arrow downwards
123 – Fn + an arrow to the right
239 – Fn + an arrow to the left
178 – the button with сатурном
236 – the button with an envelope
243 – button P
179 – an euro Sign
180 – the Sign доллора
249 – the type button to update
245 – the button with a magnifier
239 – the button with ключём
244 – the button with a symbol e
141 – Fn + F1
166 – Fn + F2
167 – Fn + F3
146 – Fn + F4
169 – Fn + F5
140 – Fn + F8
Button Fn + F6 works, disconnects the display
Fn + F7 disconnects тачпад
Now it is necessary to associate with these codes names, the majority can be found in/usr/X11R6/include/X11/XF86keysym.h. To make it it is possible with помошью xmodmap:
xmodmap-e “keycode KEY = NAME”
, Where кей it is ours найденый a code with помошью xev, and NAME this name выбраное for this purpose кея from XF86keysym.h without подстрочки XK_
I associated not with all кеями since yet haven't thought up that I can appoint to them.
Now this business should be thrust in automatic loading, here with it I and had problems, закружаю kdm and at me.xinitrc at start кде isn't started and with/.kde/Autostart at me it has not turned out, have well prompted in.xprofile to register. It has turned out so:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | %cat ~/.xprofile.xprofile #!/bin/sh xmodmap ~/.xmodmaprc %cat ~/.xmodmaprc.xmodmaprc keycode 176 = XF86AudioRaiseVolume keycode 174 = XF86AudioLowerVolume keycode 140 = XF86AudioMute keycode 178 = XF86WWW keycode 236 = XF86Mail keycode 146 = XF86Sleep keycode 243 = XF86PowerOff keycode 166 = XF86Display keycode 179 = EuroSign keycode 180 = dollar keycode 141 = Help |
In a file
/usr/X11R6/include/X11/XF86keysym.h there are lines
#define XF86XK_MonBrightnessUp 0x1008FF02
#define XF86XK_MonBrightnessDown 0x1008FF03
upd: to what it I about/usr/X11R6/include/X11/XF86keysym.h? Has probably left on then since at that point in time to regulate brightness неудавалось. видимо оставил на потом, т.к. на тот момент регулировать яркость неудавалось.
bsdstats – as I have understood their basic чель not only to "count" quantity юзаемых *BSD systems but also to show to vendors програмного and апаратного maintenance that it is serious OS and it is necessary to pay attention to it. After all it is valid on an example of my laptop, normal support of a sound and a network only in 6.3 and 7.0 has appeared, and about ИК, etc. to speak нехочется, even coming on офсайты see fire wood for линукса, and under BSD there is nothing, it afflicts. By the way if will put don't give in on arrangements to register in rc.conf, in this case she probably tries at each loading roofing felts отпарвись стату whether that, but that starts that fetch it is the fact. At present on юзанью BSD on the first place there is USA on the second Germany, and on third we. Though when I put we were on 4, and even earlier we were on 2. We will catch up and will overtake with America. Кстати если будете ставить не поддавайтесь на уговоры прописаться в rc.conf, в этом случае она видимо пытается при каждой загрузке толи отпарвись стату то ли что, но то что запускает fetch это факт. В данный момент по юзанью BSD на первом месте стоит USA на втором Германия, а на третьем мы. Хотя когда я ставил мы были на 4, а ещё раньше мы были на 2. Догоним и перегоним Америку.
AND YOU HAVE ESTABLISHED BSDSTATS?
upd: here actually a site http://bsdstats.org, at present on FreeBSD we on 3 place, on the first Australia has escaped.
Actually руссифицировал I for a long time, but here have decided to write down here just now.
At first руссифицируем the console:
In/etc/rc.conf
1 2 3 4 5 | keymap=ru.koi8-r.win scrnmap=koi8-r2cp866 font8x16=cp866b-8x16 font8x14=cp866-8x14 font8x8=cp866-8x8 |
In/etc/ttys
We change cons25 on cons25r though it was possible and at installation in sysinstall it to make
We change language of the user
pw usermod root-L russian
We add localization and character set MIME
In/etc/profile
1 2 | LANG=ru_RU.KOI8-R; export LANG LANG MM_CHARSET=KOI8-R; export MM_CHARSET MM_CHARSET |
In хэндбуке it is written or but we will add and there
/etc/csh.login
1 2 | setenv LANG ru_RU.KOI8-R setenv MM_CHARSET KOI8-R |
KDE
/etc/X11/xorg.conf
1 2 3 4 5 6 7 | Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbLayout" "us, ru" Option "XkbOptions" "grp:ctrl_shift_toggle" Option "XkbVariant" ", winkeys" EndSection |
To establish
From ports/usr/ports/russian/kde3-i18n
The menu KDE/ADJUSTMENT both special possibility/language and standards
To add Russian
That in трее отобрыжался current language to establish kkbswitch
If hunting to use cp1251 in freebsd that to you here http:// www.lissyara.su/? id=1169
Installation of Cyrillic fonts (it is taken with http:// www.lissyara.su/? id=1444)
To establish a set ttf fonts from Windows. Before installation
We leave from KDE. We create a folder and we copy fonts *.ttf from folder Windows/Fonts,
For example, a folder/usr/X11R6/lib/X11/fonts/win-ttf.
Further it is necessary to do some actions:
1 2 3 | # cd/usr/X11R6/lib/X11/fonts/win-ttf # mkfontscale # mkfontdir |
After these actions in a folder there should be two files font.dir and font.scale
Last action:
1 2 | # fc-cache/usr/X11R6/lib/X11/fonts/win-ttf # mkfontscale-e/usr/X11R6/lib/X11/fonts/encodings |
In a file
1 | # ee/usr/X11R6/etc/X11/xorg.confX11R6/etc/X11/xorg.conf |
Add a way to the new catalog/usr/X11R6/lib/X11/fonts/win-ttf
…
FontPath "/usr/X11R6/lib/X11/fonts/win-ttf"
…
Restart иксы and use fonts.
For those who doesn't love superfluous restarts under рутом we write
1 | # fc-cache-v-f |
As instead of copying of fonts with Windows, it is possible to put
Port x11-fonts/webfonts with parameter WITH_MSWINDOWS_LICENSE=yes
And besides, sets of fonts can be found in ports/usr/ports/x11-fonts
Further we do type Majkrosoftovsky Clear Type.
IN ControlCenter-> APPEARANCE*JYT0KTHEMES-> Fonts.
On the right чекбокс “to use smoothing of fonts” it is marked and more to the right
The button to "adjust", we press it, then is marked чекбокс “to use
Interlower case smoothing ”.
Windows on дeфолту everywhere uses Tahoma 10; and for моноширинного Courier New
The strange combination, these 3 elements yields not clear result, i.e. at reading of letters by an opera on a mail ру it falls before it having written down on rigid opera.core and a broad gull ява cars, before I sinned on яву more precisely on како that there diablo since it appeared in a broad gull and eclipse with similar signs fell, but now that эклипс works, and in a broad gull appears already Java VM: Java HotSpot (TM) Client VM (1.5.0_13-p7-oper_16_jan_2008_22_08 mixed mode), видими всётани it that that with an opera not so, after all firefox doesn't fall, though 1 time on what that a site it has fallen.









Fresh comments