JustCurious
Posts: 36
Joined: Sat Jun 07, 2014 12:27 pm

Pi keeps stalling

Thu Jun 26, 2014 12:22 am

I use the RPi with Volumio and the Pi-DAC from IQaudIO. The RPi keeps stalling after a certain amount of time. Always when not operated (running though), and within between 10 minutes and 3 days.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Pi keeps stalling

Thu Jun 26, 2014 2:31 am

Have you been in touch with IQaudIO ?

JustCurious
Posts: 36
Joined: Sat Jun 07, 2014 12:27 pm

Re: Pi keeps stalling

Thu Jun 26, 2014 8:57 am

AndrewS wrote:Have you been in touch with IQaudIO ?
Yes. My DAC board will be examined by IQaudIO. But what are you aiming at exactly? :)

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Pi keeps stalling

Thu Jun 26, 2014 9:12 am

staling how ?
does dmesg say anything
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

JustCurious
Posts: 36
Joined: Sat Jun 07, 2014 12:27 pm

Re: Pi keeps stalling

Thu Jun 26, 2014 10:08 am

RaTTuS wrote:staling how ?
Ping times out and ssh/telnet get no response. (t.i. wirelessly)

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Pi keeps stalling

Thu Jun 26, 2014 10:13 am

What WiFi dongle are you using?

Have you disabled power management for it?

Post the output from a lsusb command.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JustCurious
Posts: 36
Joined: Sat Jun 07, 2014 12:27 pm

Re: Pi keeps stalling

Sat Jun 28, 2014 7:09 pm

Lsusb:

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

I don't know how to disable power management of the WiFi dongle.

As for dmesg, I don't know what it means but I suspect it reports about the initialisation phase of the operating system.

It looks like Volumio (or the WiFi dongle) goes to sleep and I can wake it up by initiating a connection and waiting a while.

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Pi keeps stalling

Sat Jun 28, 2014 7:22 pm

You can disable power management for thr EW-7811Un by making file /etc/modprobe.d/8192cu.conf.

Use command

Code: Select all

sudo nano /etc/modprobe.d/8192cu.conf
to edit the file and add the lines, well only second line is really needed.

Code: Select all

# Disable power management
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
Save the file and terminate the editor using keys Cntl-x, y, enter.

This will turn off power management and stop the EW-7811Un disconnecting from the USB bus.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

JustCurious
Posts: 36
Joined: Sat Jun 07, 2014 12:27 pm

Re: Pi keeps stalling

Sun Jun 29, 2014 8:45 am

Thanks MrEngman! That works! :D

thaddeussmith
Posts: 4
Joined: Mon Aug 25, 2014 1:50 pm

Re: Pi keeps stalling

Mon Aug 25, 2014 1:51 pm

What would be the proper syntax to create the same file/settings for this device?

Bus 001 Device 004: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]


I'm having the exact same symptoms, but different device. Running Volumio 1.41 (raspyfi)

thaddeussmith
Posts: 4
Joined: Mon Aug 25, 2014 1:50 pm

Re: Pi keeps stalling

Mon Aug 25, 2014 4:53 pm

After re-reading the thread, I just realized that I'm dumb and the existing syntax should also work for my Netgear adapter. I was getting hung up on manufacturer names and assuming there was a difference.

Return to “Troubleshooting”