cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
270 stars 49 forks source link

lsusb returning gibberish "377\377\377\377..." #176

Open halfhead opened 10 years ago

halfhead commented 10 years ago

Hello. I am a bit of a noob to linux so please bare with me! I use arch and cubian for my main pc and cubieboard2. Slowly getting the hang! =D

OK so. Firstly my plan is to install an audio interface, Tascam US122, on my Cubieboard2 and the first thing I need to do is find which bus the US122 is on.

$ lsusb \377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377 \377\377\377\377: command not found

This goes on for a few seconds. This is the last 6 lines

$ sudo lsusb ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????: File name too long

This is what I get when I sudo lsusb.

lsusb used to work but now it has decided to return all this gibberish and this makes me unhappy... How can I fix this? What have I done wrong? I cannot seem to find any other discussion about this.

Thank you for your time!

-Halfhead

EtlamGit commented 9 years ago

I experienced this problem twice after power outages (but with other executable), the reason seems to be flash memory corruption for the file you are calling. In your case lsusb (for me it was php5). The file does only contain 0xff but does have the same size than before. Solution could be to reinstall the corresponding package: sudo apt-get --reinstall install usbutils