Hi,

> 
>> setleds: Error reading current flags setting. Maybe you are not on the
>> console?: ioctl KDGKBLED: Ioctl() inapproprié pour un périphérique
> 
> Seems you're not logged in.
> The "setleds +num" works only, if you're logged in, e.g. having a
> window manager running.

hmmm strange, as I am logged in.
> 
>> Playing: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3
>>  (+) Audio --aid=1 (mp3 1ch 44100Hz)
>> ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
>> [ao/alsa] Playback open error: Device or resource busy
>> [ao/oss] Can't open audio device /dev/dsp: Device or resource busy
> 
> Either another process is still acessing your speakers or may you're
> not logged in.

I am logged in. I suspect a pulseauio issue.


> 
> You might want to check by adding this part to your script (before the
> part "echo CTRL+C to..."):
> 
>       proc=`fuser /dev/dsp| awk "{print $2}"`
>       if [ -n ${proc+x} ]; then
>               ps auxww | awk '($2 == '$proc'){print $0}'
>       else
>               echo "no process is obtaining /dev/dsp"
>       fi
> 
> and it will print which process is obtaining the /dev/dsp

hmmm I get:
awk: line 1: syntax error at or near )

I added the lines before:
echo CTRL+C to exit && $S

The up-to-date script:
https://paste.debian.net/1102668/


Many thanks for your help

Regards



>> Cannot connect to server socket err = No such file or directory
>> Cannot connect to server request channel
>> jack server is not running or cannot be started
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> [ao/jack] cannot open server
>> ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
>> couldn't open play stream: Device or resource busy
>> [ao/sndio] can't open sndio default
>> [ao] Failed to initialize audio driver 'sndio'
>> Could not open/initialize audio device -> no sound.
>> Audio: no audio
>> : 00:00:00 / 00:00:00 (0%) Cache:  0s
>>
>>
>> Exiting... (Errors when loading file)
>> TERM environment variable not set.
> 
> again a "clear"
> 
> Regards,
>       Klaus.
> 

Reply via email to