Re: audio Sun CS4231

2018-09-17 Thread sacarde
Alle domenica 5 agosto 2018, sacarde ha scritto:
> >>Alle sabato 4 agosto 2018, Rick Leir ha scritto:
> >
> > Hmm, 16384  is 0x4000
> > What version of audio driver do you have? Module snd-sun-cs4231

hi,
   I upgrade kernel to linux-image-4.18.0-1-sparc64
but same problem on audio

I view this error in: journal -b -p err

http://sacarde.altervista.org/np/journal-err

I dont know if this can help



thank you


>
> p.s.
> but if login as root, (without pulseaudio) sound are OK
>
>
> saca...@tiscali.it




Re: audio Sun CS4231

2018-08-05 Thread sacarde
>>Alle sabato 4 agosto 2018, Rick Leir ha scritto:
>
> Hmm, 16384  is 0x4000
> What version of audio driver do you have? Module snd-sun-cs4231


/lib/modules/4.9.0-2-sparc64/kernel/sound/sparc/snd-sun-cs4231.ko
license:GPL
description:Sun CS4231
author: Jaroslav Kysela, Derrick J. Brashear and David S. Miller
alias:  of:NaudioT*CSUNW,CS4231C*
alias:  of:NaudioT*CSUNW,CS4231
alias:  of:NSUNW,CS4231T*C*
alias:  of:NSUNW,CS4231T*
depends:snd-pcm,snd,snd-timer
intree: Y
vermagic:   4.9.0-2-sparc64 mod_unload modversions 
parm:   index:Index value for Sun CS4231 soundcard. (array of int)
parm:   id:ID string for Sun CS4231 soundcard. (array of charp)
parm:   enable:Enable Sun CS4231 soundcard. (array of bool)



p.s.
but if login as root, (without pulseaudio) sound are OK


saca...@tiscali.it



Re: audio Sun CS4231

2018-08-04 Thread Rick Leir
Sacarde
Hmm, 16384  is 0x4000

What version of audio driver do you have? Module snd-sun-cs4231

Cheers -- Rick

On August 4, 2018 4:59:56 AM EDT, sacarde  wrote:
>Alle mercoledì 25 luglio 2018, hai scritto:
>> On 07/25/2018 03:03 PM, sacarde wrote:
>
>> Try what's listed here under "Third Party Applications":
>> >
>https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/P
>> >erfectSetup/
>
>I try but same problem, running: 
>
>aplay -Dpulse ..wav
>or
>mplayer -ao pulse ..mp3
>now I hear a noise sound, like: huuuhuuuh
>
>
>
>
>could this kernel-message be a problem ?
>
>Aug 04 10:09:56 debian kernel: audio f0066d08: invalid position: , pos
>= 
>16384, buffer size = 16384, period size = 16384
>
>
>than kyou
>
>saca...@tiscali.it

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

Re: audio Sun CS4231

2018-08-04 Thread sacarde
Alle mercoledì 25 luglio 2018, hai scritto:
> On 07/25/2018 03:03 PM, sacarde wrote:

> Try what's listed here under "Third Party Applications":
> > https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/P
> >erfectSetup/

I try but same problem, running: 

aplay -Dpulse ..wav
or
mplayer -ao pulse ..mp3
now I hear a noise sound, like: huuuhuuuh




could this kernel-message be a problem ?

Aug 04 10:09:56 debian kernel: audio f0066d08: invalid position: , pos = 
16384, buffer size = 16384, period size = 16384


than kyou

saca...@tiscali.it



Re: audio Sun CS4231

2018-07-25 Thread John Paul Adrian Glaubitz
On 07/25/2018 03:03 PM, sacarde wrote:
> then, I try with:
> 
> - mplayer (with /etc/mplayer/...config "ao=pulse,alsa,sdl:aalib")
> - mpg123-pulse (from mpg-123 package)
> - mpv
> 
> but same problem, with normal user (running pulseaudio) I dont hear anything
Try what's listed here under "Third Party Applications":

> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: audio Sun CS4231

2018-07-25 Thread sacarde
>>Alle sabato 14 luglio 2018, John Paul Adrian Glaubitz ha scritto:
>
> Your problem is most likely that you haven't properly configured mplayer
> for PulseAudio. I don't know whether mpg123 actually supports any modern
> sound backends. I recommend using more modern software.

then, I try with:

- mplayer (with /etc/mplayer/...config "ao=pulse,alsa,sdl:aalib")
- mpg123-pulse (from mpg-123 package)
- mpv

but same problem, with normal user (running pulseaudio) I dont hear anything




suggestions are welcome



thank you


saca...@tiscali.it



Re: audio Sun CS4231

2018-07-14 Thread John Paul Adrian Glaubitz
On 07/14/2018 09:43 PM, sacarde wrote:
> I found the problem...(not sparc specific)
> I hear sound only if pulseaudio not works
> if I kill pulseaudio I can hear from commands: mplayer or mpg123

Your problem is most likely that you haven't properly configured mplayer
for PulseAudio. I don't know whether mpg123 actually supports any modern
sound backends. I recommend using more modern software.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: audio Sun CS4231

2018-07-14 Thread sacarde
>>Alle sabato 14 luglio 2018, sacarde ha scritto:
> I run:
> - "obdiag" and "show-devs" from openboot
> ( I view: PCI/ebus@1/SUNW,CS4231@14,20 )
>
> - pavucontrol (from root): (I view: establishing connection to pulseaudio,
> please wait)
> - I try loggin with root (in lxde) ,  and sound works OK !
> but with "sacarde" user I have no sound
> p.s.
> root and sacarde users are both in "audio" group


I found the problem...(not sparc specific)
I hear sound only if pulseaudio not works
if I kill pulseaudio I can hear from commands: mplayer or mpg123


thankyou

saca...@tiscali.it




Re: audio Sun CS4231

2018-07-14 Thread sacarde
Alle martedì 10 luglio 2018, sacarde ha scritto:
> >Alle martedì 10 luglio 2018, John Paul Adrian Glaubitz ha scritto:
> >
> > "Line" is disabled in your alsamixer, enable it.
>
> I enable it, but same problem


I run:
- "obdiag" and "show-devs" from openboot
( I view: PCI/ebus@1/SUNW,CS4231@14,20 )

- pavucontrol (from root): (I view: establishing connection to pulseaudio, 
please wait)

- I try loggin with root (in lxde) ,  and sound works OK !


but with "sacarde" user I have no sound



p.s.
root and sacarde users are both in "audio" group




thankyou

saca...@tiscali.it




Re: audio Sun CS4231

2018-07-10 Thread sacarde
>Alle martedì 10 luglio 2018, John Paul Adrian Glaubitz ha scritto:

> "Line" is disabled in your alsamixer, enable it.

I enable it, but same problem

http://sacarde.altervista.org/np/alsa2.jpg




thankyou

saca...@tiscali.it



Re: audio Sun CS4231

2018-07-10 Thread John Paul Adrian Glaubitz
On 07/10/2018 10:25 AM, sacarde wrote:
> I view this (when is running mplayer stream):
> 
> http://sacarde.altervista.org/np/audiobis.pdf

"Line" is disabled in your alsamixer, enable it.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: audio Sun CS4231

2018-07-10 Thread sacarde
>Alle lunedì 9 luglio 2018, John Paul Adrian Glaubitz ha scritto:
> >
> > mplayer http://nr5.newradio.it:8731/stream.mp3
>
> Did you open pavucontrol to verify that your soundcard is actually
> unmuted and the volume sliders are up?


I view this (when is running mplayer stream):

http://sacarde.altervista.org/np/audiobis.pdf


saca...@tiscali.it



Re: audio Sun CS4231

2018-07-09 Thread John Paul Adrian Glaubitz
On 07/09/2018 03:02 PM, sacarde wrote:
>> Translation: Please don't run your audio software as root.
> 
> 
> but if I run a mp3 streaming by normal user I dont hear nothing too
> 
> mplayer http://nr5.newradio.it:8731/stream.mp3

Did you open pavucontrol to verify that your soundcard is actually
unmuted and the volume sliders are up?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: audio Sun CS4231

2018-07-09 Thread sacarde
>Alle lunedì 9 luglio 2018, John Paul Adrian Glaubitz ha scritto:
>
> >  List of PLAYBACK Hardware Devices 
> > xcb_connection_has_error() returned true
> > XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid
> > 1000! (This could e g happen if you try to connect to a non-root
> > PulseAudio as a root user, over the native protocol. Don't do that.)
>
> Translation: Please don't run your audio software as root.


but if I run a mp3 streaming by normal user I dont hear nothing too

mplayer http://nr5.newradio.it:8731/stream.mp3



thankyou




Re: audio Sun CS4231

2018-07-09 Thread John Paul Adrian Glaubitz
Hello!

On 07/09/2018 02:40 PM, sacarde wrote:
> running: "aplay -a" I view this:  
> 
>  List of PLAYBACK Hardware Devices 
> xcb_connection_has_error() returned true
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
> (This could e g happen if you try to connect to a non-root PulseAudio as a 
> root user, over the native protocol. Don't do that.)

Translation: Please don't run your audio software as root.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



audio Sun CS4231

2018-07-09 Thread sacarde
hi,
   I installed Debian sid into my Sun-ultra10... 
"alsamixer" looks good, but inserting headphones in rear audio-connectors
I do not hear anything...
I have to do somethings into openboot or hardware audio-connectors?


running: "aplay -a" I view this:  

 List of PLAYBACK Hardware Devices 
xcb_connection_has_error() returned true
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! 
(This could e g happen if you try to connect to a non-root PulseAudio as a 
root user, over the native protocol. Don't do that.)
card 0: CS4231 [Sun CS4231], device 0: CS4231 [CS4231]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

can you help me?


thank you

saca...@tiscali.it