USB Networking problem with latest version of QEMU in UBUNTU (2.6.20-16)

k mkarthik293 at gmail.com
Sat Dec 8 18:03:21 CET 2007


Hi folks,       
     I have downloaded the latest version of openmoko
yesterday and bitbaked the devel image and qemu. Everything works fine
but when I try to configure USB networking using qemu command "usb_add gadget:1"
it fails (works properly with my old openmoko build) and i am get the following error in the qemu terminal.

	s3c_mmci_write: Bad register 0x38
	s3c_mmci_write: Bad register 0x38
	gadget_read: event error: 51
	s3c_udc_handle_packet: EP0 overrun
	s3c_udc_handle_packet: EP0 overrun
	gadget_read: event error: 51
	s3c_udc_handle_packet: EP0 overrun
	s3c_udc_handle_packet: EP0 overrun
	gadget_read: event error: 51
	s3c_udc_handle_packet: EP0 overrun
	s3c_udc_handle_packet: EP0 overrun
	gadget_read: event error: 4
	s3c_udc_handle_packet: EP0 overrun
	s3c_udc_handle_packet: EP0 overrun


And here is the section of the dmesg output during that time .

	Dec  9 01:29:46 k-desktop kernel: [39126.776186] gadgetfs: connected
	Dec  9 01:29:46 k-desktop kernel: [39126.776194] gadgetfs: disconnected
	Dec  9 01:29:46 k-desktop kernel: [39126.832097] dummy_hcd dummy_hcd: port status 0x00100503 has changes
	Dec  9 01:29:46 k-desktop kernel: [39126.892001] dummy_udc dummy_udc: set_address = 2
	Dec  9 01:29:46 k-desktop kernel: [39126.911969] gadgetfs: connected
	Dec  9 01:29:46 k-desktop kernel: [39126.912327] dummy_udc dummy_udc: enabled ep-a (ep3in-intr) maxpacket 16
	Dec  9 01:29:46 k-desktop kernel: [39126.912341] dummy_udc dummy_udc: enabled ep-b (ep1in-bulk) maxpacket 64
	Dec  9 01:29:46 k-desktop kernel: [39126.912350] dummy_udc dummy_udc: enabled ep-c (ep2out-bulk) maxpacket 64
	Dec  9 01:29:51 k-desktop kernel: [39131.912097] dummy_hcd dummy_hcd: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.
	Dec  9 01:29:51 k-desktop kernel: [39131.936056] dummy_hcd dummy_hcd: ep <NULL> halted because 0 -209059840
	Dec  9 01:29:51 k-desktop kernel: [39131.936060] dummy_hcd dummy_hcd: ep ep0 halted, urb f53fc340
	Dec  9 01:29:56 k-desktop kernel: [39136.932191] usb 8-1: string descriptor 0 read error: -110
	Dec  9 01:29:56 k-desktop kernel: [39136.948162] dummy_hcd dummy_hcd: ep <NULL> halted because 0 0
	Dec  9 01:29:56 k-desktop kernel: [39136.948166] dummy_hcd dummy_hcd: ep ep0 halted, urb f53fc340
	Dec  9 01:30:01 k-desktop kernel: [39141.964263] dummy_hcd dummy_hcd: ep <NULL> halted because 0 0
	Dec  9 01:30:01 k-desktop kernel: [39141.964268] dummy_hcd dummy_hcd: ep ep0 halted, urb f53fc340
	Dec  9 01:30:06 k-desktop kernel: [39146.960891] usb 8-1: string descriptor 0 read error: -110
	Dec  9 01:30:06 k-desktop kernel: [39146.960984] usb 8-1: configuration #1 chosen from 1 choice
	Dec  9 01:30:06 k-desktop kernel: [39146.964884] gadgetfs: configuration #1
	Dec  9 01:30:11 k-desktop kernel: [39151.957023] usb 8-1: can't set config #1, error -110
	Dec  9 01:30:11 k-desktop kernel: [39151.957072] usb 8-1: 100mA is over 8mA budget for port 1!
	Dec  9 01:30:11 k-desktop kernel: [39151.957074] hub 8-0:1.0: 92mA over power budget!
	Dec  9 01:30:13 k-desktop kernel: [39153.953879] gadgetfs: suspended from state 4
	Dec  9 01:30:15 k-desktop kernel: [39155.966706] usb usb8: dummy_bus_suspend

Any solutions/suggestions/comments will be really helpful.


Thanks in Advance,
Karthik







More information about the openmoko-devel mailing list