Posts: 156
caprea
Joined: 08 Jan 2014
#1
Hello,updating the kernel and graphicdrivers didn`t solve the problem with my internet-stick just like that.(The stick needs ehcd-hci,but often i have this errormessage 110 unable to enumerate usb-device,without ehcd-hci the connection is to slow)

So i looked again at this page BitJam gave me
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/"
linktext was:"http://www.geekdevs.com/2010/04/solved- ... -ehci_hcd/"
====================================

I read in forums that sometimes people have the luck,that if they unbind ehcd-hci and then bind again the pc will recognise their usb-devices.So i went on trying ,but the command from this webside is not really good working on antix.Sometimes it will not unbind.One time my 0000:00:10.3 disapeared completely.Sometimes after i give the command to bind again for one or two minutes my mouse won`t work.But if i do it several times ,then the usb-stick will be identified and i can use the internet.
Maybe BitJam or someone else knows a better command.

This is from my shell:

Code: Select all

root@freya:/sys/bus/pci/drivers/ehci_hcd#  sudo sh -c `echo -n"0000:00:10.3" > unbind`

sh: 0: -c requires an argument
root@freya:/sys/bus/pci/drivers/ehci_hcd# 
root@freya:/sys/bus/pci/drivers/ehci_hcd# sudo sh -c `echo -n"0000:00:10.3" > bind`
sh: 0: -c requires an argument
Since some weeks i have dual system with ubuntu.There the stick works fine,but i don`t like ubuntu.It`s boring,stuffily and fat.Even so i`m thinking about trying another kernel in antix .Would this maybe have effection to the problem?
Last edited by caprea on 28 Feb 2014, 12:21, edited 1 time in total.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
caprea wrote:This is from my shell:

Code: Select all

root@freya:/sys/bus/pci/drivers/ehci_hcd#  sudo sh -c `echo -n"0000:00:10.3" > unbind`
You are making this way too complicated. Here are two easy ways to do what you want:

Code: Select all

sudo su
cd /sys/bus/pci/drivers/echi_hcd
echo 0000:00:10.3 > unbind
exit

Code: Select all

cd /sys/bus/pci/drivers/ehci_hcd
echo 0000:00:10.3 | sudo tee unbind
The nub of the problem is that you can't sudo file redirection (">"), you can only sudo commands. The two standard ways around this are:
  1. First sudo to a root shell, after that,">" will work just fine.
  2. Use"| sudo tee $FILE" instead of"> $FILE". The"tee" command sends a copy of its standard-input to a file as well as to standard-out. You can sudo the"tee" command so it has root privileges when it writes to the file.
In fact, it looks like you are already root when you run the command so just doing the command with nothing fancy should work:

Code: Select all

echo 0000:00:10.3 > unbind
What new kernel are you using?
Posts: 156
caprea
Joined: 08 Jan 2014
#3
Oh,this looks much better.And the very best thing is ,it works.
I only have two unbind and bind maybe two times and the usb-stick is recogniced.
This is great!
I don`t use any knew kernel in time ,only updated to the newest antixkernel.
I`m not very familiar to computers and especially linux using since two month.
So my question is ,if I would use a differnt kernel, would this have effection to how it handles with ehci-hcd and usb2-storages?
But in time this solution now is very ok for me.
Thank you!
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
caprea wrote:So my question is ,if I would use a differnt kernel, would this have effection to how it handles with ehci-hcd and usb2-storages?
I don't know! I think it might but I have not been able to perform the experiment. I think that if the various *-hcd drivers are compiled as modules instead of compiled directly into the kernel then your problem might go away. At the very least, you could blacklist the ehci-hcd module (in a configuration file) so you would not have to do the unbind trick.
Posts: 156
caprea
Joined: 08 Jan 2014
#5
Without ehci-hcd the internetstick doesn`t open any side on iceweasel.It`s maybe to slow.I have to unbind and bind.
Don`t know why the pc needs this trick to recognice the stick.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
caprea wrote:Without ehci-hcd the internetstick doesn`t open any side on iceweasel.It`s maybe to slow.I have to unbind and bind.
Thanks for the reminder/clarification. Obviously blacklisting is not a solution for you. Still, the next version of antiX *might* fix this. I look forward to seeing if it works. In the meantime you can put the code that does the trick in your / etc/rc.local file so that it runs every time you boot.
Posts: 156
caprea
Joined: 08 Jan 2014
#7
Hello,
I upgradet to testing and then tried some different antix-kernel.Since some days i use 3.11.5 antix1.
Now it boots like a charme.No more problems with ehci_hcd or error 110.No unbind-bind-trick is necessary.
Just wanted to let you know.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#8
Thanks caprea! On the systems that work, does the command:

Code: Select all

lsmod | grep hcd
produce any output?

I'm guessing the systems that work will have output but the systems that don't work will not.
Posts: 156
caprea
Joined: 08 Jan 2014
#9
On both systems theres no output.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#10
Thanks.
Posts: 156
caprea
Joined: 08 Jan 2014
#11
I'd like to thank,enjoying antix very much.