Max2Play Home › Forums › General Questions on Hardware and Max2Play Versions › No sound on a WinBook Tw800.
- This topic has 13 replies, 2 voices, and was last updated 7 years, 3 months ago by Raymond Day premium.
-
29. August 2017 at 3:42 #30969
Installed Ubuntu Linux 17.04 on a Winbook TW800. Unplug the ribbin cable from the display to use it as a server but I can plug in the HDMI to get a desktop on it. Used the „install_max2play.sh“ and it worked good.
on the desktop and command line I can play music though it’s built in stereo little speakers. On the command line I can use „mpg123“ then the name of the mp3 file. It plays good.
It shows I have this sound in it.
root@winbook-tw800:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: bytcrrt5640 [bytcr-rt5640], device 0: 1 [] Subdevices: 1/1 Subdevice #0: subdevice #0 root@winbook-tw800:~#
But on Max2play under „Soundcard“ it is blank! It there any way I can tell it has a bytcrrt5640 sound on it?
I know you don’t support a device like this table but all else does seem to work on it.
-Raymond Day
3. September 2017 at 8:59 #31089I just did a apt install squeezelite then service squeezelite start and then edit a file at /etc/default/squeezelite with this line:
SL_SOUNDCARD=“dmix:CARD=bytcrrt5640,DEV=1″
Then:
service squeezelite start
It plays though the built in speakers of this tablet now!
But it still don’t show any sound device under Mediaplayer Squeezelite & Airplay – Status, Start / Stop Then Soundcard I have no setting there.
-Raymond Day
9. September 2017 at 8:38 #31228I reloaded this fresh and then installed Max2play. I can play on the monitor thought the HDMI or the built in little speakers on this Wintable tw801. Can even play though the headphone all on the desktop of it.
But can’t get Max2play to play.
This time I got it to list all the sound devices. by putting a link to /usr/bin/squeezelite at /opt/squeezelite if I don’t the Select Audio output stays blank.
Even put USB speakers on it. I can play that with the desktop too.
Here is all it shows for devices.
root@tw801:~# squeezelite -l Output devices: null - Discard all samples (playback) or generate zero samples (capture) pulse - PulseAudio Sound Server equalUSB plugequalUSB - Equalizer for USB dmixerUSB - DMixer for USB plugdmixerUSB default:CARD=Audio - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Default Audio Device sysdefault:CARD=Audio - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Default Audio Device front:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Front speakers hdmi:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - HDMI Audio Output dmix:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct sample mixing device dmix:CARD=Audio,DEV=1 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct sample mixing device dsnoop:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct sample snooping device dsnoop:CARD=Audio,DEV=1 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct sample snooping device hw:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct hardware device without any conversions hw:CARD=Audio,DEV=1 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Direct hardware device without any conversions plughw:CARD=Audio,DEV=0 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Hardware device with all software conversions plughw:CARD=Audio,DEV=1 - Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio - Hardware device with all software conversions default:CARD=DAC - USB Audio DAC, USB Audio - Default Audio Device sysdefault:CARD=DAC - USB Audio DAC, USB Audio - Default Audio Device front:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - Front speakers surround21:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 4.0 Surround output to Front and Rear speakers surround41:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - IEC958 (S/PDIF) Digital Audio Output dmix:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - Direct sample mixing device dsnoop:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - Direct sample snooping device hw:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - Direct hardware device without any conversions plughw:CARD=DAC,DEV=0 - USB Audio DAC, USB Audio - Hardware device with all software conversions default:CARD=bytcrrt5640 - bytcr-rt5640, - Default Audio Device sysdefault:CARD=bytcrrt5640 - bytcr-rt5640, - Default Audio Device dmix:CARD=bytcrrt5640,DEV=0 - bytcr-rt5640, - Direct sample mixing device dmix:CARD=bytcrrt5640,DEV=1 - bytcr-rt5640, - Direct sample mixing device dsnoop:CARD=bytcrrt5640,DEV=0 - bytcr-rt5640, - Direct sample snooping device dsnoop:CARD=bytcrrt5640,DEV=1 - bytcr-rt5640, - Direct sample snooping device hw:CARD=bytcrrt5640,DEV=0 - bytcr-rt5640, - Direct hardware device without any conversions hw:CARD=bytcrrt5640,DEV=1 - bytcr-rt5640, - Direct hardware device without any conversions plughw:CARD=bytcrrt5640,DEV=0 - bytcr-rt5640, - Hardware device with all software conversions plughw:CARD=bytcrrt5640,DEV=1 - bytcr-rt5640, - Hardware device with all software conversions root@tw801:~#
I have picked about every one and it still says „Status: Squeezelite not running“ I can pick pulse and it don’t error then but it don’t play ether.
I know Max2play is not supported on this but so close.
I guess it has something to do with copying the squeezelite file to the /opt/squeezelite.
So my link looks like this that I guess my be the wrong way.
root@tw801:/opt/squeezelite# ls -l total 8 -rwxrwxrwx 1 root root 462 Sep 9 08:02 btcheck.sh drwxrwxrwx 2 root root 4096 Sep 9 06:39 log lrwxrwxrwx 1 root root 20 Sep 9 07:12 squeezelite -> /usr/bin/squeezelite root@tw801:/opt/squeezelite#
But if I don’t have that Max2play for setting Soundcard Select Audio output is blank just like this space in this text. As seen as I put that link it the Soundcard has a list to pick what card but it seems like none don’t work. I get this error.
T`rying to launch … NOT successful Click here to show detailed information
[09:12:51.215336] test_open:294 playback open error: No such device
[09:12:51.215483] output_init_common:381 unable to open output device`Must be some easy fix. I can play on every device on the desktop.
-Raymond Day
- This reply was modified 7 years, 3 months ago by Raymond Day.
10. September 2017 at 8:51 #31235If I do this command it shows this:
root@tw801:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: DAC [USB Audio DAC], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: bytcrrt5640 [bytcr-rt5640], device 0: 3 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: bytcrrt5640 [bytcr-rt5640], device 1: Deep-Buffer Audio (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 root@tw801:~#
It would be very good if this would work with Logitech Media Sever.
Hope can fix it.
-Raymond Day
10. September 2017 at 8:59 #31236Here is a link to my Goggle photos.
https://photos.app.goo.gl/OWzymnUfmvysXSdJ2
Maybe that will help. Can see what I can pick but it never starts Squeezelite.
-Raymond Day
- This reply was modified 7 years, 3 months ago by Raymond Day.
10. September 2017 at 9:34 #31238Wow I got it working!
When I installed the script I made a user „odroid“ because I thought it be closer to this TW801.
Then I seen the file at /etc/init.d/squeezelite and seen a line that said „USER=odroid“ So then in webmin I said under Password „No password required“ and all so added „In groups“ root and www-data Then started Squeezelite in Max2play and it said Status: Squeezelite is running with processID 9813
It’s playing music now though the USB speakers!
Not sure what part got it working but it’s working.
I guess that was it the user did not have permissions to start Squeezelite.
Got it working yes!
Took a long time.
-Raymond Day
- This reply was modified 7 years, 3 months ago by Raymond Day.
- This reply was modified 7 years, 3 months ago by Raymond Day.
10. September 2017 at 10:18 #31241Wow I don’t know it was playing then locked up. I rebooted it and now can’t get it running now.
I guess it has something to a user. How do I add a user with out a password I guess.
-Raymond Day
10. September 2017 at 10:48 #31242Got it working again. Because I made a Odroid user in Webmin it did not work on the desktop after it crashed. Then when I try to log in on the desktop it was just blank. So I rebooted and log in as me and deleted Odroid user and then added that same user on the desktop. But it still did not work on Max2play. Then I did this to start Squeezelite, and between this I copied the /tmp/squeezlite.txt from another Max2play that works. It was 1 size but the one I copied was 0 size. Then Squeezelite started. Here is the command line doing that.
root@tw801:~# /opt/max2play/start_audioplayer.sh Squeezelite und Shairport starten, falls XBMC nicht läuft entsprechend autostart.conf Check auf laufenden XBMC - Pulseaudio VS Alsa bringt Probleme - Alternativ Check auf USB-DAC (Nur Squeezelite) cat: /sys/class/net/eth0/operstate: No such file or directory Use Interface wlan0 with -m dc:85:de:b9:57:ff Starting Squeezelite Check auf laufenden XBMC - Pulseaudio VS Alsa bringt Probleme chmod: cannot access '/tmp/squeezelite.txt': No such file or directory root@tw801:~# /opt/max2play/start_audioplayer.sh Squeezelite und Shairport starten, falls XBMC nicht läuft entsprechend autostart.conf Check auf laufenden XBMC - Pulseaudio VS Alsa bringt Probleme - Alternativ Check auf USB-DAC (Nur Squeezelite) root@tw801:~#
Playing a playlist now to test if it plays all the way.
I hope it keeps going. I guess that was it the /tmp/squeezelite.txt.
-Raymond Day
10. September 2017 at 19:45 #31247Wow got Javalite working on it. I had to turn off the built in LCD display that I removed the ribbon cable from long ago. So wow I guess if I did not use this at time could get a WinBook TW801 and install this and Max2play would be a portable tablet with screen and sound!
Got this screenshot of it on the HDMI screen because this table has a HDMI out on it.
It’s working real good. Been playing a big playlist I named My MP3 CD I play in my car driving a long way like 20 years ago now. so copied it to my Logitech Media Server.
-Raymond Day
- This reply was modified 7 years, 3 months ago by Raymond Day.
10. September 2017 at 21:59 #31249How do I add [SOLVED] to the title of this? Because it is [SOLVED] with no help from any one here.
-Raymond Day
11. September 2017 at 16:14 #31266Hi Raymond,
Sorry about that, I will update the thread accordingly.
12. September 2017 at 0:09 #31276One thing I found out low like 64kbps sounds like it’s playing in hi pitch or fast. I tested the same on a Max2play on a PI and it don’t do that only on my Tw800.
Can you think why this would be?
-Raymond Day
12. September 2017 at 0:33 #31277I got it fixed. Picked a new Soundcard under Audioplayer and Edit Advanced Options. I picked „dmixerUSB – Equalizer for USB,“ I did have „dmix -USB Audio DAC, USB Audio – Direct sample mixing device, CARD=DAC,DEV=0“
This is good this is the 2nd time this did this. All with a low kbps. Fast ones worked right.
Seems like you can install Max2play on all most any Ubuntu with the script and some editing.
So very nice job on this Max2play!
-Raymond Day
- This reply was modified 7 years, 3 months ago by Raymond Day.
12. September 2017 at 0:49 #31281Wow neat. I just started Kodi / XBMC and can play videos on the HDMI screen as Max2Play is playing on the USB speakers Kodi plays a video and sound thought the LCD monitor the HDMI.
They both play very good at the same time!
It’s hard to get this TW801. The TW801 has 2 times the ram 2MB not 1MB like the tw800. I seen they are out of them they were selling for just like $25 or so real cheep. I guess that’s why don’t have them any more.
Has one full size USB 3.0 port on it.
-Raymond Day
-
You must be logged in to reply to this topic.