|
From: | Krzysztof Stankiewicz |
Subject: | Re: [Ltib] mp3play produces sound but mplayer doesnt? |
Date: | Tue, 10 May 2011 13:56:52 +1000 |
Hi Kevin, I think I've done everything right a few dozen times but still cannot produce sound with .34. Neither with madplay mp3play or mplayer. alsamixer produces message about 'ioctl' Ive gotten latest ltib using cvs again, that would come with latest patches right? Please help. address@hidden /]# more /proc/asound/devices 2: : timer 3: : sequencer 4: [ 0- 0]: digital audio playback 5: [ 0- 0]: digital audio capture 6: [ 0] : control address@hidden /]# ls /dev/snd/ -la drwxr-xr-x 2 root root 4096 Nov 23 2010 . drwxr-xr-x 4 root root 4096 May 9 2011 .. crw-r--r-- 1 root root 116, 6 Nov 23 2010 controlC0 crw-r--r-- 1 root root 116, 5 Nov 23 2010 pcmC0D0c crw-r--r-- 1 root root 116, 4 Nov 23 2010 pcmC0D0p address@hidden /]# alsamixer alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device address@hidden apps]# ./madplay muse-1~1.mp3 MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. Title: Butterflies & Hurricanes Artist: Muse Album: Absolution Track: 10 Genre: Other (Produces silence) ## Booting kernel from Legacy Image at 80100000 ... Image Name: Linux-2.6.34 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1870776 Bytes = 1.8 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... ÿLinux version 2.6.34 (address@hidden) (gcc version 4.3.2 (crosstool-NG-1.3.1) ) #3 PREEMPT Tue May 10 11:41:13 CST 2011 CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Phytec 3250 board with the LPC3250 Microcontroller Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS0,115200n81 root=/dev/nfs rw nfsroot=192.168.1. 240:/newplc3250/ltib-10-1-1a-sv/rootfs_working ip=192.168.1.241 init=/linuxrc et haddr=00:14:7D:01:02 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 60988k/60988k available, 4548k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc4800000 - 0xf0000000 ( 696 MB) lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc0028000 ( 128 kB) .text : 0xc0028000 - 0xc039c000 (3536 kB) .data : 0xc039c000 - 0xc03c1400 ( 149 kB) Hierarchical RCU implementation. NR_IRQS:96 Console: colour dummy device 80x30 Calibrating delay loop... 103.83 BogoMIPS (lpj=519168) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 LPC32XX unique ID: 00000000000000000000000000000000 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Version 1.0.22.1. Switching to clocksource lpc32xx_clksrc NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 119 alg: No test for stdrng (krng) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) CLCD: Phytec LCD hardware, QVGA portrait display Console: switching to colour frame buffer device 30x40 Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x40090000 (irq = 9) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bi t) Creating 5 MTD partitions on "lpc32xx-nand": 0x000000000000-0x000000064000 : "phy3250-boot" 0x000000064000-0x0000001f4000 : "phy3250-uboot" 0x0000001f4000-0x000000204000 : "phy3250-ubt-prms" 0x000000204000-0x000000604000 : "phy3250-kernel" 0x000000604000-0x000002000000 : "phy3250-rootfs" ssp-pl022 dev:ssp0: ARM PL022 driver, device ID: 0x00041022 pl022: mapped registers from 0x20084000 to c488c000 at25 spi0.0: 32 KByte at25256a eeprom, pagesize 64 lpc_mii_bus: probed eth0: using RMII interface eth0: LPC mac at 0x31060000 irq 29 eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=0:01, irq=-1) ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ISP1301 Vendor ID : 0x0483 ISP1301 Product ID : 0xa0c4 ISP1301 Version ID : 0x4747 usb-ohci usb-ohci: at 0xf3120000, irq 0 usb-ohci usb-ohci: pnx4008 OHCI usb-ohci usb-ohci: new USB bus registered, assigned bus number 1 usb-ohci usb-ohci: irq 59, io mem 0xf3120000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver libusual mice: PS/2 mouse device common for all mice input: lpc32xx-ts as /class/input/input0 rtc-lpc32xx rtc-lpc32xx: rtc core: registered rtc-lpc32xx as rtc0 i2c /dev entries driver PNX4008-WDT: PNX4008 Watchdog Timer: heartbeat 19 sec cpuidle: using governor ladder cpuidle: using governor menu mmci-pl18x dev:mmc0: DMA buffer: phy:83dc0000, virt:ffc4e000 mmci-pl18x dev:mmc0: mmc0: MMCI rev 0 cfg 00 at 0x0000000020098000 irq 15,13 No device for DAI lpc3xxx-i2s0 No device for DAI lpc3xxx-i2s1 asoc: UDA1380 <-> lpc3xxx-i2s1 mapping ok ALSA device list: #0: LPC32XX (UDA1380) TCP cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1 rtc-lpc32xx rtc-lpc32xx: setting system clock to 1970-01-01 00:00:21 UTC (21) IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.1.241, mask=255.255.255.0, gw=255.255.255.255, host=192.168.1.241, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=192.168.1.240, rootpath= Looking up port of RPC 100003/2 on 192.168.1.240 Looking up port of RPC 100005/1 on 192.168.1.240 VFS: Mounted root (nfs filesystem) on device 0:10. Freeing init memory: 128K init started: BusyBox v1.11.2 () From: address@hidden To: address@hidden; address@hidden; address@hidden Date: Thu, 5 May 2011 06:38:02 +0200 Subject: RE: [Ltib] mp3play produces sound but mplayer doesnt?
Ill try it when I get back to the office next week. PCMCIA shouldnt be enabled in the kernel for the LPC32xx. Verify you have all the latest LTIB updates to get all the latest 32xx patches. Also build with the default kernel config just to make sure nothing has been changed in the kernel that can cause some type of problem.
As of last check (a few months ago), mp3play, madplayer, and mplayer all worked fine.
Kevin
Subject: Re: [Ltib] mp3play produces sound but mplayer doesnt?
From: address@hidden
Hi,
It might require ALSA device nodes in /dev/snd/. Have you checked the setup for ALSA (check http://www.lpclinux.com/Forums/ForumLPC32xx0001) and also verified the volume is on?
thanks, Kevin
Subject: Re: [Ltib] mp3play produces sound but mplayer doesnt?
Oh hi I meant;
|
[Prev in Thread] | Current Thread | [Next in Thread] |