Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB keyboard/mouse problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Thu Jun 14, 2007 10:46 pm    Post subject: USB keyboard/mouse problems [SOLVED] Reply with quote

When installing a new Gentoo distro onto a PowerMac G4 I've run into the following problem.

My USB keyboard is recognized with my current kernel config.

The mouse previously worked when I had it in its 'default' setup: (Apple) mouse plugged into USB port on (Apple) keyboard, which in turn is plugged into the computer. (This was really handy for middle-clicking highlited text to copy it.)

Then I tried to change the Mac over to using a different monitor, mouse, and keyboard.

The keyboard (Das Keyboard II, don't make fun!) works OK. The mouse (Evoluent VerticalMouse 2) did not work at all (it is getting power, that's all I know.) The mouse was directly plugged into the USB port of the computer.

I then tried to troubleshoot this using the previous (and working) setup, but this time the (Apple) mouse was not detected, either via the keyboard or when plugged in directly.

I don't know what to do at this point. I compiled the kernel with the "default USB support" (a la the Gentoo install manual), and have not recompiled in the time since it stopped working.

Any ideas? I'm currently building my X-environment, which will be decidedly less useful without a functioning mouse.

Thanks,

ry


UPDATE: I forgot to mention, everything (Apple-branded) worked OK with the LiveCD. If I got my current setup working with the LiveCD, would that be a better starting point?


Last edited by NamfFohyr on Mon Jun 18, 2007 10:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jun 15, 2007 3:27 am    Post subject: Reply with quote

What are all the USB settings for you kernel?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Spectere
n00b
n00b


Joined: 19 Jul 2006
Posts: 14

PostPosted: Fri Jun 15, 2007 1:45 pm    Post subject: Reply with quote

Is the mouse just refusing to work in X, or are you also having problems with it with gdm and similar services?

First, try doing a "cat /dev/input/mice" and moving the mouse around. If you see a bunch of junk on your screen, the mouse is being recognized (hit CTRL+C to get out of that; you'll have to do a "reset" if your terminal gets messed up, which is likely).

If that fails, post all of the USB settings for your kernel as didymos suggested.

If it works, try setting up as simple of a mouse section for your xorg.conf as possible. Something like this:

Code:
Identifier   "Mouse1"
Driver      "mouse"
Option      "Device"      "/dev/input/mice"
Option      "Protocol"      "auto"
Option      "ZAxisMapping"      "4 5"


If that fails, try changing the protocol to "ImPS/2" or something along those lines.
Back to top
View user's profile Send private message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Fri Jun 15, 2007 5:32 pm    Post subject: Reply with quote

Thanks all for your replies. I'm currently addressing Spectere's suggestions. In response to Spectere, I don't know what gdm is, but the mouse previously worked in the shell environment -- bash -- the same environment the live CD boots into.

In response to didymos, here's (what I reckon) my USB settings are for my kernel -- (selected) contents of the file /usr/src/linux/.config:

Code:

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set
#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT_POWERBOOK=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_TOUCHSCREEN is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
CONFIG_USB_APPLETOUCH=y
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET_MII=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_GL620A is not set
CONFIG_USB_NET_NET1080=m
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
# CONFIG_USB_NET_RNDIS_HOST is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
CONFIG_USB_NET_ZAURUS=m
CONFIG_USB_MON=y

#
# USB port drivers
#

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_AIRPRIME is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP2101 is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_FUNSOFT is not set
CONFIG_USB_SERIAL_VISOR=m
CONFIG_USB_SERIAL_IPAQ=m
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
CONFIG_USB_SERIAL_KEYSPAN_PDA=m
CONFIG_USB_SERIAL_KEYSPAN=m
CONFIG_USB_SERIAL_KEYSPAN_MPR=y
CONFIG_USB_SERIAL_KEYSPAN_USA28=y
CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
CONFIG_USB_SERIAL_KEYSPAN_USA19=y
CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_HP4X is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OPTION is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_DEBUG is not set
CONFIG_USB_EZUSB=y
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
CONFIG_USB_APPLEDISPLAY=m
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_TEST is not set

#
# USB DSL modem support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
Back to top
View user's profile Send private message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Fri Jun 15, 2007 5:50 pm    Post subject: mouse is 'live' Reply with quote

When I do what Spectere suggests -- cat'ing /dev/input/mice, I do get output from moving the mouse.

The X-specific instructions are not on-target, though, because I do not yet have X installed.

I have emacs though!

Thanks,

Ry
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Jun 18, 2007 7:49 pm    Post subject: Reply with quote

I believe he ment gpm. It allows you to use the mouse on the console, without X11.

http://www.gentoo.org/doc/en/gpm.xml
Back to top
View user's profile Send private message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Mon Jun 18, 2007 10:21 pm    Post subject: Reply with quote

Thanks, Sodki!

Yeah, one needs to run gpm to get a working mouse in a terminal. Once I merged gpm, I was mousing away!

Ry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum