View Single Post
Staro 14.11.2024., 20:15   #3785
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,361
U nedostatku razumijevanja materije sam i postavio pitanje. Opredijelio sam se za točku 4 zato što su točke 5 i 6 predicirane na razumijevanju materije predmetnog outputa sa sys/bus iz kojeg ja ne mogu iščitati koji je to moj predmetni adapter odnosno usb uređaj. Čovjek koji smatra da je ovo razumljiv output treba potražiti pomoć stručnjaka koji mogu propisivati psihotropne lijekove.

Code:
(base) [mkey@fedora libusb]$ ls /sys/bus/usb/devices/
total 0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-0:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-2 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-2:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2:1.0
lrwxrwxrwx. 1 root root 0 stu  14 18:33 1-3 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3
lrwxrwxrwx. 1 root root 0 stu  14 18:33 1-3:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/1-3:1.0
lrwxrwxrwx. 1 root root 0 stu  14 18:33 1-3:1.1 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/1-3:1.1
lrwxrwxrwx. 1 root root 0 stu  14 18:33 1-3:1.2 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/1-3:1.2
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-6 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-6:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-6:1.1 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6:1.1
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-6:1.2 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6:1.2
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-6:1.3 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6:1.3
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-8 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8
lrwxrwxrwx. 1 root root 0 stu  12 21:38 1-8:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb2/2-0:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb3/3-0:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 3-1 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb3/3-1
lrwxrwxrwx. 1 root root 0 stu  12 21:38 3-1:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb3/3-1/3-1:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 4-0:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb4/4-0:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 5-0:1.0 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-0:1.0
lrwxrwxrwx. 1 root root 0 stu  12 20:57 5-3 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3
lrwxrwxrwx. 1 root root 0 stu  12 21:01 5-3:1.0 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3/5-3:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:01 5-3:1.1 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3/5-3:1.1
lrwxrwxrwx. 1 root root 0 stu  12 21:01 5-3:1.2 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3/5-3:1.2
lrwxrwxrwx. 1 root root 0 stu  12 21:01 5-3:1.3 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3/5-3:1.3
lrwxrwxrwx. 1 root root 0 stu  12 21:01 5-3:1.4 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-3/5-3:1.4
lrwxrwxrwx. 1 root root 0 stu  12 21:38 5-4 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-4
lrwxrwxrwx. 1 root root 0 stu  12 21:38 5-4:1.0 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-4/5-4:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 5-4:1.1 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-4/5-4:1.1
lrwxrwxrwx. 1 root root 0 stu  12 21:38 5-4:1.2 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5/5-4/5-4:1.2
lrwxrwxrwx. 1 root root 0 stu  12 21:38 6-0:1.0 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb6/6-0:1.0
lrwxrwxrwx. 1 root root 0 stu  13 22:30 6-2 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb6/6-2
lrwxrwxrwx. 1 root root 0 stu  13 22:33 6-2:1.0 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb6/6-2/6-2:1.0
lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb1 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1
lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb2 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb2
lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb3 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb3
lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb4 -> ../../../devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:06.0/0000:05:00.0/usb4
lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb5 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb5
 lrwxrwxrwx. 1 root root 0 stu  12 21:38 usb6 -> ../../../devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb6
Dok za točku 4 treba 100 hiljada puta čitljiviji output sa lsusb.

Code:
(base) [mkey@fedora libusb]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 262a:9023 SAVITECH Corp. SA9023 audio controller
Bus 001 Device 005: ID 1462:7c91 Micro Star International MYSTIC LIGHT 
Bus 001 Device 019: ID 046d:c548 Logitech, Inc. Logi Bolt Receiver
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 1130:1620 Tenx Technology, Inc. USB  AUDIO  
Bus 005 Device 004: ID 3233:1311 Ducky Ducky One 3 RGB
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 012: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
Ovu materiju je lakše shvatiti pa sam se iste primio očekujući da instalacija predmetnog usbreset ne bi trebala biti toliko problematična, ali ispada da libusb1, kada je instaliran iz repozitorija, ne napravi libusb.pc file, kojeg treba pkg-config da bi isti linkao. Pretpostavljam da razumijevanje predmetne materija zahtijeva još 50 do 100 sati rada, tako da obustavljam jer jednostavno nije vrijedno.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote