mouse and keyboard not working on Ubuntu 20.04

I’m sorry I’m new to Ubuntu so I’ll try be as descriptive as possible.
At the moment my mouse is working when plugged into a specific USB port on the back of my PC. However when I move it to another port it doesn’t work. If I plug my keyboard into this same USB port then the keyboard will work and the mouse won’t. I have my system on a dual boot at the moment and I know for a fact that both the mouse and keyboard do work, it’s only when I reach the login screen that I have issues with my keyboard/mouse. I have tried other solutions given on this site and elsewhere but they don’t seem to work.
Like I said I’m new to Ubuntu and Linux as a whole so I’m sorry if this is an obvious question.

Go to Source
Author: Alexander Hunter

SANE not detecting scanner by ID (pipe error) or path (invalid arg)

I have a Canon P-208II, which uses the canon_dr backend [0].

However, I noticed from lsusb that the product ID of mine (0x1660) differs from that in /etc/sane.d/canon_dr.conf and /usr/lib/udev/rules/49-sane.rules (0x165f), so I duplicated those lines, modifying the ID to match.

$ lsusb
[...]
Bus 001 Device 017: ID 1083:1660 Canon Electronics, Inc. CANON   P-208II
[...]

Despite that, neither sane-find-scanner nor scanimage -L detect the scanner, with verbose logging I can see it trying to access and getting permissions errors, or with root:

could not fetch string descriptor: Pipe error

in the same location.

I also tried sane-find-scanner /dev/usb/001/017, which says failed to open (Invalid argument) – I’m not sure what else to give as ‘devname’ [1]?

Is there somewhere else I need to change the product ID, or something to do to make the changes I have made take effect? Or is the pipe error a smoking gun?


[0] – http://www.sane-project.org/sane-mfgs.html

[1] – http://www.sane-project.org/man/sane-find-scanner.1.html

Go to Source
Author: OJFord

journalctl: what does “New USB device found” mean?

Aug 17 02:16:44 <hostname> kernel: usb 1-2: new high-speed USB device number 13 using xhci_hcd
Aug 17 02:16:45 <hostname> kernel: usb 1-2: New USB device found, idVendor=05c6, idProduct=aaff, bcdDevice= 3.18
Aug 17 02:16:45 <hostname> kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 17 02:16:45 <hostname> kernel: usb 1-2: Product: Android
Aug 17 02:16:45 <hostname> kernel: usb 1-2: Manufacturer: Android
Aug 17 02:16:45 <hostname> kernel: usb 1-2: SerialNumber: 0123456789ABCDEF

Above is a snippet from my journalctl output. Are entries stating new USB device found... a log entry of a USB device being plugged in to my system? I didn’t plug any USBs today. So was wondering if this could be something worrying as someone else trying to access my computer when I am away?

TIA!

Go to Source
Author: computronium

hardware not working while on battery

iam a complete beginner to linux my first distro is ubuntu i have installed ubuntu on my laptop asus vivobook 15 x512da my problem is when iam using laptop on battery laptop’s bluetooth, camera usb ports(for usb keyboard and mouse but for pendrives it works) does not works but when i use laptop while charging all these things work and to make that work on charging i have to reboot the laptop then only it starts and when i turn off the charging it works till laptop screen is on when laptop turn down laptop lid it again stops to work

and one more thing can you also suggest me how to learn linux so that i can use it for my laptop in day to day life

Go to Source
Author: nitin mokashi

Can I view the format history of a usb key?

Is there a way to view when changes were made to a USB key, such as when the USB key was formatted and/or when some files were transferred?

I have seen this previous stackexchange question File system history on USB drives, but it wasnt clear if anywhere on the USB key a log will be available.

NB. I only have the USB key at hand.

Go to Source
Author: user4926345

Using Laptop to serve as monitor, keyboard and mouse to another PC

I have a laptop for my regular use which is compact and for regular day to day work.

I need a much powerful PC so I buy/ assemble one. But I dont want to buy peripherals like Monitor, Keyboard and Mouse. I want to leverage my laptop for this.

I have the right software/drivers installed on my laptop.
On PC i connect usb cables as if I am connecting a USB monitor, Keyboard, Mouse.

The other end i connect to my Laptop’s USB port or any other port. May be there is a hub in between which mux the three usb cables to one.

I run the right application on my Laptop
Boot my new PC and this application on my laptop shows what a monitor would show i.e. the bootup sequence
When I type anything on the application on my laptop it is registered on the PC. Thus

I get the PC’s bios with my laptop and configure it.

I install the OS on the PC but interfacing with my this application on my laptop.
Once OS is installed i can control the GUI of my PC from my laptop. Or keep it running but when I need to control it i can use this application and USB cables.

This idea is like running a VM on my laptop which I do. Only thing is this VM application controls a hardware PC instead.

Go to Source
Author: kaushik

Trying to install wifi adaptor to kali linux manually

I have a huaweii matebookd, with a VM box and kali linux installed.
Bought a Wireless adapter (TL-WN725N), and although it appears on my VM, it does not appear on my kali.
I am trying to manually install it using these instructions:
1)You will need to blacklist another driver in order to use this one.
2)”echo “blacklist r8188eu” > “/etc/modprobe.d/realtek.conf”
3)”make && make install”
4)Reboot in order to blacklist and load the new driver/module.

However, when I am on step 3, this error appears:
make *** no rule to make target “install”. Stop.

Then it says no targets specified and no makefile found. Stop.

Any suggestions?

Go to Source
Author: Pedro

HP PRINTER/SCANNER

I bought HP Laser MFP 135a black and white scanner/printer. I am new in Ubuntu and I use Ubuntu 18.04 LTS. I tried to open localhost:631 by installing CUPS in Terminal as seeing in one youtube video but no suceed. I do not know much to do. I use printer/scanner via USB. Could someone be kind and help me to set to work both scanner and printer.

Go to Source
Author: Alain-Alain

Permissions – How do I delete files from an external drive that requires root permissions?

Okay, I’m at a loss as to what to do. I was trying to set up a bootable USB using “UNetBootin” and I didn’t properly check where my stuff was actually installing to, so instead of installing to the external drive I was planning to use everything started to install to my 4 TB eHDD. Thankfully, nothing was lost… however, every single file that was added I am unable to delete through normal means. I keep getting an error every time I try to delete one of these folders that says “Error removing file /media/(myname)/My Passport/boot/en-us: Permission denied”. Checking properties, I found that these files belonged to “root” and that I can’t do anything because I’m not the owner.

I’ve tried opening a terminal so I could rm -rf these stubborn files, but I can’t even access my eHDD with it. Typing that directory into the terminal gives me the error “bash: cd: too many arguments”. Same thing happens when dragging the folder into the Terminal.

(If it’s worth anything, I was trying to set up a Windows 10 bootable USB in case I ever wanted/needed to switch back.)

Go to Source
Author: Talia S

Install driver rtl8814au on ubuntu 20.04

Install driver rtl8814au on ubuntu 20.04

Based on this

Install driver rtl8814au on ubuntu 18.04

I installed manually (make && make install) the driver when I had the kernel

$ uname -r
5.4.0-26-generic

Now, ubuntu 20.04 wants to install the new one:

linux-image-5.4.0-29-generic

I did it before (upgrade the system then, the kernel) and the driver stopped to work, even I installed thousand times, was impossible to up the driver which logical name is “wlx50c4ddcf488e”.

The installation I made:

$ sudo apt install build-essential
$ sudo apt install bc
$ sudo apt install linux-headers-`uname -r`
$ sudo apt install git

$ git clone https://github.com/aircrack-ng/rtl8812au.git

$ cd rtl8812au
$ make && sudo make install

Does anyone has idea about what can I do? Now, I cannot upgrade my system without losing the wireless connection.

Thank a lot.

Go to Source
Author: Ibringpies