fagensden / sneek

Automatically exported from code.google.com/p/sneek
0 stars 0 forks source link

EHCI driver does not release USB LAN Adapter #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Plug in Nintendo Wii USB LAN Adapter to the second USB port
2.  Bring up SNEEK+DI, UNEEK, or UNEEK+DI
3.  Attempt to run any Channels or HomeBrew apps that access the Internet

What is the expected output? What do you see instead?
Apps should be able to access the Inernet.  Instead, all apps fail to connect 
to the Internet and the LAN adapter LED never turns on.

What revision are you using? With what configuration
(SNEEK/UNEEK/SNEEK+DI)?
SNEEK+DI, UNEEK, UNEEK+DI r116

Please provide any additional information below.
Problem isolated to the fact that the EHCI driver never releases the adapter.  
To test this theory, the following change was made to both EHCI.c files:

          if (i==1 || i==2 || !(PORT_CONNECT&status) || PORT_USB11(status)) {

This forces USB device 1 to always be reset.  With this change, full Internet 
capabilities returned.  Note:  This locks out that port for use as the USB 
drive, so a more complex solution would be needed if you want SNEEK to support 
either port for the USB drive.

Original issue reported on code.google.com by MrB...@widgetville.net on 9 Aug 2010 at 5:12

GoogleCodeExporter commented 8 years ago
This Issue is a dup of Issue 30, and is connected to Issue 40

Original comment by logan.gba on 9 Aug 2010 at 12:43

GoogleCodeExporter commented 8 years ago
 If this does address the issues of 30, 40, & 71, could the changes posted by Mr.Bill please be adapted into the core?

Original comment by bradkav...@gmail.com on 4 Sep 2010 at 4:09

GoogleCodeExporter commented 8 years ago
I will try to come up with a fix that automatically detects what port is being 
used.

Original comment by urt...@gmail.com on 4 Sep 2010 at 7:42