LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Stereo + ALSA (https://www.linuxquestions.org/questions/linux-hardware-18/usb-stereo-alsa-92524/)

cpluspaul 09-13-2003 09:24 PM

USB Stereo + ALSA
 
I have a USB Stereo system, from philips its the C577 model, it supports pc link via usb for audio output.

I run slackware linux, and the kernel reconizes the Audio device.
as snd-usb-audio (i think) and there is also a listing for it
in /proc/usb/... when i run xmms or anything is supposed to output sound
i get nothing, i assumed from the usb audio HOWTO pages it supposed
to be set up automaticly.

When i do cat /dev/dsp i get alot of stange console output that look like hollow boxs [][][][][] that goes on forver until i break it. is this normal?

anyhow i installed ALSA but i cant run any of the tools. alsamixer for example i get this error:

alsamixer: function snd_ctl_open failed for default: No such file or directory
anyhoo i know i need to set up my modules.conf to set up my audio but i tried many diffrent times with no success this is my moduels.conf:

alias char-major-195 nvidia

alias char-major-116 snd
alias snd-card-0 snd-usb-audio
post-install snd-card-0 /usr/sbin/alsactl restore
alias char-major-14 soundcore
alias sound-slot-0 snd-usb-audio
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
post-install sound-service-0-1 /usr/local/bin/sfxload -c30 -r30 synthgs
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


and this my moduels.devfs

# /etc/modules.devfs
# Richard Gooch 24-MAR-2002
#
# THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT EDIT!!!
# THIS FILE WILL BE OVERWRITTEN EACH TIME YOU INSTALL DEVFSD!!!
# Modify /etc/modules.conf instead.
# This file comes with devfsd-vDEVFSD-VERSION which is available from:
# or directly from:


###############################################################################
# Sample configurations that you may want to place in /etc/modules.conf
#
#alias sound-slot-0 sb
#alias /dev/v4l bttv
#alias /dev/misc/watchdog pcwd
#alias gen-md raid0
#alias /dev/joysticks joystick
#probeall scsi_hostadapter sym53c8xx

###############################################################################
# Generic section: do not change or copy
#
# All HDDs
probeall /dev/discs scsi_hostadapter sd_mod ide-probe-mod ide-disk ide-floppy DAC960
alias /dev/discs/* /dev/discs

# All CD-ROMs
probeall /dev/cdroms scsi_hostadapter sr_mod ide-probe-mod ide-cd cdrom
alias /dev/cdroms/* /dev/cdroms
alias /dev/cdrom /dev/cdroms

# All tapes
probeall /dev/tapes scsi_hostadapter st ide-probe-mod ide-tape
alias /dev/tapes/* /dev/tapes

# All SCSI devices
probeall /dev/scsi scsi_hostadapter sd_mod sr_mod st sg

# All IDE devices
probeall /dev/ide ide-probe-mod ide-disk ide-cd ide-tape ide-floppy

# IDE CD-ROMs
alias /dev/ide/*/cd ide-cd

# SCSI HDDs
probeall /dev/sd scsi_hostadapter sd_mod
alias /dev/sd* /dev/sd

# SCSI CD-ROMs
probeall /dev/sr scsi_hostadapter sr_mod
alias /dev/sr* /dev/sr
alias /dev/scsi/*/cd sr_mod

# SCSI tapes
probeall /dev/st scsi_hostadapter st
alias /dev/st* /dev/st
alias /dev/nst* /dev/st

# SCSI generic
probeall /dev/sg scsi_hostadapter sg
alias /dev/sg* /dev/sg
alias /dev/scsi/*/generic /dev/sg
alias /dev/pg /dev/sg
alias /dev/pg* /dev/sg

# Floppies
alias /dev/floppy floppy
alias /dev/fd* floppy

# RAMDISCs
alias /dev/rd rd
alias /dev/ram* rd

# Loop devices
alias /dev/loop* loop

# Meta devices
alias /dev/md* gen-md

# Parallel port printers
alias /dev/printers* lp
alias /dev/lp* /dev/printers

# Soundcard
alias /dev/sound snd-usb-audio
alias /dev/audio /dev/sound
alias /dev/mixer /dev/sound
alias /dev/dsp /dev/sound
alias /dev/dspW /dev/sound
alias /dev/midi /dev/sound

# Joysticks
alias /dev/js* /dev/joysticks

# Serial ports
alias /dev/tts* serial
alias /dev/ttyS* /dev/tts
alias /dev/cua* /dev/tts

# Input devices
alias /dev/input/mouse* mousedev

# Miscellaneous devices
alias /dev/misc/atibm atixlmouse
alias /dev/misc/inportbm msbusmouse
alias /dev/misc/logibm busmouse
alias /dev/misc/rtc rtc
alias /dev/misc/agpgart agpgart
alias /dev/rtc /dev/misc/rtc

# PPP devices
alias /dev/ppp* ppp_generic

# Video capture devices
alias /dev/video* /dev/v4l
alias /dev/vbi* /dev/v4l

# agpgart
alias /dev/agpgart agpgart
alias /dev/dri* agpgart

# Irda devices
alias /dev/ircomm ircomm-tty
alias /dev/ircomm* /dev/ircomm

# Raw I/O devices
alias /dev/rawctl /dev/raw


# Pull in the configuration file. Do this last because modprobe(8) processes in
# per^H^H^Hreverse order and the sysadmin may want to over-ride what is in the
# generic file
include /etc/modules.conf


so basicly i have no sound and i dont know how to set it up any ideas?

EDIT: this might be helpfull too:

Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB LOWMEM available.
On node 0 totalpages: 98288
zone(0): 4096 pages.
zone(1): 94192 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=306
Initializing CPU#0
Detected 798.466 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1592.52 BogoMIPS
Memory: 385844k/393152k available (1733k kernel code, 6924k reserved, 568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb620, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1022/7006] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD7409: IDE controller on PCI bus 00 dev 39
AMD7409: chipset revision 7
AMD7409: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD800BB-53BSA0, ATA DISK drive
hdc: TDK CDRW5200B, ATAPI CD/DVD-ROM drive
hdd: 24X10, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0388784, I/O limit 4095Mb (mask 0xffffffff)
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(33)
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 hda6 >
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1145.200 MB/sec
32regs : 658.400 MB/sec
pII_mmx : 1870.000 MB/sec
p5_mmx : 2386.000 MB/sec
raid5: using function: p5_mmx (2386.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
tulip0: Index #1 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
tulip0: Index #2 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
tulip0: Index #3 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block.
tulip0: Index #4 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block.
tulip0: MII transceiver #1 config 3100 status 7809 advertising 01e1.
eth0: Davicom DM9102/DM9102A rev 49 at 0xe400, 00:80:AD:08:15:0A, IRQ 11.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
cs46xx: Unable to detect valid cs46xx device
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xd88b7000, IRQ 12
usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] AMD-756 [Viper] USB
usb-ohci.c: AMD756 erratum 4 workaround
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
cs46xx: Unable to detect valid cs46xx device
cs46xx: Unable to detect valid cs46xx device
cs46xx: Unable to detect valid cs46xx device
hub.c: new USB device 00:07.4-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x471/0x110) is not claimed by any active driver.
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
cs46xx: Unable to detect valid cs46xx device
cs46xx: Unable to detect valid cs46xx device
hub.c: new USB device 00:07.4-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x46d/0xc00e) is not claimed by any active driver.
cs46xx: Unable to detect valid cs46xx device
cs46xx: Unable to detect valid cs46xx device
cs46xx: Unable to detect valid cs46xx device
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
usb.c: registered new driver snd-usb-audio
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input0: USB HID v1.00 Pointer [Philips UAC3553B] on usb1:2.2
input1: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb1:3.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
keyboard: unknown scancode e0 44
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003

maroonbaboon 09-14-2003 10:01 AM

When you installed ALSA did you run the 'snddevices' script (as root) in the driver package (assuming you installed from source). This creates the necessary sound devices to interface to the hardware. I've forgotten to do that in the past a couple of times, and the error message looks sort of familiar.

cpluspaul 09-14-2003 10:00 PM

hmm
 
No in fact i did not run that script, i will do so. and then try to get everything working , if i don't ill post again and see if can get more help.


All times are GMT -5. The time now is 01:21 AM.