Je voudrais savoir si qq'un d'autre a déjà eu saytime ou saydate qui
causent avec des saccades? Attention, c'est bien sous Etch et avec ALSA.
En essayant d'imiter à l'écrit ce que saytime dis, ça donne:
"the time is s, two ow, thirty y, three e, pm, and d, four our seconds"
Ah oui, et il s'affiche qq chose sur ma console,
mais trop vite que pour le lire sous ses doigts
(on dirait la durée de défilement du saytime, cache etc, idem pour
saydate).
Pour ALSA, le module hda_intel ou qq chose de ce style est chargé (cf.
lsmod.txt en pj)
et j'ai aussi fait un strace saytime sous script (en pj).
L'audio joue (p.ex. en wav) mais pas de cdplay 1 pour ecouter un CD.
Sinon le rapport son-versus-bruit de fonds est formidable.
Aldo.
Script started on Tue 03 Oct 2006 02:37:39 PM CEST
galactix:~# strace saytime
execve("/usr/local/bin/saytime", ["saytime"], [/* 15 vars */]) = 0
uname({sys="Linux", node="galactix", ...}) = 0
brk(0) = 0x80f3000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xa7f5f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20665, ...}) = 0
mmap2(NULL, 20665, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7f59000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\345"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=263040, ...}) = 0
mmap2(NULL, 264196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xa7f18000
mmap2(0xa7f50000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xa7f50000
mmap2(0xa7f58000, 2052, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f58000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xa7f14000
mmap2(0xa7f16000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xa7f16000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1245676, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xa7f13000
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xa7de1000
mmap2(0xa7f09000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128) = 0xa7f09000
mmap2(0xa7f10000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f10000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xa7de0000
mprotect(0xa7f09000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xa7de06c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0xa7f59000, 20665) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=317792, ...}) = 0
mmap2(NULL, 317792, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7d92000
close(3) = 0
brk(0) = 0x80f3000
brk(0x80f4000) = 0x80f4000
brk(0x80f5000) = 0x80f5000
brk(0x80f6000) = 0x80f6000
getuid32() = 0
getgid32() = 0
geteuid32() = 0
getegid32() = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
time(NULL) = 1159879069
brk(0x80f7000) = 0x80f7000
open("/etc/mtab", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=330, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xa7f5e000
read(3, "/dev/sda1 / ext3 rw,errors=remou"..., 4096) = 330
close(3) = 0
munmap(0xa7f5e000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xa7f5e000
read(3, "MemTotal: 1027084 kB\nMemFre"..., 1024) = 598
close(3) = 0
munmap(0xa7f5e000, 4096) = 0
brk(0x80f8000) = 0x80f8000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="galactix", ...}) = 0
brk(0x80f9000) = 0x80f9000
stat64("/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid() = 11644
getppid() = 11643
getpgrp() = 11643
rt_sigaction(SIGCHLD, {0x807a930, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/usr/local/bin/saytime", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xafca7488) = -1 ENOTTY (Inappropriate
ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/sh\n/usr/bin/saytime -v 5 "..., 80) = 50
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=50, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0x80fa000) = 0x80fa000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "#!/bin/sh\n/usr/bin/saytime -v 5 "..., 50) = 50
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21568, ...}) = 0
mmap2(NULL, 21568, PROT_READ, MAP_SHARED, 3, 0) = 0xa7f59000
close(3) = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\4\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9436, ...}) = 0
mmap2(NULL, 8228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xa7d8f000
mmap2(0xa7d90000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xa7d90000
close(3) = 0
brk(0x80fb000) = 0x80fb000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x80fc000) = 0x80fc000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -5, [45], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xa7de0708) = 11645
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1,
Input Filename : /usr/share/saytime/the_time_is.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.88 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 7.01K
Done.
Input Filename : /usr/share/saytime/2.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.63 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 5.08K
Done.
Input Filename : /usr/share/saytime/30.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.64 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 5.16K
Done.
Input Filename : /usr/share/saytime/7.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.56 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 4.50K
Done.
Input Filename : /usr/share/saytime/pm.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.79 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 6.32K
Done.
Input Filename : /usr/share/saytime/and.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:01.02 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 8.19K
Time: 00:01.06 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 8.45K
Done.
Input Filename : /usr/share/saytime/40.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.61 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 4.88K
Done.
Input Filename : /usr/share/saytime/9.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.53 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 4.27K
Done.
Input Filename : /usr/share/saytime/seconds.au
Sample Size : 8-bits
Sample Encoding: u-law
Channels : 1
Sample Rate : 8000
Time: 00:00.78 [00:00.00] of 00:00.00 ( 0.0%) Output Buffer: 6.27K
Done.
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 11645
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xafca6f1c, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "exit\n", 50) = 5
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(0) = ?
Process 11644 detached
galactix:~# exit
exit
Script done on Tue 03 Oct 2006 02:38:21 PM CEST
Script started on Tue 03 Oct 2006 02:50:27 PM CEST
galactix:~# lsmod
Module Size Used by
button 6544 0
ac 4836 0
battery 9188 0
ipv6 222304 12
ext2 58792 1
dm_snapshot 16032 0
dm_mirror 18928 0
dm_mod 50424 2 dm_snapshot,dm_mirror
ide_generic 1376 0 [permanent]
ide_disk 15072 0
lp 10852 0
sbp2 20648 0
loop 14888 0
snd_hda_intel 17140 0
snd_hda_codec 126496 1 snd_hda_intel
snd_pcm_oss 35968 0
snd_mixer_oss 15872 1 snd_pcm_oss
eth1394 18052 0
floppy 54276 0
snd_pcm 74532 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
i2c_i801 8236 0
8250_pnp 8704 0
snd_timer 20836 1 snd_pcm
intel_agp 21116 1
agpgart 29864 1 intel_agp
i2c_core 19552 1 i2c_i801
hw_random 5624 0
psmouse 34600 0
snd 48100 6
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9216 1 snd
snd_page_alloc 9512 2 snd_hda_intel,snd_pcm
serio_raw 6596 0
parport_pc 32132 1
parport 33160 2 lp,parport_pc
evdev 9088 0
rtc 12340 0
pcspkr 3040 0
ext3 118568 1
jbd 50292 1 ext3
mbcache 8324 2 ext2,ext3
sd_mod 18592 4
ide_cd 35680 0
cdrom 32448 1 ide_cd
usbhid 36704 0
ehci_hcd 28040 0
ata_piix 11556 3
piix 9476 0 [permanent]
uhci_hcd 20424 0
usbcore 111616 4 usbhid,ehci_hcd,uhci_hcd
e1000 100248 0
libata 61420 1 ata_piix
scsi_mod 123080 3 sbp2,sd_mod,libata
generic 4420 0 [permanent]
ide_core 111016 5 ide_generic,ide_disk,ide_cd,piix,generic
ohci1394 30448 0
ieee1394 86584 3 sbp2,eth1394,ohci1394
thermal 12904 0
processor 25512 1 thermal
fan 4516 0
galactix:~# dpkg -l |grep alsa
ii alsa-base 1.0.12-1 ALSA driver configuration
files
ii alsa-oss 1.0.12-1 ALSA wrapper for OSS
applications
ii alsa-utils 1.0.12-1 ALSA utilities
galactix:~# dpkg -l |grep asound
ii libasound2 1.0.12-1 ALSA library
ii libasound2-dev 1.0.12-1 ALSA library development
files
ii libasound2-doc 1.0.12-1 ALSA library developer
documentation
galactix:~# cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x502c0000 irq 66
galactix:~# aumix -q
vol 99, 99
igain 0, 0
galactix:~# exit
exit
Script done on Tue 03 Oct 2006 02:58:51 PM CEST
_______________________________________________
Liste de diffusion CarrefourBLinuX
[email protected]
http://lists.freearchive.org/mailman/listinfo/carrefourblinux
Fiches EDU : http://blinuxwiki.pbwiki.com/FichesEdu
Signets : http://fr.groups.yahoo.com/group/carrefourblinux/links/
Archives : http://lists.freearchive.org/pipermail//carrefourblinux
Anciennes archives (Yahoogroupes) :
http://fr.groups.yahoo.com/group/carrefourblinux/messages
Rechercher : http://lists.freearchive.org/cgi-bin/search.cgi
Pour s'inscire par courriel :
'mailto:[EMAIL PROTECTED]'
Pour se desinscrire par courriel :
'mailto:[EMAIL PROTECTED]'