Hi,
I get similar babble errors every now and then with a usb keyboard. Also,
unplugging and replugging the keyboard almost always result in babble error.
The logs are attached, I will try to disable the DMA and recompile the kernel.
For connecting keyboards only, disabling the DMA should not have a huge side
effect anyhow, right?
BR,
Marcell
----- Original Message ----
From: Tony Lindgren <[EMAIL PROTECTED]>
To: Vasudevan Srinivasan <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Thursday, May 24, 2007 8:21:49 PM
Subject: Re: Unable to get device detected with usb host mode on N800
Hi,
[...]
Interesting, I've never seen this error. I'm suspecting there are some
alignment issues going on which then cause USB babble errors.
Could you please increase the musb driver debug level by doing:
# echo 8 > /proc/sysrq-trigger
# echo D3 > /proc/driver/musb_hdrc
And then post the dmesg after plugging in your device.
After that you may want to try to recompile the kernel and leave out
musb DMA support by setting CONFIG_USB_INVENTRA_FIFO in .config. If that
works let me know.
Also please post info on the device you're connecting to the USB port,
such as device model and maybe the relevant part of lsusb -v on your
Linux PC.
Regards,
Tony
____________________________________________________________________________________You
snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
Bus 002 Device 002: ID 04d9:1203 Holtek Semiconductor, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04d9 Holtek Semiconductor, Inc.
idProduct 0x1203
bcdDevice 2.60
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 62
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 101
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
705.125549] EAC mode: play disabled, rec disabled
[28560.297851] omapfb omapfb: s1d1374x: setting update mode to manual
[28560.787597] EAC mode: play enabled, rec enabled
[28563.169342] EAC mode: play disabled, rec disabled
[28567.767211] EAC mode: play enabled, rec enabled
[28570.843780] EAC mode: play disabled, rec disabled
[28605.330230] SysRq : Changing Loglevel
[28605.330291] Loglevel set to 8
[28629.704223] musb_proc_write 753: debug level 3
[28647.948577] usb_gadget_register_driver 1721: registering driver Ethernet
Gadget
[28647.948791] ether gadget: using random self ethernet address
[28647.948913] ether gadget: using random host ethernet address
[28647.949493] usb0: Ethernet Gadget, version: May Day 2005
[28647.949523] usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in
[28647.949584] usb0: MAC 66:54:62:c3:b6:e6
[28647.949615] usb0: HOST MAC fa:23:bb:1d:78:27
[28647.949645] usb0: RNDIS ready
[28647.949676] usb_gadget_register_driver 1771: OTG startup...
[28647.949707] musb_hdrc musb_hdrc: MUSB HDRC host driver
[28647.953948] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number
1
[28647.954772] usb usb1: configuration #1 chosen from 1 choice
[28647.955017] hub 1-0:1.0: USB hub found
[28647.955139] hub 1-0:1.0: 1 port detected
[28647.957824] musb_start 692: <== devctl 80
[28647.957885] drivers/usb/musb/tusb6010.c musb_platform_enable: dma not
reactivated
[28647.957946] tusb_interrupt 645: TUSB IRQ 00002000
[28647.958007] tusb_interrupt 676: wake inactive 04
[28648.078582] tusb_interrupt 645: TUSB IRQ 00006000
[28648.078643] tusb_interrupt 676: wake inactive 04
[28648.078674] tusb_otg_ints 524: Default-A
[28648.078704] tusb_source_power 426: VBUS a_wait_vrise, devctl 81 otg 184 conf
c0010001 prcm 00a80500
[28648.123748] tusb_interrupt 645: TUSB IRQ 00008000
[28648.188262] tusb_interrupt 645: TUSB IRQ 00010000
[28649.529449] EAC mode: play enabled, rec enabled
[28652.316436] EAC mode: play disabled, rec disabled
[28711.050506] omapfb omapfb: s1d1374x: setting update mode to disabled
[28779.782409] omapfb omapfb: s1d1374x: setting update mode to manual
[28786.446289] tusb_interrupt 645: TUSB IRQ 00000080
[28786.446350] musb_stage0_irq 309: <== Power=e0, DevCtl=88, bIntrUSB=0x80
[28786.446411] musb_stage0_irq 474: VBUS_ERROR in a_wait_bcon (89, <AValid),
retry #1, port1 00000100
[28786.813354] tusb_interrupt 645: TUSB IRQ 00000010
[28786.813415] musb_stage0_irq 309: <== Power=e0, DevCtl=3d, bIntrUSB=0x10
[28786.813476] musb_stage0_irq 528: CONNECT (a_host) devctl 3d
[28786.813873] musb_hub_control 310: port status 00010301
[28787.032073] musb_hub_control 310: port status 00120303
[28787.032135] tusb_interrupt 645: TUSB IRQ 0000000c
[28787.032165] musb_stage0_irq 309: <== Power=e0, DevCtl=3d, bIntrUSB=0xc
[28787.032196] musb_stage0_irq 543: Stopping host session because of babble
[28787.094573] usb 1-1: new low speed USB device using musb_hdrc and address 2
[28787.094635] musb_ep_program 664: --> hw0 urb c07cd9c0 spd1 dev0 ep0out
h_addr00 h_port00 bytes 8
[28788.094635] tusb_interrupt 645: TUSB IRQ 00008000
[28788.094726] __musb_giveback 306: complete c07cd9c0 (-104), dev0 ep0in, 0/64
[28788.094848] musb_ep_program 664: --> hw0 urb c07cd9c0 spd1 dev0 ep0out
h_addr00 h_port00 bytes 8
[28789.094635] __musb_giveback 306: complete c07cd9c0 (-104), dev0 ep0in, 0/64
[28789.094787] musb_ep_program 664: --> hw0 urb c07cd9c0 spd1 dev0 ep0out
h_addr00 h_port00 bytes 8
[28790.094512] __musb_giveback 306: complete c07cd9c0 (-104), dev0 ep0in, 0/64
[28790.157012] musb_hub_control 310: port status 00020313
[28790.219543] musb_hub_control 310: port status 00020313
[28790.430511] musb_hub_control 310: port status 00020313
[28790.641418] musb_hub_control 310: port status 00020313
[28790.852386] musb_hub_control 310: port status 00020313
[28791.063354] musb_hub_control 310: port status 00020313
[28791.274261] musb_hub_control 310: port status 00020313
[28791.485168] musb_hub_control 310: port status 00020313
[28791.696166] musb_hub_control 310: port status 00020313
[28791.907043] musb_hub_control 310: port status 00020313
[28792.118072] musb_hub_control 310: port status 00020313
[28792.328674] musb_hub_control 310: port status 00020313
[28792.539825] musb_hub_control 310: port status 00020313
[28792.750793] musb_hub_control 310: port status 00020313
[28792.961700] musb_hub_control 310: port status 00020313
[28793.172637] musb_hub_control 310: port status 00020313
[28793.172729] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[28793.235168] musb_hub_control 310: port status 00020311
[28793.297637] musb_hub_control 310: port status 00020311
[28793.508575] musb_hub_control 310: port status 00020311
[28793.719573] musb_hub_control 310: port status 00020311
[28793.829223] EAC mode: play enabled, rec enabled
[28793.930236] musb_hub_control 310: port status 00020311
[28794.141113] musb_hub_control 310: port status 00020311
[28794.352081] musb_hub_control 310: port status 00020311
[28794.563323] musb_hub_control 310: port status 00020311
[28794.773986] musb_hub_control 310: port status 00020311
[28794.984893] musb_hub_control 310: port status 00020311
[28795.195922] musb_hub_control 310: port status 00020311
[28795.406738] musb_hub_control 310: port status 00020311
[28795.617706] musb_hub_control 310: port status 00020311
[28795.828796] musb_hub_control 310: port status 00020311
[28796.039611] musb_hub_control 310: port status 00020311
[28796.216064] EAC mode: play disabled, rec disabled
[28796.250793] musb_hub_control 310: port status 00020311
[28796.250854] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[28796.313262] musb_hub_control 310: port status 00020311
[28796.375762] musb_hub_control 310: port status 00020311
[28796.586700] musb_hub_control 310: port status 00020311
[28796.797668] musb_hub_control 310: port status 00020311
[28797.008605] musb_hub_control 310: port status 00020311
[28797.219543] musb_hub_control 310: port status 00020311
[28797.430511] musb_hub_control 310: port status 00020311
[28797.641479] musb_hub_control 310: port status 00020311
[28797.852416] musb_hub_control 310: port status 00020311
[28798.063293] musb_hub_control 310: port status 00020311
[28798.274261] musb_hub_control 310: port status 00020311
[28798.485198] musb_hub_control 310: port status 00020311
[28798.696105] musb_hub_control 310: port status 00020311
[28798.907073] musb_hub_control 310: port status 00020311
[28799.117980] musb_hub_control 310: port status 00020311
[28799.328948] musb_hub_control 310: port status 00020311
[28799.329010] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[28799.391387] musb_hub_control 310: port status 00020311
[28799.453887] musb_hub_control 310: port status 00020311
[28799.664916] musb_hub_control 310: port status 00020311
[28799.875793] musb_hub_control 310: port status 00020311
[28800.086761] musb_hub_control 310: port status 00020311
[28800.297760] musb_hub_control 310: port status 00020311
[28800.508605] musb_hub_control 310: port status 00020311
[28800.719573] musb_hub_control 310: port status 00020311
[28800.930480] musb_hub_control 310: port status 00020311
[28801.141448] musb_hub_control 310: port status 00020311
[28801.352386] musb_hub_control 310: port status 00020311
[28801.563262] musb_hub_control 310: port status 00020311
[28801.774017] musb_hub_control 310: port status 00020311
[28801.985137] musb_hub_control 310: port status 00020311
[28802.196075] musb_hub_control 310: port status 00020311
[28802.407012] musb_hub_control 310: port status 00020311
[28802.407073] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[28802.407196] musb_hub_control 310: port status 00020311
[28813.353515] EAC mode: play enabled, rec enabled
[28816.994750] EAC mode: play disabled, rec disabled
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers