On Thu, 15 Mar 2007, Till Harbaum wrote: > Hi list, > > i do have an ugly problem. I have built yet another avr-software-usb based > device > to connect an c64 disk drive to usb to be able to read and write those old > c64 disks > (see http://www.harbaum.org/till/xu1541). > > Sowhere during development i recognized that there are things inside the > c64's IEC > protocol that require a very exact timing. Thus i had to disable IRQ handling > in > the device during IEC transfers which in turn causes the USB to not be > handled for > a certain time. My PC side libusb based software can cope with this fact and > retries > if it encounters USB errors in these moments. > > But of course this is what my syslog looks afterwards: > > ... > Mar 15 14:21:30 oekaluxXX kernel: [17203129.028000] usb 2-2: usbfs: > USBDEVFS_CONTROL failed cmd cbmctrl rqt 160 rq 13 len 2 ret -71 > Mar 15 14:21:30 oekaluxXX kernel: [17203129.032000] usb 2-2: usbfs: > USBDEVFS_CONTROL failed cmd cbmctrl rqt 160 rq 13 len 2 ret -71 > Mar 15 14:21:30 oekaluxXX kernel: [17203129.036000] usb 2-2: usbfs: > USBDEVFS_CONTROL failed cmd cbmctrl rqt 160 rq 13 len 2 ret -71 > Mar 15 14:21:30 oekaluxXX kernel: [17203129.040000] usb 2-2: usbfs: > USBDEVFS_CONTROL failed cmd cbmctrl rqt 160 rq 13 len 2 ret -71 > ... > > Can i get rid of these messages other than fixing USB on my device? I know, > it's > very ugly what i am doing, but it's working for that simple purpose it's been > built for > and i currently can't get USB and IEC to work at the same time. I am of > course trying > that as well, but just in case i can't i'll have to live with these errors > and would like to > know if i can suppress them.
To get rid of those messages, all you need to do is turn off CONFIG_USB_DEBUG. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel