Menu

#71 EHCI driver does not release USB LAN Adapter

Accepted
nobody
None
Medium
Defect
2010-09-04
2010-08-08
Anonymous
No

Originally created by: MrB...@widgetville.net

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.

Related

Commit: [r116]

Discussion

  • Anonymous

    Anonymous - 2010-09-03

    Originally posted by: bradkav...@gmail.com

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

     
  • Anonymous

    Anonymous - 2010-09-04

    Originally posted by: urt...@gmail.com

    I will try to come up with a fix that automatically detects what port is being used.

    Status: Accepted

     

Log in to post a comment.

MongoDB Logo MongoDB