Bug 11810 - setup not show usb nics correctly since last usbutils update
Summary: setup not show usb nics correctly since last usbutils update
Status: CLOSED DUPLICATE of bug 12667
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Unspecified
: Will affect all users Aesthetic Issue
Assignee: Peter Müller
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-06 10:08 UTC by Arne.F
Modified: 2022-03-21 22:17 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne.F 2018-08-06 10:08:02 UTC
At first run of setup usb lan devices will not correct listed. You can still configure it but the manufacturer and device entries are empty.

I have tested this on arm and intel nightly builds for core123

Should we revert the update?
Comment 1 Michael Tremer 2018-08-06 14:46:54 UTC
We can do this for now, but eventually we will need to find out what is going wrong...
Comment 2 Michael Tremer 2018-08-16 21:53:11 UTC
This commit has been reverted because no fix was present and the release should not be blocked by this:

https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=df74fcbff940c9b92cd51be36a5b7c831f9b5292

Please figure out why this updated caused this problem.
Comment 3 Peter Müller 2018-08-19 20:45:18 UTC
At the moment I have no idea about what is going wrong here (testing did not show this issue, but no USB LAN devices were in place) but I will take care of this.
Comment 4 Peter Müller 2020-04-18 09:09:16 UTC
https://github.com/gregkh/usbutils/commit/94986fc7abcc6bd932a3f45501e83f4f5a4126f2

> The lsusb binary does not use the usb.ids file anymore, instead it uses
> the udev hardware database. Mentionning usb.ids in lsusb(8) is therefore
> very confusing for the users. This patch therefore drops that part.

So I guess we have to make sure the udev hardware database is properly present.
@Arne: Do we even need usb.ids anymore?
Comment 5 Arne.F 2020-04-19 18:39:37 UTC
I fear the udev hwdb is also generated from this usb.ids list at udev startup. Also at the time of S75firstsetup udev is already started and running. So i still not understand why lsusb is not working.
Comment 6 Michael Tremer 2020-04-19 18:58:13 UTC
(In reply to Peter Müller from comment #4)
> @Arne: Do we even need usb.ids anymore?

Yes, we want to know what hardware is connected when we run "lsusb".
Comment 7 Peter Müller 2022-03-21 22:17:13 UTC
Closing this, since I believe it is a duplicate of bug #12667, which was fixed in Core Update 164. Please reopen, if necessary.

*** This bug has been marked as a duplicate of bug 12667 ***