Re: [qubes-users] BT adapter with Qubes OS 4.0

2018-09-21 Thread GDRUB
Le 21/09/2018 à 15:34, Franz a écrit :
>
>
> On Fri, Sep 21, 2018 at 8:23 AM, 'awokd' via qubes-users
> mailto:qubes-users@googlegroups.com>>
> wrote:
>
> GDRUB:
> > My system has only one USB controller. I haven't set up a USB qube.
> >
> > I achieved this objective on my desktop.
> >
> > %<-
> > $ qvm-usb
> > BACKEND:DEVID  DESCRIPTION    USED BY
> > sys-usb:1-1    Broadcom_Corp_BCM20702A0_5CF37060F233  personal
> > sys-usb:1-7    Logitech_USB_Receiver
> > sys-usb:1-8    Logitech_USB_Receiver
> > sys-usb:2-4    Seagate_M3_NM128GCP
> > %<-
>
> > Today, I still have problems with BT and pulseaudio. PulseAudio Volume
> > Control (pavucontrol) shows Bluetooth headset. I connect my
> bluetooth
> > A2DP headset but the video playback on YouTube stops with
> message : "if
> > playback doesn't begin shortly try restarting your device". With
> > Spotify, the songs are playing but I can't hear it. :-(
>
> Good you got the sys-usb mostly working! I've seen other posts in this
> mailing list about problems with BT and audio, but don't know if
> anyone
> was able to get it to work. Maybe try a wired headset instead?
>
>
> There are also easy adapters that take sound from the 3.5 mm jack and
> deliver it by BT 4.0/4.1, bypassing all huge BT security problems,
> with the additional advantage of being able to work with all VMs.
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qubes-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to qubes-users@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/CAPzH-qD%2ByBG8ZkO6WhNUdUESj7MLsDgYV4M9SU0Bg2kYbKvb%3DQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.

It works like a charm!  I forgot to change audio profile of BT headset
device (High Fidelity Playback A2DP).

I plan to use/adapt this script :
https://m7i.org/tips/qubes-VM-bluetooth-audio/

Franz : I will test the 3.5 mm BT adapter for another use. Thx

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2a9a0f75-1135-c859-9978-329cb5bde988%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] BT adapter with Qubes OS 4.0

2018-09-21 Thread Franz
On Fri, Sep 21, 2018 at 8:23 AM, 'awokd' via qubes-users <
qubes-users@googlegroups.com> wrote:

> GDRUB:
> > My system has only one USB controller. I haven't set up a USB qube.
> >
> > I achieved this objective on my desktop.
> >
> > %<-
> > $ qvm-usb
> > BACKEND:DEVID  DESCRIPTIONUSED BY
> > sys-usb:1-1Broadcom_Corp_BCM20702A0_5CF37060F233  personal
> > sys-usb:1-7Logitech_USB_Receiver
> > sys-usb:1-8Logitech_USB_Receiver
> > sys-usb:2-4Seagate_M3_NM128GCP
> > %<-
>
> > Today, I still have problems with BT and pulseaudio. PulseAudio Volume
> > Control (pavucontrol) shows Bluetooth headset. I connect my bluetooth
> > A2DP headset but the video playback on YouTube stops with message : "if
> > playback doesn't begin shortly try restarting your device". With
> > Spotify, the songs are playing but I can't hear it. :-(
>
> Good you got the sys-usb mostly working! I've seen other posts in this
> mailing list about problems with BT and audio, but don't know if anyone
> was able to get it to work. Maybe try a wired headset instead?
>
>
There are also easy adapters that take sound from the 3.5 mm jack and
deliver it by BT 4.0/4.1, bypassing all huge BT security problems, with the
additional advantage of being able to work with all VMs.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAPzH-qD%2ByBG8ZkO6WhNUdUESj7MLsDgYV4M9SU0Bg2kYbKvb%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] BT adapter with Qubes OS 4.0

2018-09-21 Thread 'awokd' via qubes-users
GDRUB:
> My system has only one USB controller. I haven't set up a USB qube.
> 
> I achieved this objective on my desktop.
> 
> %<-
> $ qvm-usb
> BACKEND:DEVID  DESCRIPTION    USED BY
> sys-usb:1-1    Broadcom_Corp_BCM20702A0_5CF37060F233  personal
> sys-usb:1-7    Logitech_USB_Receiver
> sys-usb:1-8    Logitech_USB_Receiver
> sys-usb:2-4    Seagate_M3_NM128GCP
> %<-

> Today, I still have problems with BT and pulseaudio. PulseAudio Volume
> Control (pavucontrol) shows Bluetooth headset. I connect my bluetooth
> A2DP headset but the video playback on YouTube stops with message : "if
> playback doesn't begin shortly try restarting your device". With
> Spotify, the songs are playing but I can't hear it. :-(

Good you got the sys-usb mostly working! I've seen other posts in this
mailing list about problems with BT and audio, but don't know if anyone
was able to get it to work. Maybe try a wired headset instead?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/558e2f7a-db1d-544d-2928-d05244b15b87%40danwin1210.me.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] BT adapter with Qubes OS 4.0

2018-09-21 Thread GDRUB
Le 19/09/2018 à 21:41, 'awokd' via qubes-users a écrit :
> gdru...@gmail.com:
>> Hi,
>>
>> I'm trying to look for a USB bluetooth adapter.
>>
>> Why qvm-usb doesn't list available USB devices ?
>>
>> [user@dom0 ~]$ qvm-usb
>> BACKEND:DEVID  DESCRIPTION  USED BY
>> [user@dom0 ~]$  
>>
>> %<---
>>
>> [user@dom0 ~]$  lsusb
>> Bus 002 Device 002: ID 0bc2:61b6 Seagate RSS LLC 
>> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
>> Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
>> Bus 001 Device 002: ID 050d:065a Belkin Components F8T065BF Mini Bluetooth 
>> 4.0 Adapter <-
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> I'm assuming you haven't set up a USB qube because you're using that
> logitech receiver for keyboard & mouse. However, from the two busses
> listed in lsusb, you may have two separate USB controllers. Check with
> lspci. If you do, you can set up a USB qube per
> https://www.qubes-os.org/doc/usb/#creating-and-using-a-usb-qube and
> assign one of your two controllers to it (the one with the Seagate
> device, assuming Qubes isn't on it). Then you should be able to plug
> your Bluetooth adapter in that controller. You may still have trouble
> with qvm-usb seeing it, but there are a couple other options at that point.
>
Hi awokd

High regard ! Thx so much.

My system has only one USB controller. I haven't set up a USB qube.

I achieved this objective on my desktop.

%<-
$ qvm-usb
BACKEND:DEVID  DESCRIPTION    USED BY
sys-usb:1-1    Broadcom_Corp_BCM20702A0_5CF37060F233  personal
sys-usb:1-7    Logitech_USB_Receiver
sys-usb:1-8    Logitech_USB_Receiver
sys-usb:2-4    Seagate_M3_NM128GCP
%<-

I have had some trouble. USB keyboard is disabled during USB qube
creation. I had to plug a PS/2 keyboard otherwise I couldn't enter my
passphrase to decrypt the luks drive.

The below command indicates an error (R4.0, using salt).

%<-
$ sudo qubesctl state.sls qvm-usb-keyboard
[ERROR   ] Template was specified incorrectly: False
local:
    Data failed to compile:
--
    No matching sls found for 'qvm-usb-keyboard' in env 'base'
DOM0 configuration failed, not continuing
%<-

I had to edit the qubes.InputKeyboard policy file in dom0 (R3.2, manual)
and hide all USB controllers from dom0 in GRUB2 (rd.qubes.hide_all_usb
removed)

Reference links :

-
https://www.qubes-os.org/doc/usb/#security-warning-about-usb-input-devices
-
https://www.qubes-os.org/doc/usb/#how-to-hide-all-usb-controllers-from-dom0

Qubes isn't on the Seagate device (using an SSD drive) ;-)

Today, I still have problems with BT and pulseaudio. PulseAudio Volume
Control (pavucontrol) shows Bluetooth headset. I connect my bluetooth
A2DP headset but the video playback on YouTube stops with message : "if
playback doesn't begin shortly try restarting your device". With
Spotify, the songs are playing but I can't hear it. :-(

GD

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d4d9b7f4-9f29-8464-0a37-39c58fe61893%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] BT adapter with Qubes OS 4.0

2018-09-19 Thread 'awokd' via qubes-users
gdru...@gmail.com:
> Hi,
> 
> I'm trying to look for a USB bluetooth adapter.
> 
> Why qvm-usb doesn't list available USB devices ?
> 
> [user@dom0 ~]$ qvm-usb
> BACKEND:DEVID  DESCRIPTION  USED BY
> [user@dom0 ~]$  
> 
> %<---
> 
> [user@dom0 ~]$  lsusb
> Bus 002 Device 002: ID 0bc2:61b6 Seagate RSS LLC 
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 001 Device 002: ID 050d:065a Belkin Components F8T065BF Mini Bluetooth 
> 4.0 Adapter <-
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I'm assuming you haven't set up a USB qube because you're using that
logitech receiver for keyboard & mouse. However, from the two busses
listed in lsusb, you may have two separate USB controllers. Check with
lspci. If you do, you can set up a USB qube per
https://www.qubes-os.org/doc/usb/#creating-and-using-a-usb-qube and
assign one of your two controllers to it (the one with the Seagate
device, assuming Qubes isn't on it). Then you should be able to plug
your Bluetooth adapter in that controller. You may still have trouble
with qvm-usb seeing it, but there are a couple other options at that point.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2e1c3e0a-e17b-69f5-effe-8857329f17e9%40danwin1210.me.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] BT adapter with Qubes OS 4.0

2018-09-19 Thread gdrub51
Hi,

I'm trying to look for a USB bluetooth adapter.

Why qvm-usb doesn't list available USB devices ?

[user@dom0 ~]$ qvm-usb
BACKEND:DEVID  DESCRIPTION  USED BY
[user@dom0 ~]$  

%<---

[user@dom0 ~]$  lsusb
Bus 002 Device 002: ID 0bc2:61b6 Seagate RSS LLC 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 050d:065a Belkin Components F8T065BF Mini Bluetooth 4.0 
Adapter <-
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any help and advice would be greatly appreciated.

Best regards.

GD Rub

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a10ce9c5-6267-4a9e-8d3c-eac2a8e6428e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.