3
|
Linux секция за начинаещи / Настройка на хардуер / Re: Проблем с тъчпад при suspend->resume asus x455l
|
-: May 16, 2016, 23:24
|
След като изпълних 3-те реда код, след suspend-a тъча пак не работи. lsmod | grep -i i8042 - не намира нищо. Да отбележа че пиша lsmod, след съспенда, тоест при неработещ тъч, ето какво връща lsmod: (впрочем гледам тук има psmouse, и за всеки случай пак го спрях и го пуснах [sudo modprobe -r psmouse, sudo modprobe psmouse] но както и преди тъча не тръгва) GeSHi (Bash): Module Size Used by rfcomm 69632 2 hid_multitouch 20480 0 drbg 32768 1 ansi_cprng 16384 0 ctr 16384 2 ccm 20480 2 nvram 16384 0 msr 16384 0 bnep 20480 2 nls_iso8859_1 16384 1 uvcvideo 90112 0 videobuf2_vmalloc 16384 1 uvcvideo videobuf2_memops 16384 1 videobuf2_vmalloc videobuf2_v4l2 28672 1 uvcvideo videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2 v4l2_common 16384 1 videobuf2_v4l2 videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2 media 24576 2 uvcvideo,videodev ath3k 20480 0 btusb 45056 0 btrtl 16384 1 btusb btbcm 16384 1 btusb btintel 16384 1 btusb bluetooth 520192 30 bnep,ath3k,btbcm,btrtl,btusb,rfcomm,btintel intel_rapl 20480 0 x86_pkg_temp_thermal 16384 0 intel_powerclamp 16384 0 coretemp 16384 0 kvm_intel 172032 0 arc4 16384 2 ath9k 143360 0 snd_hda_codec_hdmi 53248 1 snd_hda_codec_conexant 24576 1 ath9k_common 36864 1 ath9k snd_hda_codec_generic 77824 1 snd_hda_codec_conexant ath9k_hw 466944 2 ath9k_common,ath9k asus_nb_wmi 24576 0 asus_wmi 28672 1 asus_nb_wmi snd_hda_intel 36864 5 sparse_keymap 16384 1 asus_wmi snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel kvm 536576 1 kvm_intel snd_hda_core 73728 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel snd_hwdep 16384 1 snd_hda_codec irqbypass 16384 1 kvm crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 aesni_intel 167936 4 snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core ath 32768 3 ath9k_common,ath9k,ath9k_hw mac80211 737280 1 ath9k snd_seq_midi 16384 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 32768 1 snd_seq_midi snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi aes_x86_64 20480 1 aesni_intel snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi lrw 16384 1 aesni_intel gf128mul 16384 1 lrw glue_helper 16384 1 aesni_intel snd_timer 32768 2 snd_pcm,snd_seq ablk_helper 16384 1 aesni_intel cryptd 20480 2 aesni_intel,ablk_helper snd 81920 21 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device cfg80211 565248 4 ath,ath9k_common,ath9k,mac80211 joydev 20480 0 mei_me 36864 0 mei 98304 1 mei_me lpc_ich 24576 0 soundcore 16384 1 snd processor_thermal_device 16384 0 intel_soc_dts_iosf 16384 1 processor_thermal_device shpchp 36864 0 intel_pch_thermal 16384 0 input_leds 16384 0 serio_raw 16384 0 dw_dmac 16384 0 dw_dmac_core 24576 1 dw_dmac spi_pxa2xx_platform 24576 0 snd_soc_sst_acpi 16384 0 int3402_thermal 16384 0 int340x_thermal_zone 16384 2 int3402_thermal,processor_thermal_device int3400_thermal 16384 0 i2c_designware_platform 16384 0 8250_dw 16384 0 i2c_designware_core 20480 1 i2c_designware_platform acpi_thermal_rel 16384 1 int3400_thermal acpi_pad 20480 0 mac_hid 16384 0 parport_pc 32768 0 ppdev 20480 0 lp 20480 0 parport 49152 3 lp,ppdev,parport_pc autofs4 40960 2 hid_generic 16384 0 usbhid 49152 0 hid 118784 4 hid_multitouch,hid_generic,usbhid nouveau 1495040 0 i915 1208320 8 mxm_wmi 16384 1 nouveau ttm 98304 1 nouveau i2c_algo_bit 16384 2 i915,nouveau drm_kms_helper 139264 2 i915,nouveau syscopyarea 16384 1 drm_kms_helper psmouse 126976 0 sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper drm 360448 11 ttm,i915,drm_kms_helper,nouveau ahci 36864 4 r8169 81920 0 libahci 32768 1 ahci mii 16384 1 r8169 wmi 20480 3 mxm_wmi,nouveau,asus_wmi video 40960 3 i915,nouveau,asus_wmi sdhci_acpi 16384 0 sdhci 45056 1 sdhci_acpi fjes 28672 0
|
|
|
8
|
Linux секция за начинаещи / Настройка на хардуер / Re: Настройка на принтер с паралелен порт (pci adapter)
|
-: Jun 26, 2015, 14:34
|
Адресът е 0xe000 резултат: [ 200.885588] parport0: PC-style at 0xe000, irq 0 [PCSPP,TRISTATE] [ 200.885599] genirq: Flags mismatch irq 0. 00000000 (parport0) vs. 00015a00 (timer) [ 200.885603] parport0: irq 0 in use, resorting to polled operation [ 200.896672] parport0: Printer, Brother HL-1030 series [ 218.464038] lp0: using parport0 (polling). Не знам дали е от значение но следвах и тези инструкции: http://tutorialforlinux.com/2015/01/08/how-to-easy-install-the-brother-hl-1030-printer-driver-on-ubuntu-14-04-trusty-lts-linux/Мисля че след това CUPS започна да разпознава принтера и вместо LPT1 изписа brother не съм много сигурен дали е от това понеже настроих 0хе000 и успях да изпринтя една тестова страница. След 5 мин принтера заспа и когато му дадох принт отново нищо не става,CUPS изписва: "Printer busy; will retry in 30 seconds." и продължава да си спинка. Ако го изключа и включа пак не принти. Странно, рестартирах и махах модулите, пак ги слагах и сега взе че работи нормално ... и та как да го направя перманентно?
|
|
|
10
|
Linux секция за начинаещи / Настройка на хардуер / Re: Настройка на принтер с паралелен порт (pci adapter)
|
-: Jun 24, 2015, 23:16
|
По принцип си бях сложил файла и пътя както е в указанията. Иначе изпълних файла, но май се оказва че това: 01:00.0 Serial controller: Device 4651:7073 (последните редове на lspci) всъщност е картата. Когато я махна този ред го няма. Нищо не схващам уж е паралелен порт а защо излизат такива неща. (иначе файлът е без .о накрая)
Директориите в диска са : CH351Q MCS9805 MCS9865 MCS9904 Pl2303 WCH38XDRV MCS7720 MCS9835 MCS9901CV-CC PCI60806A systembase SB16c1054-1058
На моята карта на чипът пише PCI60806A така че предполагам там трябва да е разковничето. След като я отворя: 1parallel&1serial 1parallel&2serial 2-serial 4-serial parallel drvier
Отварям паралел драйвър: LINUX WINDOWS След това папката LINUX и пускам ls -al * Резултат: -r-------- 1 tuseto tuseto 40638 май 9 2014 pci60806a -r-------- 1 tuseto tuseto 908 май 9 2014 README
(в това README намерих тези инструкции които публикувах в предишния пост)
|
|
|
11
|
Linux секция за начинаещи / Настройка на хардуер / Re: Настройка на принтер с паралелен порт (pci adapter)
|
-: Jun 24, 2015, 16:50
|
Няма USB. Не реагира по никакъв начин дори при вкл/изкл на PC. Не трябва ли lspci да дава Communication port или Parallel port, а той я дава като сериал. Само че при мен rc.local e в etc (нямам директория rc.d) Ето инструкциите от дискчето:
This installation guide describes the procedures to install and uninstall PCI60806A PCI to two serial ports,one serial and one parport, two serial ports and one parport,four serial ports in Linux platform. 1-install and uninstall PCI60806A PCI boards
(1)-install <1>-copy pci60806a.o to /usr/sbin <2>-Add /usr/sbin/pci60806a at the end of the /etc/rc.d/rc.local. <3>-reboot if you inster two serials port board The ttyS2 and ttyS3 are ready for application.
if you inster one serial port and one parport port board The ttyS2 and LPT1 or LPT2 ready for application.
if you inster four serials port board The ttyS2 ttyS3 ttyS4 and ttyS5 are ready for application.
if you inster two serials port and aone parport port board The ttyS2 ttyS3 and LPT1 or LPT2 are ready for application.
|
|
|
12
|
Linux секция за начинаещи / Настройка на хардуер / [SOLVED] Настройка на принтер с паралелен порт (pci adapter)
|
-: Jun 24, 2015, 12:57
|
Закупих си PCI карта с паралелен порт. Свързах принтера (brother hl1030) системата не го намира (убунту мате). Има диск с драйвъри и уж как се инсталира под линукс но са 10 папки и пробвах някои от тях, ефект няма. Резултатът от lspci: 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) Subsystem: Lenovo Device 3077 Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> Kernel driver in use: snb_uncore
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Lenovo Device 3077 Flags: bus master, fast devsel, latency 0, IRQ 44 Memory at fe000000 (64-bit, non-prefetchable) [size=4M] Memory at d0000000 (64-bit, prefetchable) [size=256M] I/O ports at f000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04) Subsystem: Lenovo Device 3077 Flags: bus master, fast devsel, latency 0, IRQ 42 Memory at fe42a000 (64-bit, non-prefetchable) [size=16] Capabilities: <access denied> Kernel driver in use: mei_me
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04) (prog-if 02 [16550]) Subsystem: Lenovo Device 3077 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17 I/O ports at f0e0 [size=8 Memory at fe429000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05) Subsystem: Lenovo Device 3077 Flags: bus master, fast devsel, latency 0, IRQ 40 Memory at fe400000 (32-bit, non-prefetchable) [size=128K] Memory at fe428000 (32-bit, non-prefetchable) [size=4K] I/O ports at f080 [size=32] Capabilities: <access denied> Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI]) Subsystem: Lenovo Device 3077 Flags: bus master, medium devsel, latency 0, IRQ 16 Memory at fe427000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05) Subsystem: Lenovo Device 3077 Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at fe420000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI]) Subsystem: Lenovo Device 3077 Flags: bus master, medium devsel, latency 0, IRQ 23 Memory at fe426000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000e000-0000efff Capabilities: <access denied>
00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset Family LPC Controller (rev 05) Subsystem: Lenovo Device 3077 Flags: bus master, medium devsel, latency 0 Capabilities: <access denied> Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0]) Subsystem: Lenovo Device 3077 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 41 I/O ports at f0d0 [size=8 I/O ports at f0c0 [size=4 I/O ports at f0b0 [size=8 I/O ports at f0a0 I/O ports at f060 [size=32 Memory at fe425000 (32-bit, non-prefetchable) [size=2K Capabilities: <access denied> Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05) Subsystem: Lenovo Device 3077 Flags: medium devsel, IRQ 10 Memory at fe424000 (64-bit, non-prefetchable) [size=256] I/O ports at f040 [size=32
01:00.0 Serial controller: Device 4651:7073 (rev 10) (prog-if 02 [16550]) Subsystem: Device 4651:7073 Flags: medium devsel, IRQ 20 I/O ports at e010 [size=8 I/O ports at e000 [size=8 Kernel driver in use: serial
|
|
|
13
|
Linux секция за начинаещи / Настройка на програми / Re: Package managers
|
-: Jun 24, 2015, 12:26
|
Инсталирах версията, към която ми даде линк. Резултатите в буутчарт са отново 1 минута. Въпреки това хронометъра ми показва 45 сек от натискането на рестарт бутона. Вижда се голяма разлика между настолния и лаптопа, а буутчарт дава само 5 секунди по-малко в полза на десктопа. Processor : 2x Intel(R) Pentium(R) CPU G620 @ 2.60GHz Memory : 3870MB (864MB used) Operating System : Ubuntu 14.04.2 LTS OpenGL Renderer : Mesa DRI Intel(R) Sandybridge Desktop
|
|
|
|