Go to advanced search

by Steady_Bear
Mon Jun 24, 2013 4:28 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 931
Views: 493741

Re: I2S: Anyone got it running? (answer is yes!)

Cheers for the info alpee. So a simple 64fs for the Pi, regardless of bitrate, and (channels x bitrate x fs) for the DAC should be simple enough with the binary counter I'm looking at. I've not looked at the performance of the counter as a divider, but if nothing else it's a start. I'm probably not ...
by Steady_Bear
Sun Jun 23, 2013 9:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 931
Views: 493741

Re: I2S: Anyone got it running? (answer is yes!)

Hi, Thanks to all the folks who have been putting time and effort into this work, especially philpoole and koalo. Spiffing stuff! I currently have it working well with a TDA1543T running off a USB pen drive (5% CPU load, no glitches heard yet) 44.1kHz 16bit stereo. However, my cheap nasty Tesco acti...
by Steady_Bear
Thu May 31, 2012 12:52 pm
Forum: Other programming languages
Topic: BASH (terminal use)
Replies: 8
Views: 8663

Re: BASH (terminal use)

Sorry for having been away a while and not continuing the tutorial on the more programming oriented side of Bash. Health (well, lack of) is getting in the way. I'll get back to finishing bits in the fullness of time. Until then William's guide above has lots of information (more detailed than I inte...
by Steady_Bear
Thu May 24, 2012 10:24 pm
Forum: Beginners
Topic: How to 'snapshot' a Pi?
Replies: 14
Views: 18386

Re: How to 'snapshot' a Pi?

There is a possibility of running 'dd' on a live system. But this could prove fraught with danger as having something change mid-write is highly likely. Also, limited memory devices, large file transfer, and Linux can be very painful if the system isn't set up correctly ;) Don't know how Pi-Debian's...
by Steady_Bear
Tue May 22, 2012 9:05 pm
Forum: Beginners
Topic: Hardware know-nothing looking for banana synth advice
Replies: 8
Views: 2627

Re: Hardware know-nothing looking for banana synth advice

People you've all missed the obvious: The GPIO is 3V, and very sensitive. Everybody knows that bananas are 5V... There are plenty of microcontrollers (such as the some Microchip PIC series) that can produce a cap-sense style system. There are also some decent guides explaining how to do it with thos...
by Steady_Bear
Tue May 22, 2012 8:50 pm
Forum: Other programming languages
Topic: BASH (terminal use)
Replies: 8
Views: 8663

Re: BASH (terminal use)

Doing more with your data. Most stuff in the command line environment either expects the user to input data or the software outputs some data to the command line. Or both. There is lots to be done with this data that can make life that little more simple. MOVING THROUGH THE PIPES: One of the more po...
by Steady_Bear
Tue May 22, 2012 6:38 pm
Forum: Other programming languages
Topic: BASH (terminal use)
Replies: 8
Views: 8663

BASH (terminal use)

Many people underestimate the power of BASH. So, I thought I'd write a tutorial on getting something more from the bash shell to help bring more folks over to the dark side. The scripting/programing capabilities aren't as powerful as Perl or similar languages, but often it can do the job just as wel...
by Steady_Bear
Tue May 22, 2012 5:50 pm
Forum: Troubleshooting
Topic: Audio in terminal - Debian
Replies: 15
Views: 22745

Re: Audio in terminal - Debian

What are you using to play music under X? Does mplayer work under X and not the terminal? What happens when you run alsamixer (assuming it's installed - not sure what mixer kids use these days ;) )? Both under X and a pre-X terminal. What is the last block of output from dmesg after modprobeing the ...
by Steady_Bear
Tue May 22, 2012 5:39 pm
Forum: Beginners
Topic: External HDD can't mount?
Replies: 11
Views: 11009

Re: External HDD can't mount?

Unless something has seriously changed ;) you edit the /etc/fstab file. Must be edited as root (so run... sudo nano /etc/fstab) You'll see the following format: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 0 /dev/mmcblk0p3 none swap sw 0 0 dc4-arm-01:/home/grayg/stage/debpi_pubs...
by Steady_Bear
Wed May 16, 2012 5:31 pm
Forum: Troubleshooting
Topic: Pi shuts down soon after powering up at random points
Replies: 88
Views: 31325

Re: Pi shuts down soon after powering up at random points

@fyz: I've had a look, the point it's dying in the video is during/after setting up all the devices for the system. Though the drivers all seem to go in fine. Have you tried running it with nothing but the TV plugged in? There are a few people that have issues with specific keyboards and mice being ...
by Steady_Bear
Wed May 16, 2012 5:10 pm
Forum: Troubleshooting
Topic: A word of warning on using cheap Micro USB cables.
Replies: 23
Views: 8682

Re: A word of warning on using cheap Micro USB cables.

Thin copper wire in cheap cables? Lucky you. A lot of the cheap cables go for steel (copper doesn't rust, so I know it wasn't that ;) ). Brittle, high impedance, but really cheap. Hence the issues. Also, don't assume that it's copper just because the strands look like copper on the outside, it may s...
by Steady_Bear
Sun May 13, 2012 12:34 pm
Forum: Beginners
Topic: Another AB guide request - installing an uncommon program
Replies: 11
Views: 4394

Re: Another AB guide request - installing an uncommon progra

Hi, Just a couple quite notes: less filename is a slightly more simplified form of 'cat filename | less' same goes for 'more'. Just to explain these commands, 'cat' will dump information from any file or any device under '/dev/' (you'd probably not want to be playing with the '/dev/' area until you ...
by Steady_Bear
Sat May 12, 2012 7:06 pm
Forum: Troubleshooting
Topic: Cross compiling with GCC
Replies: 5
Views: 4407

Re: Cross compiling with GCC

<t>Not too sure with the RasPi and what other people have done, but when playing with cross-compiling a while ago I was passing two arguments to GCC, both the target-architecture and the host-architecture.<br/> <br/> It may be worth having a look at the Linux From Scratch* website and checking out t...
by Steady_Bear
Fri May 11, 2012 4:43 pm
Forum: Troubleshooting
Topic: Kernel panic - not syncing: Attempted to kill init!
Replies: 27
Views: 50287

Re: Kernel panic - not syncing: Attempted to kill init!

<t>Let's face it, it wasn't just the RJ45 socket they tried to save costs on. They don't manage to make stuff so cheap by buying in high quality parts to mount.<br/> <br/> Though, given the thousands that have shipped and the reported problems with the Pi seeming to be in the tens, it's probably wor...
by Steady_Bear
Fri May 11, 2012 4:13 pm
Forum: Beginners
Topic: booting of USB flash drive
Replies: 16
Views: 9492

Re: booting of USB flash drive

<t>Just to clarify a couple points - the filesystem ID you want for your USB drive is '83' if using fdisk under Linux to sort the drive out.<br/> <br/> So you can ignore my above comments about 'fdisk /dev/mmcblk0p'<br/> <br/> I've also just thought - copying /sys/ and /proc/ of a running system may...
by Steady_Bear
Fri May 11, 2012 3:55 pm
Forum: Beginners
Topic: First impressions - Slow, Scary & unfriendly
Replies: 212
Views: 47896

Re: First impressions - Slow, Scary & unfriendly

<t>cashaw said: <br/> <br/> <br/> Just a thought, since the Pi is comparable to a 300MHZ Pentium, a computer from around Y2K. If we loaded a version of Linux that was released around that time, would it run fine and dandy ? (Assuming it was all re-compiled to the Rpi's ARM architecture etc)<br/> <br...
by Steady_Bear
Fri May 11, 2012 3:52 pm
Forum: Beginners
Topic: SSH Guide For Complete noob?
Replies: 71
Views: 116320

Re: SSH Guide For Complete noob?

<t>Ha, there's not much else to read for top or killall. The RTFM was for the VNC software et al. The software, if intended to run in the background may allow you to kill it politely.<br/> <br/> I would never expect a person to read up on a piece of software they haven't heard of yet! Unless it was ...
by Steady_Bear
Fri May 11, 2012 3:38 pm
Forum: Troubleshooting
Topic: No HDMI or RCA Video Output from brand new board.
Replies: 12
Views: 5463

Re: No HDMI or RCA Video Output from brand new board.

The real lesson to learn here, is when you first try something - especially if you're debugging - is to remove all bar the bare minimum and try each subsystem separately.

Easy in hindsight
by Steady_Bear
Fri May 11, 2012 3:35 pm
Forum: Troubleshooting
Topic: Kernel panic - not syncing: Attempted to kill init!
Replies: 27
Views: 50287

Re: Kernel panic - not syncing: Attempted to kill init!

<t>I take it that there is distinct barrel distortion on the photo of the SD card and that the card itself is much flatter than it appears?<br/> <br/> Either way, as bredman said, a photo of the inside of the SD port could be quite revealing.<br/> <br/> If it looks normal to you, try squishing down ...
by Steady_Bear
Fri May 11, 2012 9:26 am
Forum: Beginners
Topic: booting of USB flash drive
Replies: 16
Views: 9492

Re: booting of USB flash drive

<t>Hi,<br/> <br/> I think I may have slightly mislead you. I was trying to get at the following:<br/> <br/> on the Pi whilst it is running type:<br/> <br/> 'fdisk /dev/mmcblk0p' (assuming this is the SD card)<br/> hit 'p' and check what filesystem is used for the second partition. Write down exactly...
by Steady_Bear
Thu May 10, 2012 11:56 pm
Forum: Beginners
Topic: SSH Guide For Complete noob?
Replies: 71
Views: 116320

Re: SSH Guide For Complete noob?

<t>If you add & to the end of a command it sends the command to the background giving you the console back for other use.<br/> <br/> If you started the commands under the ssh login, when you logout the automatically get killed. Unless you invoke nohup (no hang up). I've not read the full thread ...
by Steady_Bear
Thu May 10, 2012 11:39 pm
Forum: Troubleshooting
Topic: Unable to install openoffice.org on debian 6 19-04-2012
Replies: 16
Views: 6143

Re: Unable to install openoffice.org on debian 6 19-04-2012

<t>Grumpyoldgit said: <br/> <br/> <br/> I'm running on Debian 29-04-2012.<br/> <br/> I've just installed OpenOffice for the hell of it.<br/> <br/> The given instructions were fine; i.e.:-<br/> <br/> sudo apt-get install openoffice.org<br/> <br/> Going into Write or Calc sends cpu up to max for a few...
by Steady_Bear
Thu May 10, 2012 11:35 pm
Forum: Troubleshooting
Topic: Pi shuts down soon after powering up at random points
Replies: 88
Views: 31325

Re: Pi shuts down soon after powering up at random points

<t>I'd certainly try the above's suggestion. However, as the screen just disappears at a point that looks to have no change in the framebuffer mode (pretty text screen) then I'd personally doubt the config.txt file. But that's doubt, not rule out.<br/> <br/> Could you rinse and repeat (obviously wit...
by Steady_Bear
Thu May 10, 2012 11:27 pm
Forum: Troubleshooting
Topic: Video Blog of Experiments with SD card
Replies: 14
Views: 3091

Re: Video Blog of Experiments with SD card

<t>Okay! <br/> <br/> Well, that video did get me thinking (wrongly) about maybe a settling time for the caps on initial power up, but they would all be drained pretty damned quickly after power off so that wouldn't be why it works after being on for a while. So, lets see if we can confirm the heat t...
by Steady_Bear
Thu May 10, 2012 8:24 pm
Forum: Beginners
Topic: booting of USB flash drive
Replies: 16
Views: 9492

Re: booting of USB flash drive

<t>Hi,<br/> <br/> You can't ever change directory to /dev/sda1 - it's a not a directory.<br/> <br/> Just a quick intro, all hardware that exists needs to be represented to the user/kernel somehow. The /dev/ directory holds all the representations of the hardware. In this case, anything that is mass ...

Go to advanced search