Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
On Friday, 6 January 2017 11:54:20 GMT Ralph Corderoy wrote: > > > The Pi Zero could replace the former and should be up to flinging > > > SPI data to more than one of them. > > > > The problem is that we want the UI to be simple toggle switches on the > > front of the ammo-box case for the

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
On Friday, 6 January 2017 11:17:48 GMT Stephen Wolff wrote: > It might be a silly suggestion - but could you use multiple Pi Zeros, > given that their cost is much less than the Pi 3? That has been discussed and could be done using GPIO pins to achieve the interactive requirements (see my other

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
On Thursday, 5 January 2017 15:12:10 GMT Ralph Corderoy wrote: > One last idea. It used to be you'd build an MP3 player from an MCU and > a $7 MP3-decoder chip. The Pi Zero could replace the former and should > be up to flinging SPI data to more than one of them. > >

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Stephen Wolff
It turns out that the Pi Hut device is not multi-TT, in fact they specifically warn about this in the User Manual and describe the penalty of using USB V1.1 devices with it, so that's no go. Having done an extensive search, it seems that the cheapest Multi-TT Hub on the market at the moment

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
On Thursday, 5 January 2017 14:10:38 GMT Terry Coles wrote: > It looks as though I could fix this with a multi-TT hub, as suggested by > William, but the cost may be prohibitive. There is a hub that is specific > to the Zero that is sold by the Pi Hut for £10. I would need to ask them > these

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Ralph Corderoy
Hi Terry, One last idea. It used to be you'd build an MP3 player from an MCU and a $7 MP3-decoder chip. The Pi Zero could replace the former and should be up to flinging SPI data to more than one of them. http://www.vlsi.fi/en/products/vs1011.html http://fun4diy.com/CCS_MP3.htm

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Terry Coles
On Thursday, 5 January 2017 12:17:05 GMT Ralph Corderoy wrote: > > I ran lsusb on the hub Terry tried and it does show up as single-TT, > > although it does show up as 4 hubs. > > I filtered out some of its more interesting lines to try and lessen the > noise, giving http://pastebin.com/GSu1Cb8A

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Ralph Corderoy
Hi Terry, > I'm leaning towards the multi-core effect as being the reason that the > bigger Pis work. Quite possibly. Andrew's good idea of two Pis with their UARTs connected so you've a serial console might actually give useful information when it freezes rather than all this guesswork. >

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Terry Coles
On Thursday, 5 January 2017 12:17:05 GMT Ralph Corderoy wrote: > > I ran lsusb on the hub Terry tried and it does show up as single-TT, > > although it does show up as 4 hubs. > > I filtered out some of its more interesting lines to try and lessen the > noise, giving http://pastebin.com/GSu1Cb8A

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Ralph Corderoy
Hi David, > I ran lsusb on the hub Terry tried and it does show up as single-TT, > although it does show up as 4 hubs. I filtered out some of its more interesting lines to try and lessen the noise, giving http://pastebin.com/GSu1Cb8A That says "bDeviceProtocol 2 TT per port" a couple of times so

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread David Wilkinson
On 04/01/17 17:30, Terry Coles wrote: The hub that I borrowed from David Wilkinson was USB 2.0 and so is the Naked one that we are using for the project, so they should have had at least one built-in transaction translator I ran lsusb on the hub Terry tried and it does show up as single-TT,

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Ralph Corderoy
Hi Terry, Will wrote: > > You might try using a multi transaction translator ("Multi-TT") hub > > instead. > > The hub that I borrowed from David Wilkinson was USB 2.0 and so is the > Naked one that we are using for the project, so they should have had > at least one built-in transaction

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Ralph Corderoy
Hi Terry, > Well OK. I am surmising that there are conflicts when the three > devices are all shouting. OK, but they're not playing audio at this point, just there for bus enumeration, current negotiation, etc. > The problem only occurs (and it occurs every time) if I try to connect > the hub

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Andrew
On 04/01/17 16:26, Terry Coles wrote: Also, I think `journalctl -f' might be interesting to watch as you do things. You can tap Enter to give you a bit of blank space now and again so you can see what's new. You can try doing this over an SSH connection to the Pi for when you run `startx', but

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
On Wednesday, 4 January 2017 16:36:54 GMT William R Sowerbutts wrote: > >Well OK. I am surmising that there are conflicts when the three devices > >are all shouting. > > It may be that there isn't enough USB bandwidth to serve multiple low-speed > isochronous devices concurrently. That is what

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread William R Sowerbutts
>Well OK. I am surmising that there are conflicts when the three devices are >all shouting. It may be that there isn't enough USB bandwidth to serve multiple low-speed isochronous devices concurrently. You might try using a multi transaction translator ("Multi-TT") hub instead.

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
On Wednesday, 4 January 2017 15:50:00 GMT Ralph Corderoy wrote: > > It turns out that the problem seems to be that the Hub is connected > > via a USB port on the Pi (the only one in the case of the Zero). It > > looks like that port cannot handle the conflicts when all the Audio > > Adaptors

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Ralph Corderoy
Hi Terry, > Not in fact the problem, see : > > http://forum.modmypi.com/technical-support/usb-audio-adaptors-pi-locking-up-when-booting-t1041.html#p4482 > > It turns out that the problem seems to be that the Hub is connected > via a USB port on the Pi (the only one in the case of the Zero). It

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
On Wednesday, 4 January 2017 15:30:01 GMT Ralph Corderoy wrote: > > > Have you this page, and in particular the anchored section? > > > http://elinux.org/RPi_Powered_USB_Hubs#USB_Hub_Power_Hookup > > > > The answer is yes; that's exactly what I am doing. > > So you saw "This section describes

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Ralph Corderoy
Hi Terry, > > Have you this page, and in particular the anchored section? > > http://elinux.org/RPi_Powered_USB_Hubs#USB_Hub_Power_Hookup > > The answer is yes; that's exactly what I am doing. So you saw "This section describes two tests that will verify that a USB hub has the correct power

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
On Tuesday, 3 January 2017 14:23:45 GMT Terry Coles wrote: > My previous request for a loan of a powered Hub took me a step closer to > resolving my problem (thanks David). The problem is that although I think > I know now what is causing the problem, I don't know what it is doing to > the

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
On Tuesday, 3 January 2017 16:56:50 GMT Ralph Corderoy wrote: > I'm just passing by so haven't read back over the thread, but it sounds > like a power issue to me. Have you this page, and in particular the > anchored section? > http://elinux.org/RPi_Powered_USB_Hubs#USB_Hub_Power_Hookup :-) I

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Ralph Corderoy
Hi Terry, I'm just passing by so haven't read back over the thread, but it sounds like a power issue to me. Have you this page, and in particular the anchored section? http://elinux.org/RPi_Powered_USB_Hubs#USB_Hub_Power_Hookup Cheers, Ralph. -- Next meeting: Bournemouth, Tuesday, 2017-01-03

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
On Tuesday, 3 January 2017 16:39:02 GMT steampunkprofessor wrote: > Looks like you got the power supply covered then. Beyond checking dmesg and > going on forums I'm afraid I have little else to offer, I assume it's not > overclocked. The flash symbol appears top right on my desktop. Had it when >

[Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
Hi, My previous request for a loan of a powered Hub took me a step closer to resolving my problem (thanks David). The problem is that although I think I know now what is causing the problem, I don't know what it is doing to the machine. So when I plugged David's Hub in, instead of the