LINUX.ORG.RU

Сообщения pff_fail

 

Внешние библиотеки Qt 5

написал приложение для работы с COM портами под linux, использовал либу QtSerialPort, собственно вопрос, как скомпилировать бинарник чтобы можно было пользоваться программой на другом ПК (где либа отсутствует), или что нужно прописать в pro файле чтобы можно было собранную либу таскать рядом с бинарником?

PS: статическая сборка qt не подходит.

PPS: система Arch Linux.

 , , , seriaport

pff_fail
()

Несколько мониторов в linux

Имеется два монитора с vga, один ПК с материнской платой Asus p8z77-V LE (имеет видеоядро в ЦП ну и соотвественно выводы vga,dvi,hdmi.displayport) и видеокартой Asus Radeon 7770 (1x HDMI, 1xDVI, 2xDisplayport), встает вопрос, какими средствами заставить работать сразу два монитора?

 , , ,

pff_fail
()

Wine не правильно определяет железо

Система arch, поставил wine из офф реп, установил софт, библиотеки, шрифты, установил diablo 3, при запуске получил сообщение что видеокарта не поддерживается, поставил aida64 в wine, показывает очень странную информацию об установленном оборудовании


OS : Windows Vista 6.1 (Build: 7601)
CPU : GenuineIntel PentiumPro-class processor @ 3109 MHz with 2047MB RAM
Video : ATI RADEON 8500 SERIES

В winecfg стоит Windows Xp, настоящее железо такое:


Processor: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
Memory: 4008MB
OpenGL Renderer: AMD Radeon HD 7750 1 GB

прошу помощи, может кто сталкивался с такой проблемой.

 , ,

pff_fail
()

Не стартуют иксы в archlinux

не могу понять в чем проблема...

lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700 Series]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Device aab0
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
04:01.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)
05:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9120 SATA 6Gb/s Controller (rev 12)
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

lsmod
Module                  Size  Used by
fuse                   69173  2 
snd_hda_codec_hdmi     24487  1 
fglrx                5083243  0 
amd_iommu_v2            7367  1 fglrx
joydev                  9991  0 
hid_generic             1113  0 
usbhid                 36996  0 
hid                    85929  2 hid_generic,usbhid
coretemp                6070  0 
kvm_intel             124749  0 
kvm                   373917  1 kvm_intel
crc32c_intel            1987  0 
ghash_clmulni_intel     4237  0 
aesni_intel            42081  0 
keucr                  59319  0 
aes_x86_64              7508  1 aesni_intel
aes_generic            26138  2 aesni_intel,aes_x86_64
usb_storage            47384  0 
ablk_helper             1972  1 aesni_intel
cryptd                  8741  3 ghash_clmulni_intel,aesni_intel,ablk_helper
uas                    11119  0 
snd_hda_codec_realtek    61193  1 
iTCO_wdt                5255  0 
iTCO_vendor_support     1929  1 iTCO_wdt
eeepc_wmi               4584  0 
asus_wmi               15843  1 eeepc_wmi
sparse_keymap           3056  1 asus_wmi
rfkill                 15604  2 asus_wmi
pci_hotplug            23148  1 asus_wmi
evdev                  10266  9 
microcode              12377  0 
radeon                859558  2 
psmouse                71909  0 
pcspkr                  1899  0 
serio_raw               4689  0 
snd_hda_intel          26180  5 
ttm                    64384  1 radeon
snd_hda_codec          98033  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
drm_kms_helper         32877  1 radeon
via_rhine              21577  0 
snd_hwdep               6300  1 snd_hda_codec
drm                   218724  3 ttm,drm_kms_helper,radeon
snd_pcm                75167  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
mii                     4091  1 via_rhine
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
i2c_algo_bit            5391  1 radeon
snd_timer              18934  1 snd_pcm
i2c_i801                9571  0 
lpc_ich                10609  0 
i2c_core               20707  5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon
snd                    59989  17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
mei                    32665  0 
soundcore               5442  1 snd
fan                     2618  0 
thermal                 8119  0 
acpi_cpufreq            5933  0 
mperf                   1267  1 acpi_cpufreq
wmi                     8379  1 asus_wmi
button                  4662  1 fglrx
processor              26855  1 acpi_cpufreq
video                  11276  1 asus_wmi
ext4                  440434  3 
crc16                   1359  1 ext4
jbd2                   78751  1 ext4
mbcache                 5977  1 ext4
sr_mod                 14823  0 
sd_mod                 29559  5 
cdrom                  35520  1 sr_mod
ahci                   21360  4 
libahci                20023  1 ahci
ehci_hcd               41816  0 
libata                167683  2 ahci,libahci
xhci_hcd               87050  0 
scsi_mod              133386  6 uas,keucr,usb_storage,libata,sd_mod,sr_mod
usbcore               150398  6 uas,keucr,usb_storage,ehci_hcd,usbhid,xhci_hcd
usb_common               954  1 usbcore

Xorg.conf

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# <str>
        #Option     "fbdev"              	# <str>
        #Option     "debug"              	# [<bool>]
	Identifier  "Card0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection


Xorg.0.log

[     2.098] 
X.Org X Server 1.13.0
Release Date: 2012-09-05
[     2.098] X Protocol Version 11, Revision 0
[     2.098] Build Operating System: Linux 3.6.2-1-ARCH x86_64 
[     2.098] Current Operating System: Linux Sirius-2 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64
[     2.098] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=faa9340f-e82b-4ea5-a70b-dd8c1a9794d5 ro quiet
[     2.098] Build Date: 19 October 2012  03:54:56PM
[     2.098]  
[     2.098] Current version of pixman: 0.26.2
[     2.098] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.098] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.099] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  7 08:03:24 2012
[     2.101] (==) Using config file: "/etc/X11/xorg.conf"
[     2.101] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     2.102] (==) ServerLayout "X.org Configured"
[     2.102] (**) |-->Screen "Screen0" (0)
[     2.102] (**) |   |-->Monitor "Monitor0"
[     2.102] (**) |   |-->Device "Card0"
[     2.102] (**) |-->Input Device "Mouse0"
[     2.102] (**) |-->Input Device "Keyboard0"
[     2.102] (==) Automatically adding devices
[     2.102] (==) Automatically enabling devices
[     2.102] (==) Automatically adding GPU devices
[     2.108] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[     2.108] (**) ModulePath set to "/usr/lib/xorg/modules"
[     2.108] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     2.108] (WW) Disabling Mouse0
[     2.108] (WW) Disabling Keyboard0
[     2.108] (II) Loader magic: 0x7fcc20
[     2.108] (II) Module ABI versions:
[     2.108] 	X.Org ANSI C Emulation: 0.4
[     2.108] 	X.Org Video Driver: 13.0
[     2.109] 	X.Org XInput driver : 18.0
[     2.109] 	X.Org Server Extension : 7.0
[     2.109] (II) config/udev: Adding drm device (/dev/dri/card0)
[     2.110] (--) PCI:*(0:1:0:0) 1002:683d:1043:0421 rev 0, Mem @ 0xe0000000/268435456, 0xf7e00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[     2.111] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.111] Initializing built-in extension Generic Event Extension
[     2.111] Initializing built-in extension SHAPE
[     2.111] Initializing built-in extension MIT-SHM
[     2.111] Initializing built-in extension XInputExtension
[     2.111] Initializing built-in extension XTEST
[     2.111] Initializing built-in extension BIG-REQUESTS
[     2.111] Initializing built-in extension SYNC
[     2.111] Initializing built-in extension XKEYBOARD
[     2.111] Initializing built-in extension XC-MISC
[     2.111] Initializing built-in extension SECURITY
[     2.111] Initializing built-in extension XINERAMA
[     2.111] Initializing built-in extension XFIXES
[     2.111] Initializing built-in extension RENDER
[     2.111] Initializing built-in extension RANDR
[     2.111] Initializing built-in extension COMPOSITE
[     2.111] Initializing built-in extension DAMAGE
[     2.111] Initializing built-in extension MIT-SCREEN-SAVER
[     2.111] Initializing built-in extension DOUBLE-BUFFER
[     2.111] Initializing built-in extension RECORD
[     2.111] Initializing built-in extension DPMS
[     2.111] Initializing built-in extension X-Resource
[     2.111] Initializing built-in extension XVideo
[     2.111] Initializing built-in extension XVideo-MotionCompensation
[     2.111] Initializing built-in extension XFree86-VidModeExtension
[     2.111] Initializing built-in extension XFree86-DGA
[     2.111] Initializing built-in extension XFree86-DRI
[     2.111] Initializing built-in extension DRI2
[     2.111] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[     2.111] (II) LoadModule: "glx"
[     2.112] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     2.115] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[     2.115] 	compiled for 6.9.0, module version = 1.0.0
[     2.115] Loading extension GLX
[     2.115] (II) LoadModule: "fglrx"
[     2.116] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[     2.148] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[     2.148] 	compiled for 1.4.99.906, module version = 9.0.2
[     2.148] 	Module class: X.Org Video Driver
[     2.148] (II) Loading sub module "fglrxdrm"
[     2.148] (II) LoadModule: "fglrxdrm"
[     2.149] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[     2.151] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[     2.151] 	compiled for 1.4.99.906, module version = 9.0.2
[     2.151] (II) AMD Proprietary Linux Driver Version Identifier:9.00.2
[     2.151] (II) AMD Proprietary Linux Driver Release Identifier: 9.00.11                              
[     2.151] (II) AMD Proprietary Linux Driver Build Date: Sep 20 2012 11:56:16
[     2.151] (++) using VT number 1

