Public bug reported:

[Impact]

Backported to bionic/linux commit f83baa0cb6cf ("HID: add hid_is_usb() function 
to make it simpler for USB detection") brings to HID_ASUS usage of hid_is_usb() 
which is provided by USB_HID.  If HID_ASUS is built as module but USB_HID is 
not, the kernel build will fail (like linux-azure) did:
  ERROR: "usb_hid_driver" [drivers/hid/hid-asus.ko] undefined!

[Fix]

Because of backport of commit commit f83baa0cb6cf ("HID: add
hid_is_usb() function to make it simpler for USB detection"), the
bionic/linux needs also backport of commit c4f0126d487f ("HID: asus: Add
depends on USB_HID to HID_ASUS Kconfig option").

[Test Plan]

Build HID_ASUS as module with or without USB_HID.

[Where problems could occur]

It's a new KConfig dependency, so configs using HID_ASUS without USB_HID
will loose HID_ASUS. This is expected, so no problems should occur.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: New


** Tags: bionic

** Tags added: bionic

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Description changed:

+ [Impact]
+ 
  Backported to bionic/linux commit f83baa0cb6cf ("HID: add hid_is_usb() 
function to make it simpler for USB detection") brings to HID_ASUS usage of 
hid_is_usb() which is provided by USB_HID.  If HID_ASUS is built as module but 
USB_HID is not, the kernel build will fail (like linux-azure) did:
-   ERROR: "usb_hid_driver" [drivers/hid/hid-asus.ko] undefined!
+   ERROR: "usb_hid_driver" [drivers/hid/hid-asus.ko] undefined!
+ 
+ [Fix]
  
  Because of backport of commit commit f83baa0cb6cf ("HID: add
  hid_is_usb() function to make it simpler for USB detection"), the
  bionic/linux needs also backport of commit c4f0126d487f ("HID: asus: Add
  depends on USB_HID to HID_ASUS Kconfig option").
+ 
+ [Test Plan]
+ 
+ Build HID_ASUS as module with or without USB_HID.
+ 
+ [Where problems could occur]
+ 
+ It's a new KConfig dependency, so configs using HID_ASUS without USB_HID
+ will loose HID_ASUS. This is expected, so no problems should occur.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959762

Title:
  HID_ASUS should depend on USB_HID in stable v4.15 backports

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1959762/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to