Sound not working anymore after unplugging HDMI cable

I recently experienced a weird behaviour of the sound system on my laptop.

I connect my laptop via HDMI on a TV and choose to use the sound system of the TV in Parameters > Sound. Then I unplug the HDMI cable and I am unable to listen to anything on my computer.

To get the sound back on the laptop I have to connect my laptop the TV again and choose to use the internal sound system. And then only unplug the computer.

Is there a way to switch to the internal sound system without having to perform the previous procedure ?

Cable driver for xilinx board in ubuntu

In Xilinx document ug973, on page 36-37, it describe how to install and remove cable driver in linux.

“Run these commands as root. Note replace $ {vivado_install_dir} with the location of your vivado install location.$ {vivado_install_dir}/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers”

I am wondering which command I need to run the script, see the screenshot in attachment.


Ethernet ‘cable unpluged’ when waking up laptop from sleep

I have this weird issue whenever I wake up my lap top from sleeping, the Ethernet connection could not be detected. I managed to get it working by removing network module and adding it again.

rmmod r8169 modprobe r8169 

However I want to make those wake ups seamless, I don’t want to manually run those command when lap wake up in order to have Ethernet connection.

uname -a Linux pc-name 4.16.0-041600-generic #201804012230 SMP Sun Apr 1 22:31:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux  ifconfig -a enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet  netmask  broadcast         inet6 fe80::7020:d2e9:225b:9004  prefixlen 64  scopeid 0x20<link>         ether 54:48:10:e3:a3:56  txqueuelen 1000  (Ethernet)         RX packets 5919  bytes 3436132 (3.4 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 5752  bytes 667433 (667.4 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet  netmask         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 8101  bytes 610092 (610.0 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 8101  bytes 610092 (610.0 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet  netmask  broadcast         inet6 fe80::392d:4fdb:372f:3381  prefixlen 64  scopeid 0x20<link>         ether 34:e1:2d:f8:1d:f3  txqueuelen 1000  (Ethernet)         RX packets 9592  bytes 4262963 (4.2 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 6766  bytes 1125519 (1.1 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

Please let me share additional information which is helpful to resolve the issue, I do not know which.


Ubuntu 18.04 does not recognize the android smartphone by usb cable connection

I use ubuntu 18.04 and android 8.0.0 in a Moto Z2 Play. What I’ve tried: 1 – I reinstalled the mtp-tools package. 2- Check if the android is configured for USB MPT connection in the developer options of the smartphone. 3- I installed android-file-transfer 4- I tried installing with the smartphone connected in the USB I receive in response to the commands:


Bus 001 Device 002: ID 8087: 8000 Intel Corp. Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b: 0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 8087: 07dc Intel Corp. Bus 002 Device 003: ID 1bcf: 28b4 Sunplus Innovation Technology Inc. Bus 002 Device 002: ID 138a: 0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub 


libmtp version: 1.1.13 Listing raw device (s)      No raw devices found. 

Battery charging is operating normally.

Lenovo Legion PXI-E61 Media Test Failure, Check Cable. Exiting PXE ROM. Then restarts and works fine

After a series of unfortunate events, I was finally able to install ubuntu 19.04 in my Lenovo Legion Y530. I had to install the OS for like 10 times after erasing the last ubuntu installation again and again. (after erasing the preinstalled windows 10 for the first time) and in Legacy Mode. Now the problem I am facing is the following:

When I start the machine, after displaying Legion logo, the following message comes:

Intel UNDI , PXE 2.1 ....Realtek PCIe GBE family controller series v2.66... PXE-E61: Media Test Failure, check cable. PXE-M0F: Exiting PXE ROM. 

After that, it shuts down, starts again and loads ubuntu properly

Specs and other info:

Lenovo Legion Y530 No Dual Boot HDD (No SDD) 8 GB RAM 4 GB NVIDIA GeForce 1050 Ubuntu 19.04 Legacy Mode 

I don’t know why is it happening?

Is there such a thing as a modern cable modem without an onboard operating system?

Is there such a thing as a modern cable modem without an onboard operating system? I’m looking for examples of specific models, in particular.

Every modem I’ve looked at has a Web interface (e.g., the Arris SB6141 and the Netgear CM1000), which suggests to me that they all have an onboard Linux operating system installed that can be hacked and reconfigured to maliciously route traffic like a router.

(I imagine that all modems are going to involve some kind of firmware, but I also imagine that it doesn’t need to be a whole operating system.)

Can not transfer files between phone and computer.via usb cable

When I connected my phone to computer via USB, it doesn’t show option to choose charging or file transfer. It is always in charging mode. It is used to work correctly. I don’t know what happened. I checked all settings and couldn’t find any setting to change that. I tried the following things

  • Enabled USB debugging
  • Tried to connect phone with another USB cable
  • Tried to connect through different ports
  • Tried to connect to a different computer

Still nothing worked. I tried to connect another phone with my computer and it works fine. So I can confirm something is wrong with my phone. I had changed my charging port a month ago. I haven’t connected my phone with my computer since. I don’t know if it has anything to do with this issue. Can somebody explain ?

  • Model Number : Lenovo A6010
  • Android version : 5.0.2

Private networking with direct crossover Ethernet cable failing

I have two home computers. One is running 16.04 and the other had 14.04 installed. The 14.04 machine has since been upgraded to 18.04.

When it was 14.04 and 16.04, connecting the two computers directly with an Ethernet cable was a straightforward matter. I’d set static IPs via an dialog like the one below and I’d be ready.

enter image description here

It’s not as straightforward with 18.04, apparently. Before my attempt to pair the two computers with the cable, I was using a Wired connection 1 to connect to the Internet on the 18.04 machine — I’d just plug it in and I’d be online in seconds. After the pairing attempt, not only were the two machines not seeing each other on the private network as I was expecting, but Wired connection 1 is no longer connecting to the Internet when I switch to it.

Here is the dialog I’m struggling with on 18.04. As can be seen, it’s different from the first image which is the dialog on both 14.04 and 16.04.

enter image description here

So how do I do it?

OTG cable one way only?

I have an OTG usb cable from male micro B to female type A. I use it in conjunction with a regular male type a to male micro b usb cable. So the type A-s are connected and there is a micro b male on each end. Here’s the thing. When I connect something let’s say a game controller, If I plug the OTG end into the phone and the regular USB cable into the controller it works. If I flip it around and plug the OTG into the controller and the regular into the phone, it doesn’t. What gives?

If I connect a SATA3 6Gbps SSD to a SAS2 6Gbps port using a breakout cable, will I get SATA3 speeds?

I have 2 SATA3 SSDs in my server, which are currently connected to SATA2 ports. If I wanted to get SATA3 speeds out of them instead, could I buy a SAS2 HBA and use an SFF-8087 to SATA breakout cable to get 6Gbps speeds out of it (since SAS2 is Gbps) or would I need a SAS3 or SATA3 card to get those speeds?