Re: PROBLEM: conflicts with usbhid keyboard and ueagle-atm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon 17 May 2010 14:35 +0200, Khanh-Dang Nguyen Thu Lam wrote:
> > > ATM dev 0: usbatm_submit_urb: urb 0xcfa8a9a0 submission failed (-28)!
> > 
> > -28 is -ENOSPC, which means there is not enough bandwidth available on 
> > the USB bus for both devices to run at the same time.
> 
> I have found a a similar issue:
> http://www.mail-archive.com/ueagleatm-dev@xxxxxxx/msg00633.html

OK.  I now have a workaround: load ueagle_atm with altsetting=1.

>From /sbin/modinfo ueagle_atm:
altsetting:alternate setting for incoming traffic: 0=bulk, 1=isoc slowest, ... , 8=isoc fastest (default)

When ueagle_atm is loaded with default setting (altsetting=8), the two
devices cannot work together. 

With altsetting=0 (bulk mode), ueagle_atm cannot load properly.  I get:
#
[ueagle-atm] driver ueagle 1.4 loaded
usb 1-2: [ueagle-atm] ADSL device founded vid (0X1110) pid (0X900F) Rev (0X410B): Eagle I
usb 1-2: reset full speed USB device using uhci_hcd and address 3
ueagle-atm 1-2:1.0: usbatm_usb_probe: invalid endpoint 02!
usb 1-2: [UEAGLE-ATM] uea_intr() failed with -2
ueagle-atm: probe of 1-2:1.0 failed with error -22
usbcore: registered new interface driver ueagle-atm
#
This might be another ueagle_atm's issue.

Everything seems to work as expected with altsetting=1.  I haven't
tested other intermediate altsetting's values yet but I expect things to
work when this value is not too high.

I now have a question about these two lines in /proc/bus/usb/devices:
#
I:* If#= 2 Alt= 1 #EPs= 1 Cls=0a(data ) Sub=00 Prot=00 Driver=ueagle-atm
E:  Ad=88(I) Atr=01(Isoc) MxPS= 159 Ivl=1ms
#
Does it mean that ueagle-atm has allocated a bandwidth of 159B / 1ms
(i.e. 159kBi/s) for incoming data?  If so, what happens if the modem
receives more than 159kBi/s?  Does the USB specs allow the modem to use
more USB bandwidth than allocated (when in isochronous mode)?


Khanh-Dang Nguyen Thu Lam
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux