Received: from exs-elm.ru (exs-elm.ru [212.109.194.7]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 1576F782B99 for <~alpine/devel@lists.alpinelinux.org>; Tue, 14 Sep 2021 17:44:34 +0000 (UTC) Received: from [192.168.88.219] (unknown [195.91.173.49]) by exs-elm.ru (Postfix) with ESMTPSA id 80F6F20E6262 for <~alpine/devel@lists.alpinelinux.org>; Tue, 14 Sep 2021 21:44:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=exs-elm.ru; s=mail; t=1631641472; bh=Srh6SH/6casZKk/jXfrbmDZHhz75xyjKpMbiWHS+sIA=; h=Subject:To:References:From:Date:In-Reply-To:From; b=OMpDRHcTnOEk6AxjwDUvarjyQrV4svqRo6Vp4LQNqzzOo4ABJrLOeGokl83f8+jB3 VJScQMWjp4msn4c5yRV9AlkBYHCo9/1WBQ3nO62rQ7nLJzcvfhqksHiWaL4fArSJDC 31/sIchRGZOq6KlSdFjkTX8385YWxyZLLNo+OFLA= Subject: Re: [3.14.1] is missing kernel module To: ~alpine/devel@lists.alpinelinux.org References: <1631104468.841050000.s573m5os@frv50.fwdcdn.com> From: Eleksir Organization: Home, sweet home. Message-ID: <9f82f49f-ef80-f168-7be5-ea2f0820d311@exs-elm.ru> Date: Tue, 14 Sep 2021 20:44:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru Content-Transfer-Encoding: 8bit 08.09.2021 16:14, Milan P. Stanić пишет: > 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. Well, its not only kernel modules issue, but i run into trouble with cirrus xorg driver on recent alpine. There is no cirrus xorg driver at all in 3.14.x But no-one cares. I just avoid using alpine in my vm. :) > Use 'normal' kernel, those without '-virt' in package name. > >> Kind Regards, Oleksiy > -- WBR, Eleksir