Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Nintendo WII: USB Keyboards not recognized on any USB ports



Dear Jared,

I'm a POWER and *NIX/BSD enthusiast focused on preserving older hardware. I've been following the progress of NetBSD on the Wii and the Wii-Linux community. I have some questions and ideas that could benefit both NetBSD and Wii-Linux initiatives:

1. **OHCI Support in NetBSD 10.0**: Could you share detailed information on the changes implemented for OHCI support? This could help address USB (both EHCI and OHCI) issues encountered in Wii-Linux post-Linux 4.10.

2. **Methodologies Behind the OHCI Fix**: Would you be willing to share the methodologies and background that facilitated the identification and implementation of the OHCI fix? Your insights/exploration of your thought processes could greatly assist Wii-Linux developers, many of whom are students balancing their studies (including high school students!) 

3. **NetBSD on GameCube**: Are there plans to bring up NetBSD for the GameCube platform? This could be another area for collaboration, as there's interest within the Wii-Linux community.

4. **Wii U and Triple-Core Support**: Do you intend to work on Wii U support, specifically full triple-core support for its 3-core PPC-750-derived CPU? Wii U Linux currently recognizes only one core, possibly requiring compiler patches. Is a similar approach needed for NetBSD, or are alternative strategies being considered?

5. **Collaboration with Wii-Linux**: Are there existing efforts or plans to facilitate collaboration between NetBSD and projects like Wii-Linux? Otherwise: what would it take? Such partnerships could strengthen the open-source community and promote mutual advancements.

**Potential Collaborative Efforts**:

- **Custom Framebuffer and X Drivers**: Joint development could enhance graphics support on both platforms.
- **Package Management and Optimization**: Could we collaborate on optimizing package sizes and performance for Wii hardware within pkgsrc, possibly sharing repositories or settings?
- **GPU Challenges**: Developing efficient DRI drivers for the Wii's unique GPU architecture could be a mutual goal.
- **OpenGL Support**: Leveraging projects like GL2GX to map GLSL to GX shaders could enhance OpenGL support by utilizing NetBSD's infrastructure and expertise.

Are there other user-space projects that could benefit from collaboration? (Such as the one to optimize lightweight programs for the Wii) Anything really that could involve sharing findings across both platforms.

By sharing knowledge and resources, both NetBSD and Wii-Linux can advance more effectively. I'm eager to contribute to any collaborative initiatives and support open-source development within these communities as best I can despite some health challenges.

Thank you for your time and consideration.

Best regards,

Eric Hilgart  
Southern California

From: port-powerpc-owner%NetBSD.org@localhost <port-powerpc-owner%NetBSD.org@localhost> on behalf of Jared McNeill <jmcneill%invisible.ca@localhost>
Sent: Sunday, September 22, 2024 7:09:30 AM
To: Melan Jayasinghage <melannj86%gmail.com@localhost>
Cc: port-powerpc%netbsd.org@localhost <port-powerpc%netbsd.org@localhost>
Subject: Re: Nintendo WII: USB Keyboards not recognized on any USB ports
 
Hi Melan --

I just added support for the onboard OHCI controller to NetBSD -current.
Can you give it a try and let me know if it works for you?

Thanks!
Jared

On Mon, 25 Mar 2024, Jared McNeill wrote:

