Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: USB Toggle switch idea, need input!

  1. #1
    Who am I? HiJackZX1's Avatar
    Join Date
    Jul 2007
    Location
    Miami
    Posts
    6,603

    USB Toggle switch idea, need input!

    Do you think a USB toggle switch is doable? Basically my setup has 2 PC units per passenger. The main system that is shared, then a personal system. I bought some KVMP units, but the peripheral switching will not work with my setup. If i need to use one thing with one PC, it will take the touchscreen with it and what ever device, so thats a no go. I do not want to have to try to locate 12 USB ports for user use. My idea was to use a single USB port then have a connection from the 2 computers connect to a switch. That way they can toggle back and forth. Now what I am concerned about is which wires to tie into the switches? i was thinking that maybe I only have to tie the data lines into the switch, and the main PC can supply power all the time. After all the main PC has to be on in order for the personal computer to be on, since the OPUS 320 controls the PSU for those units.

    Does my idea sound OK? Any ideas on how it should be done?
    Nirwana Project, the Android/Win 7 hybrid system!

    1X Ainol Novo Flame Tab
    4X MK808b
    3x Perixx Touchpads
    3x 7 inch Screens
    1X 7 inch motorized Screen
    1x Win 7 PC

  2. #2
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515
    yes only switching the d+ and d- should work i have done something similar inside of a wii when i placed a 2.5" hdd inside

  3. #3
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    There are USB switches. Example: http://www.newegg.com/Product/Produc...-510-_-Product

    It wouldn't damage anything to use a DPDT on the D+/D- though, except the USB device may only initialize on power-up depending on how it's designed, causing unwanted behaviour.

  4. #4
    Who am I? HiJackZX1's Avatar
    Join Date
    Jul 2007
    Location
    Miami
    Posts
    6,603
    Quote Originally Posted by yonu View Post
    yes only switching the d+ and d- should work i have done something similar inside of a wii when i placed a 2.5" hdd inside
    Thats what I thought.

    Quote Originally Posted by Curiosity View Post
    There are USB switches. Example: http://www.newegg.com/Product/Produc...-510-_-Product

    It wouldn't damage anything to use a DPDT on the D+/D- though, except the USB device may only initialize on power-up depending on how it's designed, causing unwanted behaviour.
    I dont understand what you mean. Doesnt power always flow through the + and - wires on a usb port? Its only the data that the PC really looks for? If so then it should work because basicallly the + and - wire on the main PC will go to that port. Its only the data that would be different.

    Those switches you linked to are bulky and ugly. i want to incorporate the switches into my center console. Have them right next to each port, which will also me incoporated in the center console.
    Nirwana Project, the Android/Win 7 hybrid system!

    1X Ainol Novo Flame Tab
    4X MK808b
    3x Perixx Touchpads
    3x 7 inch Screens
    1X 7 inch motorized Screen
    1x Win 7 PC

  5. #5
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    Sorry, D+ and D- are the data upstream and downstream lines (usually white and green in cables). And you know what ground and power is.

    A good way to test if your switch will work is to use a powered hub. Connect the USB device(s) to the hub and make sure it all works, then unplug the hub from the PC and plug it back in again without disconnecting power. With some devices, Windows will pop up "A devices is not working properly" box, but if it works you're good to go.

    On another note, a KVM with USB will work with a USB hub for more devices. Some people don't realize that.

  6. #6
    Who am I? HiJackZX1's Avatar
    Join Date
    Jul 2007
    Location
    Miami
    Posts
    6,603
    Quote Originally Posted by Curiosity View Post
    Sorry, D+ and D- are the data upstream and downstream lines (usually white and green in cables). And you know what ground and power is.

    A good way to test if your switch will work is to use a powered hub. Connect the USB device(s) to the hub and make sure it all works, then unplug the hub from the PC and plug it back in again without disconnecting power. With some devices, Windows will pop up "A devices is not working properly" box, but if it works you're good to go.

    On another note, a KVM with USB will work with a USB hub for more devices. Some people don't realize that.
    Yes, but the problem is that the switching for the usb devices doesnt go by port. So say your on PC 1 and you go to PC 2, the KVM takes the touchscreen over to PC 2. So say I have a touchscreen and say an ipod connected, when i go to PC 2, the ipod will go also, so that means a connection will be lost. Another example could be that say I am playing sega genesis with a controller, I want to look up cheat codes on PC 2. I would hit a button, it transfers to PC 2 but the touchscreen and the controller would come over with me. I want the controller to stay on PC 1. Thats why its better I dont let the KVM control that ability for any user added devices. The touchscreen though will be connected to the KVM because I need it to switch from PC to PC.
    Nirwana Project, the Android/Win 7 hybrid system!

    1X Ainol Novo Flame Tab
    4X MK808b
    3x Perixx Touchpads
    3x 7 inch Screens
    1X 7 inch motorized Screen
    1x Win 7 PC

  7. #7
    MySQL Error soundman98's Avatar
    Join Date
    Jan 2008
    Location
    on the border of northern IL/IN
    Posts
    5,848
    me thinking and typing at the same time(i know, dangerous...): i realize that it might not be perfect, but imo, it would be better to have at least the touch screen switch over to whatever computer that you switch to--even if i were to set it up in my own car for the touch screen to only be for one computer, i would still try to use the touch screen on the computer that it wasn't enabled on, and trying to tell a newer user how to use it would be frustrating. and then maybe have one port that was user selectable, or, at the very worst, have 2 ports, one for each computer-- just label them for which computer they go to.

    i think that it could be very possible that the device that is plugged in might need both power and data lines removed in order to allow it to reconnect (maybe it will only allow itself to be recognized after it is first plugged in?)-- so if you were to do it yourself, you would need either a double pole, quad throw(or use relays), 2 position switch, or may need a 3 position switch, and use the middle postion as a short delay to allow the device to think that it has been unplugged, and plugged back in.

  8. #8
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    I agree. Even if the touchscreen isn't plugged in to all the PCs, it's best to switch it. You will definitely be tapping on it when it's on the wrong PC and then switching back to see the "Are you sure you want to format C:?" prompt.

  9. #9
    Who am I? HiJackZX1's Avatar
    Join Date
    Jul 2007
    Location
    Miami
    Posts
    6,603
    Well I know that on Lilliputs (EBY701), the touchscreen controller is powered by the screen. The PC doesn't power it. So that tells me the PC doesn't care what powers the device, as long as the data is transfered correctly. So my idea should work, in theory. As far as touchscreen is concerned, if the user does want to keep the touchscreen on PC 1 and not go to PC2, then he can hit a keyboard command and do so. Same thing with the audio. If they want to listen to PC1 on headphones and use PS2, they can do that also with a keyboard command. I wanted to use a button to switch between the PC units, but this new KVMP is way different and needs 2 buttons to control it, so id rather use keyboard commands.
    Nirwana Project, the Android/Win 7 hybrid system!

    1X Ainol Novo Flame Tab
    4X MK808b
    3x Perixx Touchpads
    3x 7 inch Screens
    1X 7 inch motorized Screen
    1x Win 7 PC

  10. #10
    Low Bitrate
    Join Date
    Sep 2009
    Location
    Reading, PA
    Posts
    90
    If you just want it for only USB, I agree a simple toggle switch usb switch (like the one linked earlier) for each device is sensible. You can always relocate the buttons and ditch the original casing?

    I also feel like this feature would virtually never be used. The only possibility I could see is if the user had 2 monitors, each connected directly to the PC. They could put on a movie and wear their headphones on one PC, toggle the mouse/keyboard over to PC2 and browse the web or write a book or something while they watch their movie lol.

    If they can't see whats going on over on PC1 why would they want a device still connected to it? The only chance I could see is if you had an MP3 player updating its library on one PC and you wanted to hit the button to use the other PC in the mean time. Why the heck wouldn't you just continue to use the first pc though, unless there was a process that was already started on PC2? Why couldn't that 2nd process have been done on PC1 instead? I can't think of everyday situations that make it worthwhile.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 26
    Last Post: 06-20-2008, 11:18 AM
  2. My USB/Wifi troubles.
    By JPuma in forum General Hardware Discussion
    Replies: 0
    Last Post: 09-23-2005, 11:44 AM
  3. I want my pc to come on with a toggle switch
    By muldrick in forum Power Supplies
    Replies: 13
    Last Post: 07-04-2004, 10:10 AM
  4. wireless usb kb + mouse + hub idea
    By crippy in forum Input Devices
    Replies: 4
    Last Post: 10-12-2003, 06:06 PM
  5. My idea for an input device ....
    By foneman in forum Input Devices
    Replies: 3
    Last Post: 09-22-2003, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •