LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-03-2018, 12:11 AM   #1
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 99

Rep: Reputation: 16
Question BYTCR-RT5640 can't get sound to work


Hello people,

This a generic tablet/computer, Bay Trail chipset, Atom Z3735F CPU.

I have tried the steps recommended here but I still don't get sound at all.

I do get an overwhelming amount of different options and meters in alsamixer.
I'm attaching the amixer output (too big to paste here) and the aplay -l output. The dmesg too in case it helps.

dmesg.txt
amixer.txt
aplay-l.txt

How do I go about getting the sound to work?

Once I got the headphones working, I think it was related to uninstalling pulseaudio and tinkering with the volumes/switches in alsamixer, but I couldn't reproduce it anymore.

More info on this PC:
Runs Debian 9 (Stretch) 32-bit EFI.
I had to install the 4.17 kernel for it not to freeze at the KDE loading screen. Tried a live Buster+firmware (10-testing) and the sound doesn't work either.
Integrated bluetooth/webcams (rear/front) aren't even recognized or don't work at all. Battery is not recognized (no way to find out actual charge).
I installed the latest firmware-realtek package (from Buster/testing) and got the wifi working (rtl8723bs).
Attached Files
File Type: txt dmesg.txt (43.5 KB, 87 views)
File Type: txt amixer.txt (37.3 KB, 151 views)
File Type: txt aplay-l.txt (534 Bytes, 65 views)

Last edited by tauro_kpo; 08-03-2018 at 12:21 AM.
 
Old 08-04-2018, 10:11 AM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,286

Rep: Reputation: 218Reputation: 218Reputation: 218
What does
Code:
pavucontrol
return?
Code:
mplayer
,
Code:
play
?
 
Old 08-04-2018, 10:17 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,964

Rep: Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830Reputation: 5830
Quote:
Originally Posted by tauro_kpo View Post
Hello people,
This a generic tablet/computer, Bay Trail chipset, Atom Z3735F CPU. I have tried the steps recommended here but I still don't get sound at all. I do get an overwhelming amount of different options and meters in alsamixer. I'm attaching the amixer output (too big to paste here) and the aplay -l output. The dmesg too in case it helps.

dmesg.txt
amixer.txt
aplay-l.txt

How do I go about getting the sound to work? Once I got the headphones working, I think it was related to uninstalling pulseaudio and tinkering with the volumes/switches in alsamixer, but I couldn't reproduce it anymore.

More info on this PC:
Runs Debian 9 (Stretch) 32-bit EFI. I had to install the 4.17 kernel for it not to freeze at the KDE loading screen. Tried a live Buster+firmware (10-testing) and the sound doesn't work either. Integrated bluetooth/webcams (rear/front) aren't even recognized or don't work at all. Battery is not recognized (no way to find out actual charge). I installed the latest firmware-realtek package (from Buster/testing) and got the wifi working (rtl8723bs).
With everything that's *NOT* working on your system, I'd start by going with a different distro, other than Debian, since it's obviously not working well on your hardware. Personally, I'd load a 'live' distro on a USB stick, and see if things were working then, and try different distros to see what success you were having. Mint is Debian based, so since you're familiar with Debian, I'd start there. Mint is more 'consumer' related, so when you mention a convertible tablet/laptop (and 32 bit at that), that would indicate a 'consumer' system, rather than a server. Fedora or openSUSE are other good choices for hardware support.

And what is the brand and model of your system?
 
Old 08-04-2018, 10:50 AM   #4
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 99

Original Poster
Rep: Reputation: 16
Thumbs up

Thanks for the help. This a generic Chinese laptop, looks almost exactly the same as the Asus T100 albeit I think mine is crappier. CPU is Atom Z3735F.
I tried different Debian versions, and ended up sticking to testing. I know I may get the battery meter going with Ubu or Mint (I'm sure though) but it takes hours to load a system into this fragile little piece of... and besides the battery is almost drained. And I wouldn't use the webcams. I've used Debian as a desktop for years, I feel it's Ubuntu without all the useless bells and whistles and bloatware/spyware.

I'll tell you all how I managed to get this monstrous chip working.

1. Install (or get) firmware-intel-sound (comes with buster/testing).

2. Magic scripts found on the web allowed me to get this working (select/activate correct switches). Use either speakers (crappy) and/or headphones.
This is the source: https://github.com/plbossart/UCM/issues/1
And these are the scripts (you'll need to minimally tweak them). Remember they use amixer.

3. Pulseaudio? Yes

edit
Code:
/etc/pulse/default.pa
Add:
Code:
load-module module-alsa-sink
load-module module-alsa-source device=hw:0,0
Comment out:
Code:
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Use the static hardware detection module (for systems that lack udev support)
#load-module module-detect
#.endif**
Source:
https://github.com/plbossart/UCM/issues/18

I also blacklisted
Code:
snd_hdmi_lpe_audio
because I'm not using it and sometimes it gets the 0 ID.

Hope this helps somebody else with this problem.
PS: Don't you ever buy this laptop/tablet.

Last edited by tauro_kpo; 08-04-2018 at 10:58 AM.
 
1 members found this post helpful.
Old 08-04-2018, 01:59 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,286

Rep: Reputation: 218Reputation: 218Reputation: 218
You can mark it solved.
 
1 members found this post helpful.
  


Reply

Tags
debian, sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sound comes and goes in Flash, no media players work, system sounds generally DO work damgar Arch 2 07-03-2010 12:46 PM
My sound don't work, I have Kubuntu 7.10 and sound blaster 5.1 Zuror Linux - Hardware 1 04-12-2008 08:27 AM
Sound servers dont work Properly, no sound everywhere! starfly Linux - Hardware 1 04-01-2005 09:53 PM
Need to run system-config-sound after every boot too make sound work in FC2 jrbiochem Linux - Hardware 11 08-04-2004 07:08 AM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration