• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  General Category / Application ideas and development Q/A / Re: Sun JDK is not installable on Debian Lenny - any ideas? on: August 27, 2010, 04:29:01 AM
Just so you know, the IBM JRE that is being sold on the Global Scale web site is a J9 Micro Edition and not really usable for much of anything (IMHO).

Doug
2  Linux Stuff / Kernel / Re: How do I get iptables to work? How do I upgrade the kernel? on: August 01, 2010, 02:39:02 PM
I use UFW on my plug...

https://help.ubuntu.com/community/UFW

I highly recommend it.  (presuming your linux disto kernel and all).

Hope that helps,

Doug
3  General Category / General Discussion / Re: MPD issues on the Guru on: June 30, 2010, 04:51:11 AM
Well, my mpd on the sheeva with a USB sound device also works like a charm.  I use the minion plugin in firefox to control it.

My mpd.conf:

audio_output {
        type                    "alsa"
        name                    "USB Audio"
        device                  "hw:1,0"
        format                  "44100:16:2"
        use_mmap            "yes"
}

Note that I had to change the device.

So what version of mpd?

root@sheeva:/etc# mpd --version
mpd (MPD: Music Player Daemon) 0.15.9

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported decoders:

[mad] mp3 mp2
[oggflac] ogg oga
[flac] flac

Supported outputs:

null fifo alsa oss

Supported protocols:

file:// http:// lastfm://


High CPU usage was a known issue with some of the older MPDs.  I had to build mpd myself for a variety of reasons.  I'd be happy to post a tar ball if needed.

Hope that helps,

Doug
4  Linux Stuff / Kernel / Re: 2.6.34 new release on: June 29, 2010, 04:28:12 AM
Hopefully not off topic but maybe helpful to others...

I have a USB sound device (see my other posts) that was working very well with the 2.6.32.  After upgrading to 2.6.34, I got hiss and noise from the USB sound card.  Obviously more likely a problem with a kernel module than anythng else.  I didn't try to debug it, just rolled back and all was well.

Hope that helps,

Doug
5  Hardware and U-Boot firmware / Hardware / Re: USB speakers ? on: May 07, 2010, 12:23:48 PM
Are you using ALSA sound?

Or, how are you laying music though your speakers?

If you are getting crackle and using ALSA sounds, chances are that ALSA is doing bit rate conversion.

For me, I use mpd, I had to change /etc/mtd.conf to configure the ALSA sound device correctly:

audio_output {
        type                    "alsa"
        name                    "USB Audio"
        device                  "hw:1,0"
        format                  "44100:16:2"
}

Hope that helps,

Doug
6  Hardware and U-Boot firmware / Hardware / Re: Shiva Plug USB to Analog Audio on: February 19, 2010, 06:03:38 AM
At the risk of answering newby questions ...

1) Get a USB sound device.  I use :  http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=4115644&CatId=4261
$25 and works great.  You will need to update you kernel and modules to get USB sound support.

2) Use MPD to stream audio:  http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
Either that or PulseAudio.

Hope that helps,

Doug
7  General Category / General Discussion / Re: Using Plugcomputer as a router/firewall? on: February 18, 2010, 08:26:21 AM
I use my plug as a firewall/router.  I have a USB ethernet adapter for the second interface.  I use ufw to manage the firewall.  I also have a VPN to the office on the plug.  Works just fine.

Hope that helps,

Doug
8  General Category / General Discussion / Re: A Problem -> And installing Java? on: February 07, 2010, 06:03:21 AM
As to port 80, if:

netstat -ln

and

lsof -i

don't show anything on port 80, or http, then clearly you have a configuration problem and the error message is bogus.

As to java,  I'd recommend the openjdk-6-jre-headless package.


Hope that helps,

Doug
9  Hardware and U-Boot firmware / Hardware / Re: Anyone used SPDIF for audio? on: February 02, 2010, 05:45:57 AM
My USB sound card works with SPDIF:

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=4115644&CatId=4261


Doug
10  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: January 20, 2010, 04:16:41 AM
As to sound being very quite - have installed and tried alsamixer?
11  General Category / General Discussion / Re: Audio Streaming to an Icecast server on: January 20, 2010, 04:11:22 AM
I use MPD - Media Player Demon.

The general gist of it can be found here:

http://wiki.archlinux.org/index.php/Streaming_With_Icecast_and_MPD

Hope that helps,

Doug
12  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: January 20, 2010, 04:08:48 AM
As to the sound device driver, as I said before, I'm just using the modules that came with the kernel.  Output from my 'lsmod' is shown above.  Past that, I have:

usb 1-1.4.4: new full speed USB device using orion-ehci and address 7
usb 1-1.4.4: configuration #1 chosen from 1 choice
input: USB Sound Device         as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.3/input/input0
generic-usb 0003:0D8C:0102.0001: input: USB HID v1.00 Device [USB Sound Device        ] on usb-orion-ehci.0-1.4.4/input3

In my 'dmesg' output.  Is there anything else that I can give that would help?

Doug
13  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: January 19, 2010, 08:55:20 AM
I have a cheapo USB sound card running:

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=4115644&CatId=4261

My lsmod shows:

snd_usb_audio          62198  0
snd_pcm                64636  1 snd_usb_audio
snd_page_alloc          4991  1 snd_pcm
snd_usb_lib            15682  1 snd_usb_audio
snd_hwdep               5265  1 snd_usb_audio
snd_seq_midi            4530  0
snd_rawmidi            17265  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      5214  1 snd_seq_midi
snd_seq                50529  2 snd_seq_midi,snd_seq_midi_event
snd_timer              18437  2 snd_pcm,snd_seq
snd_seq_device          5207  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    38097  7 snd_usb_audio,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore                702  1 snd

I am using the 2.6.32.2 kernel and associated modules.

This works with the Alsa sound system.  I run MP3, Flac, etc through MPD. 

Hope that helps,

Doug
14  Hardware and U-Boot firmware / Hardware / Re: USB to Ethernet Adaptor. Has anyone actually set up one of these? on: January 19, 2010, 08:51:20 AM
I have also set up a USB ethernet adapter.  Just a cheapo Sabrent from Tiger Direct.  I currently use the Sheeva as my firewall, amongst many other services.  I run the 2.6.32.2 kernel.  It has support and the needed kernel modules:

asix                   12332  0
usbnet                 12481  1 asix


15  General Category / Application ideas and development Q/A / Re: Java instalation - sudo apt-get install sun-java6-jre on: April 25, 2009, 11:48:08 AM
This is a known packaging issue (I did find the actual defect.... not going back to look for it).

Hopefully this will be fixed soon.

I am using openjdk-6-jdk.  This does work pretty well, my biggest problem is that it takes over 300 meg of disk space.

Hope that helps,

Doug
Pages: [1] 2