Quantcast
Channel: Ubuntu Forums - Hardware
Viewing all 20190 articles
Browse latest View live

[ubuntu] Utilise udev rules for loop device mounting as HDD

$
0
0
I am not well-verse on udev rules, but i am looking at ways how i can emulate / simulate a hdd (kernel device name) to pretend as thou a disk via utilising loop device.
Currently loop device is able to create a block device and creates /dev/loop[0-9]* devices.
There is also option / command to use mknod to create a node in /dev/ emulating /dev/sd[a-z]*

However, doing so somehow doesnt show up is the command lsblk. lsblk still looks at the /dev/loop naming convention.

This is how i create the loop device and remove :

Create:
dd if=/dev/zero of=vdd.bin bs=1M count=50
mkfs.ext4 qa-vdd.bin
mknod /dev/sdx b 7 500
chown root:disk /dev/sdx
losetup /dev/sdx vdd.bin


To remove:
losetup -d /dev/sdx
rm /dev/sdx

But lsblk do not see this as /dev/sdx but sees this as loop500 (Ubuntu 16.04)


hence, i read udev rules, hoping that this is possible to be done via udev rules detecting loop device and assigning proper /dev/sd[a-z]* device name.

Is this possible ?

Or any suggestion.

[ubuntu] ubuntu 17.10 not recognised my sound card

$
0
0
Code:

vgs@vgs-N360:~$ lsb_release -a
No LSB modules are available.
Distributor ID:        Ubuntu
Description:        Ubuntu 17.10
Release:        17.10
Codename:        artful
vgs@vgs-N360:~$ lspci | grep Audio
vgs@vgs-N360:~$ lspci | grep Audio
vgs@vgs-N360:~$ sudo lspci | grep Audio
[sudo] password for vgs:
vgs@vgs-N360:~$ grep "Codec:" /proc/asound/card*/codec*
grep: /proc/asound/card*/codec*: Böyle bir dosya ya da dizin yok
vgs@vgs-N360:~$ lsmod | grep snd
snd_soc_sst_bytcr_rt5640    24576  0
snd_soc_rt5670        131072  0
snd_soc_rt5645        147456  0
snd_soc_rt5640        118784  1 snd_soc_sst_bytcr_rt5640
snd_soc_tlv320aic31xx    49152  0
snd_intel_sst_acpi    16384  1
snd_intel_sst_core    77824  1 snd_intel_sst_acpi
snd_soc_sst_atom_hifi2_platform  102400  1 snd_intel_sst_core
snd_soc_sst_match      16384  2 snd_soc_sst_bytcr_rt5640,snd_intel_sst_acpi
snd_soc_rl6231        16384  3 snd_soc_rt5670,snd_soc_rt5640,snd_soc_rt5645
snd_soc_core          229376  6 snd_soc_sst_bytcr_rt5640,snd_soc_rt5670,snd_soc_rt5640,snd_soc_tlv320aic31xx,snd_soc_sst_atom_hifi2_platform,snd_soc_rt5645
snd_hdmi_lpe_audio    24576  3
snd_compress          20480  1 snd_soc_core
ac97_bus              16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm                98304  10 snd_soc_sst_bytcr_rt5640,snd_soc_rt5670,snd_hdmi_lpe_audio,snd_pcm_dmaengine,snd_soc_rt5640,snd_soc_tlv320aic31xx,snd_soc_sst_atom_hifi2_platform,snd_soc_rt5645,snd_soc_core
snd_seq_midi          16384  0
snd_seq_midi_event    16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device        16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
snd                    81920  14 snd_compress,snd_seq,snd_hdmi_lpe_audio,snd_timer,snd_soc_sst_atom_hifi2_platform,snd_rawmidi,snd_seq_device,snd_soc_core,snd_pcm
soundcore              16384  1 snd

Hi,
I installed ubuntu 17.10, but it didn't recognised my sound card. no sound from the speakers and
the sound output device appears to be an analog device.

Code:

aplay -l
**** PLAYBACK Donanım Aygıtlarının Listesi ****
kart 0: Audio [Intel HDMI/DP LPE Audio], aygıt 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Altaygıtlar: 1/1
  Altaygıt #0: subdevice #0
kart 0: Audio [Intel HDMI/DP LPE Audio], aygıt 1: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Altaygıtlar: 1/1
  Altaygıt #0: subdevice #0
kart 1: bytcrrt5640 [bytcr-rt5640], aygıt 0: Baytrail Audio (*) []
  Altaygıtlar: 1/1
  Altaygıt #0: subdevice #0
kart 1: bytcrrt5640 [bytcr-rt5640], aygıt 1: Deep-Buffer Audio (*) []
  Altaygıtlar: 1/1
  Altaygıt #0: subdevice #0

sorry to my english. .
I did a lot of research but I could not find a solution

[lubuntu] Lubuntu 17.04 video driver for Intel i915 chipset on Dell Latitude e6410

$
0
0
Trying to get better screen resolutions for this machine. Currently I can only get 1280x800 on the internal eDP1 display, and 1024x768 on the external VGA display. Here are some outputs of some common tests which might help in diagnosing the problem...

uname -a
Code:

Linux latitude 4.10.0-40-generic #44-Ubuntu SMP Thu Nov 9 14:49:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep VGA
Code:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
lspci -nnk | grep VGA -A1
Code:

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
    Subsystem: Dell Latitude E6410 [1028:040a]

lshw -c video
Code:

  *-display               
      description: VGA compatible controller
      product: Core Processor Integrated Graphics Controller
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 02
      width: 64 bits
      clock: 33MHz
      capabilities: msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915 latency=0
      resources: irq:26 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:70b0(size=8) memory:c0000-dffff

glxinfo | grep "version"
Code:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL version string: 2.1 Mesa 17.3.0-rc4
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.3.0-rc4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

inxi -Fxz
Code:

System:    Host: latitude Kernel: 4.10.0-40-generic x86_64 (64 bit gcc: 6.3.0)
          Desktop: LXDE (Openbox 3.6.1) Distro: Ubuntu 17.04
Machine:  Device: laptop System: Dell product: Latitude E6410 v: 0001
          Mobo: Dell model: N/A BIOS: Dell v: A06 date: 11/20/2010
Battery    BAT0: charge: 56.0 Wh 256.2% condition: 21.9/56.0 Wh (39%)
          model: SMP DELL TX28306 status: Full
CPU:      Dual core Intel Core i5 M 540 (-HT-MCP-) cache: 3072 KB
          flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10108
          clock speeds: max: 2534 MHz 1: 1333 MHz 2: 1199 MHz 3: 1199 MHz
          4: 1999 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
          bus-ID: 00:02.0
          Display Server: X.Org 1.19.3 driver: intel
          Resolution: 1280x800@60.14hz, 1024x768@60.00hz
          GLX Renderer: Mesa DRI Intel Ironlake Mobile
          GLX Version: 2.1 Mesa 17.3.0-rc4 Direct Rendering: Yes
Audio:    Card Intel 5 Series/3400 Series High Definition Audio
          driver: snd_hda_intel bus-ID: 00:1b.0
          Sound: Advanced Linux Sound Architecture v: k4.10.0-40-generic
Network:  Card-1: Intel 82577LM Gigabit Network Connection
          driver: e1000e v: 3.2.6-k port: 7040 bus-ID: 00:19.0
          IF: eno1 state: down mac: <filter>
          Card-2: Intel Centrino Ultimate-N 6300
          driver: iwlwifi bus-ID: 02:00.0
          IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 320.1GB (4.2% used)
          ID-1: /dev/mmcblk0 model: N/A size: 32.0GB
          ID-2: /dev/sda model: TOSHIBA_MQ01ACF0 size: 320.1GB temp: 37C
Partition: ID-1: / size: 197G used: 9.1G (5%) fs: ext4 dev: /dev/sda3
          ID-2: /boot size: 470M used: 125M (29%) fs: ext2 dev: /dev/sda1
          ID-3: swap-1 size: 3.70GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:  System Temperatures: cpu: 54.0C mobo: N/A
          Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 189 Uptime: 2:58 Memory: 1273.4/3807.5MB
          Init: systemd runlevel: 5 Gcc sys: 6.3.0
          Client: Shell (bash 4.4.71) inxi: 2.3.8

modinfo i915
Code:

filename:      /lib/modules/4.10.0-40-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:        Intel Corporation
author:        Tungsten Graphics, Inc.
firmware:      i915/bxt_dmc_ver1_07.bin
firmware:      i915/skl_dmc_ver1_26.bin
firmware:      i915/kbl_dmc_ver1_01.bin
firmware:      i915/skl_guc_ver6_1.bin
srcversion:    E344723FEE4FBA650921D4D
alias:          pci:v00008086d0000593Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00005927sv*sd*bc03sc*i*
alias:          pci:v00008086d00005926sv*sd*bc03sc*i*
alias:          pci:v00008086d00005923sv*sd*bc03sc*i*
alias:          pci:v00008086d0000591Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000591Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000591Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00005912sv*sd*bc03sc*i*
alias:          pci:v00008086d0000591Esv*sd*bc03sc*i*
alias:          pci:v00008086d00005921sv*sd*bc03sc*i*
alias:          pci:v00008086d00005916sv*sd*bc03sc*i*
alias:          pci:v00008086d0000590Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000590Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00005908sv*sd*bc03sc*i*
alias:          pci:v00008086d00005902sv*sd*bc03sc*i*
alias:          pci:v00008086d0000590Esv*sd*bc03sc*i*
alias:          pci:v00008086d00005906sv*sd*bc03sc*i*
alias:          pci:v00008086d00005917sv*sd*bc03sc*i*
alias:          pci:v00008086d00005915sv*sd*bc03sc*i*
alias:          pci:v00008086d00005913sv*sd*bc03sc*i*
alias:          pci:v00008086d00005A85sv*sd*bc03sc*i*
alias:          pci:v00008086d00005A84sv*sd*bc03sc*i*
alias:          pci:v00008086d00001A85sv*sd*bc03sc*i*
alias:          pci:v00008086d00001A84sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A84sv*sd*bc03sc*i*
alias:          pci:v00008086d0000193Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000193Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000193Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001932sv*sd*bc03sc*i*
alias:          pci:v00008086d0000192Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000192Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001927sv*sd*bc03sc*i*
alias:          pci:v00008086d00001926sv*sd*bc03sc*i*
alias:          pci:v00008086d00001923sv*sd*bc03sc*i*
alias:          pci:v00008086d0000191Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000191Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000191Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001912sv*sd*bc03sc*i*
alias:          pci:v00008086d0000191Esv*sd*bc03sc*i*
alias:          pci:v00008086d00001921sv*sd*bc03sc*i*
alias:          pci:v00008086d00001916sv*sd*bc03sc*i*
alias:          pci:v00008086d0000190Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000190Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001902sv*sd*bc03sc*i*
alias:          pci:v00008086d0000190Esv*sd*bc03sc*i*
alias:          pci:v00008086d00001906sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B3sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B2sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B1sv*sd*bc03sc*i*
alias:          pci:v00008086d000022B0sv*sd*bc03sc*i*
alias:          pci:v00008086d0000163Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000163Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000163Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000163Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001636sv*sd*bc03sc*i*
alias:          pci:v00008086d00001632sv*sd*bc03sc*i*
alias:          pci:v00008086d0000162Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000162Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000162Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000162Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001626sv*sd*bc03sc*i*
alias:          pci:v00008086d00001622sv*sd*bc03sc*i*
alias:          pci:v00008086d0000161Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000161Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000160Dsv*sd*bc03sc*i*
alias:          pci:v00008086d0000160Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000161Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000161Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001616sv*sd*bc03sc*i*
alias:          pci:v00008086d00001612sv*sd*bc03sc*i*
alias:          pci:v00008086d0000160Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000160Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00001606sv*sd*bc03sc*i*
alias:          pci:v00008086d00001602sv*sd*bc03sc*i*
alias:          pci:v00008086d00000155sv*sd*bc03sc*i*
alias:          pci:v00008086d00000157sv*sd*bc03sc*i*
alias:          pci:v00008086d00000F33sv*sd*bc03sc*i*
alias:          pci:v00008086d00000F32sv*sd*bc03sc*i*
alias:          pci:v00008086d00000F31sv*sd*bc03sc*i*
alias:          pci:v00008086d00000F30sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D26sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D16sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D06sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A2Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000A1Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000A0Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000A26sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A16sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A06sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C26sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C16sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C06sv*sd*bc03sc*i*
alias:          pci:v00008086d00000426sv*sd*bc03sc*i*
alias:          pci:v00008086d00000416sv*sd*bc03sc*i*
alias:          pci:v00008086d00000406sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D2Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000D1Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000D0Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000D2Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000D1Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000D0Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000D2Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000D1Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000D0Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000D22sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D12sv*sd*bc03sc*i*
alias:          pci:v00008086d00000D02sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A2Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000A1Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000A0Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000A2Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000A1Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000A0Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000A22sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A12sv*sd*bc03sc*i*
alias:          pci:v00008086d00000A02sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C2Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000C1Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000C0Esv*sd*bc03sc*i*
alias:          pci:v00008086d00000C2Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000C1Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000C0Bsv*sd*bc03sc*i*
alias:          pci:v00008086d00000C2Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000C1Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000C0Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000C22sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C12sv*sd*bc03sc*i*
alias:          pci:v00008086d00000C02sv*sd*bc03sc*i*
alias:          pci:v00008086d0000042Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000041Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000040Esv*sd*bc03sc*i*
alias:          pci:v00008086d0000042Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000041Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000040Bsv*sd*bc03sc*i*
alias:          pci:v00008086d0000042Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000041Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000040Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000422sv*sd*bc03sc*i*
alias:          pci:v00008086d00000412sv*sd*bc03sc*i*
alias:          pci:v00008086d00000402sv*sd*bc03sc*i*
alias:          pci:v00008086d0000016Asv*sd*bc03sc*i*
alias:          pci:v00008086d0000015Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000162sv*sd*bc03sc*i*
alias:          pci:v00008086d00000152sv*sd*bc03sc*i*
alias:          pci:v00008086d00000166sv*sd*bc03sc*i*
alias:          pci:v00008086d00000156sv*sd*bc03sc*i*
alias:          pci:v00008086d0000016Asv0000152Dsd00008990bc03sc*i*
alias:          pci:v00008086d00000126sv*sd*bc03sc*i*
alias:          pci:v00008086d00000116sv*sd*bc03sc*i*
alias:          pci:v00008086d00000106sv*sd*bc03sc*i*
alias:          pci:v00008086d0000010Asv*sd*bc03sc*i*
alias:          pci:v00008086d00000122sv*sd*bc03sc*i*
alias:          pci:v00008086d00000112sv*sd*bc03sc*i*
alias:          pci:v00008086d00000102sv*sd*bc03sc*i*
alias:          pci:v00008086d00000046sv*sd*bc03sc*i*
alias:          pci:v00008086d00000042sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A011sv*sd*bc03sc*i*
alias:          pci:v00008086d0000A001sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E92sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E42sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E32sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E22sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E12sv*sd*bc03sc*i*
alias:          pci:v00008086d00002E02sv*sd*bc03sc*i*
alias:          pci:v00008086d00002A42sv*sd*bc03sc*i*
alias:          pci:v00008086d00002A12sv*sd*bc03sc*i*
alias:          pci:v00008086d00002A02sv*sd*bc03sc*i*
alias:          pci:v00008086d000029D2sv*sd*bc03sc*i*
alias:          pci:v00008086d000029C2sv*sd*bc03sc*i*
alias:          pci:v00008086d000029B2sv*sd*bc03sc*i*
alias:          pci:v00008086d000029A2sv*sd*bc03sc*i*
alias:          pci:v00008086d00002992sv*sd*bc03sc*i*
alias:          pci:v00008086d00002982sv*sd*bc03sc*i*
alias:          pci:v00008086d00002972sv*sd*bc03sc*i*
alias:          pci:v00008086d000027AEsv*sd*bc03sc*i*
alias:          pci:v00008086d000027A2sv*sd*bc03sc*i*
alias:          pci:v00008086d00002772sv*sd*bc03sc*i*
alias:          pci:v00008086d00002592sv*sd*bc03sc*i*
alias:          pci:v00008086d0000258Asv*sd*bc03sc*i*
alias:          pci:v00008086d00002582sv*sd*bc03sc*i*
alias:          pci:v00008086d00002572sv*sd*bc03sc*i*
alias:          pci:v00008086d0000358Esv*sd*bc03sc*i*
alias:          pci:v00008086d00003582sv*sd*bc03sc*i*
alias:          pci:v00008086d00002562sv*sd*bc03sc*i*
alias:          pci:v00008086d00003577sv*sd*bc03sc*i*
depends:        drm_kms_helper,drm,video,i2c-algo-bit
intree:        Y
vermagic:      4.10.0-40-generic SMP mod_unload
parm:          modeset:Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)
parm:          panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm:          semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm:          enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm:          enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6) (int)
parm:          enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:          lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:          lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:          vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:          reset:Attempt GPU resets (default: true) (bool)
parm:          error_capture:Record the GPU state following a hang. This information in /sys/class/drm/card<N>/error is vital for triaging and debugging hangs. (bool)
parm:          enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm:          enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full, 3=full with extended address space) (int)
parm:          enable_execlists:Override execlists usage. (-1=auto [default], 0=disabled, 1=enabled) (int)
parm:          enable_psr:Enable PSR (0=disabled, 1=enabled - link mode chosen per-platform, 2=force link-standby mode, 3=force link-off mode) Default: -1 (use per-chip default) (int)
parm:          alpha_support:Enable alpha quality driver support for latest hardware. See also CONFIG_DRM_I915_ALPHA_SUPPORT. (int)
parm:          disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:          enable_ips:Enable IPS (default: true) (int)
parm:          fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm:          prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm:          load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:          force_reset_modeset_test:Force a modeset during gpu reset for testing (default:false). For developers only. (bool)
parm:          invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:          disable_display:Disable display (default: false) (bool)
parm:          enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
parm:          use_mmio_flip:use MMIO flips (-1=never, 0=driver discretion [default], 1=always) (int)
parm:          mmio_debug:Enable the MMIO debug code for the first N failures (default: off). This may negatively affect performance. (int)
parm:          verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:          nuclear_pageflip:Force atomic modeset functionality; asynchronous mode is not yet supported. (default: false). (bool)
parm:          edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:          enable_guc_loading:Enable GuC firmware loading (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:          enable_guc_submission:Enable GuC submission (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:          guc_log_level:GuC firmware logging level (-1:disabled (default), 0-3:enabled) (int)
parm:          enable_dp_mst:Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)
parm:          inject_load_failure:Force an error after a number of failure check points (0:disabled (default), N:force failure at the Nth failure check point) (uint)
parm:          enable_dpcd_backlight:Enable support for DPCD backlight control (default:false) (bool)
parm:          enable_gvt:Enable support for Intel GVT-g graphics virtualization host support(default:false) (bool)

I've been reading up a lot, and tried various things. As far as I can remember, the only thing I have in place that isn't standard is a new file, /etc/X11/xorg.conf which contains the lines...
Code:

Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "sna"
EndSection

Beyond that, nothing I've tried so far has had any effect, so I have undone any changes I made, reverting back to a fairly stock standard Lubuntu installation. Any suggestions on how to get this video card working properly, so that it supports higher resolutions?

HDD failure?

$
0
0
Hey my laptop HDD is about 3 years old. Sometimes then i move the laptop, it freezes and i have to restart it. I have run a SMART analyes and it says: "Disk is okay, one failing attribute is failing".

I have dual boot with windows and wont to make a clean install soon, to try new linux distribution and get less windows.

I was wondering if my HDD needs to be replaced before i do that?

dffdf.jpg
Attached Images

scanning with xsane from canoscan lide 60

$
0
0
I have an canoscan lide 60 connected 2 an mint 18.2 operating system.
I installed xsane, xsanae-commons, xsane-doc and libsane.

The scanner is detected by xsane but when it is trying to scan it results in "Failed to start scanner: Document feeder jammed".
There is an dead link to an mini how2 on this page:
https://wiki.ubuntu.com/HardwareSupp...sScannersCanon
With the information there i could handle it myself, but without i hope you can help me.
I have the same problems like Alan F in this thread [ https://ubuntuforums.org/showthread.php?t=899605] except that my cable is working and tested.
Alan F stated that he did 3 things that helped him following the mini how2:
1. "sane-find-scanner command was OK"
>>>i guess he means Xsane is detecting the scanner. That works !!
2. "dll.conf modified as shown"
3. "45-libsane.rules did not exist but I created it and added the lines as shown"

If you could figure out what step 2 and 3 include, or could provide other solutions you would be very helpful.

With regards, Johann

[We are providing a school in the Netherlands (free, natural learning based on selfdetermination and basicdemocratic values) with debian-kde-edu terminals including a lot of tweaks. The scanner will be placed in the kids office]

Supporting 2013 GPU hardware on latest LTS ?

$
0
0
Hi

I got a brand new install of Ubuntu on a 2013 desktop and was wondering if there would be any benefit to me attempting to get drivers installed for the GPU that was in it. The monitor is currently plugged into the Intel board but there is a Radeon card in the PC as well.

IF no benefit then I'll just forget it but I was hoping that I could get some benefit (Like scaling which I don't currently have and screen image seems to be clipped at the bottom) since the card was there already, if the drivers are stil supported of course.

lspci -nn | grep -E 'VGA|Display' result
Code:

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM] [1002:6771]

