Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb keyboard question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Thu Jan 22, 2004 11:55 pm    Post subject: usb keyboard question Reply with quote

I installed a belkin usb card into my ultra 80 yesterday afternoon. My logitech mouse was immediately recognized and works great. I also want to use my apple pro usb keyboard because I have a usb kvm. The apple keyboard is recognized and the onboard usb hub is activated ( I can pluf in a usb mouse and it works automagically) but I can't get the keyboard ot be recognized as a keyboard!

Here's the relevent sections from my kernel config:
#
# General setup
#
CONFIG_BBC_I2C=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SMP=y
CONFIG_NR_CPUS=4
CONFIG_SPARC64=y
CONFIG_HOTPLUG=y

#
# Input core support
#
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_UHCI is not set
# CONFIG_USB_UHCI_ALT is not set
CONFIG_USB_OHCI=y
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_STORAGE is not set
# 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_HP8200e 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_ACM is not set
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_AX8817X is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set


And then from dmesg:

usb_control/bulk_msg: timeout
input: USB HID v10.01 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb2:5.0
input: USB HID v10.01 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb2:5.1

Any help will be greatly apprecited.


Abe
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Jan 23, 2004 2:15 am    Post subject: Reply with quote

Looks like it works, you probably just have the wrong KEYMAP set for it.
Back to top
View user's profile Send private message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Fri Jan 23, 2004 3:58 am    Post subject: Reply with quote

if I set the mac-us keymap, will I get an error from my sun keyboard? Can I have both of them configured at the same time? Can they both use a keymap like just us?


Abe
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Jan 23, 2004 4:03 am    Post subject: Reply with quote

You can't use both at the same time with a 2.4.x kernel. You might be able to get away with it under 2.6.x.
Back to top
View user's profile Send private message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Fri Jan 23, 2004 4:25 am    Post subject: Reply with quote

ok well, I tried changing the keymap in /etc/rc.conf to mac-us plugging in my usb keyboard and rebooting. The usb keyboard still did not work and weirdly my sun keyboard still works fine. Perhapse I did not change the keymap in the right place?

Also, the usb keyboard is not getting power it seems since no lights come on if I press the numlock or caps lock keys.

Thanks for all your ideas!


Abe
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Sat Jan 24, 2004 9:07 pm    Post subject: Reply with quote

i am experiencing the same problem, only my ps/2 port doesn't work so i'm stuck with using the usb keyboard....if only i could get it to work. man typing in linux would be awesome 8) !
I have all of the usb human interface options compiled into the kernel and my mouse works great. I can ssh and do what i need to on the box for now, but i will eventually have to get this thing working.
Back to top
View user's profile Send private message
mrichmon
n00b
n00b


Joined: 17 Dec 2003
Posts: 21

PostPosted: Sat Jan 24, 2004 9:28 pm    Post subject: Reply with quote

I have this setup:

U10 with belkin USB/firewire Card
Non-USB Sun keyboard plugged in,
Apple USB Pro Keyboard,
Logitech trackball.

The Sun keyboard is used for openprom only. (I haven't gotten around to setting the NVRAM alias for the Apple USB keyboard to work. However I do have an alias for the USB Trackball still set from when I was using Solaris and the Trackball.)

I found that the Apple keyboard works fine until the keymaps rc script is run. Assuming this was a keymap issue I worked through trying all of the obvious Mac and PC keymaps without much luck. But since the keyboard works right up to running that script, I decided to just remove the keymaps script from init using:

rc-update del keymaps

Since then, everything has worked fine.
Back to top
View user's profile Send private message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Sun Jan 25, 2004 7:28 am    Post subject: Reply with quote

hey mrichmon, were you getting any led activity on the apple keyboard before you got the keymap thing figured out?

I ask because as far as I can tell, only the usb hub on the keyboard is being seen and given power. I can't get any of the led's to light up.

Thanks


Abe
Back to top
View user's profile Send private message
mrichmon
n00b
n00b


Joined: 17 Dec 2003
Posts: 21

PostPosted: Mon Jan 26, 2004 4:42 am    Post subject: Reply with quote

I don't recall any LED activity on the keyboard during boot.
I know caps and at least one of the scroll or num locks LEDs work. However, I have not been able to control them using xset.

I do know that the hub in the keyboard is powered since I've used both a bluetooth usb dongle and a powermate in the keyboard ports. (Both received power, but need more fiddling to work fully.)
Back to top
View user's profile Send private message
mrichmon
n00b
n00b


Joined: 17 Dec 2003
Posts: 21

PostPosted: Wed Jan 28, 2004 11:16 pm    Post subject: Reply with quote

Ok, now that I am sitting in front of the machine, I can see that there is no scroll lock button or LED.

However, both the caps lock and num lock LEDs work.

I can also report that I have power on the hub that is built into the keyboard since I'm using one of those ports for my bluetooth usb dongle.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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