ts-7000
[Top] [All Lists]

[ts-7000] Using USB Keyboard TS7500, kernel 2.6.24

To:
Subject: [ts-7000] Using USB Keyboard TS7500, kernel 2.6.24
From: "fabiox1" <>
Date: Sun, 18 Jul 2010 20:41:14 -0000
Hi all,

I need use an USB keyboard as input to a "C" program. I'm using a TS-7500. Does 
anyone have a past experience on this matter ?

I plugged the keyboard and got the following at lsusb:

ts7500:~# lsusb
Bus 002 Device 004: ID 04b3:3025 IBM Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless 
Adapter
Bus 001 Device 001: ID 0000:0000

I have the following modules loaded :
usbkbd                  3488  0
atkbd                  10444  0
serio                   6632  1 atkbd
libps2                  2976  1 atkbd
usbhid                 13380  0
hid                    27492  1 usbhid
input_core             14892  5 usbkbd,atkbd,usbhid,hid
usb_storage            33472  0
sd_mod                 15504  0
scsi_mod               55372  2 usb_storage,sd_mod


Other information that may help : 

ts7500:~# cat /proc/bus/input/devices
I: Bus=0003 Vendor=04b3 Product=3025 Version=0110
N: Name="LITE-ON Technology USB NetVista Full Width Keyboard."
P: Phys=usb-str8100-ohci-2/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7



ts7500:~# cat /proc/bus/usb/devices
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.24.4 ohci_hcd
S:  Product=str8100-ohci
S:  SerialNumber=str8100-ohci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b3 ProdID=3025 Rev= 1.09
S:  Manufacturer=LITE-ON Technology
S:  Product=USB NetVista Full Width Keyboard.
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 70mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=24ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.24.4 ehci_hcd
S:  Product=str8100-ehci
S:  SerialNumber=str8100-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=148f ProdID=2573 Rev= 0.01
S:  Manufacturer=Ralink
S:  Product=802.11 bg WLAN
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=rt73usb
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms


ts7500:~# ls /dev
MAKEDEV  fd       kmem   mem    nbd11  nbd15  nbd5  nbd9  ppp   ram1    shm     
tty      usbdev1.1_ep00  usbdev1.4_ep81  usbdev2.4_ep81
bus      full     kmsg   nbd0   nbd12  nbd2   nbd6  net   ptmx  ram2    stderr  
ttyS0    usbdev1.1_ep81  usbdev2.1_ep00  xconsole
console  i2c-0    log    nbd1   nbd13  nbd3   nbd7  null  pts   ram3    stdin   
ttyS1    usbdev1.4_ep00  usbdev2.1_ep81  zero
core     initctl  loop0  nbd10  nbd14  nbd4   nbd8  port  ram0  random  stdout  
urandom  usbdev1.4_ep01  usbdev2.4_ep00





But I didn't get any /dev/input. Any ideas of an easy way to read keys from USB 
keyboard ? 



Thank you very much in advance,
Fabio Vaz.



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

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/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Using USB Keyboard TS7500, kernel 2.6.24, fabiox1 <=
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