Posted in Fedora, Hardware, System, Users

Problems with USB ports

 

If you’re experiencing problems with USB ports, ABRT is throwing system error messages or you something odd related to USB during the boot, here you have two ways to find out what’s going on.  Once you know there are two possible ways to sort it out. Let’s see.

 

Commands

If the error, or at least the error message, just happened, you can run this command:

journalctl -xe

and this will show you what just happened.

If you only notice the problem time later, you can run this another command:

dmesg

and search for errors related to USB ports.

 

Looking for a solution

Now you know what happened you can search for it Google with a simple search, or in wiki pages or books, or in forums, groups and mailing lists.  If it’s not urgent, always try the Google Search first.

 

Aftermath

Write down the solutions that worked in a note and keep it handy.  That will save you time and headache in the next opportunity an error occurs.

 

Hope this is useful for you, thanks for reading!

 

 

Posted in Philosophy, System, Users

Now Windows is Linux friendly

 

Before switching discs in my laptop I prepared two DVD  (I have no spare USB sticks or SD memories),  one with Windows 8.1 and one with Fedora 25 Workstation.  Much to my dismay I later come to learn that Fedora doesn’t boot from optical devices like CD & DVD, so I used the only Linux I had, an OpenSuSe USB stick I’ve got from OpenRheinRuhr.

Now… for years we were all told  “Install Windows first because Linux recognises Win partitions but the viceversa doesn’t apply”.  So I installed Windows first.  And it did recognised the existing partitioning including, yes, Linux volumes.  I wanted to start over so I just deleted everything and assign it to Windows.

But it’s not just that.  With a small app, you can use your Linux partitions from Windows as if they were… well, other partitions.  Office recognises ODT formats and opens them without errors or complains  (it used to make a fuss years ago).  And… oh, this is my favourite!  Windows doesn’t label Linux/Open Source stuff as virus as it always did.  And visiting Linux pages doesn’t trigger a lot of alarms in your system saying it’s dangerous and evil and you should leave that site to never come back.

So if you’re planning to make a dual boot of your computer, go ahead, Windows won’t get in your way anymore.

 

 

Posted in Hardware, OpenSuSe, System

Update on touchpad issues

 

As you could read in this post I experienced issues with my touchpad for a month or so before finding  (almost by luck)  the solution.  Now I come to know that this solution is Fedora specific.  I recently installed OpenSuSe in my laptop and went to the touchpad configuration.  As I expected  (SuSe uses software that is slightly older than Fedora)  everything worked except scrolling.  Therefore, I deactivated my touchpad and started using mouse again.

Today I decided to use the solution provided by a dev in Riot as you can see here, but it turned out that this command doesn’t work in OpenSuSe.  I thought I had to resign to keep using mouse but before giving up I tried my touchpad again.  And it works.  The command doesn’t work but an update solved the issue days ago.  I just didn’t know.

Now I’m happy using my touchpad again.  On OpenSuSe.

 

 

Posted in Drivers, Fedora, Hardware, System

A light on graphic cards

 

Issues with graphic cards like AMD & Nvidia has been a real pain from the beginning of times.  At least to Linux.  Their privative drivers, with more or less open source alternatives don’t work in all machines, etc.  Here I’m posting some solutions found through posts in a forum and conversations with friends.  Everything worked but not all the times or to everybody. So, if something doesn’t works, try the next suggestion and so on, until you find the solution that suits you best.  If nothing works, and before you run away from Linux Fedora, please post your issue here and I’ll try to find a solution or point you out to the best places to find it.

 

Fast tip in a Gnome fresh install

If you just installed Fedora Workstation on Nvidia laptop and screen isn’t working quite well, here’s a fast tip:

Posting a tip for new install of Fedora 23 and sluggish login screen:
Specs:
Asus Z97-AR
Intel i5-4690K
Nvidia GeForce GTX 970
16GB RAM DDR3 2400
Samsung 840 SSD

I ran into an issue as soon as the PC booted to the login screen it appeared really sluggish. Moving the mouse took forever. What I found that worked for me based on a few post out there is to edit the /etc/gdm/custom.conf and uncomment the WaylandEnable=false.
Smooth sailing for me now.

Thanks to Edward Crosby for this tip.


 

Earl Ramírez had an ASUS laptop with Nvidia Optimus technology.  He tried Bumblebee but failed to succeed. Therefore, he sent an email to the Fedora list.

I have a ASUS laptop with NVIDIA Optimus technology, therefore, I used the Fedora documentation [0] to install bumbleeble using the third party managed driver to install NVIDIA. After the installation I am no longer seeing the NVIDIA when I use ‘lspci | grep VGA’; however, when I use ‘lspci | egrep ‘VGA|3D” I can see the NVIDIA video card.
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
$ lspci | egrep ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Also I no longer see the vgaswitcheroo under /sys/kernel/debug/. When I try to boot with the kernel that NVIDIA was build on; the laptop locks up just before the GUI and you will hear the fans blowing and the only way around it is to power the laptop down. I have tried booting into that kernel with different kernel parameters; E.g. nomodeset rd.driver.blacklist=nouveau and even i915.preliminary_hw_support=1 and all options and combinations fails.
However when I boot from the kernel that NVIDIA was not compiled on I can the the get a display that says “oops something went wrong, please try again” and there is an option to log out, I can also switch to another virtual console and have full access to the OS. I get the same behaviour even if I use nomodeset; however, if I use i915.preliminary_hw_support=1 I get the appropriate resolution.
Can anyone shed some light on how to get the GUI, with bumblebee or even the Intel graphic drivers?

 

I skip the boring details to jump into the suggested solutions.

Check the packages installed.  You should have these ones at least:

primus-1.1.03282015-2.fc23.x86_64
bumblebee-nvidia-352.63-2.fc23.x86_64
bbswitch-dkms-0.8.0-2.fc23.x86_64
bumblebee-nonfree-release-1.2-1.noarch
VirtualGL-2.4-5.fc23.i686
bumblebee-release-1.2-1.noarch
primus-1.1.03282015-2.fc23.i686
VirtualGL-2.4-5.fc23.x86_64
bumblebee-3.2.1-9.fc23.x86_64
Check the kernel.  From 4.3 and after, this kernel (in Fedora at least) comes with full skylake  i915 support (so don’t do preliminary_hw_support on that).
Be sure what is Nvidia really doing.  If Nvidia GLX libraries are loaded, they will trash your Intel stuff.
Check you’re not using the proprietary drivers at the same time.  It’s one thing or another but not both at time.  You must choose one, try, and if it doesn’t work discard it to try the next one, whether blacklisting it or deleting it.

A simple line in GRUB may save you work and time.  Try adding nouveau.modeset=0 and rd.driver.blacklist=nouveau  in the  GRUB_CMDLINE_LINUX. 

 I would like to finish this article mentioning that my laptop  (Dell Latitude E6500, with Gallium 0.4 on NV98)  worked out of the box with X when I installed Fedora 24 and flawless with Wayland after upgrading to 25, both Workstation.
 This is all by now, I will post more next week.
Thanks for reading!
Posted in Contributors, Fedora, Hardware, System

Definitive solution

It’s not thanksgiving day but I’m pretty thankful today to the open source community.  After a lot of struggling and people sending all kind of suggestions and workarounds, I finally found it. The definitive solution came from a Gnome contributor in a Riot room.

I’ll talk about Riot in another post, now I want to focus in the problem and its solutions, immediate and future.

screenshot-from-2017-02-15-14-02-43

The problem

I already posted a lot about it but I’ll sum it up for the sake of order and completeness. I have a Dell Latitude laptop with Fedora Workstation installed in the beginning of August right after I received it. Back in the moment I installed Fedora 24 and everything worked fine. Then I wanted to try Cinnamon & Mate but that messed my mouse/touchpad configuration so I deleted everything related to both desktops and everything went back to normalcy. And then, in December I decided not to make a fresh install but upgrade from Fedora 24 to 25. And then the problems begun.  Upgrade itself was fast and smooth but my touchpad lost the Edge Scrolling in the process; short after  “tap to click” was missing too. So I was forced to use a mouse which is very annoying to me.

screenshot-from-2017-02-15-12-27-26

The Solution

Someone posted a question on Riot in the Fedora Workstation room that reminded me this issue I’ve been struggling with. So I asked for my problem and… bingo! A kind gentleman replied.

The solution is typing in the terminal, as normal user, the following command:

gsettings set org.gnome.desktop.peripherals.touchpad two-finger-scrolling-enabled false

As you can see in the screenshot above, now Edge Scrolling is correctly enabled. As the last update fixed the  “tap to click”  issue, I don’t need the mouse anymore.

view

Looking ahead

Last update solved the tap to click issue.  According to rtcm the missing edge scrolling is a known bug in Mutter and will be solved soon.  The last related bug is closed as fixed in upstream (Gnome).

Installing Cinnamon or Mate alongside Gnome Shell still messes Gnome configuration.  I’m not aware of a solution yet.

Horizontal scrolling is still missing since the last two versions.  Again, I’m not aware there’s a solution for this. Actually, I’m not even sure if this is regarded as bug or a feature by the Gnome developing team.

In any case, thank you very much!