Ubuntu version info

Code:

No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 17.10
Release:    17.10
Codename:    artful

Blacklist amdgpu.

$
0
0
I'm having trouble with pci passthough, I have one nVidia card, and one AMD card. I want to pass the AMD card to Qemu, but I need to blacklist the amdgpu module to do it. However, whenever I do, I'm greeted with no signal to the nVidia card.

Ubunutu 16.04 LTS

Why does blacklisting amdgpu affect the nVidia card?

Code:

lspci -nnk -d 1002:67df
23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:67df] (rev e7)
    Subsystem: Gigabyte Technology Co., Ltd Device [1458:22fc]
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
jam@AMD:~$ lspci -nnk -d 10de:0df8
22:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GL [Quadro 600] [10de:0df8] (rev a1)
    Subsystem: Hewlett-Packard Company GF108GL [Quadro 600] [103c:0835]
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio 
vfio_iommu_type1 
vfio_pci 
vfio_virqfd 
kvm 
kvm_amd

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1"

/etc/modprobe.d/vfio.conf

options vfio-pci ids=1002:67df,1002:aaf0

/etc/mkinitcpio.conf


MODULES="... vfio vfio_iommu_type1 vfio_pci vfio_virqfd ..."
HOOKS="... modconf ..."

Good mini-pcie wifi card for laptop

