Re: n900: usb keyb and h-e-n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

Is this the right place to ask this question? It would be a big deal for me if I got this working.

Thanks.

Dirk

On 08/22/2011 03:55 PM, Dirk wrote:
Hi,

I can't get my Lenovo SK8855 usb keybd working on my n900.
http://www.notebookreview.com/default.asp?newsID=5387

I have such usb usb connector
http://www.dealextreme.com/p/usb-cable-coupler-extension-connector-2646

Then I start h-e-n

First message: 'stopping BME'

Then I choose:
> low speed hostmode
>VBUS boost on
> enumerate

>> connect usb-keybd to n900

> mount

But nothing is happening ... when I try to type in a xterm.

I can't turn on Capslock.

Also mouse does nothing. When I connect and mount a usb stick, it says 'unable to connect, no file system available'

System information, see below.

Thanks in advance!
Dirk

[code]  sudo fdisk-l (in ubuntu)
 Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         449     3606561    b  W95 FAT32
/dev/sdb2             450         487      305235    b  W95 FAT32[/code]

[code]# apt-cache policy kernel-power-bootimg
kernel-power-bootimg:
  Installed: 1:2.6.28-10power47

# apt-cache policy kernel-power
kernel-power:
  Installed: 1:2.6.28-10power47

# apt-cache policy  hostmode-gui
hostmode-gui:
  Installed: 0.3

[/code]

[code]# lsusb -v

Bus 001 Device 001: ID 1d6b:0002
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed hub
  bMaxPacketSize0        64
  idVendor           0x1d6b
  idProduct          0x0002
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28.10-power47 musb-hcd
  iProduct                2 MUSB HDRC host driver
  iSerial                 1 musb_hdrc
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
 Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0011
    Per-port power switching
    No overcurrent protection
  bPwrOn2PwrGood        5 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0002.0301 C_ENABLE lowspeed power connect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled[/code]

[code]# dmesg
 mBi, 2300 mBm)
[ 1194.606079] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 1195.821289] wl1251: down
[ 1199.649200] wl1251: 151 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
[ 1199.664825] wl1251: firmware booted (Rev 4.0.4.3.7)
[ 1199.725463] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1200.317230] wlan0: authenticate with AP 00:23:69:15:11:c7
[ 1200.320617] wlan0: authenticated
[ 1200.320678] wlan0: associate with AP 00:23:69:15:11:c7
[ 1200.324340] wlan0: RX AssocResp from 00:23:69:15:11:c7 (capab=0x411 status=0 aid=2)
[ 1200.324371] wlan0: associated
[ 1200.376251] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1210.813354] wlan0: no IPv6 routers present
[ 1626.887573] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[ 1627.426116] Forced hostmode error: no device attached
[ 1627.426208] usb usb1: usb resume
[ 1627.446166] hub 1-0:1.0: hub_resume
[ 1627.446228] hub 1-0:1.0: port 1: status 0301 change 0001
[ 1627.555389] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[ 1627.555450] hub 1-0:1.0: port 1, status 0301, change 0000, 1.5 Mb/s
[ 1627.680450] usb 1-1: new low speed USB device using musb_hdrc and address 18
[ 1632.672790] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[ 1632.680419] usb 1-1: khubd timed out on ep0in len=0/64
[ 1637.680419] usb 1-1: khubd timed out on ep0in len=0/64
[ 1642.680328] usb 1-1: khubd timed out on ep0in len=0/64
[ 1642.805358] usb 1-1: device descriptor read/64, error -110
[ 1647.914916] usb 1-1: khubd timed out on ep0in len=0/64
[ 1652.914764] usb 1-1: khubd timed out on ep0in len=0/64
[ 1657.914794] usb 1-1: khubd timed out on ep0in len=0/64
[ 1658.039886] usb 1-1: device descriptor read/64, error -110
[ 1658.274261] usb 1-1: new low speed USB device using musb_hdrc and address 19
[ 1663.274169] usb 1-1: khubd timed out on ep0in len=0/64
[ 1668.274261] usb 1-1: khubd timed out on ep0in len=0/64
[ 1673.274291] usb 1-1: khubd timed out on ep0in len=0/64
[ 1673.399139] usb 1-1: device descriptor read/64, error -110
[ 1678.509826] usb 1-1: khubd timed out on ep0in len=0/64
[ 1683.508575] usb 1-1: khubd timed out on ep0in len=0/64
[ 1688.508575] usb 1-1: khubd timed out on ep0in len=0/64
[ 1688.633758] usb 1-1: device descriptor read/64, error -110
[ 1688.868072] usb 1-1: new low speed USB device using musb_hdrc and address 20
[ 1694.868408] ------------[ cut here ]------------
[ 1694.868469] WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/musb/musb_host.c:128 musb_h_tx_flush_fifo+0x94/0xcc()
[ 1694.868530] Could not flush host TX0 fifo: csr: 000a
[ 1694.868560] Modules linked in: wl12xx vfat fat sd_mod scsi_mod iphb rfcomm panic_info_buff sco l2cap ext3 omaplfb jbd pvrsrvkm bridgedriver ipv6 g_file_storage uinput board_rx51_camera omap_previewer_hack omap34xxcam_mod isp_mod iovmm videobuf_dma_sg videobuf_core omap3_iommu iommu2 iommu dspbridge ssi_mcsaab_imp mmc_block phonet joydev cmt_speech omap_hsmmc smc91x mii mac80211 crc7 omap_ssi omap_wdt nokia_av mmc_core cfg80211 hci_h4p tsc2005 bluetooth rtc_twl4030 rtc_core fmtx_si4713 et8ek8 adp1653 ad5820 bq27x00_battery smia_sensor leds_twl4030_vibra leds_lp5523 twl4030_wdt videodev v4l1_compat lis302dl tsl2563 power_supply smiaregs compat_ioctl32 led_class v4l2_int_device fuse [last unloaded: wl12xx] [ 1694.869140] [<c0030470>] (dump_stack+0x0/0x14) from [<c0057444>] (warn_slowpath+0x64/0x80) [ 1694.869232] [<c00573e0>] (warn_slowpath+0x0/0x80) from [<c01e9a80>] (musb_h_tx_flush_fifo+0x94/0xcc)
[ 1694.869323]  r3:00000000 r2:c034453d
[ 1694.869354]  r6:d80ab100 r5:0000000a r4:0000000a
[ 1694.869384] [<c01e99ec>] (musb_h_tx_flush_fifo+0x0/0xcc) from [<c01ea950>] (musb_cleanup_urb+0xc0/0x10c) [ 1694.869445] [<c01ea890>] (musb_cleanup_urb+0x0/0x10c) from [<c01eb154>] (musb_urb_dequeue+0x1dc/0x248) [ 1694.869537] [<c01eaf78>] (musb_urb_dequeue+0x0/0x248) from [<c01cecbc>] (unlink1+0x108/0x114) [ 1694.869598] [<c01cebb4>] (unlink1+0x0/0x114) from [<c01cfc58>] (usb_hcd_unlink_urb+0x9c/0xf8) [ 1694.869689] [<c01cfbbc>] (usb_hcd_unlink_urb+0x0/0xf8) from [<c01d0b14>] (usb_kill_urb+0x84/0x14c)
[ 1694.869750]  r7:ce6dc480 r6:ce6dc480 r5:cf0a6000 r4:00000000
[ 1694.869812] [<c01d0a90>] (usb_kill_urb+0x0/0x14c) from [<c01d1d98>] (usb_start_wait_urb+0x80/0x120)
[ 1694.869873]  r6:00001388 r5:cf0a7e50 r4:00000000
[ 1694.869934] [<c01d1d18>] (usb_start_wait_urb+0x0/0x120) from [<c01d2018>] (usb_control_msg+0xc4/0xe8) [ 1694.869995] [<c01d1f54>] (usb_control_msg+0x0/0xe8) from [<c01cad0c>] (hub_port_init+0x3d8/0x634) [ 1694.870056] [<c01ca934>] (hub_port_init+0x0/0x634) from [<c01cc404>] (hub_events+0x86c/0xe64) [ 1694.870147] [<c01cbb98>] (hub_events+0x0/0xe64) from [<c01ce054>] (hub_thread+0x30/0x19c) [ 1694.870208] [<c01ce024>] (hub_thread+0x0/0x19c) from [<c006da90>] (kthread+0x54/0x80)
[ 1694.870269]  r6:00000000 r5:c01ce024 r4:00000000
[ 1694.870300] [<c006da3c>] (kthread+0x0/0x80) from [<c005a950>] (do_exit+0x0/0x7bc)
[ 1694.870361]  r5:00000000 r4:00000000
[ 1694.870422] ---[ end trace 6fb00ab8cbf39d25 ]---
[ 1694.872497] usb 1-1: khubd timed out on ep0out len=0/0
[ 1701.079345] ------------[ cut here ]------------
[ 1701.079406] WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/musb/musb_host.c:128 musb_h_tx_flush_fifo+0x94/0xcc()
[ 1701.079467] Could not flush host TX0 fifo: csr: 000a
[ 1701.079498] Modules linked in: wl12xx vfat fat sd_mod scsi_mod iphb rfcomm panic_info_buff sco l2cap ext3 omaplfb jbd pvrsrvkm bridgedriver ipv6 g_file_storage uinput board_rx51_camera omap_previewer_hack omap34xxcam_mod isp_mod iovmm videobuf_dma_sg videobuf_core omap3_iommu iommu2 iommu dspbridge ssi_mcsaab_imp mmc_block phonet joydev cmt_speech omap_hsmmc smc91x mii mac80211 crc7 omap_ssi omap_wdt nokia_av mmc_core cfg80211 hci_h4p tsc2005 bluetooth rtc_twl4030 rtc_core fmtx_si4713 et8ek8 adp1653 ad5820 bq27x00_battery smia_sensor leds_twl4030_vibra leds_lp5523 twl4030_wdt videodev v4l1_compat lis302dl tsl2563 power_supply smiaregs compat_ioctl32 led_class v4l2_int_device fuse [last unloaded: wl12xx] [ 1701.080078] [<c0030470>] (dump_stack+0x0/0x14) from [<c0057444>] (warn_slowpath+0x64/0x80) [ 1701.080169] [<c00573e0>] (warn_slowpath+0x0/0x80) from [<c01e9a80>] (musb_h_tx_flush_fifo+0x94/0xcc)
[ 1701.080261]  r3:00000000 r2:c034453d
[ 1701.080291]  r6:d80ab100 r5:0000000a r4:0000000a
[ 1701.080322] [<c01e99ec>] (musb_h_tx_flush_fifo+0x0/0xcc) from [<c01ea950>] (musb_cleanup_urb+0xc0/0x10c) [ 1701.080383] [<c01ea890>] (musb_cleanup_urb+0x0/0x10c) from [<c01eb154>] (musb_urb_dequeue+0x1dc/0x248) [ 1701.080474] [<c01eaf78>] (musb_urb_dequeue+0x0/0x248) from [<c01cecbc>] (unlink1+0x108/0x114) [ 1701.080535] [<c01cebb4>] (unlink1+0x0/0x114) from [<c01cfc58>] (usb_hcd_unlink_urb+0x9c/0xf8) [ 1701.080596] [<c01cfbbc>] (usb_hcd_unlink_urb+0x0/0xf8) from [<c01d0b14>] (usb_kill_urb+0x84/0x14c)
[ 1701.080688]  r7:ce6dc480 r6:ce6dc480 r5:cf0a6000 r4:00000000
[ 1701.080749] [<c01d0a90>] (usb_kill_urb+0x0/0x14c) from [<c01d1d98>] (usb_start_wait_urb+0x80/0x120)
[ 1701.080810]  r6:00001388 r5:cf0a7e50 r4:00000000
[ 1701.080841] [<c01d1d18>] (usb_start_wait_urb+0x0/0x120) from [<c01d2018>] (usb_control_msg+0xc4/0xe8) [ 1701.080932] [<c01d1f54>] (usb_control_msg+0x0/0xe8) from [<c01cad0c>] (hub_port_init+0x3d8/0x634) [ 1701.080993] [<c01ca934>] (hub_port_init+0x0/0x634) from [<c01cc404>] (hub_events+0x86c/0xe64) [ 1701.081054] [<c01cbb98>] (hub_events+0x0/0xe64) from [<c01ce054>] (hub_thread+0x30/0x19c) [ 1701.081146] [<c01ce024>] (hub_thread+0x0/0x19c) from [<c006da90>] (kthread+0x54/0x80)
[ 1701.081207]  r6:00000000 r5:c01ce024 r4:00000000
[ 1701.081237] [<c006da3c>] (kthread+0x0/0x80) from [<c005a950>] (do_exit+0x0/0x7bc)
[ 1701.081298]  r5:00000000 r4:00000000
[ 1701.081329] ---[ end trace 6fb00ab8cbf39d25 ]---
[ 1701.083740] usb 1-1: khubd timed out on ep0out len=0/0
[ 1701.289855] usb 1-1: device not accepting address 20, error -110
[ 1701.414886] usb 1-1: new low speed USB device using musb_hdrc and address 21
[ 1707.415283] ------------[ cut here ]------------
[ 1707.415344] WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/musb/musb_host.c:128 musb_h_tx_flush_fifo+0x94/0xcc()
[ 1707.415405] Could not flush host TX0 fifo: csr: 000a
[ 1707.415435] Modules linked in: wl12xx vfat fat sd_mod scsi_mod iphb rfcomm panic_info_buff sco l2cap ext3 omaplfb jbd pvrsrvkm bridgedriver ipv6 g_file_storage uinput board_rx51_camera omap_previewer_hack omap34xxcam_mod isp_mod iovmm videobuf_dma_sg videobuf_core omap3_iommu iommu2 iommu dspbridge ssi_mcsaab_imp mmc_block phonet joydev cmt_speech omap_hsmmc smc91x mii mac80211 crc7 omap_ssi omap_wdt nokia_av mmc_core cfg80211 hci_h4p tsc2005 bluetooth rtc_twl4030 rtc_core fmtx_si4713 et8ek8 adp1653 ad5820 bq27x00_battery smia_sensor leds_twl4030_vibra leds_lp5523 twl4030_wdt videodev v4l1_compat lis302dl tsl2563 power_supply smiaregs compat_ioctl32 led_class v4l2_int_device fuse [last unloaded: wl12xx] [ 1707.416015] [<c0030470>] (dump_stack+0x0/0x14) from [<c0057444>] (warn_slowpath+0x64/0x80) [ 1707.416107] [<c00573e0>] (warn_slowpath+0x0/0x80) from [<c01e9a80>] (musb_h_tx_flush_fifo+0x94/0xcc)
[ 1707.416168]  r3:00000000 r2:c034453d
[ 1707.416198]  r6:d80ab100 r5:0000000a r4:0000000a
[ 1707.416259] [<c01e99ec>] (musb_h_tx_flush_fifo+0x0/0xcc) from [<c01ea950>] (musb_cleanup_urb+0xc0/0x10c) [ 1707.416320] [<c01ea890>] (musb_cleanup_urb+0x0/0x10c) from [<c01eb154>] (musb_urb_dequeue+0x1dc/0x248) [ 1707.416381] [<c01eaf78>] (musb_urb_dequeue+0x0/0x248) from [<c01cecbc>] (unlink1+0x108/0x114) [ 1707.416473] [<c01cebb4>] (unlink1+0x0/0x114) from [<c01cfc58>] (usb_hcd_unlink_urb+0x9c/0xf8) [ 1707.416534] [<c01cfbbc>] (usb_hcd_unlink_urb+0x0/0xf8) from [<c01d0b14>] (usb_kill_urb+0x84/0x14c)
[ 1707.416595]  r7:ce6dc480 r6:ce6dc480 r5:cf0a6000 r4:00000000
[ 1707.416656] [<c01d0a90>] (usb_kill_urb+0x0/0x14c) from [<c01d1d98>] (usb_start_wait_urb+0x80/0x120)
[ 1707.416748]  r6:00001388 r5:cf0a7e50 r4:00000000
[ 1707.416778] [<c01d1d18>] (usb_start_wait_urb+0x0/0x120) from [<c01d2018>] (usb_control_msg+0xc4/0xe8) [ 1707.416839] [<c01d1f54>] (usb_control_msg+0x0/0xe8) from [<c01cad0c>] (hub_port_init+0x3d8/0x634) [ 1707.416931] [<c01ca934>] (hub_port_init+0x0/0x634) from [<c01cc404>] (hub_events+0x86c/0xe64) [ 1707.416992] [<c01cbb98>] (hub_events+0x0/0xe64) from [<c01ce054>] (hub_thread+0x30/0x19c) [ 1707.417053] [<c01ce024>] (hub_thread+0x0/0x19c) from [<c006da90>] (kthread+0x54/0x80)
[ 1707.417114]  r6:00000000 r5:c01ce024 r4:00000000
[ 1707.417175] [<c006da3c>] (kthread+0x0/0x80) from [<c005a950>] (do_exit+0x0/0x7bc)
[ 1707.417236]  r5:00000000 r4:00000000
[ 1707.417266] ---[ end trace 6fb00ab8cbf39d25 ]---
[ 1707.418090] usb 1-1: khubd timed out on ep0out len=0/0
[ 1713.626220] ------------[ cut here ]------------
[ 1713.626281] WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/musb/musb_host.c:128 musb_h_tx_flush_fifo+0x94/0xcc()
[ 1713.626342] Could not flush host TX0 fifo: csr: 000a
[ 1713.626373] Modules linked in: wl12xx vfat fat sd_mod scsi_mod iphb rfcomm panic_info_buff sco l2cap ext3 omaplfb jbd pvrsrvkm bridgedriver ipv6 g_file_storage uinput board_rx51_camera omap_previewer_hack omap34xxcam_mod isp_mod iovmm videobuf_dma_sg videobuf_core omap3_iommu iommu2 iommu dspbridge ssi_mcsaab_imp mmc_block phonet joydev cmt_speech omap_hsmmc smc91x mii mac80211 crc7 omap_ssi omap_wdt nokia_av mmc_core cfg80211 hci_h4p

...
....[/code]

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users


[Nokia N800]     [Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [N900 Unlocked]

Add to Google Powered by Linux