ts-7000
[Top] [All Lists]

Re: [ts-7000] Anyone with experience getting USB keyboard working?

To:
Subject: Re: [ts-7000] Anyone with experience getting USB keyboard working?
From: Per Öberg <>
Date: Fri, 16 May 2008 07:50:14 +0200
Hi

I'm not sure about the TS-7800 but i did some looking around on my
desktop computer last week. Have you looked at /proc/interrupts
(assuming a 2.6 kernel)? It should contain some interrupt for the usb
and you should see the count going up for every keypress and release if
it's working at all.


cat /proc/interrupts gives me: (on my desktop comp...)

            CPU0       CPU1
   0:   20978955          0    IO-APIC-edge  timer
   8:          1          0    IO-APIC-edge  rtc
   9:          0          0   IO-APIC-level  acpi
  14:     752347          0    IO-APIC-edge  ide0
  50:      15503          0   IO-APIC-level  uhci_hcd:usb2
  58:     219985          0   IO-APIC-level  uhci_hcd:usb3
169:   14189119          0   IO-APIC-level  eth0, nvidia
217:     264894          0   IO-APIC-level  libata
225:      50160          0   IO-APIC-level  Intel ICH7, uhci_hcd:usb4
233:          3          0   IO-APIC-level  uhci_hcd:usb1, ehci_hcd:usb5
NMI:       5643       5329
LOC:   20978612   20978755

"dmesg | grep -i usb" includes the following:

usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: Product: Dell USB Keyboard

This gives me reason to believe that my keyboard is generating
interrupts at interrupt line 50. Looking at /proc/interrupts after
pressing and releasing a key should increase the number by two.
(Fortunately every USB hub seems to generate interrupts on one line each
and since I have separate hubs for each connector i can trust this not
to include mouse events etc. In your case it should be even simpler if
your only connected USB device is a keyboard)

B.t.w. I assume that you have also loaded usbcore and input or that you
have them compiled in the kernel. If interrupts are generated but no
/dev/input can be found I would check this out since I can see no other
reason that it shouldn't work.


This was no manual for success but I hope this helps you track down the
issue by yourself.

Best regards
Per Öberg


lee.weihong wrote:
> Hi all,
>
> I got a TS-7800 board and I thought it would be great to have a USB
> keyboard attached to the board instead of using the console serial
> port. (The console serial port will of course still be used to display
> text onscreen) However, I plugged a keyboard into the USB port and
> insmod all the modules I guess is required (serport, serio, libps2,
> atkbd, usbhid), but it did not work. From dmesg, I can see that the
> USB-HID driver recognised a keyboard is plugged into the USB port, but
> no /dev/input entries were created.
>
> Anyone with experience on getting a USB keyboard working with the board?
> Thanks
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
Per Öberg, Ph.D. Student
Address: Division of Vehicular Systems
Department of Electrical Engineering
Linköpings universitet
581 83 Linköping, SWEDEN
Phone: +46 (0)13-28 23 69
e-mail: 
PGP: http://www.fs.isy.liu.se/~oberg/0x61984A9D.asc

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Attachment: oberg.vcf
Description: Vcard

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU