[Voyage-linux] Re: more on usb and latest voyage 0.2pre4 release

Punky (spam-protected)
Tue Apr 4 12:32:17 HKT 2006


Hi Mark,

Forward voyage-related question to voyage-linux to capture more attention

Can you use install stock 2.6.8 kernel in your debian machine?  I
would like to know if it is driver problem or 2.6.15-voyage specific
problem.

If you can also supply a full lsmod and dmesg output (from voyage
kernel and stock 2.4.27), I am able to do the analysis for you.

My past experience told me that:
- It may relate to hotplug that loads a wrong USB hub driver.
- It may relate to kernel configuration issue.  If you can run stock
2.6.8 kernel with your driver successfully, it can be confirmed.

Punky

On 4/4/06, Punky <punkytse at gmail.com> wrote:
> Forward to voyage list...
>
> On 4/3/06, Mark Pendrith <mpendrith at yahoo.com> wrote:
> >
> > hi Punky,
> >
> > I've tried the USB on WRAP under Voyage 0.2pre4 with a device I have
> > been using successfully for about 6 weeks continuously under Debian 3.1
> > kernel 2.4.27-2-386 (standard distro built May 16 2005).
> >
> > The USB device works only intermittently under 0.2pre4, but I am
> > wondering if it is USB power related, because the driver under Voyage
> > gives a warning about the device being 10mA over the 100mA budget (see
> > below). I know 100mA is the rated USB power maximum for WRAP without the
> > 5V modification, but I have the 5V power modification on these WRAP
> > boards which is supposed to lift this restriction and there seems to be
> > no problem when running with Debian 3.1 (which does not give these "over
> > budget" warnings.)
> >
> > I supply parts of the dmeg and lsusb -v outputs in case they yield any
> > clues as to how to get this device working under Voyage. I note the
> > different values of "PortPwrCtrlMask", and wonder if this could be an issue?
> >
> > Thanks once again for all your great efforts on this project. :) I hope
> > I can get back over to Voayage as soon as I can my USB devices working
> > reliably.
> >
> > Best regards,
> >
> > -Mark
> >
> > ---
> >
> > dmesg voyage:
> >
> > ftdi_sio 1-3.4:1.0: FTDI USB Serial Device converter detected
> > drivers/usb/serial/ftdi_sio.c: Detected FT232BM
> > usb 1-3.4: FTDI USB Serial Device converter now attached to ttyUSB0
> > usb 1-3.4: 10mA over 100mA budget!
> > usb 1-3.4: USB disconnect, address 5
> > ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from
> > ttyUSB0ftdi_sio 1-3.4:1.0: device disconnected
> > usb 1-3.1: new full speed USB device using ohci_hcd and address 6
> > ftdi_sio 1-3.1:1.0: FTDI USB Serial Device converter detected
> > drivers/usb/serial/ftdi_sio.c: Detected FT232BM
> > usb 1-3.1: FTDI USB Serial Device converter now attached to ttyUSB0
> > usb 1-3.1: 10mA over 100mA budget!
> > usb 1-3.1: USB disconnect, address 6
> > ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from
> > ttyUSB0ftdi_sio 1-3.1:1.0: device disconnected
> > usb 1-3: USB disconnect, address 4
> > usb 1-3: new full speed USB device using ohci_hcd and address 7
> > ftdi_sio 1-3:1.0: FTDI USB Serial Device converter detected
> > drivers/usb/serial/ftdi_sio.c: Detected FT232BM
> > usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
> > usb 1-3: USB disconnect, address 7
> > ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from
> > ttyUSB0ftdi_sio 1-3:1.0: device disconnected
> > voyage:/home/mark/dev#
> >
> > ---
> >
> > dmesg debian:
> >
> > usb.c: USB disconnect on device 00:13.0-3 address 10
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > disconnected from ttyUSB0
> > hub.c: new USB device 00:13.0-3, assigned address 11
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter detected
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > attached to ttyUSB0 (or usb/tts/0 for devfs)
> > usb.c: USB disconnect on device 00:13.0-3 address 11
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > disconnected from ttyUSB0
> > hub.c: new USB device 00:13.0-3, assigned address 12
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter detected
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > attached to ttyUSB0 (or usb/tts/0 for devfs)
> > ftdi_sio.c: Error unlinking urb
> > usb.c: USB disconnect on device 00:13.0-3 address 12
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > disconnected from ttyUSB0
> > hub.c: new USB device 00:13.0-3, assigned address 13
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter detected
> > usbserial.c: Home-Electronics TIRA-1 IR Transceiver converter now
> > attached to ttyUSB0 (or usb/tts/0 for devfs)
> > ftdi_sio.c: Error unlinking urb
> > debian:/tira#
> >
> > ---
> >
> > Note voyage warning mesg "10mA over 100mA budget!"
> > Debian reports "Error unlinking urb", but this seems to be benign
> >
> > ---
> >
> > lsusb debian:
> >
> > Hub Descriptor:
> >    bLength               9
> >    bDescriptorType      41
> >    nNbrPorts             3
> >    wHubCharacteristic 0x0000
> >      Ganged power switching
> >      Ganged overcurrent protection
> >    bPwrOn2PwrGood        1 * 2 milli seconds
> >    bHubContrCurrent      0 milli Ampere
> >    DeviceRemovable    0x08
> >    PortPwrCtrlMask    0x78
> >   Hub Port Status:
> >     Port 1: 0000.0100 power
> >     Port 2: 0000.0100 power
> >     Port 3: 0000.0103 power enable connect
> >
> > ---
> >
> > lsusb voyage:
> >
> > Hub Descriptor:
> >    bLength               9
> >    bDescriptorType      41
> >    nNbrPorts             3
> >    wHubCharacteristic 0x0002
> >      No power switching (usb 1.0)
> >      Ganged overcurrent protection
> >    bPwrOn2PwrGood        1 * 2 milli seconds
> >    bHubContrCurrent      0 milli Ampere
> >    DeviceRemovable    0x08
> >    PortPwrCtrlMask    0xd8
> >   Hub Port Status:
> >     Port 1: 0000.0100 power
> >     Port 2: 0000.0100 power
> >     Port 3: 0000.0103 power enable connect
> >
> > ---
> >
> > Note debian configured for "ganged power switching", PortPwrCtrlMask = 0x78
> > voyage configured for "No power switching (usb 1.0)", PortPwrCtrlMask = 0xd8
> >
> > ---
> >
>
>
> --
> --
> Regards,
> Punky
> P U N K N ! X  . c o m
> Technology + Lifestyle
> (http://www.punknix.com)
>
> Voyage Linux
> (http://www.voyage.hk/software/voyage.html)
>


--
--
Regards,
Punky
P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

Voyage Linux
(http://www.voyage.hk/software/voyage.html)




More information about the Voyage-linux mailing list