Cheap sff usb hub

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
AppJunkee
Posts: 4
Joined: Fri Feb 09, 2018 9:07 pm
Has thanked: 1 time
Been thanked: 2 times

Cheap sff usb hub

Post by AppJunkee » Sat Feb 10, 2018 11:46 am

Hey guys just wanted to share micro center has 4 port usb hubs for $1.43ish and after breaking one open they are the size of about a US quarter coin.
I havent tested it yet but the size works well with the build im doing since i need extra usb ports for the pi zero with using a trimmed down snes pcb for my controls.

Link here: http://www.microcenter.com/product/4661 ... USB_20_Hub

garthster
Posts: 22
Joined: Mon Jan 15, 2018 11:40 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Cheap sff usb hub

Post by garthster » Sat Feb 10, 2018 2:28 pm

I have these for both my gameboy zero build and my nes controller build and so far both are suffering from the same issue.

1) plug the hub into the pie, everything works like it should, runs two controllers and a keyboard no problem.

2) strip it and wire it up to my pi with the teensy hooked up to port 1. Power the hub and teensy lc from the power strip. Run port two to my full size usb port and power it from the power strip.

3) only detect my teensy lc controller, nothing is detected on my second port (regardless of what is plugged in, and all of the devices worked before).

4) bridge the otg connector (pins 4 and 5). Still won't recognize additional devices.

Lusb shows a 4 port hub connected with only the teensy lc connected.............

Still trying to sort out why it won't work.

AppJunkee
Posts: 4
Joined: Fri Feb 09, 2018 9:07 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Cheap sff usb hub

Post by AppJunkee » Sat Feb 10, 2018 3:02 pm

After i got home i tested the 3 i bought.

1 works all ports havent broken the case yet.

Second one only 1 port working busted open case has a different board

Third none of the ports work only light turns on busten open different type board of it.

garthster
Posts: 22
Joined: Mon Jan 15, 2018 11:40 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Cheap sff usb hub

Post by garthster » Sat Feb 10, 2018 3:20 pm

I should also note I forced USB 1.0 and I still have no success. I am fairly new to the programming end of things. Any pointers would be greatly appreciated.

Results of LSUSB

Code: Select all

^[[Aroot@retropieaaa:~# sudo lsusb
Bus 001 Device 003: ID 16c0:0482 Van Ooijen Technische Informatica Teensyduino Keyboard+Mouse+Joystick
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@retropieaaa:~#
Results of dmesg

Code: Select all

[    1.829022] usb 1-1.1: new full-speed USB device number 3 using dwc_otg
[    1.960927] usb 1-1.1: New USB device found, idVendor=16c0, idProduct=0482
[    1.960948] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber         =3
[    1.960959] usb 1-1.1: Product: Keyboard/Mouse/Joystick
[    1.960969] usb 1-1.1: Manufacturer: Teensyduino
[    1.960977] usb 1-1.1: SerialNumber: 3822140
[    1.973357] input: Teensyduino Keyboard/Mouse/Joystick as /devices/platform/s         oc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:16C0:0482.0001/input/input0
[    2.040608] hid-generic 0003:16C0:0482.0001: input,hidraw0: USB HID v1.11 Key         board [Teensyduino Keyboard/Mouse/Joystick] on usb-20980000.usb-1.1/input0
[    2.059556] input: Teensyduino Keyboard/Mouse/Joystick as /devices/platform/s         oc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:16C0:0482.0002/input/input1
[    2.060279] hid-generic 0003:16C0:0482.0002: input,hidraw1: USB HID v1.11 Mou         se [Teensyduino Keyboard/Mouse/Joystick] on usb-20980000.usb-1.1/input1
[    2.071069] hid-generic 0003:16C0:0482.0003: hidraw2: USB HID v1.11 Device [T         eensyduino Keyboard/Mouse/Joystick] on usb-20980000.usb-1.1/input2
[    2.088576] input: Teensyduino Keyboard/Mouse/Joystick as /devices/platform/s         oc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.3/0003:16C0:0482.0004/input/input2
[    2.089111] hid-generic 0003:16C0:0482.0004: input,hidraw3: USB HID v1.11 Joy         stick [Teensyduino Keyboard/Mouse/Joystick] on usb-20980000.usb-1.1/input3
[    2.100457] input: Teensyduino Keyboard/Mouse/Joystick as /devices/platform/s         oc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.4/0003:16C0:0482.0005/input/input3
[    2.169534] hid-generic 0003:16C0:0482.0005: input,hidraw4: USB HID v1.11 Dev         ice [Teensyduino Keyboard/Mouse/Joystick] on usb-20980000.usb-1.1/input4
[    2.269020] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[    2.368984] usb 1-1.2: device descriptor read/64, error -71
[    2.406401] systemd[1]: Cannot add dependency job for unit regenerate_ssh_hos         t_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load:          No such file or directory.
[    2.413594] systemd[1]: Starting Forward Password Requests to Wall Directory          Watch.
[    2.414530] systemd[1]: Started Forward Password Requests to Wall Directory W         atch.
[    2.414754] systemd[1]: Starting Remote File Systems (Pre).
[    2.591123] usb 1-1.2: device descriptor read/64, error -71
[    2.808996] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[    2.872822] fuse init (API version 7.26)
[    2.909001] usb 1-1.2: device descriptor read/64, error -71
[    3.129011] usb 1-1.2: device descriptor read/64, error -71
[    3.348985] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
[    3.788969] usb 1-1.2: device not accepting address 6, error -71
[    3.888969] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[    4.328994] usb 1-1.2: device not accepting address 7, error -71
[    4.329248] usb 1-1-port2: unable to enumerate USB device
[    4.864373] systemd-udevd[132]: starting version 215
[    7.649279] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.740542] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x202  

garthster
Posts: 22
Joined: Mon Jan 15, 2018 11:40 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Cheap sff usb hub

Post by garthster » Sat Feb 10, 2018 4:37 pm

Pics of the hub and the install.
Attachments
0210181615_HDR.jpg
0210181615_HDR.jpg (3.08 MiB) Viewed 5325 times
0210181613.jpg
0210181613.jpg (1.89 MiB) Viewed 5325 times

garthster
Posts: 22
Joined: Mon Jan 15, 2018 11:40 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Cheap sff usb hub

Post by garthster » Sun Feb 11, 2018 8:34 am

Appjunkee,

Have you had a chance to splice the hub into you SNES controller?

The one I used for NES controller build was tested as you described and worked fine on my test pi (all pors functioned with a keyboard and three gamepads). As soon as I hard wired it to my pi, only one port will work, same as my gameboy zero build. I also tried bridging the otg pins and forcing USB 1 to no avail. Similar error messages to the ones I posted.

I am curious to see if you have the same issue.

AppJunkee
Posts: 4
Joined: Fri Feb 09, 2018 9:07 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Cheap sff usb hub

Post by AppJunkee » Mon Feb 12, 2018 4:11 pm

garthster wrote:
Sun Feb 11, 2018 8:34 am
Appjunkee,

Have you had a chance to splice the hub into you SNES controller?

The one I used for NES controller build was tested as you described and worked fine on my test pi (all pors functioned with a keyboard and three gamepads). As soon as I hard wired it to my pi, only one port will work, same as my gameboy zero build. I also tried bridging the otg pins and forcing USB 1 to no avail. Similar error messages to the ones I posted.

I am curious to see if you have the same issue.
Yes i had the same problem from what i read this usb hubs are super sensitive to heat. Im going to buy a few more and see if I find one with all the ports working again. Then I will solder to the wires in stead of the actual board to see if the heat is what fried the chip. I wont have time to go buy more till later this week if not the weekend.

garthster
Posts: 22
Joined: Mon Jan 15, 2018 11:40 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Cheap sff usb hub

Post by garthster » Tue Feb 13, 2018 7:34 am

I tried again.

I left my teensy attached to port one as it was working.

I changed from port 2 to port 4 for my sub out connection and now it works ??!!!!!??.

Not gonna worry to much about this, the two ports I need are working now with this very cheap solution.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest