• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / squeezeslave cant find dreamplug output device on: April 25, 2011, 01:28:43 AM
Is there something special that has to be configured with the DreamPlug in order to use in under applications like squeezeslave?

x@ubuntu:~$ sudo ./squeezeslave-1.0-216-alsa --debug all   
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
PortAudio error7: No output devices found.
2  Linux Stuff / General Linux questions / aplay outputs 'Invalid value for card' on: April 25, 2011, 01:08:03 AM
I'm running into some basic problems with my new DreamPlug. It can't seem to play a wave file under aplay.

aplay -vv Roland-GR-1-Pick-Bass-2-C4.wav
ALSA lib pcm_direct.c:1494:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
aplay: main:590: audio open error: No such file or directory

This is on a stock dream plug with the following modules loaded

x@ubuntu:~$ lsmod | grep snd
snd_usb_audio          60996  0
snd_pcm                62956  1 snd_usb_audio
snd_page_alloc          4799  1 snd_pcm
snd_hwdep               4933  1 snd_usb_audio
snd_usb_lib            16271  1 snd_usb_audio
snd_seq_midi            4066  0
snd_rawmidi            16417  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      5022  1 snd_seq_midi
snd_seq                48913  2 snd_seq_midi,snd_seq_midi_event
snd_timer              17410  2 snd_pcm,snd_seq
snd_seq_device          5011  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    35725  8 snd_usb_audio,snd_pcm,snd_hwdep,snd_usb_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore                678  1 snd

I've seen some posting related to a similar issue the recommend going down the OSS route but I'd love to fix this rather then going with a whole new sound subsystem.
3  Linux Stuff / Kernel / Re: sheeva.with-linux Dreamplug kernel? on: April 25, 2011, 12:52:39 AM
Thanks  cbxbiker61,

As soon as I get my questions about changing the uBoot env vars .. I'll give this a go.
4  Linux Stuff / Kernel / Re: iwconfig kernel oops on: April 25, 2011, 12:50:34 AM
Looks like 2.6.38.4 (http://plugcomputer.org/plugforum/index.php?topic=5799.0) is out which might fix this. Sadly the upgrade requires a change to the uBoot env. Does anyone know if there is a way to do that if you don't have a JTAG ?
5  Linux Stuff / Kernel / Re: 2.6.38.4 new kernel available on: April 25, 2011, 12:48:59 AM
For those of us that don't have a JTAG to change the uboot env .. is there anyway to upgrade to these newer kernels?
6  Linux Stuff / Kernel / Re: sheeva.with-linux Dreamplug kernel? on: April 20, 2011, 08:09:38 PM
Can any other DreamPlug users confirm a newer kernel that works?
7  Linux Stuff / Kernel / Re: iwconfig kernel oops on: April 20, 2011, 08:08:24 PM
I've mailed GlobalScale about this so we'll see what they say. I'd happily try a newer kernel out but without a jtag box i'm not willing to risk bricking it.
8  Linux Stuff / Kernel / Re: sheeva.with-linux Dreamplug kernel? on: April 09, 2011, 02:06:50 AM
Happy to help since I just got one of these. Here is the output for the generic cpu info

root@ubuntu:~# cat /proc/cpuinfo 
Processor   : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS   : 1192.75
Features   : swp half thumb fastmult edsp
CPU implementer   : 0x56
CPU architecture: 5TE
CPU variant   : 0x2
CPU part   : 0x131
CPU revision   : 1

Hardware   : Marvell GuruPlug Reference Board
Revision   : 0000
Serial      : 0000000000000000
9  Linux Stuff / Kernel / iwconfig kernel oops on: April 09, 2011, 02:03:14 AM
Brand new DreamPlug freezes after switching into wlan client mode per http://tinyurl.com/4yonjo3. If you try to run iwconfig, ifconfig, etc .. they all hang. dmesg shows a the kernel being unhappy

Steps to reproduce

1) /sbin/wlan.sh
2) iwconfig (with any valid option)
... iwconfig segfauls ...


Unable to handle kernel NULL pointer dereference at virtual address 00000090
pgd = de630000
[00000090] *pgd=1e73a031, *pte=00000000, *ppte=00000000
Internal error: Oops: 80000005 [#1] PREEMPT
last sysfs file: /sys/devices/platform/leds-gpio/leds/guruplug:red:health/brightness
Modules linked in: sd8xxx mcypt(P) btmrvl_sdio btmrvl xt_tcpudp iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables bridge stp llc bnep sco rfcomm l2cap dm_crypt dm_mod ipv6 snd_usb_audio snd_pcm snd_page_alloc snd_hwdep snd_usb_lib snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd sata_mv soundcore bluetooth mv_cesa [last unloaded: uap8xxx]
CPU: 0    Tainted: P            (2.6.33.6 #1)
PC is at 0x90
LR is at get_wireless_stats+0x60/0x6c
pc : [<00000090>]    lr : [<c03b7ff4>]    psr: 20000013
sp : de593db0  ip : de593dc0  fp : de593dbc
r10: df2b43a0  r9 : 00000001  r8 : 00008b0f
r7 : de593eb0  r6 : de593eb0  r5 : df2b43a0  r4 : 00008b0f
r3 : 00000090  r2 : de46b000  r1 : de593e54  r0 : de46b000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 1e630000  DAC: 00000015
Process iwconfig (pid: 2449, stack limit = 0xde592270)
Stack: (0xde593db0 to 0xde594000)
3da0:                                     de593ddc de593dc0 c03b8060 c03b7fa8
3dc0: 00008b0f de593ea0 c040e264 de593eb0 de593e44 de593de0 c03b888c c03b8058
3de0: de593e54 de46b000 00000020 00000000 c0035f34 c0039a28 00000000 de58b4f8
3e00: 00000001 00000001 00000004 60000013 c05fa518 de593ea0 c05fa518 00008b0f
3e20: de593ea0 c05fa518 beb8fe04 00000001 00000000 de593ea0 de593e7c de593e48
3e40: c03b81ac c03b85f8 c03b8048 de593e58 c02339b0 00008b0f 00000002 de592000
3e60: 00008b0f beb8fe04 00000000 c05fa518 de593ef4 de593e80 c03166ac c03b80b0
3e80: de593eac de593e90 de593eac de593e98 c00547ec c03dc93c 00000000 de58b4f8
3ea0: 6e616c6d 00000030 00000000 00000000 beb8ffa8 00010020 00000003 beb8fe60
3ec0: a0000013 c05f5940 de593ef4 de58d880 beb8fe04 00008b0f de58d880 beb8fe04
3ee0: de592000 beb8ffcc de593f14 de593ef8 c00b20f4 c0315f68 de58d880 df649028
3f00: 00008b0f de58d880 de593f7c de593f18 c00b27e4 c00b20d0 00000000 df60cd00
3f20: df60ac30 00000023 de592000 beb8d758 de593f6c de593f40 c00a4cc0 c00d2a30
3f40: 00000000 00000000 c020e2dc 00000000 00000000 de6ab000 00000003 beb8fe04
3f60: 00008b0f de58d880 c002bbc4 beb8ffcc de593fa4 de593f80 c00b287c c00b2284
3f80: ffffffff 00000000 beb8fe04 00000003 beb9073f 00000036 40035000 de593fa8
3fa0: c002ba40 c00b284c beb8fe04 00000003 00000003 00008b0f beb8fe04 beb8fe13
3fc0: beb8fe04 00000003 beb9073f 00000036 00000000 00000003 beb8ffcc 40035000
3fe0: beb8fe60 beb8fcf8 4002a2d0 401a477c 60000010 00000003 00a09031 00a09431
Code: bad PC value
---[ end trace 8b947137d269272e ]---

Any ideas or newer kernel images that fix this?

Kernel Version : Linux ubuntu 2.6.33.6 #1 PREEMPT Tue Feb 8 03:18:41 EST 2011 armv5tel GNU/Linux
10  Linux Stuff / General Linux questions / Re: PL2303 Serial->USB Driver support under stock Sheeva Plug on: December 17, 2009, 02:42:15 AM
I opted to upgrade my sheeva plug through the installer to 1.0 . Everything works perfectly now.
11  Linux Stuff / General Linux questions / PL2303 Serial->USB Driver support under stock Sheeva Plug on: December 09, 2009, 03:31:52 AM
Does the unmodified release of the Sheeva Plug (Ubuntu 9.04) support PL2303 devices for serial to usb conversion for the type A USB port? The shipped kernel 2.6.28.11 certainly has support for it in its src but from what i've seen the functionality doesn't seem to be there. My devices show up in lsusb but never do there proper mapping of usb->tty.

This is what should be happening ..

usb 1-1: new full speed USB device using uhci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice
usbserial: USB Serial support registered for pl2303
pl2303 1-1:1.0: pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver

But instead it never gets past.

usb 1-1: new full speed USB device using ehci_marvell and address 3
usb 1-1: configuration #1 chosen from 1 choice

Is my best option to try and compile the module directly on the Sheeva Plug or should I just push toward alpha6 or 1.0 and hope that my problem is solved?

And in general can the type A connector be used for serial->usb conversion or is that something reserved for the mini usb port?

Thanks!
12  General Category / General Discussion / Unable to make JTAG connection on OSX through Ubuntu VMWARE Image on: December 09, 2009, 03:18:12 AM
Does anyone know why VMWARE Fusion (2.0.6) on OS X (10.6.2) only surfaces the FT2232D B USB connector and not the A connector? I'd like to use an Ubuntu image to flash a new version of the base install but can't seem to figure out how to surface the A jtag connector. Running lsusb confirms that only B is loaded and the installer blows up on connecting. I've already tried restarting is several times and this doesn't look like a transient issue.

Any help is appreciated.
Pages: [1]