Re: R3.2-rc3: hotplugging ExpressCard devices

38 views
Skip to first unread message

yaqu

unread,
Sep 19, 2016, 9:23:34 AM9/19/16
to qubes-users
On Sun, 18 Sep 2016 19:40:49 +0200, yaqu <qubes...@openmailbox.org>
wrote:

> Hello,
>
> After upgrading from R3.0 to R3.2-rc3, I am no longer able to hotplug
> ExpressCard devices (e.g. USB 3.0 adapter). Is it a bug or feature?
>
> When I connect adapter to running Qubes, nothing happens - it is not
> detected, not reported by lspci, also there is nothing in dmesg.
>
> When I boot Qubes with already connected adapter, it is properly
> detected, attached to dom0, and works fine. But if I disconnect it,
> it is still reported by lspci as connected.
>
> As a workaround, I have to manually rescan PCI bus after connecting
> adapter:
> $ sudo sh -c 'echo 1 > /sys/bus/pci/rescan'
>
> And manually remove it after disconnecting:
> $ sudo sh -c 'echo 1 > /sys/bus/pci/devices/0000:05:00.0/remove'
>
> It works, but it is not very handy :-(

I'm resending this mail, it looks like it was filtered out or stuck in
moderation queue...

Meanwhile, I've found out it's a feature:
https://github.com/QubesOS/qubes-issues/issues/1673

--
yaqu

yaqu

unread,
Sep 20, 2016, 8:17:10 AM9/20/16
to qubes-users
Hello,

After upgrading from R3.0 to R3.2-rc3, I am no longer able to hotplug
ExpressCard devices (e.g. USB 3.0 adapter). Is it a bug or feature?

When I connect adapter to running Qubes, nothing happens - it is not
detected, not reported by lspci, also there is nothing in dmesg.

When I boot Qubes with already connected adapter, it is properly
detected, attached to dom0, and works fine. But if I disconnect it,
it is still reported by lspci as connected.

As a workaround, I have to manually rescan PCI bus after connecting
adapter:
$ sudo sh -c 'echo 1 > /sys/bus/pci/rescan'

And manually remove it after disconnecting:
$ sudo sh -c 'echo 1 > /sys/bus/pci/devices/0000:05:00.0/remove'

It works, but it is not very handy :-(

Regards,

--
yaqu
Reply all
Reply to author
Forward
0 new messages