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

Add id of TTL serial - USB chip to module ch341

$
0
0
Hi All.
I'm using a TTL serial - USB chip, CH340K, which has a different id than the usual CH340G.
It works passing the new id via "echo 1a86 7522 > /sys/bus/usb-serial/drivers/ch341-uart/new_id"
I'd like that the new id would be included in the module, so I tried to write to its maintainer but did not get a feedback.
I cannot submit a pull request on github because they are restricted to collaborators.
Any idea on what else can I do?

Thanks
C.

[SOLVED] Dell Precision M4800 & Bluetooth

$
0
0
Hello! This is my first post! TLDR in the end

Preamble (Wifi)

I got my refurbished Dell a few months ago and have been distrohopping ever since! (MX / Manjaro / Zorin / Mint...) I like to try things out and I am trying to strike some sort of fragile balance between things working with this particular ageing hardware, music production, looks, ease of use and support, and casual gaming capabilities. All the problems with wireless internet connection have ceded if I've made sure:

  1. The physical kill-switch isn't activated
  2. Anything isn't disabled in BIOS
  3. The operating system has had a chance to update, via wired connection if needed, and reboot. (Many times wireless isn't yet working during installation or first boot).


Preamble (Bluetooth)

But the thing that has never worked out-of-the-box (nor even after using some GUIs for hardware configuration and driver installation) is the Bluetooth connection.
I had to use wayyyy too many hours trying to make it work but I finally managed to do it following these instructions.
I downloaded this piece of firmware and copied it to /lib/firmware/brcm/ as suggested in the instructions and rebooted, and everything worked! :KS
I am grateful for the github user winterheart for maintaining that repository and writing those instructions.

Since then I found this launchpad question which tells how you can download a (large) driver bundle from Dell and from there extract a certain .deb-file and from the .deb-file extract a certain .hcd-file, rename it and move it to /lib/firmware/brcm/

If you are like me (novice and a little paranoid), you might feel that downloading firmware from the hardware manufacturer is preferable to downloading some unknown file from some unknown guy from github (called Hackimov :p ) and just placing that file smack in the middle of your supposedly secure system. I have no reason to distrust this person but, well, you know!
(The needed file is tiny (34.3 KB) while the Dell bundle containing that file is 222,9 MB, so maybe that might be a reason for you to get it from github.)

TLDR;

This is what I do after a clean install to fix the bluetooth on Dell Precision M4800 by downloading and using a firmware file from Dell:

# I like to download my loads to Downloads
Code:

cd /home/$USER/Downloads/
# Downloads the driver package
Code:

wget https://dl.dell.com/FOLDER02159710M/1/M6800_M4800_A05.fish.tar.gz
# Extracts bt-dw1550-firmware_0.1_all.deb from the package
Code:

tar -xzvf M6800_M4800_A05.fish.tar.gz debs/bt-dw1550-firmware_0.1_all.deb
# Extracts the innards of the deb file to ~/Downloads/debs/
Code:

dpkg -x debs/bt-dw1550-firmware_0.1_all.deb debs/
# Moves and renames the newly acquired firmware file fw-413c_8143.hcd to /lib/firmware/brcm/BCM20702A1-413c-8143.hcd

using sudo:
Code:

mv -i debs/lib/firmware/fw-413c_8143.hcd /lib/firmware/brcm/BCM20702A1-413c-8143.hcd
# Clean-up, remove the downloaded redundant files and folders
Code:

rm -R debs/ M6800_M4800_A05.fish.tar.gz
Don't forget to reboot!


I hope someone finds this helpful! :KS



bonus tags that I wish I would have known to google sooner #-o: BCM20702A1, BCM20702A1-413c-8143.hcd

Hardware raid you can reccomend for desktop

$
0
0
I have hardware raid on my servers, but it seems really difficult to find a good hardware raid that is compatible with desktop computers. I might just do another software raid, but wanted check first if anyone has a decent controler they can recommend that has caching on it.

Thanks

Paul

PS MB is an AMD x470

[ubuntu] SM58 microphone with Ubuntu

$
0
0
I was looking to buy a microphone today, possibly a USB one, for singing. When discussing with some friends, one of them said he'd let me have an SM58 for free - so now I'm looking at using the money to connect my computer* to that, instead of buying a microphone.

Guessing I'm looking at getting a sound card, but which one? Do we have trusted ones that work with Ubuntu? Not mithered if it's internal or external, really. £200 max.

Vox x

*I have a new Dell Precision 3431 SFF Workstation Desktop PC, Intel Core i7-9700 3GHz, 16GB RAM, 512GB SSD M.2, DVDRW, Intel UHD

[SOLVED] Asus ROG Strix X570-I - Ryzen APU compatatbility?

$
0
0
Hello all,

So I decided I'm going to got for a ITX build for my first PC so went ahead and bought a Asus ROG Strix X570-I motherboard.

My original plan was to get a Ryzen 3800x and a discrete GPU, but since then I've decided I'm going to pick up a Ryzen APU (obviously much cheaper) play a few old games, get the system up and running and then at some point in the future get a proper GPU and by that time the Zen 3 CPU's will probably be a thing so maybe get one of those after a few years.

But what I can't work out is weather I can use a Ryzen 3400G with this motherboard? The board info states that its compatible with "3rd and 2nd Gen AMD Ryzen™/2nd and 1st Gen AMD Ryzen™ with Radeon™ Vega Graphics Processors" which seems like it would rule out the 3400G.

However I'm not sure that by "gen" they aren't referring to the architecture, i.e Zen, Zen+ and Zen 2 being gen 1, 2 and 3 respectively - Because If this board can't use the 3400G then what board can?

Can anyone clarify please?

Seagate disk read error/anomaly

$
0
0
Here's a strange situation. I know that the conventional wisdom is 'backup now... buy a new disk soon' but my instinct tells me there is something else afoot. I'm just trying to understand what's happening a little better and have plenty of time for problem solving these days. Besides, I haven't heard great things about the newer Seagate SMR technology in use these days, plus there's the whole HDD vs SSD decision to make...

This may be too long to read for many, but I hope the rest of you find it interesting/challenging... as I do, but I have a vested interest.

The basic options are:


  1. The disk really is failing. (Based on the work documented below, I'm not so sure, but am open to the idea.)
  2. There is problem elsewhere in the system: OS, power, bad cable, RAM, etc.
  3. There was some transient (i.e. gremlin) at the time that caused the anomaly and the disk is otherwise fine after the repair, at least until the next transient.
  4. <Insert your favorite option here>


For those of you willing to read further, here's the setup:


  1. The machine in question runs Ubuntu 18.04 with the latest updates. It is an HTPC (Intel Atom, Nvidia ION, MythTV) and runs 24/7.
  2. The disk in question (Seagate Momentus ST9500325AS, 500GB, 2.5 inch, 5400 rpm, 8MB cache) is my main media drive, running 24/7 since 2010. Other than daily recordings, there are multiple backups of the media files, so no worry there.
  3. Boot drive is a separate Crucial M4 SSD, so no worry there either.
  4. System is on a UPS.


Here's the sequence of events so far


  1. One day, a program recorded (i.e. write to disk) successfully using MythTV, ending at 10:30.
  2. MythTV attempted to read the file to mark commercials for skipping, and encountered read errors. I tried to play the file and received read errors.
  3. syslog contained the following
    Code:

    Jun  7 10:30:13 aeh-htpc kernel: [330264.232823] print_req_error: I/O error, dev sda, sector 171079680
    Jun  7 10:30:15 aeh-htpc kernel: [330266.635824] print_req_error: I/O error, dev sda, sector 171079680
    Jun  7 10:31:39 aeh-htpc kernel: [330350.552658] print_req_error: I/O error, dev sda, sector 171079680
    Jun  7 10:46:17 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
    Jun  7 10:46:18 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Offline uncorrectable sectors
    Jun  7 11:16:17 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
    Jun  7 11:16:17 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Offline uncorrectable sectors
    Jun  7 11:46:17 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
    Jun  7 11:46:17 aeh-htpc smartd[670]: Device: /dev/sda [SAT], 1 Offline uncorrectable sectors

  4. dmesg contained the following
    Code:

    [609750.100525] ata1.00: exception Emask 0x0 SAct 0x40000000 SErr 0x0 action 0x0
    [609750.100537] ata1.00: irq_stat 0x40000008
    [609750.100545] ata1.00: failed command: READ FPDMA QUEUED
    [609750.100559] ata1.00: cmd 60/08:f0:00:78:32/00:00:0a:00:00/40 tag 30 ncq dma 4096 in
                            res 41/40:08:00:78:32/00:00:0a:00:00/00 Emask 0x409 (media error) <F>
    [609750.100676] ata1.00: status: { DRDY ERR }
    [609750.100683] ata1.00: error: { UNC }
    [609750.137946] ata1.00: configured for UDMA/133
    [609750.137986] sd 0:0:0:0: [sda] tag#30 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [609750.137994] sd 0:0:0:0: [sda] tag#30 Sense Key : Medium Error [current]
    [609750.138000] sd 0:0:0:0: [sda] tag#30 Add. Sense: Unrecovered read error - auto reallocate failed
    [609750.138008] sd 0:0:0:0: [sda] tag#30 CDB: Read(10) 28 00 0a 32 78 00 00 00 08 00
    [609750.138012] print_req_error: I/O error, dev sda, sector 171079680
    [609750.138086] ata1: EH complete

  5. I ran badblocks to find all the bad blocks on the disk. There were 271 blocks reported as bad, mostly somewhat sequential.
  6. I used debugfs to find that all the bad blocks were marked as in-use.
  7. I used debugfs to find the inode number for each of the blocks
  8. I used debugfs to find that there were all associated with the media file in question, i.e. no other part of the disk reported errors.
  9. I used hdparm --write-sector to write each of the bad sectors. This completed successfully.
  10. I renamed the file to .bad_blocks_never_delete as a wait-and-see experiment.
  11. I have run multiple dd if=.bad... of=.bad... conv=notrunc commands to read and re-write the same blocks over and over again. I received no errors. By "no errors" I mean no reported errors in syslog/dmesg or at the command line.
  12. I have received no errors during normal recording/processing/playing operations over the next few weeks.
  13. The output of smartctl does change over time, but it isn't clear to me that it indicates disk failure. smartctl output is cryptic and somewhat vendor specific. Even though there are no new errors reported, the fields that have changed values are: Raw_Read_Error_Rate, Seek_Error_Rate, and Hardware_ECC_Recovered. I've attached the latest for your perusal.
  14. As a next step, I am considering deleting the file to free up the "bad" (but now corrected) block to see what happens.


Thoughts?

Thanks for your interest.
Attached Files

20.04 HP Printer Installation

$
0
0
HP Officejet Pro 8710. The printer/scanner is working fine.

Every time I start Ubuntu 20.04, the printer is installed.

There is only 1 printer listed. It just keeps installing it at every boot.

Recommendations sought for salvaging hard drives

$
0
0
Hi, I find myself with a handful of big old SATA drives (1 and 2 TB) that all seem to be in some way misbehaving. Some have data on them that I'd like salvage, nothing I want to spend money on salvaging but stuff that would be missed if it were gone for good.
I'm never one to throw away anything that is useful so I was wondering if I could get some suggestions as to what tools I would need to test, fix, salvage data from these old drives. Errors include being recognises when lugged in but unable to mount, not showing up at all when plugged in but the drive is spinning, doing absolutely nothing when plugged in (that one's probably a lost cause). So, before I throw them out, what should I try and in what order please?
I've got access to Ubuntu 20.04 and Windows 10 machines.

Thanks

J

[kubuntu] Recognize external touchpad as "touchpad"

$
0
0
Hi all,

I recently bought myself a external touch pad (Silvergear Wirless Touchpad) for my desktop. This touchpad is currently working fine and recognized as normal mouse. Feature like two finger tap for middle click and pinch work. However the touchpad is not recognized as a actual touchpad. So when I go to the "Touchpad" settings, it tells me that no touchpad is found.

My touchpad is capable of more advanced options like three finger movement. Is there a way to tell Kubuntu this external device is actually a touchpad so these settings are unlocked? Or is this limited because the touchpad is using a regular USB dongle.

[ubuntu] Fans are locked to max speed, very noisy, please help

$
0
0
Hello everybody,

My computer started to act weird a few weeks ago, making a lot of noise.

It turned out it was my Nvidia GT760 fans spinning to max speed (from login screen precisely). I’am unable to make them go slower. Temperature is detected by Nvidia X server settings, but speed is not in Thermal settings and Fan 0 Speed is greyd out.

GPU Temperature is low, but noise is very high. It’s my main work desktop and my ears are being destroyed, please help.

What I tried:

- Changed to older kernels: no go, fans maxed out
- switch to nouveau driver: fans act normally
- run from live CD: fans act normally
- tried different ubuntu Nvidia drivers (340,415,435): no go, fans are maxed out

I’m running ubuntu Ubuntu 18.04.4 LTS

Any ideas on what I could do is welcomed.
I’m not even sure this is software or hardware problem. If happend a few days after I clean my computer case, so maybe I damaged something? But then again, why would other drivers keep the fans in control where Nvidias own drivers can’t ?

Can CPUs render 2d GUIs without a graphics card?

$
0
0
Hello all,

So I can't find an answer to this question online, probably because its common knowledge.

Can a bog standard CPU render 2D GUIs such as a desktop envieroment without a dedicated graphics card, or alternatively an APU?

It seems crazy that someone who wanted to build a powerful machine but didn't plan to run any 3D graphical programs would need to buy a graphics card just to get a basic desktop graphical interface...

Touch pad on Lenovo Thinkpad stop working sometime after booting

$
0
0
Hi,
Touchpad on my thinkpad e14 stops working after boot. It happens frequently but not always. External mouse works fine even when touchpad is not working.
I've found these in logs:
20:44:37 kernel: elan_i2c 0-0015: invalid report id data (1)
20:44:29 kernel: i801_smbus 0000:00:1f.4: Transaction failed
20:44:29 kernel: elan_i2c 0-0015: failed to read report data: -110
20:44:29 kernel: i801_smbus 0000:00:1f.4: Failed terminating the transaction
20:44:29 kernel: i801_smbus 0000:00:1f.4: Failed terminating the transaction
20:44:29 kernel: i801_smbus 0000:00:1f.4: Transaction timeout
20:44:28 kernel: iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
20:41:38 wpa_supplicant: nl80211: Failed to create a P2P Device interface p2p-dev-wlp0s20f3
20:27:51 kernel: ACPI Error: Aborting method \_SB.WMTF.WMTF due to previous error (AE_AML_PACKAGE_LIMIT) (20190816/psparse-529)
20:27:46 gdm-session-wor: gkr-pam: unable to locate daemon control file
20:27:44 kernel: Bluetooth: hci0: Failed to send firmware data (-110)
20:27:34 kernel: usb usb1-port10: disabled by hub (EMI?), re-enabling...


It works fine after reboot. Please help!!):P

External drive doesn't appear in fdisk

$
0
0
I'm trying to mount an external drive to my Ubuntu 18.04 laptop.

After plugging it in to an USB port something appears in `dmesg`:
Code:

[15352.253687] usb 2-3: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[15352.274545] usb 2-3: New USB device found, idVendor=357d, idProduct=7788, bcdDevice= 1.14
[15352.274547] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15352.274548] usb 2-3: Product: USB to ATA/ATAPI Bridge
[15352.274549] usb 2-3: Manufacturer: JMicron
[15352.274550] usb 2-3: SerialNumber: 7380741B
[15352.276489] usb 2-3: UAS is blacklisted for this device, using usb-storage instead

Also, I see a new entry in `lsusb`:
Code:

Bus 002 Device 004: ID 357d:7788 Sharkoon QuickPort XT
However, nothing new appears when I run `sudo fdisk -l` or `ls /dev`.

The drive worked just fine when I last used it a few weeks ago. Maybe an update messed something up? Thanks for your suggestions :)

Can I get to a terminal via a serial connection?

$
0
0
My motherboard has a serial header
Is there a way I can use a raspberry pi to access the command line via this port
I know there are easier ways to do this but i have had issues with crashes with no log data so maybe if it happens again i can see something over serial

[ubuntu] Scanner: Brother DS-7400

$
0
0
Never mind, I got XSane to work with Gimp.
------------------------------------------------------------------

My question was:
I have a new Brother DS-7400 mobile (small) scanner. I downloaded and installed the drivers. In Simple Scan the Scan Source shows as Brother DS-740D. But when I click on scan I get "Failed to Scan: Error Communicating with Scanner".

How do I get this working?

Ubuntu 16.04 LTS, 64 Bit

$ dpkg -l | grep -i Brother
ii brscan-skey 0.2.4-1 amd64 Brother Linux scanner S-KEY tool
ii brscan4 0.4.7-1 amd64 Brother Scanner Driver
ii brscan5 1.2.2-0 amd64 Brother Scanner Driver brscan5
ii mfcj880dwcupswrapper:i386 1.0.0-0 i386 Brother Inkjet printer CUPS Driver
ii mfcj880dwlpr:i386 1.0.0-0 i386 Brother inkjet lpr printer Driver
ii printer-driver-brlaser 3-5~ubuntu1 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.4-1 amd64 printer driver Brother P-touch label printers

How to diagnostic a audio problem?

$
0
0
Hello, I have ubuntu 20.04 just installed and I have noticed a problem in the audio that I did not have before, every certain number of seconds the audio is cut for about 5 or 6 seconds, this happens with the music player, with the YouTube audio and with the audio of the games (via steam). As it is a problem that affects the audio in general I have the feeling that it could be a problem with the driver or the hardware itself. How can I diagnose what is happening to find a solution?

psmouse errors startup and shutdown

$
0
0
I'm running 20.04 on a Dell 5587 laptop.

I receive errors on boot

Code:

[    1.956445] psmouse serio1: synaptics: Unable to query device: -5
[    7.896411] psmouse serio1: Failed to enable mouse on isa0060/serio1

Also, on shutdown, I receive an error something like 'Failed to disable mouse on isa0060/serio1', and it takes some time for it to fail before it does shutdown.

The touchpad works as expected, so I tried blacklisting psmouse in /etc/modprobe.d/blacklist.conf. But I still receive the errors, and lsmod shows the psmouse driver is still loaded :mad:

Any ideas on what I should do?

[kubuntu] Scanner of Epson ET-2750 doesn't work - “sane_start: Invalid argument” - Kubuntu 20.0

$
0
0
I'm trying to scan a document with the scanner of the Epson ET-2750-MFP using xsane on Kubuntu 20.04. I always get the errorcode: "Invalid argument".


Printing with the ET-2750 works fine, just scanning doesn't. I've tried connecting it over USB or Wifi, it doesn't make a difference.

xsane finds the printer:



But it can't scan:



How can I get the scanner to work?

Thank you

[SOLVED] No sound after Update

$
0
0
System is a repurposed Dell Vostro 470 running Ubuntu 18.04, connected to an HDTV over an HDMI cable. I've been using it as a HTPC for over a year with no issues. I just installed a system update, and now I have no sound.

Forum posts about sound problems seem common, and I've tried following solutions posted online, with no luck. Here's some of the info asked for in other posts. I don't know enough to know what's important.

aplay -l

Code:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Output snipet from inxi -Fz

Code:

Graphics:  Card: NVIDIA GK107 [GeForce GT 740]
          Display Server: x11 (X.Org 1.20.8 )
          drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
          Resolution: 1920x1080@60.00hz
          OpenGL: renderer: GeForce GT 740/PCIe/SSE2
          version: 4.6.0 NVIDIA 440.100
Audio:    Card-1 Intel 7 Series/C216 Family High Def. Audio Controller
          driver: snd_hda_intel
          Card-2 NVIDIA GK107 HDMI Audio Controller driver: snd_hda_intel
          Sound: Advanced Linux Sound Architecture v: k5.3.0-62-generic

pavucontrol lists my Nvidia card, with the output device port as HMDI/DisplayPort 2

alsamixer lists both the Intel and Nvidia cards. The Nvidia S/PDIF and S/PDIF 1 are not muted.

The Sound Settings has HDMI/DisplayPort 2 - GK107 HDMI Audio Controller listed, and the sound test on the HDMI/DisplayPort 2 yields no sound.

One thing that jumps out at me is that inxi lists the audio controller driver as snd_hda_intel. Should that be an Nvidia driver? If I look under Software & Updates, Additional Drivers says I'm using the recommended driver for the GK 107 (nividia-driver-440). I've tried reinstalling the drivers just in case, but no change.

I appreciate any help.

Thanks!

chris

[ubuntu] 20.04 printing headaches

$
0
0
Ubuntu user since 2008.

With 20.04, I can't print. I have two Brother laser printers, an MFC9340CDW and an HL-L51000-N. I can find the printers through the software dialog, and also through the CUPS web admin. But once I do, I can't print. I get "The printer is not responding." Or it might print once, then give me the above error.

Even if I connect the 51000 via USB, printing is erratic.I've pointed to the IP addresses of the printers, no better.

Never had this issue before. Any ideas?
Viewing all 20190 articles
Browse latest View live


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