lsusb shows blank entry for the device

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

lsusb shows blank entry for the device

Postby nsh12345 » Mar 18th, '20, 15:45

Hello,

O.S: Mageia 5

Problem: Device name doesn't appear with lsusb

Details:
I am connecting usb device (bladerf from nuand) and when I check lsusb , it appears blank.
Code: Select all
lsusbBus 002 Device 002: ID 2cf0:5246 

From (usb-devices) I can see it correctly.

Troubleshooting done
I updated the two files usb.ids and pci.ids manually and rebooted but I still cannot see the device name from (lsusb)
2cf0 Nuand
5246 BladeRF
5250 BladeRF
I confirmed it from https://usb-ids.gowdy.us/read/UD/2cf0

Any hint will be appreciated

Thanks,
nsh12345
 
Posts: 12
Joined: Sep 20th, '19, 20:35

Re: lsusb shows blank entry for the device

Postby jibz » Mar 18th, '20, 15:59

Small hint : maybe update to mga6 ?
jibz
 
Posts: 27
Joined: Jan 29th, '17, 13:58

Re: lsusb shows blank entry for the device

Postby nsh12345 » Mar 18th, '20, 18:18

Thank you for the reply but upgrading is not possible, its for so many devices in production.
nsh12345
 
Posts: 12
Joined: Sep 20th, '19, 20:35

Re: lsusb shows blank entry for the device

Postby doktor5000 » Mar 19th, '20, 18:03

If usb-devices command shows it properly, why is this an issue ?

Also, for your edits to usb.ids and pci.ids, did you keep the intendation as mentioned in the header of those files? Can you show the output of

Code: Select all
grep -i ^2cf0 -A3 /usr/share/usb.ids
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: lsusb shows blank entry for the device

Postby nsh12345 » Mar 19th, '20, 19:22

Thank you for the reply
I have a lot of scripts using (lsusb) , its easier to fix the command than the entire scripts (I hope)

This is the outputs
Code: Select all
 grep -i ^2cf0 -A3 /usr/share/usb.ids
2cf0  Nuand
        5246  BladeRF
        5250  BladeRF
2dcf  Dialog Semiconductor
Last edited by isadora on Mar 19th, '20, 20:43, edited 1 time in total.
Reason: CODE placed between CODE-tags for better readability and removed quote; as a golden rule quoting the last comment is not appropriate.
nsh12345
 
Posts: 12
Joined: Sep 20th, '19, 20:35

Re: lsusb shows blank entry for the device

Postby martinw » Mar 19th, '20, 21:41

lsusb doesn't use /usr/share/usb.ids any more. The man page has recently been updated to reflect this:
https://github.com/gregkh/usbutils/comm ... 4f5a4126f2
but it seems the change was made a long time ago.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: lsusb shows blank entry for the device

Postby nsh12345 » Mar 23rd, '20, 09:45

Thanks a lot
Last edited by isadora on Mar 23rd, '20, 10:04, edited 1 time in total.
Reason: Removed quote; as a golden rule quoting the last comment is not appropriate.
nsh12345
 
Posts: 12
Joined: Sep 20th, '19, 20:35


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest