ADS CADET PC Radio

From: Daniel Lafraia (lafraia@iron.com.br)
Date: Wed Aug 02 2000 - 10:57:50 EST


Hi,

I'm trying to put a CADET PC Radio on Linux 2.2.16 in order to stream a
local radio station. Actually when I compile 2.2.16 with its support, PnP
doesn't find it. But, when I compile it with radio-cadet as a module, and
load it, it seems to find the card, but I can't hear anything on the card
output (I've already tried some V4L app such as rtune, gradio, libradio).
See...

# insmod radio-cadet
Using /lib/modules/2.2.16/misc/radio-cadet.o

# dmesg | tail -1
ADS Cadet Radio Card at 0x330

# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  7 vcs
 10 misc
 81 video_capture
128 ptm
136 pts

Block devices:
  2 fd
  3 ide0

# ls /dev/radio0
crw-rw---- 1 root video 81, 64 Nov 8 1999 /dev/radio0

# strace ./rtune -s 99900 /dev/radio0
execve("./rtune", ["./rtune", "-s", "99900", "/dev/radio0"], [/* 52 vars
*/]) = 0
brk(0) = 0x804a8c0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42283, ...}) = 0
mmap(NULL, 42283, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4223971, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\204"..., 4096)
= 4096
mmap(NULL, 1025596, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40020000
mprotect(0x40113000, 30268, PROT_NONE) = 0
mmap(0x40113000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xf2000) = 0x40113000
mmap(0x40117000, 13884, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40117000
close(3) = 0
mprotect(0x40020000, 995328, PROT_READ|PROT_WRITE) = 0
mprotect(0x40020000, 995328, PROT_READ|PROT_EXEC) = 0
munmap(0x40015000, 42283) = 0
personality(PER_LINUX) = 0
getpid() = 488
open("/dev/radio0", O_RDWR) = 3
ioctl(3, 0x803c7601, 0xbffff66c) = 0
ioctl(3, 0xc0347604, 0xbffff638) = 0
ioctl(3, 0x40347605, 0xbffff628) = 0
ioctl(3, 0x4004760f, 0xbffff624) = 0
close(3) = 0
_exit(0) = ?

Thanks,
 Daniel Lafraia

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST