Lscp problem in Ubuntu (?)

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
m.lol
Newbie
Posts: 2
Joined: Tue Dec 22, 2009 10:11 am

Lscp problem in Ubuntu (?)

Post by m.lol » Tue Dec 22, 2009 10:21 am

Hi everyone.
I'm trying to run Linuxsampler on Ubuntu 9.10.
I'm quite a newbie in the Linux World, but i did manage to make my emu 0404 work with ardour, hydrogen... I just need a sampler to complete my little home-studio !

The problem is that Linuxsampler does not seem to launch properly. Qsampler gives me something like this :

Code: Select all

10:12:25.527 Client connecting...
10:12:25.528 Server is starting...
10:12:25.528 linuxsampler
10:12:25.535 Server was started with PID=3488.
LinuxSampler 0.3.3
Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005 Christian Schoenebeck
Detected features: disabled at compile time
Creating Sampler...OK
Registered MIDI input drivers: ALSA
Registered audio output drivers: ALSA
Starting LSCP network server (0.0.0.0:8888)...Thread: WARNING, can't mlockall() memory!: Cannot allocate memory
OK
lscp_client_create: cmd: connect: Connexion refusée
10:12:28.739 Client connecting...
10:12:28.741 Client receive timeout is set to 1000 msec.
10:12:28.742 Client connected.
10:12:28.743 New session: "Untitled1".
LinuxSampler initialization completed. :-)
LSCPServer: Client connection established on socket:4.
LSCPServer: Client connection established on socket:5.
When i want to add a channel, and create a midi or audio device, i've got a "Could not create device" message.

Someone to help me ?
Thanks.

PS : I'm french. "Connexion refusée" means "Denied connection"

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Lscp problem in Ubuntu (?)

Post by cuse » Wed Dec 23, 2009 1:41 pm

Seems to be a permission problem. Try to run it as root.

m.lol
Newbie
Posts: 2
Joined: Tue Dec 22, 2009 10:11 am

Re: Lscp problem in Ubuntu (?)

Post by m.lol » Thu Dec 24, 2009 8:27 am

It seems that it works better for lscp !
But the problem still remains : "could not create MIDI device" or "could not create AUDIO device"...
Here's the log I get :

Code: Select all

08:20:41.189 Client connecting...
08:20:41.191 Server is starting...
08:20:41.191 linuxsampler
08:20:41.223 Server was started with PID=2417.
lscp_client_create: cmd: connect: Connexion refusée
LinuxSampler 0.3.3
Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005 Christian Schoenebeck
Detected features: disabled at compile time
Creating Sampler...OK
Registered MIDI input drivers: ALSA
Registered audio output drivers: ALSA
Starting LSCP network server (0.0.0.0:8888)...OK
08:20:44.427 Client connecting...
08:20:44.428 Client receive timeout is set to 1000 msec.
08:20:44.429 Client connected.
08:20:44.430 New session: "Untitled1".
LinuxSampler initialization completed. :-)
LSCPServer: Client connection established on socket:6.
LSCPServer: Client connection established on socket:7.
08:20:52.308 New Channel setup...
08:21:11.130 New MIDI device lscp_create_midi_device: Error opening ALSA sequencer (errno=0)
08:21:11.131 New MIDI device Could not create device. Sorry.
ALSA lib seq.c:911:(snd_seq_open_conf) symbol _snd_seq_hw_open is not defined inside (null)
Error opening ALSA sequencer
08:21:17.565 New Audio device lscp_get_audio_driver_info: AudioOutputDeviceAlsa (errno=0)
ALSA lib control.c:785:(snd_ctl_open_conf) symbol _snd_ctl_hw_open is not defined inside (null)
AudioOutputDeviceAlsa: Cannot open sound control for card 0 - No such device or address
AudioOutputDeviceAlsa: Can't find any card
08:21:23.416 New Audio device lscp_create_audio_device: AudioOutputDeviceAlsa (errno=0)
08:21:23.416 New Audio device Could not create device. Sorry.
08:22:34.666 New Audio device lscp_get_audio_driver_info: AudioOutputDeviceAlsa (errno=0)
ALSA lib control.c:785:(snd_ctl_open_conf) symbol _snd_ctl_hw_open is not defined inside (null)
AudioOutputDeviceAlsa: Cannot open sound control for card 0 - No such device or address
AudioOutputDeviceAlsa: Can't find any card

dakylla
User
Posts: 51
Joined: Wed Jan 14, 2009 11:08 am

Re: Lscp problem in Ubuntu (?)

Post by dakylla » Thu Dec 24, 2009 11:39 am

take a look to your /etc/hosts file, be sure to have a line like :
127.0.0.1 localhost

(even better post that file content here)

AudioOutputDeviceAlsa: Can't find any card :
did you compile jack or linuxsampler yourself ?

are you trying to create an alsa audio device ?
if so, it will not work if jack is already running. Create a jack audio device
for midi, you can choose alsa or jack but for audio,
if jack is runing on the only availaible soundcard, create jack audio device, not an alsa one

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Lscp problem in Ubuntu (?)

Post by cuse » Thu Dec 24, 2009 12:54 pm

Uuuuhm *cough* ... Have you checked your LinuxSampler version? I didn't actually see it last time. But according to your pasted console output, you are using Linuxsampler 0.3.3, thats a version from 2005 !!!

So please update everything and try again.

Post Reply