$
0
0
Hi All,

I am currently using a thinkpad t70 with ubuntu 17.04, and I only had an old (10 years or so I guess) wifi adapter lying around to use: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (from lspci)

I am not very satisfied with the performance after a few months of use. Frequently the network will disconnect with no way to re-enable besides a script I wrote to disable and re enable the driver itself. Also, the general performance when connected is fairly slow, and I almost never get full bars. I have verified, of course, that the stock antennas are connected properly.

Can anyone recommend a more modern laptop wifi card that is definitely fully supported by current linux drivers?

Thank you for reading.

[ubuntu] GeForce GT 520 graphics card not found

$
0
0
Hi,
I have installed (hardware) a GV-N520D3-1GI (gigabyte) graphics card. When installing Nvidia Driver, the installation program can't locate hardware. I understand it could be a conflict with an open source Nouveau driver.

When looking at Ubuntu software centre I've found libdrm-nouveau2 is currently installed, but I'm unable to remove due to many dependencies. I can copy & paste in the list of dependencies for libdrm-nouveau2 if this is related to the graphics driver not working.

I desperately need to have this graphics card running to gain accelerated graphics. Can you please help.

[ubuntu_budgie] Screen flicker and excessive refresh

$
0
0
I've installed budgie over my regular 17.10 on my lenovo R60. There is no problem with Ubuntu but budgie flickers a lot and with every mouse movement over windows control elements (sliders, click boxes etc) provokes massive refresh and sometimes shows a big horizontal lightning across the whole screen. All other Ubuntu flavors run perfectly. What's going on here?

[ubuntu] USB SD card reader only reads one card per USB slot

$
0
0
Ubuntu on my computer will mount one SD card on a USB reader with no problem. If I want to read another, I have to either unplug the reader and move it to a different USB slot or reboot. I am unmounting before trying to change cards. The next card after that I can move it back to the original slot and it will work. This is true with multiple cards, multiple readers, multiple USB ports and multiple upgrades of Ubuntu--I'm currently on 17.10, but I've had this problem for several years and several OS updates. I've tried adding the line sm_ftl to my /etc/modules and rebooting, that's the best a Google search turned up and it didn't work for me. Not a huge problem but annoying-any ideas for troubleshooting?

Cannot Adjust Brightness 17.10!

$
0
0
Team,

Fresh install of 17.10.
Looking great - Lenovo Yoga 910 - i7-7500 Kaby Lake -
My screen starts to flicker - screen is going insane.
I remember that I have to put nomodeset in my grub config.

My brightness WORKED before I put nomodeset in my grub config.
Now, the flickering is gone; but cannot change the brightness.
Any insight?

Here's my config:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xe fefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"


Here is my lspci -kvv

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo HD Graphics 620
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 255
Region 0: Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 90000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 4000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 14
PASIDCtl: Enable- Exec- Priv-
Capabilities: [200 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable-, Smallest Translation Unit: 00
Capabilities: [300 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 00008000, Page Request Allocation: 00000000
Kernel modules: i915

[ubuntu_studio] No sound in new install UB 16.04

$
0
0
I did a new install on this machine last night and have alway found it hard to get the sound happening in Linux. I have a speaker system plugged into the onboard sound and doesn't seem to matter what i select in sound settings/volume control i am getting nowhere. Seems a lot is greyed out like the speaker icon in the tray next to the date and sometimes when i am adjusting settings the speaker icon goes red therefore i guess showing me it is mute? I am sure the speaker system is on and plugged in. I always know as there is a sound it makes through the speakers. I think last time i did a fresh install on another machine a couple of years ago someone sent me a tutorial maybe but googling has not brought anbything reflecting this version of linux or anything close to it. I do understand ubuntustudio has all sorts of fancy sound things that i have found it impossible to master. I stick to stuff i can work with like audacity and cinelerra that doesnt rely on that

dual booted pc - touchpad isn't working

$
0
0
I have Lenovo Ideapad 320 15abr with an AMD A12-9720P RADEON 7 cpu. I dual booted the pc with Ubuntu 16.04 LTS. When I'm using Ubuntu the mouse and touchpad stop working. But if I use Windows 10 the touchpad and mouse works.
Please walk me through the process of fixing this problem. :confused:

CM storm led wont light up

$
0
0
Xset is not working on 17.10. I can only make it work in recovery mode but still cant type. HAAAALP!

Keyboard Microsoft Surface

$
0
0
Good Evening,
i have installed a bluetooth Microsoft Keyboard surface on ubuntu 16.04.3

Ubuntu bluetooth recognize the keyboard, but not working.

Thanks

Acer Mouse/Touchpad Settings Not Working?

$
0
0
I'm not the op (who has disappeared) but I'm having the same problem.
I'm on an acer es1 something something.
I haven't updated my ubuntu for a while (I'll try it in a minute...).
I went into settings, mouse and touchpad, made it right-button as primary, and it hasn't changed anything.
I thought it had but nope.
If I click the right button I get the options menu and the left button is select.
I closed it, opened it again and it still *says* right button is primary, but that's not what it's doing.
And my touchpad isn't doing "tap.to select" - it's basically just a glorified scrollpad.

[ubuntu] Setup HP Deskjet 2540 for wireless operation

$
0
0
Ubuntu 16.04, latest hplip
I have tried for over a year to get my HP Deskjet 2540 to work wirelessly. I have read all post which purport to explain how to do it - all say that their method is foolproof but, although the printer works OK on USB cable I fail to get it to operate on wifi.
Can anyone point me to a DEFINITIVE set of instructions?

[ubuntu] HP Deskjet becomes "Dis-enabled" almost daily.

$
0
0
Ubuntu 16.04
Why does the above printer drop its Enabled status and fail to operate? I know it is simple to correct this but it means opening System Settings, Printers and the HPDeskjet Properties , Policies and click the box next to Enabled. Is there a way to make it stay enabled without all that palaver?

Previously good HP USB scanner not working following upgrade to 17.10

$
0
0
Following a recent upgrade of Kubuntu from 17.04 to 17.10 my Hewlett Packard PSC-1317 All-in-one printer/scanner/copier is now a Some-in-one printer/copier: I can no longer scan. I have had a similar problem with at least one previous upgrade and have somehow managed to resolve it with advice from existing forum threads etc, although I cannot of course now remember how . This despite the fact that this printer is not on the list of sane supported devices here.


Attempting to scan from the HP Device Manager yields error message:


Code:

Failed to open device ‘hpaio:/usb/psc_1310_series?serial=UA4CICB26QT5’: Operation not supported.

Note that the device-uri per HP Device Manager console > View Printer and Device Information is slightly different
Code:

hp:/usb/psc_1310_series?serial=UA4CICB26QT5
. I checked file /etc/sane.d/dll.conf and `hpaio` - the last entry - is not commented out. The serial *does* match the sticker on the machine (although the last two characters are missing, for some reason).


Attempting to run any scanning utility, eg Skanlite or Xsane, simply results in a message that no devices are found or available, however, running sudo sane-find-scanner from console gives


Code:

found USB scanner (vendor=0x03f0 [hp], product=0x3f11 [psc 1310 series ]) at libusb:003:005 [usb coordinates vary].

I have hplip-3.17.10 installed, I have installed both automatically and with the manual process adapted from the somewhat out-of-date advice from HP here.


Adapting advice from here according to files and directories I actually have/can find, and the instructions within them, I have created two new files:


1. File /etc/udev/rules.d/hp-psc1317.rules (to augment /lib/udev/rules.d/60-libsane1.rules):


Code:

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="psc1317_rules_end"
    \#Hewlett-Packard All-in-one PSC1317
    SYSFS{idVendor}=="03F0", SYSFS{idProduct}=="3F11", SYMLINK+="HP-PSC1317", MODE="0664", OWNER="root", GROUP="scanner"
    LABEL="psc1317_rules_end"



2. File /etc/udev/hwdb.d/psc1317.hwdb (to augment /lib/udev/hwdb.d/20-sane.hwdb):

Code:

usb:v03F0p3F11*
      libsane_matched=yes


Even after dis-/reconnecting the USB printer cable and even rebooting, no dice. Note that the file (pseudofile?) /dev/bus/usb/003/005 was already in place, I guess because the printer function is already good - I’m not really clear whether the scanner and printer, for all that they are the same physical device, should have the same USB coordinates?


That’s everything I can think of that’s relevant. Glad for any advice.
Viewing all 20190 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>