Ubuntu Client / OS

Hi Michael,
i think it's not a problem with the Ubuntu client, but today i got a problem where you may help me.

I connected several USB devices hosted on my RPi. Now i added two more devices to my USB hub and get the following message from the client on my Ubuntu Desktop:
INFO :Failed to connect to session manager: SESSION_MANAGER environment variable not defined
ERROR :There are no more available free ports on this client. Try disconnecting an existing device

I already tried to increase the number of ports by typing the following in terminal:
sudo mknod /dev/ttyUSB6 c 188 6
sudo mknod /dev/ttyUSB7 c 188 7
sudo mknod /dev/ttyUSB8 c 188 8
sudo mknod /dev/ttyUSB9 c 188 9
sudo mknod /dev/ttyUSB10 c 188 10

The files will be created in /dev as it worked for me before with USB0 - USB5.
But it seems they are not accessible and after a reboot of the Ubuntu OS they are gone/deleted again.

Do you have an idea what i have to do?

Thanks in advance.
kind regards
Mario

#2

the INFO error is from gnome i think, you can ignore that warning as its not important.

the ERROR message means that you can only use 8 devices at a time on your linux client. The client looks in the file /sys/devices/platform/vhci_hcd/status to find a spare "port" to attach the remote device. It is showing that all ports are used.

In reply to by Michael

#3

Ah ok, thanks for the information!
Yes indeed, USB0-5 and ACM0/1 are used at the moment for my SmartHome machine (ESXi - Ubuntu 14.04 Desktop AMD64 with FHEM).
Is there a way to increase the number of usable USB devices above 8?

OK, its not as hard as it sounds, you just need to get the exact sourcecode of the kernel you are running and then run make menuconfig and then navigate to drivers usb/ip and turn on the client listed in that list and then make the module you want then you copy that .ko to your client and then insmod it then run the virtualhere client again and it will use the new module

https://wiki.centos.org/HowTos/BuildingKernelModules