Received: from frv190.fwdcdn.com (frv190.fwdcdn.com [212.42.77.190]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9E519782C30 for ; Thu, 9 Sep 2021 07:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id: References:In-Reply-To:Cc:To:Subject:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SgwwuWtHcqPB+otyr25y4WshTL2RMRJx9/w2YciO+Xw=; b=pAQBsGPGR8z/GTw4k5QVc1KMXZ bWKTBwsm2bjztbhZnR3JNLjQ11CLD+qwOugXzDlSqtbAN440RA2ncTazP6gwh7LzimwjZMYdwUgF6 aAyTLhsZR1NzXa/GqZ/QgVf+3KlcAydQzoax+L/XoMAfvo+1E4Z+reCuILVWPMKBd1Ys=; Received: from [10.10.80.23] (helo=frv50.fwdcdn.com) by frv190.fwdcdn.com with smtp ID 1mOE3l-000FnC-Hz for u.alpine.devel@lists.alpinelinux.org; Thu, 09 Sep 2021 10:01:21 +0300 Date: Thu, 09 Sep 2021 10:01:21 +0300 From: Oleksiy Vilny <456123@ukr.net> Subject: Re[2]: [3.14.1] is missing kernel module To: u.alpine.devel@lists.alpinelinux.org Cc: Milan =?UTF-8?b?UC5TdGFuacSH?= , Natanael Copa Received: from 456123@ukr.net by frv50.fwdcdn.com; Thu, 09 Sep 2021 10:01:21 +0300 In-Reply-To: References: <1631104468.841050000.s573m5os@frv50.fwdcdn.com> X-Reply-Action: reply Message-Id: <1631167624.848794000.2jj8y1lx@frv50.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Hi, 8 September 2021, 16:38:50, by "Milan P. Stanić" : > On Wed, 2021-09-08 at 15:56, Oleksiy Vilny wrote: >> >> I tried to connect my APC SmartUPS to Alpine Linux 3.14.1 with kernel >> 5.10.56-0-virt (x86_64) via USB. While the UPS device was recognized >> by the kernel and shows up in /var/log/messages, the apcupsd cannot >> find the device. The reason is /dev/usb/hiddev[0-9] is not created. >> According to the manual at >> http://www.apcupsd.com/manual/manual.html#verifying-device-detection-and-driver >> apcupsd requires the following kernel modules to be installed: >> >> CONFIG_USB >> CONFIG_USB_HID >> CONFIG_USB_HIDDEV >> >> The first two are present, though usbhiddev is missing: >> >> alpine:~# cat /boot/config-virt | grep CONFIG_USB_HID* >> CONFIG_USB_HID=m >> # CONFIG_USB_HIDDEV is not set >> >> I would kindly ask in the upcoming build the configuration to >> be changed to >> >> CONFIG_USB_HIDDEV=y > > -virt kernels are for virtual machines (qemu and similar) and they don't > have much drivers for hardware devices enabled. > Use 'normal' kernel, those without '-virt' in package name. > We have a need to control APC UPS from within virtual environment and would really like to avoid solution with non -virt Alpine flavour because of hard memory limits we have. Trying to keep virtual machine memory footprint as low as possible we have to use -virt flavour. Maybe Natanael Copa could help with it? Thank you.