[     2.151] (WW) Falling back to old probe method for fglrx
[     2.156] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[     2.344] ukiDynamicMajor: found major device number 250
[     2.344] ukiDynamicMajor: found major device number 250
[     2.344] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[     2.344] ukiOpenDevice: node name is /dev/ati/card0
[     2.344] ukiOpenDevice: open result is 9, (OK)

больше всего интересует вот эта строчка: [ 2.151] (WW) Falling back to old probe method for fglrx

google мне так и не рассказал что она значит

 , , ,

pff_fail
()

Проблемы с интернетом в Arch

Установил PCI карту D-Link DFE-520 TX

начал устанавливать Arch, инет не поднимается, пакеты не проходят

dmesg | grep eth0

[    1.720907] via-rhine 0000:05:01.1: eth0: VIA Rhine III at 0x1c000, fc:75:16:85:64:43, IRQ 18
[    1.721968] via-rhine 0000:05:01.1: eth0: MII PHY found ar address 1, status 0x7869 advertising 05e1 Link cde1

lspci | grep ethernet

03:00.0 Ethenet controller: Realteck Semiconductor Co., Ltd. RTL8111/8168B Express Gegabit Ethernet controller (rev 09)
05:01.1 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)

/etc/resolv.conf

nameserver 192.168.1.1

ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
           inet 192.168.1.5 netmask 255.255.255.0 broadcast 0.0.0.0
           inet6 fe:80::fe75:16ff:fe85:6443 prefixlen 64 scopeid 0x20<link>
           ether fc:75:16:85:64:43 txqueuelen 1000 (Ethernet)
           RX packets 0 bytes 0 (0.0 B)
           RX error 0 dpropped 0 overruns 0 frame 0
           TX packets 51 bytes 9309 (9.0 KB)
           TX error 0 dpropped 0 overruns 0 carrier 0 collisions 0

 ,

pff_fail
()

проблемы с установкой Arch Linux

не поднимается сеть при установке арча

пытался поднять вот так:


ip link set eth0 up

ip addr add 192.168.1.5/255.255.255.0 dev eth0

ip route add default via 192.168.1.1

файл resolv.conf

nameserver 192.168.1.1

толку ноль, шлюз и днс не пингуется.

через ifcfg эффект такой же

карта Realtek 8111/8168B, мат.плата asus p8z77-le

pff_fail
()

[Решено] Проблема с Samba в Archlinux

Проблема состоит в том что Samba пускает в шару но не пускает в папку т.е. просит пасс

smb.cfg

[global]
    workgroup = home
    server string =
    security = user
    map to guest = Bad Password
    guest account = nobody
;    hosts allow = 192.168.1. 192.168.2. 127.
    load printers = no
    log file = /var/log/samba/%m.log
    max log size = 512
    passdb backend = tdbsam
;    include = /usr/local/samba/lib/smb.conf.%m
;    interfaces = 192.168.12.2/24 192.168.13.2/24
    interfaces = eth0 wlan0

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = yes
;    domain master = yes
;    preferred master = yes
;    os level = 33
;    logon script = %m.bat
;    logon script = %U.bat

;    logon path = \%L\Profiles\%U
;    wins support = yes
;    wins server = w.x.y.z
;    wins proxy = yes
;    dns proxy = yes
;    add user script = /usr/sbin/useradd %u
;    add group script = /usr/sbin/groupadd %g
;    add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
;    delete user script = /usr/sbin/userdel %u
;    delete user from group script = /usr/sbin/deluser %u %g
;    delete group script = /usr/sbin/groupdel %g

#========Share Definitions========
;[printers]
;   comment = All Printers
;   path = /var/spool/samba
;   browseabl

[Apollo12]
        path = /mnt/FTP
        read only = No
        guest ok - Yes
        hosts allow = 192.168.1

[torrents]
        path = /mnt/FTP
        read only = No
        guest ok = Yes
        hosts allow = 192.168.1


помогите решить проблему.

pff_fail
()

Проблема с yaourt в Arch Linux

-> yaourt intel

-> Unable to open file: /usr/local/etc/pacman.conf

Пробовал с ключами и без, пересобирал вручную три раза, в гугле приемлемого ответа не нашел, прошу помощи у вас.

Пробовал ставить yaourt из пользовательской репозитории archlinuxfr, не помогло...

pff_fail
()

Проблема bumblebee в Arch Linux

Поставил и настроил bumblebee по wiki arch, проблема в том что не стартует демон

# rc.d start bumblebee :: Daemon script bumblebee does not exist or is not executable.

почему так? в гугле искал но толку мало...

 , ,

pff_fail
()

пакет для Bumblebee

не подскажите где можно найти bbswitch для ядра 3.3.1? ОС: Opensuse 12.1

 intel+nvidia optimus

pff_fail
()

RSS подписка на новые темы