OpenVZ Forum


Home » General » Support » OpenVz and Bluetooth
OpenVz and Bluetooth [message #25248] Tue, 18 December 2007 21:57 Go to next message
cyrax is currently offline  cyrax
Messages: 2
Registered: December 2007
Junior Member
Hi.

Is it possible to use bluetooth devices inside a VE ?

I already set visibility of rfcomm and other special devices to the VE, but when I try to run bluetooth tools like rfcomm I get an error.

I ran the programs with strace and I saw that those programs failed
when tried to open a socket of family PF_BLUETOOTH.

The error code reports that the problem is that the family PF_BLUETOOTH is not supported.

Of course.. running the same programs in the hardware node works correctly (and the socket is opened without problems).

So, this is a limitation imposed to VE by openvz.

Is there any way to allow VE use this kind of socket ?

Is bluetooth virtualization support planned for futures openvz releases ?

Thanks Smile
Re: OpenVz and Bluetooth [message #25249 is a reply to message #25248] Tue, 18 December 2007 22:01 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
What kind of device are you trying to connect via bluetooth?

Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: OpenVz and Bluetooth [message #25250 is a reply to message #25249] Tue, 18 December 2007 22:22 Go to previous messageGo to next message
cyrax is currently offline  cyrax
Messages: 2
Registered: December 2007
Junior Member
I'm trying to connect a mobile phone to use it with asterisk and chan_mobile, to create a homemade GSM gateway. Smile
Re: OpenVz and Bluetooth [message #25358 is a reply to message #25250] Fri, 21 December 2007 07:41 Go to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Unfortunately we are not going virtualize bluetooth, at least in near future.

If You can try to make some experiments in this area, I would propose You to add PF_BLUETOOTH protocol family in net/socket.c::vz_security_family_check().
It will allow You to make several steps in this direction, but
I'm not sure that it will enough to use bluetooth devices inside VE.

Thank You,
Vasily Averin
Previous Topic: urgent , create vps
Next Topic: disk quota exceeded problem at ve
Goto Forum:
  


Current Time: Mon Aug 12 02:16:02 GMT 2024

Total time taken to generate the page: 0.03105 seconds