Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id C7C26782C02 for <~alpine/devel@lists.alpinelinux.org>; Wed, 8 Sep 2021 13:14:03 +0000 (UTC) Received: from elm (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id 5C1641E547 for <~alpine/devel@lists.alpinelinux.org>; Wed, 8 Sep 2021 15:14:02 +0200 (CEST) Date: Wed, 8 Sep 2021 15:14:02 +0200 From: Milan =?utf-8?Q?P=2E_Stani=C4=87?= To: ~alpine/devel@lists.alpinelinux.org Subject: Re: [3.14.1] is missing kernel module Message-ID: References: <1631104468.841050000.s573m5os@frv50.fwdcdn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1631104468.841050000.s573m5os@frv50.fwdcdn.com> On Wed, 2021-09-08 at 15:56, Oleksiy Vilny wrote: > Hi, > > 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. > Kind Regards, Oleksiy