On 12/5/05, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Sun, 4 Dec 2005, Xiaofan Chen wrote:
> >
> > There is still a problem with hotplugging PICkit 2. Often we need to
> > plug and unplug it several times in order to get it appeared in lsusb.
> >
> > Regards,
> > Xiaofan Chen
> > http://groups.google.com/group/pickit-devel/
> >
> >
> > [EMAIL PROTECTED]:/etc/hotplug/usb$ uname -a
> > Linux ubuntu 2.6.10-5-k7 #1 Tue Apr 5 12:56:05 UTC 2005 i686 GNU/Linux
>
> Try using a more recent kernel, like 2.6.14.  In 2.6.10 there is a
> timing bug related to USB device detection and initialization.
>
> It's also possible that your problem is caused by a bad cable or a bad
> cable connection.
>
> Alan Stern


On 12/5/05, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Sun, 4 Dec 2005, Xiaofan Chen wrote:

> > There is still a problem with hotplugging PICkit 2. Often we need to
> > plug and unplug it several times in order to get it appeared in lsusb.
> >
> > Regards,
> > Xiaofan Chen
> > http://groups.google.com/group/pickit-devel/
> >
> >
> > [EMAIL PROTECTED]:/etc/hotplug/usb$ uname -a
> > Linux ubuntu 2.6.10-5-k7 #1 Tue Apr 5 12:56:05 UTC 2005 i686 GNU/Linux
>
> Try using a more recent kernel, like 2.6.14.  In 2.6.10 there is a
> timing bug related to USB device detection and initialization.
>
> It's also possible that your problem is caused by a bad cable or a bad
> cable connection.
>
> Alan Stern
>

Thanks for the reply. I just tried the latest 2.6.14.3 kernel and the same thing
happens here. Hotplugging still causes problem with PICkit 2 programmer.
Is this has anything to do with the fact it has dual configurations?
What does this "error -110" exactly mean?

Attached please find the error information.

Regards,
Xiaofan

[EMAIL PROTECTED]:~$ uname -a
Linux ubuntu 2.6.14.3 #1 Thu Dec 8 21:02:46 SGT 2005 i686 GNU/Linux
[EMAIL PROTECTED]:~$ dmesg
...
[17179781.816000] usb 1-3: device descriptor read/64, error -110
[17179781.992000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 100103 PRSC PPS PES CCS
[17179782.048000] usb 1-3: new full speed USB device using ohci_hcd
and address 37
[17179782.048000] ohci_hcd 0000:00:02.0: urb d8d32bc0 path 3 ep0out
5ec20000 cc 5 --> status -110
[17179782.252000] ohci_hcd 0000:00:02.0: urb d8d32b40 path 3 ep0out
5ec20000 cc 5 --> status -110
[17179782.456000] usb 1-3: device not accepting address 37, error -110
[17179782.528000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 100103 PRSC PPS PES CCS
[17179782.584000] usb 1-3: new full speed USB device using ohci_hcd
and address 38
[17179782.584000] ohci_hcd 0000:00:02.0: urb d8d32bc0 path 3 ep0out
5ec20000 cc 5 --> status -110
[17179782.788000] ohci_hcd 0000:00:02.0: urb d8d32bc0 path 3 ep0out
5ec20000 cc 5 --> status -110
[17179782.992000] usb 1-3: device not accepting address 38, error -110
[17179782.992000] hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0008
[17179783.868000] hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0008
[17179783.868000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 010100 CSC PPS
[17179783.868000] hub 1-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
[17179783.996000] hub 1-0:1.0: debounce: port 3: total 100ms stable
100ms status  0x100
[17179787.928000] hub 3-0:1.0: state 5 ports 8 chg 0000 evt 0020
[17179787.928000] ehci_hcd 0000:00:02.2: GetStatus port 5 status
001803 POWER si g=j CSC CONNECT
[17179787.928000] hub 3-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[17179788.056000] hub 3-0:1.0: debounce: port 5: total 100ms stable
100ms status  0x501
[17179788.112000] ehci_hcd 0000:00:02.2: port 5 full speed --> companion
[17179788.112000] ehci_hcd 0000:00:02.2: GetStatus port 5 status
003001 POWER OW NER sig=se0 CONNECT
[17179788.152000] hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0008
[17179788.152000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 010101 CSC PPS CCS
[17179788.152000] hub 1-0:1.0: port 3, status 0101, change 0001, 12 Mb/s
[17179788.280000] hub 1-0:1.0: debounce: port 3: total 100ms stable
100ms status  0x101
[17179788.352000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 100103 PRSC PPS PES CCS
[17179788.408000] usb 1-3: new full speed USB device using ohci_hcd
and address 39
[17179788.480000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus
[2] = 0x00 100103 PRSC PPS PES CCS
[17179788.556000] usb 1-3: ep0 maxpacket = 8
[17179788.572000] usb 1-3: skipped 1 descriptor after interface
[17179788.580000] usb 1-3: default language 0x0409
[17179788.588000] usb 1-3: new device strings: Mfr=1, Product=2, SerialNumber=3
[17179788.588000] usb 1-3: Product: PICkit 2 Microcontroller Programmer
[17179788.588000] usb 1-3: Manufacturer: Microchip Technology Inc.
[17179788.588000] usb 1-3: SerialNumber: PIC18F2550
[17179788.588000] usb 1-3: hotplug
[17179788.588000] usb 1-3: configuration #1 chosen from 2 choices
[17179788.596000] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
[17179788.596000] usb 1-3:1.0: hotplug
[17179788.600000] usbhid 1-3:1.0: usb_probe_interface
[17179788.600000] usbhid 1-3:1.0: usb_probe_interface - got id
[17179788.612000] drivers/usb/core/file.c: looking for a minor, starting at 96
[17179788.612000] hiddev96: USB HID v0.01 Device [Microchip Technology
Inc. PICk it 2 Microcontroller Programmer] on usb-0000:00:02.0-3
[17179788.612000] hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0008
[17179788.824000] usb 1-3: usbfs: interface 0 claimed by usbhid while
'pyk' sets  config #1
[17179788.824000] drivers/usb/core/file.c: removing 96 minor


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to