From mboxrd@z Thu Jan 1 00:00:00 1970 From: "SourceForge.net" Subject: [ kvm-Bugs-2729621 ] usb_add on garmin gps fails Date: Thu, 03 Dec 2009 19:05:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: noreply@sourceforge.net Return-path: Received: from ch3.sourceforge.net ([216.34.181.60]:47505 "EHLO ch3.sourceforge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756615AbZLCTFC (ORCPT ); Thu, 3 Dec 2009 14:05:02 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Bugs item #2729621, was opened at 2009-04-03 23:02 Message generated for change (Comment added) made by kreucher You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2729621&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: qemu Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Byron Clark (byron_clark) Assigned to: Nobody/Anonymous (nobody) Summary: usb_add on garmin gps fails Initial Comment: When I attempt to usb_add my Garmin Venture HC GPS with this command: usb_add host:091e:0003 I get the following error: usb_linux_update_endp_table: Broken pipe strace log: write(1, "husb: open device 5.3\n", 22) = 22 open("/proc/bus/usb/005/003", O_RDWR|O_NONBLOCK) = 26 read(26, "\22\1\20\1\377\377\377@\36\t\3\0\1\0\0\0\0\1\t\2'\0\1\1\0\300\0\t\4\0\0\3"..., 1024) = 57 write(1, "husb: config #1 need -1\n", 24) = 24 ioctl(26, USBDEVFS_IOCTL, 0x7fff0bb74300) = -1 ENODATA (No data available) ioctl(26, USBDEVFS_CLAIMINTERFACE, 0x7fff0bb7431c) = 0 write(1, "husb: 1 interfaces claimed for c"..., 47) = 47 ioctl(26, USBDEVFS_CONNECTINFO, 0x7fff0bb74750) = 0 write(1, "husb: grabbed usb device 5.3\n", 29) = 29 ioctl(26, USBDEVFS_CONTROL, 0x7fff0bb742f0) = -1 EPIPE (Broken pipe) dup(2) = 27 fcntl(27, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE) fstat(27, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 9), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e03b67000 lseek(27, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(27, "usb_linux_update_endp_table: Bro"..., 41) = 41 close(27) = 0 cpu: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz stepping : 11 cpu MHz : 2194.427 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority bogomips : 4388.85 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: host distribution: debian sid bitness: 64 guest distribution: windows xp bitness: 32 ---------------------------------------------------------------------- Comment By: Nicholas J Kreucher (kreucher) Date: 2009-12-03 14:05 Message: Perhaps this is a usb serial device? Seems there is a workaround for such devices here: http://ubuntuforums.org/archive/index.php/t-910796.html See IntuitiveNipple's Sep 7th post. The patch worked for me (sort of, the guest device now exists and works, but the hal properties don't seem to be populated correctly). ---------------------------------------------------------------------- Comment By: Byron Clark (byron_clark) Date: 2009-04-03 23:08 Message: kvm-84, kernel 2.6.29. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2729621&group_id=180599