All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Harvey <softdevice@jasonline.co.uk>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>
Subject: Re: Backported sbxfi driver (UNTESTED!)
Date: Thu, 23 Oct 2008 21:17:01 +0100	[thread overview]
Message-ID: <4900DBBD.2020806@jasonline.co.uk> (raw)
In-Reply-To: <s5h8wsf3spl.wl%tiwai@suse.de>

[-- Attachment #1: Type: text/plain, Size: 7161 bytes --]

Takashi Iwai wrote:
> Just to be sure: is it the driver with my patch or without the patch?
> The patch seems broken anyway, so abandon it, and check only without
> the patch from now on.
>   
Have reverted to unpatched version, now logging kernel messages to a file.
The attached is the output for debug=2 from running the mplayer with the 
oss proc fix.
WARNING... the gzip expands to 4.5MB, which explains the overflow on the 
dmesg ring buffer.
But only the first hundred lines and last ten are different, the rest 
are all the same as far as I could see.

The only things I noticed that does change is that the repeated lines 
start like this :-

Oct 23 20:45:28 sentry kernel: SBXFI: IRQ = 
0x500                                                     
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS = 
16                                            
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 0x3e0

And that the pattern changes after a short time dropping one of the 
POINTER lines.
Screen output below to show commands used.

Regards,
Jason

[root@sentry alsa-driver-unstable]# modprobe snd_sbxfi 
debug=2               
[root@sentry alsa-driver-unstable]# cat /var/log/kernel
Oct 23 20:44:00 sentry kernel: imklog 3.18.1, log source = /proc/kmsg 
started.
Oct 23 20:44:47 sentry kernel: ACPI: PCI Interrupt 0000:04:01.0[A] -> 
GSI 22 (level, low) -> IRQ 22
Oct 23 20:44:47 sentry kernel: SBXFI: INIT 
HW                                                     
Oct 23 20:44:47 sentry kernel: SBXFI: DAOIMAP 
CLEAR                                               
Oct 23 20:44:47 sentry kernel: SBXFI: INIT 
DAC                                                    
Oct 23 20:44:47 sentry kernel: SBXFI: SETUP 
I2S                                                   
[root@sentry alsa-driver-unstable]# echo mplayer 0 0 direct > 
/proc/asound/card0/pcm0p/oss             
[root@sentry alsa-driver-unstable]# cd ..
[root@sentry ~]# mplayer wn.wav         
MPlayer dev-SVN-r26936-4.3.0 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.53GHz (Family: 15, Model: 4, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1            
Compiled with runtime CPU detection.                                   
mplayer: could not connect to socket                                   
mplayer: No such file or directory                                     
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing wn.wav.
Audio file file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder              
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)                  
==========================================================================
AO: [pulse] Init failed: Connection refused                              
*** PULSEAUDIO: Unable to connect: Connection refused                    
*** Is your sound server running?                                        
*** See: http://www.pulseaudio.org/wiki/Troubleshooting                  
[AO_ALSA] Playback open error: Connection refused                        
AO: [oss] 96000Hz 2ch s16le (2 bytes per sample)                         
Video: no video                                                          
Starting playback...                                                     
A:   0.0 (00.0) of 241.0 (04:01.0) 
??,?%                                                                   

MPlayer interrupted by signal 2 in module: play_audio


MPlayer interrupted by signal 2 in module: play_audio
[root@sentry ~]# cat /var/log/kernel |more
Oct 23 20:44:00 sentry kernel: imklog 3.18.1, log source = /proc/kmsg 
started.
Oct 23 20:44:47 sentry kernel: ACPI: PCI Interrupt 0000:04:01.0[A] -> 
GSI 22 (level, low) -> IRQ 22
Oct 23 20:44:47 sentry kernel: SBXFI: INIT 
HW                                                     
Oct 23 20:44:47 sentry kernel: SBXFI: DAOIMAP 
CLEAR                                               
Oct 23 20:44:47 sentry kernel: SBXFI: INIT 
DAC                                                    
Oct 23 20:44:47 sentry kernel: SBXFI: SETUP 
I2S                                                   
Oct 23 20:45:28 sentry kernel: SBXFI: Allocate SRC 
0                                              
Oct 23 20:45:28 sentry kernel: SBXFI: allocated TLB at 0 for 16 
pages                             
Oct 23 20:45:28 sentry kernel: SBXFI: Setting TLB buffer page 
0x1304a000                          
Oct 23 20:45:28 sentry kernel: SBXFI: release TLB at 0 for 16 
pages                               
Oct 23 20:45:28 sentry kernel: SBXFI: Disabling TLB 
buffer                                        
Oct 23 20:45:28 sentry kernel: SBXFI: PLAYBACK PREPARE: rate=96000, 
period_size=1024, buffer_size=16384
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [0:fa6] = 
0x1000000                                       
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [80:7a6] = 
0x1000000                                      
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [1:fb6] = 
0x1000000                                       
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [81:7b6] = 
0x1000000                                      
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [00:0001] = 
0x555                                           
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [80:0801] = 
0x555                                           
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [01:0011] = 
0x555                                           
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [81:0811] = 
0x555                                           
Oct 23 20:45:28 sentry kernel: SBXFI: DAOIMAP 
CLEAR                                                   
Oct 23 20:45:28 sentry kernel: SBXFI: PLAY TRIGGER 
START                                              
Oct 23 20:45:28 sentry kernel: SBXFI: PLAY UPDATE 
TIMER                                               
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS = 
16                                            
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: IRQ = 
0x500                                                     
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS = 
16                                            
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 
0x3e0                                                 
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 0x3e0


[-- Attachment #2: kernel.log.gz --]
[-- Type: application/x-gzip, Size: 19858 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2008-10-23 20:17 UTC|newest]

Thread overview: 207+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 18:02 Backported sbxfi driver (UNTESTED!) Takashi Iwai
2008-10-09 18:12 ` Brendan Pike
2008-10-09 18:25 ` Ted T. Logian
2008-10-09 18:25 ` William Pitcock
2008-10-09 18:49 ` Ted T. Logian
2008-10-09 19:50 ` James Courtier-Dutton
2008-10-10  6:02   ` Takashi Iwai
2008-10-09 20:03 ` Ted T. Logian
2008-10-09 20:17 ` Ted T. Logian
2008-10-10  6:01   ` Takashi Iwai
2008-10-10  6:26     ` Ted T. Logian
2008-10-10  6:46       ` Takashi Iwai
     [not found]         ` <6d00fe310810100939h6cd61e0cg7817c7f54f6261f6@mail.gmail.com>
2008-10-10 16:41           ` Fwd: " The Source
2008-10-11 15:47           ` Takashi Iwai
2008-10-11 16:03             ` Ted T. Logian
2008-10-11 17:32               ` Takashi Iwai
2008-10-12  8:41                 ` Vedran Miletić
2008-10-12  8:48                   ` James Courtier-Dutton
2008-10-12  9:43                     ` The Source
2008-10-12  8:44                 ` James Courtier-Dutton
2008-10-13  9:52                   ` Takashi Iwai
2008-10-11 16:28             ` The Source
2008-10-11 17:34               ` Takashi Iwai
2008-10-10 18:17         ` William Pitcock
2008-10-11 16:01           ` Takashi Iwai
2008-10-11 17:36             ` William Pitcock
2008-10-11 17:39               ` William Pitcock
2008-10-11 17:41               ` Takashi Iwai
2008-10-11 17:43                 ` Takashi Iwai
2008-10-11 18:04                 ` William Pitcock
2008-10-12 19:34                   ` Takashi Iwai
     [not found]                     ` <e4b753d00810121816i133141d5te6a4d638044f3875@mail.gmail.com>
2008-10-13  2:08                       ` Takashi Iwai
2008-10-13  9:51                     ` Takashi Iwai
2009-06-10  8:39       ` problems with fedora 11 and pulseaudio and svn x-fi driver Ted T. Logan
2009-06-10  8:52         ` Ted T. Logan
2009-06-10  9:29           ` Takashi Iwai
2009-06-10 16:23             ` Ted T. Logan
2009-06-10 16:48             ` Ted T. Logan
2009-06-11 14:48             ` Ted T. Logan
2009-06-12 16:46             ` "ticks" with latest " Ted T. Logan
2008-10-16 12:03 ` Backported sbxfi driver (UNTESTED!) Jan Wolf
2008-10-16 12:33   ` Takashi Iwai
2008-10-16 12:56     ` Xarteras
2008-10-16 13:36       ` The Source
2008-10-16 13:48         ` Takashi Iwai
2008-10-16 14:15           ` The Source
2008-10-16 14:18             ` Takashi Iwai
2008-10-16 14:41               ` The Source
2008-10-16 14:42                 ` Takashi Iwai
2008-10-16 14:51                   ` The Source
2008-10-16 15:00                   ` The Source
2008-10-16 15:04                     ` Takashi Iwai
     [not found]                       ` <48F75892.8000209@gmail.com>
2008-10-16 15:15                         ` Takashi Iwai
2008-10-16 17:53                           ` Bjoern Olausson
2008-10-16 18:02                             ` The Source
2008-10-16 18:18                           ` The Source
2008-10-17  6:17                             ` Takashi Iwai
2008-10-17  6:26                               ` The Source
2008-10-17  6:39                                 ` Takashi Iwai
2008-10-17  7:16                                   ` The Source
2008-10-17  8:17                                   ` The Source
2008-10-17  9:00                                   ` Xarteras
2008-10-17  9:17                                     ` The Source
2008-10-17  9:25                                       ` Takashi Iwai
2008-10-17  9:23                                     ` Takashi Iwai
2008-10-17  9:50                                       ` Xarteras
2008-10-17 10:00                                         ` Tony Vroon
2008-10-17 10:35                                           ` Xarteras
2008-10-17 15:33                                             ` Bjoern Olausson
2008-10-17  7:57                               ` The Source
2008-10-17  9:35                                 ` Takashi Iwai
2008-10-17  9:58                                   ` The Source
2008-10-17  9:59                                     ` Takashi Iwai
2008-10-17 10:01                                       ` The Source
2008-10-17 10:04                                         ` Takashi Iwai
     [not found]                                           ` <48F86606.9070108@gmail.com>
2008-10-17 10:27                                             ` Takashi Iwai
2008-10-17 20:48                                               ` William Pitcock
2008-10-18 10:06                                               ` Xarteras
2008-10-18 15:06                                                 ` Takashi Iwai
2008-10-18 17:10                                                   ` William Pitcock
2008-10-18 17:17                                                     ` William Pitcock
2008-10-19  7:59                                                       ` Takashi Iwai
2008-10-19 18:07                                                         ` Bjoern Olausson
2008-10-19 19:47                                                           ` William Pitcock
2008-10-16 21:29           ` Xarteras
2008-10-17 18:16             ` James Courtier-Dutton
2008-10-22 15:24           ` Bjoern Olausson
2008-10-22 15:26             ` Takashi Iwai
2008-10-22 16:07               ` Bjoern Olausson
2008-10-22 16:24                 ` Bjoern Olausson
2008-10-22 19:25                   ` The Source
2008-10-23  5:40                     ` Takashi Iwai
2008-10-23 11:46                       ` Bjoern Olausson
2008-10-23 11:53                         ` Jason Harvey
2008-10-23 13:56                           ` Takashi Iwai
2008-10-23 12:45                             ` Jason Harvey
2008-10-23 13:07                               ` Bjoern Olausson
2008-10-23 13:21                                 ` Jason Harvey
2008-10-23 15:54                               ` Takashi Iwai
2008-10-23 14:23                                 ` Jason Harvey
2008-10-23 17:07                                   ` Takashi Iwai
2008-10-23 17:15                                     ` Takashi Iwai
2008-10-23 15:37                                       ` Jason Harvey
2008-10-23 15:40                                         ` Bjoern Olausson
2008-10-23 17:44                                         ` Takashi Iwai
2008-10-23 17:49                                           ` Takashi Iwai
2008-10-23 16:23                                             ` Jason Harvey
2008-10-23 19:14                                               ` Takashi Iwai
2008-10-23 17:32                                                 ` Jason Harvey
2008-10-23 21:30                                                   ` Takashi Iwai
2008-10-23 20:17                                                     ` Jason Harvey [this message]
2008-10-24  8:40                                                       ` Takashi Iwai
2008-10-24  7:56                                                         ` Jason Harvey
2008-10-24 10:21                                                           ` Takashi Iwai
2008-10-24  8:50                                                             ` Jason Harvey
2008-10-25 13:06                                                             ` Backported sbxfi driver, possible fix Thomas Scheunemann
2008-10-25 16:05                                                               ` Takashi Iwai
2008-10-25 19:42                                                                 ` Thomas Scheunemann
2008-10-25 19:59                                                                   ` Takashi Iwai
2008-10-25 20:40                                                                     ` Jason Harvey
2008-10-25 21:57                                                                       ` Bjoern Olausson
2008-10-26  6:32                                                                         ` The Source
2008-10-26  8:23                                                                           ` Takashi Iwai
2008-10-26  9:11                                                                             ` The Source
2008-10-26  9:17                                                                             ` The Source
2008-10-26  6:45                                                                         ` The Source
2008-10-26  6:56                                                                         ` The Source
2008-10-26  7:22                                                                           ` The Source
2008-10-26  8:21                                                                         ` Takashi Iwai
2008-10-27  5:15                                                                           ` Alexander E. Patrakov
2008-10-27  5:32                                                                             ` The Source
2008-10-27  6:28                                                                               ` Takashi Iwai
2008-10-27  6:34                                                                                 ` The Source
2008-10-27  6:39                                                                                   ` Takashi Iwai
2008-10-28  0:10                                                                                 ` Bjoern Olausson
2008-10-28  7:14                                                                                   ` Takashi Iwai
2008-10-28 13:48                                                                                     ` Bjoern Olausson
2008-10-28 14:12                                                                                       ` Takashi Iwai
2008-10-30 10:46                                                                                         ` Bjoern Olausson
2008-10-30 11:05                                                                                           ` Bjoern Olausson
2008-10-30 11:07                                                                                             ` Takashi Iwai
2008-10-30 12:25                                                                                               ` Bjoern Olausson
2008-10-28  6:59                                                                                 ` Takashi Iwai
2008-10-27  6:36                                                                             ` Takashi Iwai
2008-10-27 20:08                                                                             ` James Courtier-Dutton
2008-10-28  4:44                                                                               ` Alexander E. Patrakov
2008-10-28  9:31                                                                               ` Takashi Iwai
2008-10-28 10:53                                                                               ` Vedran Miletić
2008-10-29  8:38                                                                               ` Pavel Hofman
2008-10-26  8:16                                                                       ` Takashi Iwai
2008-10-26  8:45                                                                         ` Backported sbxfi driver. Pulse works! Jason Harvey
2008-10-23 17:26                                       ` Backported sbxfi driver (UNTESTED!) Takashi Iwai
2008-10-23 15:31                                         ` Jason Harvey
2008-10-23 17:41                                           ` Takashi Iwai
2008-10-23 14:48                                 ` Jason Harvey
2008-10-23 13:54                         ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2008-10-12 12:53 Alexey Bazhin
2008-10-13  2:03 ` Takashi Iwai
2008-10-13 12:58   ` Alexey Bazhin
2008-10-13 13:18     ` Takashi Iwai
2008-10-13 14:33       ` The Source
2008-10-13 14:56         ` Takashi Iwai
2008-10-13 15:43           ` Takashi Iwai
2008-10-13 16:02             ` Takashi Iwai
2008-10-13 16:05               ` Takashi Iwai
2008-10-13 19:21                 ` Alexey Bazhin
2008-10-14  5:17                   ` The Source
2008-10-14  5:41                     ` Takashi Iwai
2008-10-14  6:45                   ` Takashi Iwai
2008-10-14  7:23                     ` The Source
2008-10-14  7:40                       ` Takashi Iwai
2008-10-14  7:58                         ` The Source
2008-10-14  8:14                           ` Takashi Iwai
2008-10-14  8:13                     ` Alexey Bazhin
2008-10-14  8:48                     ` The Source
2008-10-14  8:55                       ` Takashi Iwai
2008-10-14  8:55                         ` The Source
2008-10-14  9:07                           ` Takashi Iwai
2008-10-14  9:17                     ` The Source
2008-10-14 10:52                       ` Takashi Iwai
2008-10-14 11:03                         ` Takashi Iwai
2008-10-14 14:11                           ` The Source
2008-10-14 15:32                             ` Takashi Iwai
2008-10-14 16:22                               ` Vedran Miletić
2008-10-14 16:25                                 ` Takashi Iwai
2008-10-14 11:24                         ` The Source
2008-10-15  6:38                           ` Takashi Iwai
2008-10-15  7:16                             ` The Source
2008-10-15  7:36                               ` Takashi Iwai
     [not found]                                 ` <48F59FF4.20800@gmail.com>
2008-10-15  7:54                                   ` Takashi Iwai
2008-10-15  8:14                                     ` The Source
2008-10-15  9:07                                       ` Takashi Iwai
2008-10-15 12:34                                         ` Alexey Bazhin
2008-10-14 20:35                     ` Alexey Bazhin
2008-10-15  6:30                       ` Takashi Iwai
2008-10-15  8:26                         ` Alexey Bazhin
2008-10-15  9:02                           ` Takashi Iwai
2008-10-15 18:54                             ` Alexey Bazhin
2008-10-16 10:03                               ` Takashi Iwai
2008-10-16 10:46                               ` Takashi Iwai
2008-10-16 11:09                                 ` Alexey Bazhin
2008-10-16 11:12                                   ` Takashi Iwai
2008-10-15 21:57 Bjoern Olausson
2008-10-16  8:58 ` Takashi Iwai
     [not found]   ` <5501535d0810161130i7e3fa4c2hbe267ba2cbb15c00@mail.gmail.com>
2008-10-16 20:07     ` Bjoern Olausson
2008-10-17  6:21       ` Takashi Iwai
2008-11-10  0:26 Romain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4900DBBD.2020806@jasonline.co.uk \
    --to=softdevice@jasonline.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.