Bluetooth does not work on Lenovo Ideapad 510 with Ubuntu Mate 1.16

By lajosbnk

I recently bought this machine and I just can’t get bluetooth to work.
Everything indicates that it’s up and running but scan can’t find any devices and I’m getting hci0 command 0x2005 tx timeout errors all over the place.

Here is some info:

description: Notebook
    product: 80SV (LENOVO_MT_80SV_BU_idea_FM_Lenovo ideapad 510-15IKB)
    vendor: LENOVO
    version: Lenovo ideapad 510-15IKB
    width: 64 bits

              *-usb:2
                   description: Bluetooth wireless interface
                   product: Bluetooth Radio
                   vendor: Realtek
                   physical id: 7
                   bus info: usb@1:7
                   version: 2.00
                   serial: 00e04c000001
                   capabilities: bluetooth usb-2.10
                   configuration: driver=btusb maxpower=500mA speed=12Mbit/s

Linux lajos-ideapad 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:0821 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0bda:57f9 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
bluetooth             552960  41 btrtl,hci_uart,btintel,btqca,bnep,btbcm,rfcomm,btusb
[    0.171905] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    1.387038] [drm] GuC firmware load skipped
[    1.391558] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[    2.002510] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x594f03)
[    2.195004] usb 1-7: Product: Bluetooth Radio 
[    2.277272] Bluetooth: Core ver 2.21
[    2.277286] Bluetooth: HCI device and connection manager initialized
[    2.277289] Bluetooth: HCI socket layer initialized
[    2.277290] Bluetooth: L2CAP socket layer initialized
[    2.277294] Bluetooth: SCO socket layer initialized
[    2.288184] Bluetooth: HCI UART driver ver 2.3
[    2.288185] Bluetooth: HCI UART protocol H4 registered
[    2.288186] Bluetooth: HCI UART protocol BCSP registered
[    2.288186] Bluetooth: HCI UART protocol LL registered
[    2.288187] Bluetooth: HCI UART protocol ATH3K registered
[    2.288187] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.288283] Bluetooth: HCI UART protocol Intel registered
[    2.288295] Bluetooth: HCI UART protocol BCM registered
[    2.288295] Bluetooth: HCI UART protocol QCA registered
[    2.288296] Bluetooth: HCI UART protocol AG6XX registered
[    2.538750] rtl8821ae: Using firmware rtlwifi/rtl8821aefw.bin
[    2.538755] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[    3.363656] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[    3.363658] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_fw.bin
[    3.365654] Bluetooth: hci0: rom_version status=0 version=1
[    3.989421] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.989422] Bluetooth: BNEP filters: protocol multicast
[    3.989425] Bluetooth: BNEP socket layer initialized
[   16.846338] Bluetooth: RFCOMM TTY layer initialized
[   16.846342] Bluetooth: RFCOMM socket layer initialized
[   16.846346] Bluetooth: RFCOMM ver 1.11
[   18.872056] Bluetooth: hci0 command 0x0c52 tx timeout
[  181.584871] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[  181.584881] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_fw.bin
[  181.586446] Bluetooth: hci0: rom_version status=0 version=1
[  210.955514] Bluetooth: hci0 command 0x2005 tx timeout
[  212.980919] Bluetooth: hci0 command 0x200b tx timeout
[  215.005857] Bluetooth: hci0 command 0x200c tx timeout
[  248.112195] Bluetooth: hci0 command 0x2005 tx timeout
[  250.137126] Bluetooth: hci0 command 0x200b tx timeout
[  252.162148] Bluetooth: hci0 command 0x200c tx timeout
[  272.251222] Bluetooth: hci0 command 0x2005 tx timeout
[  274.276573] Bluetooth: hci0 command 0x200b tx timeout
[  276.397615] Bluetooth: hci0 command 0x200c tx timeout
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
    Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:384c]
    Kernel driver in use: r8169
    Kernel modules: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
    Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
    Kernel driver in use: rtl8821ae
    Kernel modules: rtl8821ae

I tried a great many things, but nothing seems to work. I hope someone will have any ideas.

Thanks in advance!

Cheers!

Source:: http://askubuntu.com/questions/859265/bluetooth-does-not-work-on-lenovo-ideapad-510-with-ubuntu-mate-1-16

Need help printing coupons with Ubuntu

By Coupon Toucan

I had been suffering with a 10 year old clunky slow buggy crashy Windows Vista machine. I installed Ubuntu as a dual boot and have been in heaven ever since. I can do everything that I could do before only FASTER!

Just one problem…my wife likes to print coupons from websites like Smartsource, etc and they require software be installed. Unfortunately, nowhere on their web sites is there a Linux option.

I installed Wine and ran firefox through that hoping that I could just emulate what I am able to do on Windows but I just do not have the know-how to get their coupon printer installed and working.

Has anyone been successful with this? I am not trying to commit coupon fraud here. I just want to not have to boot back over to slow as heck Vista every time she needs a coupon. It literally takes about 7 minutes to boot Vista up to a point where you can browse the web!

Thank you all so much for any help. I am not very experienced with Linux but I can copy and paste very well lol.

Source:: http://askubuntu.com/questions/859264/need-help-printing-coupons-with-ubuntu

SSL absent from Python 3 in FRESH install of 16.04

By Dan9er

So a module I need for my project requires SSL to install. I heard Ubuntu comes with Python with SSL support, so I checked if I got SSL on a fresh install of Ubuntu 16.04 LTS 64-bit using Oli’s code snippet:

from urllib.request import urlopen
urllib.request.urlopen('https://askubuntu.com').read()

They said it should spit out some HTML if SSL is working properly, but all I got was this error:

Traceback (most recent call last):
  File "ssltest.py", line 2, in <module>
    urllib.request.urlopen('https://askubuntu.com').read()
NameError: name 'urllib' is not defined

Remember, this is a fresh install of Ubuntu 16.04, and I’ve seen numerous other answers that say it should come with SSL.

  • Do I need to install the urllid module?
  • Do I need to install some other module(s)?
  • Do I need to get some sort of SSL “certificate”?
  • Do I need to recompile Python and risk bricking my system? (Pray it not be this)
  • Do I need to reinstall Ubuntu?
  • Something else?

Source:: http://askubuntu.com/questions/859257/ssl-absent-from-python-3-in-fresh-install-of-16-04

Linux Device-Mapper Output Missing

By cooperjay

Hello all:

I’m new to Ubuntu but not completely new to Linux. I am running the latest Ubuntu Mate LTS Version 16.04. I have also installed both Fuseext2 and LVM.

I have a Seagate 3TB NAS drive that failed. I purchased a hard drive enclosure which converts SATA to USB. I plug in the USB and the system recognizes the drive. I see all the partitions in gparted. When I run the command:

sudo parted -l

I get all the drives listed, but I don’t get a linux device-mapper output. Given there is an LVM2 partition I would expect such an output. I clearly can’t mount the drive without the linux device mapper output. Can someone please help?

Thanks in advance for any suggestions.

Jay

Source:: https://ubuntuforums.org/showthread.php?t=2346050&goto=newpost

How to install gcc-7 or clang 4.0?

By nikitablack

I want to try c++17 features and I want to install standard compliant compiler (preferably gcc). I’m totally new to linux/ubuntu and I simply don’t understand a lot.

I tried to follow https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test but with no luck. First I ran

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update

As I understood this command installs some keys. Next I tried

sudo add-apt-repository ppa:ubuntu-toolchain-r/gcc-7 

which returns

Error: 'ppa:ubuntu-toolchain-r/gcc-7' invalid

Next I tried to install clang development branch:

apt-get install clang-4.0 lldb-4.0

and it gives me

E: Unable to locate package clang-4.0
E: Couldn't find any package by glob 'clang-4.0'
E: Couldn't find any package by regex 'clang-4.0'
E: Unable to locate package lldb-4.0
E: Couldn't find any package by glob 'lldb-4.0'
E: Couldn't find any package by regex 'lldb-4.0'

What does all this means? What’s wrong?

Source:: http://askubuntu.com/questions/859256/how-to-install-gcc-7-or-clang-4-0

90 second timeout with “secured boot”

By thepleiadian

Hi all,

I’m not sure where to post this, so I’m putting it here for the moment.

So I basically set up a full-drive encryption with 16.04, and I followed this article to make it so that my machine only boots with decryption files found on a USB drive with a certain label. All of that jazz is working perfectly fine.

However the dark side of the moon now is a 90 second time out, for which I don’t know how to circumvent it. I tried some searches, news groups, specialized boards… none of which could adequately help me. See the attached photo:

LINK TO PHOTO

The only pointer I picked up in my searches is a magical switch named “nobootwait” – I guess I just need some pointers as to how to implement it in the fstab or crypttab or something like that.

So if one knows anything about it…. appreciated.

Thanks in advance guys.

Source:: https://ubuntuforums.org/showthread.php?t=2346049&goto=newpost