LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-18-2002, 06:12 PM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Rep: Reputation: 35
USB to PS/2 keyboard and mouse adaptor


Anyone know of one that works with Linux? Belkin make a device, (USB PS/2 Adapter Belkin Part Number: F5U119) but all the drivers are for Wind*ws and Dirty Macs...

Cheers,

Rob
 
Old 02-18-2002, 11:11 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
You should not need any special drivers

Does it plug into the ps/2 port on the computer?

just configure it as a ps/2 mouse ( /dev/psaux)

if it plugs into the usb port, set it up for usb. ( /dev/input/mice)

Last edited by DavidPhillips; 02-18-2002 at 11:12 PM.
 
Old 02-20-2002, 11:30 AM   #3
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
any of them should work

those protocols are platform agnostic. Just remember to change your configs if you're switching on a system that's already up and running. I could tell you woeful tales of using an optical scroll mouse with a PS/2 adaptor that would break your heart.
 
Old 02-20-2002, 11:58 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
Re: any of them should work

Quote:
Originally posted by goneaway
those protocols are platform agnostic. Just remember to change your configs if you're switching on a system that's already up and running. I could tell you woeful tales of using an optical scroll mouse with a PS/2 adaptor that would break your heart.
i think i might have been one of those woeful tales...
 
Old 02-20-2002, 12:09 PM   #5
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
woeful adaptor tales...

The worst part of this is feeling so stupid after sifting through all your configurations and carefully changing things around. Ah! Pull the stupid adaptor off the USB plug and it works. I felt pretty dumb.
 
Old 02-20-2002, 12:49 PM   #6
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Original Poster
Rep: Reputation: 35
Je comprends pas!

How can it be platform agnostic? Here's my reasoning...

The PC's keyboard port has a 8042 processor (or summat like that) that takes the keystrokes in and then passes the keystrokes to the system. If you are coming in via the USB port rather than the proper keyboard port, surely there needs to be some special driver that says "Ah, here we have a USB signal that's sending PS/2 or AT keyboard strokes. I'd better take the data and pass it on to the relevant system call or interrupt or whatever it is."

So, what piece of information am I missing?

I've designed some keyboards and keyboard emulators for PCs in the past so I'm not talking total rubbish! ;-) (Am I?!)

Cheers,

Rob
 
Old 02-20-2002, 01:01 PM   #7
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
whoa...

Quote:
Originally posted by DiBosco
Je comprends pas!

How can it be platform agnostic? Here's my reasoning...

The PC's keyboard port has a 8042 processor (or summat like that) that takes the keystrokes in and then passes the keystrokes to the system. If you are coming in via the USB port rather than the proper keyboard port, surely there needs to be some special driver that says "Ah, here we have a USB signal that's sending PS/2 or AT keyboard strokes. I'd better take the data and pass it on to the relevant system call or interrupt or whatever it is."

You're way out of my technical depth as far as device drivers go. What I meant to say was that I've never seen any problems with those adaptors before. The one I have is just a generic little dongle that now sits unused on my desk.

Have you heard of driver problems? I'm really curious because it's just something I assumed was a pretty generic part.
 
Old 02-20-2002, 02:02 PM   #8
webbdesigns
LQ Newbie
 
Registered: Jan 2002
Posts: 5

Rep: Reputation: 0
Thought that I would jump in here with something similar but different....

I have a Sony Vaio, the mouse port is USB. When I bring up Red Hat the mouse is dead. As the notes string suggests, if I just need to configure. If yes, how do I do it.........If not, how do I get it working.
 
Old 02-20-2002, 04:00 PM   #9
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Original Poster
Rep: Reputation: 35
>> You're way out of my technical depth as far as device drivers go. What I meant to say was that I've never seen any problems with those adaptors before. The one I have is just a generic little dongle that now sits unused on my desk.

Have you heard of driver problems? I'm really curious because it's just something I assumed was a pretty generic part. <<

Device drivers are not my area of expertise! What I really don't understand though is the fact that up 'til now you've had a five pin DIN AT style or six pin mini DIN socket to squirt your keyboard data into. I know that the data you have to input is very specific (and a daft way to do it, it is too!). There is a special chip found on motherboards which was an Intel embedded processor that translated the data that came from the keyboard into some other weird format which was then passed to the operating system. When I was doind this in the early to mid '90s, DOS used some INT function I *think*. AFAIK, Windoze 3.11 used the same thing.

Granted, things are way different in terms of operating system these days, but the hardware is still the same. The data still has to get from the DIN connectors to the OS somehow. If the keyboard is connected to a USB port via one of these PS/2 to USB translators does it mean that written into the USB spec, Windoze of all flavours (that support USB) and Linux is a protocol for sending keyboard strokes over USB? And PS/2 mouses?

If it's part of generic USB support (I know next to Jack about USB) then I could see how it would "just work"!

Wonder if could get work to pay for me to go on a USB course!
 
Old 02-20-2002, 08:41 PM   #10
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
The mouse is no big deal at all, redhat will detect it on bootup. Other distros may need to be configured to support usb and you might have to change your device in the XF86Config or XF86Config-4 file if you are changing from on to the other.


The keyboard is a little bit different.


I do not own a usb keyboard and probably will not for the next few years, but you can look it up here...

http://www.google.com/search?hl=en&q=Xfree+usb+keyboard

It is definately supported and should not be any problem to setup.

there are a couple of fixes in Xfree 4.2 for usb keyboard stuff.
 
Old 02-21-2002, 06:39 PM   #11
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Here it is; All you need to do is buy a small 1 inch USB->ps/2 or vice-versa, adapter for about 5 bucks. There is no difference between what a ps/2 sends as a keystroke compared to a usb. All the adapter does is take your current type, twist the wires within the adapter to output the new type of connector. No drivers, nothing. It's just wires. I've got a buttload of these little things laying around here and all being the same little green adapter, have worked with my mice and keyboards minus any software. There's no need...It's a physicality, not a softwareality (a word? not) LOL
 
Old 02-22-2002, 12:41 AM   #12
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
man I feel dumb...

UNIVERSAL serial bus. I should try to sleep more than a couple of hours every night. I hear it makes you really lucid and capable of thinking your way through simple problems.
 
Old 02-22-2002, 03:50 AM   #13
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by taz.devil
Here it is; All you need to do is buy a small 1 inch USB->ps/2 or vice-versa, adapter for about 5 bucks. There is no difference between what a ps/2 sends as a keystroke compared to a usb. All the adapter does is take your current type, twist the wires within the adapter to output the new type of connector. No drivers, nothing. It's just wires. I've got a buttload of these little things laying around here and all being the same little green adapter, have worked with my mice and keyboards minus any software. There's no need...It's a physicality, not a softwareality (a word? not) LOL
Please not to be taking offence, but...

I really don't think that's right.. For a start, USB seems to be an asynchronous balanced system, whereas PS/2 is synchronous, with the keyboard providing the clock.

That doesn't even begin to address the problem of data format which just isn't the same. Not even vaguely similar!
 
Old 02-23-2002, 10:53 PM   #14
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
If you were converting usb to ps/2 and plugging it into the ps/2 port on your computer with a converter that works for the device it would not be a problem.

It sounds like you are plugging this into the usb port, is this the case?

On my redhat machines, kudzu sets up my mouse when I boot it up.


If I change it after boot I usually run kudzu.
 
Old 08-19-2004, 03:15 AM   #15
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 117

Rep: Reputation: 16
I have the same issue as well. I too have a USB to PS/2 adaptor. USB detection is a software problem. When a computer boots, does it look to the USB for keyboard and mouse through the USB? Newer bios probably do, but older bios don't dectect keyboards through USB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Erratic keyboard behaviour with USB adaptor adriaanbw Linux - Hardware 1 01-22-2005 08:16 PM
USB Mouse, Keyboard foxdude32 Linux - Hardware 1 02-20-2004 05:45 PM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 06:23 AM
No USB Mouse or USB Keyboard after Shutdown ooliquidice Linux - Hardware 3 10-09-2003 02:05 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration