USBView (from PPM) not working [Solved]

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Adam Li
Posts: 72
Joined: Mon Aug 03, 2020 3:16 pm
Location: Warsaw / Poland
Has thanked: 12 times
Been thanked: 5 times

USBView (from PPM) not working [Solved]

Post by Adam Li »

Hi

I am vitally interested in using USBView in BionicPup32 19.03 (bionicpup32-8.0+26).

Installing from PPM:

USBView

Packages succesfully Installed or Downloaded
usbview_2.0-21-g6fe2f4f

Packages that failed to be Installed or Downloaded, or were aborted be the user

Missing Shared Libraries

Existing Libraries that may be in a location other than /lib and /usr/lib

Starting from Applikations/System/USBView: nothing.

Starting from Terminal:

USBView_bionicpup32.1.png
USBView_bionicpup32.1.png (16.67 KiB) Viewed 726 times
USBView_bionicpup32.2.png
USBView_bionicpup32.2.png (11.24 KiB) Viewed 726 times

What to do? I'm totally green in compiling kernels :(

Great thanks in advance for any help.

Adam Li

Last edited by Adam Li on Wed Apr 28, 2021 1:00 pm, edited 1 time in total.

Laptop Core2 Duo CPU T6400 @ 2.00GHz / 3GB / GeForce 9300M GS
BionicPup32-8 19.03 / Precise 5.7.1 - Both Frugal Instal on HDD
Sorry for possible mistakes - English is not my mother tongue.

williams2
Posts: 1023
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 288 times

Re: USBView (from PPM) not working

Post by williams2 »

Is it useful to type usb-devices in a text terminal (console)?

edit:
and lsusb
and usbhid-dump ?

edit:
or hardinfo
or Pup-SysInfo ?

User avatar
bigpup
Moderator
Posts: 6216
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 710 times
Been thanked: 1270 times

Re: USBView (from PPM) not working

Post by bigpup »

The one big problem with what is offered in Puppy Package Manager(PPM)
Not all of it is 100% going to work in Puppy Linux.
It is what it is!
PPM gets stuff from other Linux OS repositories.
A lot of programs will work in Puppy Linux, but not all.

That program is looking for stuff that is in a normally setup Linux OS.
That is not Puppy Linux.

Bionicpup is not setup to produce the info file this program needs.

Bionicpup has this program.
menu->System->Pup-Sysinfo->Dvices->USB devices

If that is not providing the information you want.
What information do you need?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Adam Li
Posts: 72
Joined: Mon Aug 03, 2020 3:16 pm
Location: Warsaw / Poland
Has thanked: 12 times
Been thanked: 5 times

Re: USBView (from PPM) not working

Post by Adam Li »

Thanks williams2

All commands are OK, but none of them give information about speed :(

usbview-screenshot-1.0.jpg
usbview-screenshot-1.0.jpg (81.26 KiB) Viewed 683 times

USBView do it.

Thanks bigpup

I know about this property of PPM, but I can always try ... maybe lucky will be?

bigpup wrote:

What information do you need?

From the beginning...
I have laptop like to Clevo Model M7XOSU. It's Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz based machine, but, it's my misfortune , it have SiS chipset. I buy ExpressCard BC398 - ExpressCard to 2xUSB 3.0 - based on NEC's (now Renesas) uPD720202 USB 3.0 Host Controller. Using this card is a lottery, sometimes it works at full speed, sometimes like USB 2.0, and other times it freezes - why? It's like to be hardware problem, but is it sure? I suppose that USBView can help me.

# usb-devices
...
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 2
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.09
S: Manufacturer=Linux 4.9.163-lxpup-32-pae xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:09:00.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

# lsusb
...
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Thanks once more
Have a nice day

Adam Li

Laptop Core2 Duo CPU T6400 @ 2.00GHz / 3GB / GeForce 9300M GS
BionicPup32-8 19.03 / Precise 5.7.1 - Both Frugal Instal on HDD
Sorry for possible mistakes - English is not my mother tongue.

User avatar
BarryK
Posts: 2244
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 548 times

Re: USBView (from PPM) not working

Post by BarryK »

Hi,
You are getting that error message at startup because you have to mount 'debugfs' first. See my blog post:

https://bkhome.org/news/202104/usbview- ... edded.html

User avatar
mikewalsh
Moderator
Posts: 5534
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 560 times
Been thanked: 1665 times

Re: USBView (from PPM) not working

Post by mikewalsh »

@BarryK :-

A thought:-

You know your "easydd" script, yes? You built in the ability to show USB write speeds as a part of the dd 'write' process, didn't you?

Would it be possible to isolate that function, and use it, on its own, as a standalone utility? Obviously, your USB stick would need to be actively reading or writing for such to 'sample' then report its findings.....or is this one of dd's 'flags'?

(I've looked at your script a few times, half-heartedly, with the intention of doing exactly this, but.....I'm afraid to say that YOUR level of Bash "usage" is WAY beyond my own..!)

Just curious....

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
BarryK
Posts: 2244
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 548 times

Re: USBView (from PPM) not working

Post by BarryK »

mikewalsh wrote: Tue Apr 27, 2021 11:15 am

@BarryK :-

A thought:-

You know your "easydd" script, yes? You built in the ability to show USB write speeds as a part of the dd 'write' process, didn't you?

Would it be possible to isolate that function, and use it, on its own, as a standalone utility? Obviously, your USB stick would need to be actively reading or writing for such to 'sample' then report its findings.....or is this one of dd's 'flags'?

(I've looked at your script a few times, half-heartedly, with the intention of doing exactly this, but.....I'm afraid to say that YOUR level of Bash "usage" is WAY beyond my own..!)

Just curious....

Mike. ;)

Mike,
That functionality is part of the 'dd' utility. The 'coreutils' developers introduced it to dd a few years ago, and the dd in many older pups won't have that capability. Some online man pages for dd are still showing the old version.

This shows the commandline options, it is "status=progress" that does it:

https://man7.org/linux/man-pages/man1/dd.1.html

But you also have to enable synchronous writing, so it flushes to the actual drive, otherwise you will get an erroneous speed reading, initially anyway, when it only writes to the cache inside the drive. That's why I use some extra parameters on the commandline:

Code: Select all

dd if=${IMGFILE} of=/dev/${DRVTARGET} bs=1M conv=fsync status=progress oflag=sync

So, yes, it is part of dd and cannot be a standalone thingy.

User avatar
mikewalsh
Moderator
Posts: 5534
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 560 times
Been thanked: 1665 times

Re: USBView (from PPM) not working

Post by mikewalsh »

@BarryK :-

No, that's fine. I understand that you can't just separate it out.

When I put together the EasyDD packages a couple of years back, I used the 'static' version of dd that you provided a link to. I have this running in all my Pups now.

I was having a look at some functional examples of using 'dd' purely as a means of obtaining speed readings yesterday.....making use of /dev/null & /dev/zero. If that's a function of 'dd', it should be possible to use those flags in conjunction with the scripts I found, here:-

https://www.blackmoreops.com/2017/04/04 ... -in-linux/

What do you think?

---------------------------

I'm in jrb's 'lite' spin on your own Quirky64 "April" 7.0.1. I have to assume that the version of 'dd' you built-in here also has these flags compiled-in, because if I run those commands for a USB 3.2-gen SanDisk Ultra Fit, and then add those additional flags after the of argument, we get this:-

Image

Yes, the fsync argument appears to fail, but we ARE getting a real-time speed readout.....and that's what I'm actually after.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

Adam Li
Posts: 72
Joined: Mon Aug 03, 2020 3:16 pm
Location: Warsaw / Poland
Has thanked: 12 times
Been thanked: 5 times

Re: USBView (from PPM) not working

Post by Adam Li »

@BarryK
Many, many thanks, You are GREAT!

Let's go!

usbview.0101.png
usbview.0101.png (9.9 KiB) Viewed 642 times

next

usbview.0102.png
usbview.0102.png (10.72 KiB) Viewed 642 times

WOW!

usbview.0103.png
usbview.0103.png (86.73 KiB) Viewed 642 times

To be continued...

Laptop Core2 Duo CPU T6400 @ 2.00GHz / 3GB / GeForce 9300M GS
BionicPup32-8 19.03 / Precise 5.7.1 - Both Frugal Instal on HDD
Sorry for possible mistakes - English is not my mother tongue.

Adam Li
Posts: 72
Joined: Mon Aug 03, 2020 3:16 pm
Location: Warsaw / Poland
Has thanked: 12 times
Been thanked: 5 times

Re: USBView (from PPM) not working

Post by Adam Li »

HCI Host Controller

usbview.0104.png
usbview.0104.png (87.57 KiB) Viewed 640 times

xHCI Host Controller

usbview.0105.png
usbview.0105.png (86.62 KiB) Viewed 640 times

USB 3.0 External HDD conected to standard USB 2.0

usbview.0106.png
usbview.0106.png (81.27 KiB) Viewed 640 times

To be continued...

Laptop Core2 Duo CPU T6400 @ 2.00GHz / 3GB / GeForce 9300M GS
BionicPup32-8 19.03 / Precise 5.7.1 - Both Frugal Instal on HDD
Sorry for possible mistakes - English is not my mother tongue.

Adam Li
Posts: 72
Joined: Mon Aug 03, 2020 3:16 pm
Location: Warsaw / Poland
Has thanked: 12 times
Been thanked: 5 times

Re: USBView (from PPM) not working [Solved]

Post by Adam Li »

Finally USB 3.0 External HDD conected to SS USB 3.0

usbview.0107.png
usbview.0107.png (85.36 KiB) Viewed 283 times
usbview.0108.png
usbview.0108.png (182.66 KiB) Viewed 283 times

Give you attention to "MaxPower Needed" line! It's about twice value comparing to USB 2.0!
Technically: USB 3.0 External HDD is small WDC WD1600BJKT, 2,5', SATA 160 GB in the outer casing with SATA to USB 3.0 converter.

@BarryK
Many, many thanks once more, You are GREAT!

Many thanks also for all!

Adam Li

PS USBView from Menu/Applications/System not starting, but it's nothing.

Laptop Core2 Duo CPU T6400 @ 2.00GHz / 3GB / GeForce 9300M GS
BionicPup32-8 19.03 / Precise 5.7.1 - Both Frugal Instal on HDD
Sorry for possible mistakes - English is not my mother tongue.

Post Reply

Return to “Beginners Help”