> Hi Melan --
>
> The onboard OHCI controller isn't supported yet, so you need to plug a USB
> 2.0 (or better) hub into the Wii and then plug the USB keyboard into the hub.
>
> Take care,
> Jared
>
>
> On Mon, 25 Mar 2024, Melan Jayasinghage wrote:
>
>>  Hello,
>>
>>  I hope this email finds you well.
>>
>>  Recently, I installed NetBSD  on my Nintendo Wii console. It seems
>>  that USB keyboards connected to any of the USB ports on the Wii
>>  console are not being recognized by NetBSD. I have attempted to
>>  connect a few different USB keyboards, but unfortunately, none of them
>>  are being detected. I've verified that the USB port is functioning by
>>  connecting an ethernet adapter and it was detected.
>>
>>  Could you please let me know if there is any additional configuration
>>  required to enable USB keyboards support? Thank you.
>>
>>  ==dmesg output==
>>  [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
>>  2003,
>>  [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
>>  2013,
>>  [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
>>  2023,
>>  [     1.000000]     2024
>>  [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
>>  [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
>>  [     1.000000]     The Regents of the University of California.  All
>>  rights reserved.
>>
>>  [     1.000000] NetBSD 10.99.10 (WII) #0: Wed Mar 20 13:51:35 UTC 2024
>>  [     1.000000]
>>  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbppc/compile/WII
>>  [     1.000000] total memory = 90112 KB
>>  [     1.000000] avail memory = 67692 KB
>>  [     1.000000] timecounter: Timecounters tick every 10.000 msec
>>  [     1.000000] mainbus0 (root): Nintendo Wii
>>  [     1.000000] cpu0 at mainbus0: 750 (Revision 2.0), ID 0 (primary)
>>  [     1.000000] cpu0: HID0
>>  0x8051c2e4<EMCP,NAP,DPM,NHR,ICE,DCE,SPD,SGE,DCFA,BTIC,BHT>, powersave:
>>  1
>>  [     1.000000] cpu0: 750.00 MHz, 256KB WB L2 cache
>>  [     1.000000] genfb0 at mainbus0 addr 0x0c002000: NTSC 480i
>>  [     1.000000] genfb0: framebuffer at 0x1698000, size 640x448, depth
>>  16, stride 1280
>>  [     1.000000] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100
>>  emulation)
>>  [     1.000000] wsmux1: connecting to wsdisplay0
>>  [     1.000000] wsdisplay0: screen 1-3 added (default, vt100 emulation)
>>  [     1.000000] exi0 at mainbus0 addr 0x0d006800 irq 4: External Interface
>>  [     1.000000] rtcsram0 at exi0 addr 0-1: RTC/SRAM
>>  [     1.000000] hollywood0 at mainbus0 irq 14: Hollywood ES2.1
>>  [     1.000000] ehci0 at hollywood0 addr 0xd040000 irq 4: EHCI
>>  [     1.000000] ehci0: EHCI version 1.0
>>  [     1.000000] ehci0: 2 companion controllers, 2 ports each
>>  [     1.000000] usb0 at ehci0: USB revision 2.0
>>  [     1.000000] sdhc0 at hollywood0 addr 0xd070000 irq 7: SDHC
>>  [     1.000000] sdhc0: SDHC 1.0, rev 0, caps <01e130b0/00000000>,
>>  SDMA, 48000 kHz, HS 3.3V, 1024 byte blocks
>>  [     1.000000] sdmmc0 at sdhc0 slot 0
>>  [     1.000000] sdhc1 at hollywood0 addr 0xd080000 irq 8: SDHC
>>  [     1.000000] sdhc1: SDHC 1.0, rev 0, caps <01e130b0/00000000>,
>>  SDMA, 48000 kHz, HS 3.3V, 1024 byte blocks
>>  [     1.000000] sdmmc1 at sdhc1 slot 0
>>  [     1.000000] resetbtn0 at hollywood0 irq 17: Reset button
>>  [     1.000000] hwgpio0 at hollywood0 addr 0xd0000c0 irq 10: GPIO
>>  [     1.000000] gpio0 at hwgpio0: 24 pins
>>  [     1.000000] gpioiic0 at gpio0 pins 14 15: SDA[15], SCL[14]
>>  [     1.000000] iic0 at gpioiic0: I2C bus
>>  [     1.000000] avenc0 at iic0 addr 0x70: A/V Encoder
>>  [     1.000000] bwai0 at mainbus0 addr 0x0d006c00 irq 5: Audio Interface
>>  [     1.000000] bwdsp0 at mainbus0 addr 0x0c005000 irq 6: DSP
>>  [     1.000000] audio0 at bwdsp0: playback
>>  [     1.000000] audio0: slinear_be:16 2ch 48000Hz, blk 1920 bytes
>>  (10ms) for playback
>>  [     1.000000] spkr0 at audio0: PC Speaker (synthesized)
>>  [     1.000000] wsbell at spkr0 not configured
>>  [     1.000000] vmmask 38000000 schedmask 7a000000 highmask 7e000000
>>  [     1.000000] timecounter: Timecounter "mftb" frequency 60750000 Hz
>>  quality 100
>>  [     1.000003] timecounter: Timecounter "clockinterrupt" frequency
>>  100 Hz quality 0
>>  [     1.000003] WARNING: system needs entropy for security; see entropy(7)
>>  [     1.000003] IPsec: Initialized Security Association Processing.
>>  [     1.019992] uhub0 at usb0: NetBSD (0x0000) EHCI root hub (0x0000),
>>  class 9/0, rev 2.00/1.00, addr 1
>>  [     1.019992] uhub0: 4 ports with 4 removable, self powered
>>  [     1.109987] sdmmc0: SD card status: 4-bit, C10, U1
>>  [     1.109987] ld0 at sdmmc0: <0x27:0x5048:SD32G:0x60:0x20a6096b:0x164>
>>  [     1.109987] ld0: 29820 MB, 7573 cyl, 128 head, 63 sec, 512
>>  bytes/sect x 61071360 sectors
>>  [     1.109987] ld0: 4-bit width, High-Speed/SDR25, 48.000 MHz
>>  [     1.209988] sdmmc1: 4-bit width, 25.000 MHz
>>  [     1.209988] sdmmc1: autoconfiguration error:
>>  CISTPL_FUNCE(function) too short
>>  [     1.209988] (manufacturer 0x2d0, product 0x44b) at sdmmc1 function
>>  1 not configured
>>  [     2.089987] axe0 at uhub0 port 2
>>  [     2.089987] axe0: ASIX Electronics (0x0b95) AX88772 USB 2.0 10/100
>>  ethernet controller (0x7720), rev 2.00/0.01, addr 2
>>  [     2.549988] ukphy0 at axe0 phy 16: Asix Semiconductor AX88772
>>  internal PHY (OUI 0x007063, model 0x0001), rev. 1
>>  [     2.559993] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
>>  auto
>>  [     2.559993] axe0: Ethernet address 00:1b:7a:c6:c9:fa
>>  [     3.149989] ehci0: handing over full speed device on port 3 to
>>  companion controller
>>  [     3.209990] WARNING: 1 error while detecting hardware; check system
>>  log.
>>  [     3.209990] boot device: ld0
>>  [     3.209990] root on ld0a dumps on ld0b
>>  [     3.209990] root file system type: ffs
>>  [     3.230001] kern.module.path=/stand/evbppc/10.99.10/modules
>>  [     4.060002] entropy: best effort
>>  [     6.810043] wsdisplay0: screen 4 added (default, vt100 emulation)
>>
>>
>>  Thanks & Regards,
>>  Melan Jayasinghage
>>
>>
>
>


Home | Main Index | Thread Index | Old Index