removido
(usa Nenhuma)
Enviado em 07/01/2018 - 15:22h
É só atualizar o pacote usbutils.
http://mydata.varna.net/slackwarearm-14.2/source/a/usbutils/usbutils.SlackBuild
$ ls -l /usr/share/usb.ids
lrwxrwxrwx 1 root root 14 Jul 7 2017 /usr/share/usb.ids -> hwdata/usb.ids
# ls -l /usr/share/hwdata/
total 7180
-rw-r--r-- 1 root root 2453132 Mar 7 2016 iab.txt
-rw-r--r-- 1 root root 3282879 Mar 7 2016 oui.txt
-rw-r--r-- 1 root root 995524 Mar 7 2016 pci.ids
-rw-r--r-- 1 root root 55055 Mar 7 2016 pnp.ids
-rw-r--r-- 1 root root 556422 Mar 7 2016 usb.ids
# find /usr/ | grep -i usb.ids
/usr/src/linux-4.4.88/drivers/media/dvb-core/dvb-usb-ids.h
/usr/src/linux-4.4.88/drivers/staging/gdm72xx/usb_ids.h
/usr/share/hwdata/usb.ids
/usr/share/apps/kcmusb/usb.ids
/usr/share/usb.ids
# slackpkg file-search usbutils
Looking for usbutils in package list. Please wait... DONE
The list below shows the packages that contains "usbutils" file.
[ installed ] - usbutils-008-x86_64-1
You can search specific packages using "slackpkg search package".
# slackpkg info usbutils
PACKAGE NAME: usbutils-008-x86_64-1.txz
PACKAGE LOCATION: ./slackware64/a
PACKAGE SIZE (compressed): 72 K
PACKAGE SIZE (uncompressed): 250 K
PACKAGE DESCRIPTION:
usbutils: usbutils (USB utilities)
usbutils:
usbutils: lsusb displays detailed information about all USB buses and devices
usbutils: in the system.
usbutils:
usbutils: usbmodules lists the kernel modules for a plugged in USB device.
usbutils:
usbutils: See the manual pages for more details.
usbutils:
https://packages.slackware.com/?r=slackware64-14.2&p=usbutils-008-x86_64-1.txz
Quem é responsável pelo usbutils?
Debian => Aurelien Jarno <aurel32@debian.org>
Ubuntu => Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
https://github.com/gregkh/usbutils
Mais informações podem ser encontradas no site Linux USB
http://www.linux-usb.org/
$ wget -c
http://www.linux-usb.org/usb.ids
--2018-01-07 15:25:01--
http://www.linux-usb.org/usb.ids
Resolvendo
www.linux-usb.org... 216.34.181.97
Conectando-se a
www.linux-usb.org|216.34.181.97|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 593370 (579K) [text/plain]
Salvando em: “usb.ids”
usb.ids 100%[=================================================================>] 579,46K 64,5KB/s em 7,0s
2018-01-07 15:25:10 (83,0 KB/s) - “usb.ids” salvo [593370/593370]
Agora é só criar um scritpt update-usbids para o slackware.
Baixar o arquivo
http://www.linux-usb.org/usb.ids e jogar nas pastas.
# find / | grep -i usb.ids
/usr/src/linux-4.4.88/drivers/media/dvb-core/dvb-usb-ids.h
/usr/src/linux-4.4.88/drivers/staging/gdm72xx/usb_ids.h
/usr/share/hwdata/usb.ids
/usr/share/apps/kcmusb/usb.ids
/usr/share/usb.ids