Home arrow Forum arrow Archived Forum
FreakLabs Forum
Welcome, Guest
Please Login or Register.    Lost Password?
time outs (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: time outs
#955
Jon Smirl (User)
Journeyman Freak
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
time outs 5 Years, 3 Months ago Karma: -2  
I'm getting timeouts again....

Bus 001 Device 002: ID 03eb:2018 Atmel Corp. at90usbkey sample firmware (CDC ACM)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x03eb Atmel Corp.
idProduct 0x2018 at90usbkey sample firmware (CDC ACM)
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
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 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x00
bDataInterface 1
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
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 255
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data

wMaxPacketSize 0x0010 1x 16 bytes
bInterval 0
can't get device qualifier: Connection timed out
can't get debug descriptor: Connection timed out
cannot read device status, Connection timed out (110)

dmesg .....

usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/10
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 10 ret -110
usb 1-1: lsusb timed out on ep0in len=0/4
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
usb 1-1: lsusb timed out on ep0in len=0/2
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 0 len 2 ret -110
usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/255
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110
usb 1-1: lsusb timed out on ep0in len=0/10
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 10 ret -110
usb 1-1: lsusb timed out on ep0in len=0/4
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
usb 1-1: lsusb timed out on ep0in len=0/2
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 0 len 2 ret -110


hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 1-1: new full speed USB device using uhci_hcd and address 3
usb 1-1: ep0 maxpacket = 16
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: skipped 4 descriptors after interface
usb 1-1: default language 0x0409
usb 1-1: New USB device found, idVendor=03eb, idProduct=2018
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: FreakLabs RP AVRUSB Virtual COM Port
usb 1-1: Manufacturer: FreakLabs
usb 1-1: SerialNumber: Beta 0.50
usb 1-1: uevent
usb 1-1: usb_probe_device
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#956
Akiba (Admin)
Admin
Posts: 1245
graph
User Online Now Click here to see the profile of this user
Re:time outs 5 Years, 3 Months ago Karma: 25  
Try using the latest code and see if it still happens. As I mentioned, there have been some bug fixes on the USB stack.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#957
Jon Smirl (User)
Journeyman Freak
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:time outs 5 Years, 3 Months ago Karma: -2  
I updated to svn rev 21. Descriptors can list now without a timeout.

I use a git script to put my check-in version into the device ID string. Can you do that for svn? That would make it easier to identify the version on bug reports.

Like this maybe?
iSerial 3 Beta 0.50-r21

Now I'm back to the timeout when I try to open the ttyACM0 device. If I power cycle the device a couple of times it will randomly start working.


cdc_acm 1-1:1.0: usb_probe_interface
cdc_acm 1-1:1.0: usb_probe_interface - got id
cdc_acm 1-1:1.0: This device cannot do calls on its own. It is no modem.
cdc_acm 1-1:1.0: ttyACM0: USB ACM device
usb 1-1: adding 1-1:1.1 (config #1, interface 1)
usb 1-1:1.1: uevent
drivers/usb/core/inode.c: creating file '006'
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002
usb 1-1:1.0: uevent
usb 1-1: uevent
uhci_hcd 0000:00:1a.0: reserve dev 6 ep82-INT, period 128, phase 0, 17 us
uhci_hcd 0000:00:1a.0: release dev 6 ep82-INT, period 128, phase 0, 17 us
uhci_hcd 0000:00:1a.0: reserve dev 6 ep82-INT, period 128, phase 0, 17 us
usb 1-1: picocom timed out on ep0out len=0/0
uhci_hcd 0000:00:1a.0: release dev 6 ep82-INT, period 128, phase 0, 17 us
uhci_hcd 0000:00:1a.0: reserve dev 6 ep82-INT, period 128, phase 0, 17 us
usb 1-1: picocom timed out on ep0out len=0/0
uhci_hcd 0000:00:1a.0: release dev 6 ep82-INT, period 128, phase 0, 17 us
jonsmirl@terra:~$


It worked this time...
I unplugged/plugged the device.

nolock is : no
send_cmd is : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

TEST_AVR: Command not recognized.


********** FreakZ Main Menu **************
* *
******************************************
FreakZ>>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#967
Akiba (Admin)
Admin
Posts: 1245
graph
User Online Now Click here to see the profile of this user
Re:time outs 5 Years, 3 Months ago Karma: 25  
Pretty weird. I'll check it out, but it might take a while. I need to assemble the boards that just came back.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1082
Akiba (Admin)
Admin
Posts: 1245
graph
User Online Now Click here to see the profile of this user
Re:time outs 5 Years, 3 Months ago Karma: 25  
I might have caught a break on this issue. I couldn't reproduce it on my Raven USB sticks but I can see it when I run my code through the JTAG debugger on my new boards. I'll investigate it some more and let you know how it goes.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9082
diablopop (Visitor)
Apprentice Freak
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:time outs 1 Year, 11 Months ago Karma: 0  
your artice is fine ,thinks!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop