Re: XHCI, "brain-dead scanner", and microframe rounding

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear all,

Did just downgrade sane again in order to see if it really was the
combination of upgrading sane and the kernel. Seems like it only was
the kernel. Thanks again,

and kind regards,

  Gunter.

On 04.07.2015 00:05, Gunter Königsmann wrote:
> Dear all,
> 
> I just retested with the following setup: - linux kernel
> 4.1.1-040101 (stock kernel, vanilla flavour) - The newest driver
> from Epson - USB 3.0 enabled - iscan-backends from git - and the
> following line in a .rule file in /etc/udev/rules.d:
> 
> SUBSYSTEM=="usb", ATTRS{idVendor}=="04b8",
> ATTRS{idProduct}=="0133", MODE:="666", GROUP="users"
> 
> ...and THE THING WORKS!!!!
> 
> Thanks a lot for everybody who has helped making my GT-1500
> Scanner from Epson work with my Ubuntu box and USB 3.0!
> 
> Just for the record: I still get the following warnings in my udev
> log - but they don't seem to do any harm: [ 1804.097315] usb 1-2:
> new high-speed USB device number 9 using xhci_hcd [ 1804.264362]
> usb 1-2: New USB device found, idVendor=04b8, idProduct=0133 [
> 1804.264365] usb 1-2: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=0 [ 1804.264367] usb 1-2: Product: EPSON Scanner [
> 1804.264368] usb 1-2: Manufacturer: EPSON [ 1804.264527] usb 1-2:
> ep 0x81 - rounding interval to 128 microframes, ep desc says 255
> microframes [ 1804.264533] usb 1-2: ep 0x2 - rounding interval to
> 128 microframes, ep desc says 255 microframes
> 
> Seems like updating both iscan-backends and the kernel did the
> trick. Updating the epson driver seems to have made starting up the
> scanner a bit faster (but it already was quite good at it).
> 
> Thanks again, and Kind regards,
> 
> Gunter.
> 
> 
> On 24.05.2015 22:09, Mike Mammarella wrote:
>> Aww, that's too bad. Let me know if you'd like me to test a 
>> modified version when you get the time.
> 
>> --Mike Mammarella
> 
>> On May 21, 2015, at 4:18 AM, Mathias Nyman wrote:
> 
>>> Hi
>>> 
>>> The fix went upstream, but caused regression for other users,
>>> and had to be reverted. The cause of the regression was found
>>> but the new version was never properly tested and got left
>>> behind as more urgent issues arrived.
>>> 
>>> I still need to attend a few other issues before taking up
>>> this again
>>> 
>>> -Mathias
>>> 
>>> On 21.05.2015 13:38, Hans-Peter Jansen wrote:
>>>> Dear Mathias,
>>>> 
>>>> just a heads up: retesting with 4.0.4 revealed, that this
>>>> issue isn't fixed for my scanner still. To recap: driving the
>>>> scanner through a ehci port is fine, and fails miserably with
>>>> xhci.
>>>> 
>>>> OK:
>>>> 
>>>> T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480
>>>> MxCh= 4 D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64
>>>> #Cfgs=  1 P:  Vendor=1d6b ProdID=0002 Rev=04.00 S:
>>>> Manufacturer=Linux 4.0.4-2.g4f5e0d5-desktop ehci_hcd S:
>>>> Product=EHCI Host Controller S:  SerialNumber=0000:06:04.2 C:
>>>> #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA I:  If#= 0 Alt= 0 #EPs= 1
>>>> Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>>>> 
>>>> T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=480
>>>> MxCh= 0 D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64
>>>> #Cfgs=  1 P:  Vendor=04b8 ProdID=0119 Rev=01.00 S:
>>>> Manufacturer=EPSON S: Product=EPSON Scanner C:  #Ifs= 1 Cfg#=
>>>> 1 Atr=c0 MxPwr=2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.)
>>>> Sub=ff Prot=ff Driver=(none)
>>>> 
>>>> NOT OK:
>>>> 
>>>> T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 
>>>> MxCh=14 D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 
>>>> #Cfgs=  1 P:  Vendor=1d6b ProdID=0002 Rev=04.00 S: 
>>>> Manufacturer=Linux 4.0.4-2.g4f5e0d5-desktop xhci-hcd S: 
>>>> Product=xHCI Host Controller S:  SerialNumber=0000:00:14.0
>>>> C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA I:  If#= 0 Alt= 0 #EPs=
>>>> 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>>>> 
>>>> T:  Bus=06 Lev=01 Prnt=01 Port=10 Cnt=02 Dev#= 10 Spd=480
>>>> MxCh= 0 D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64
>>>> #Cfgs=  1 P:  Vendor=04b8 ProdID=0119 Rev=01.00 S:
>>>> Manufacturer=EPSON S: Product=EPSON Scanner C:  #Ifs= 1 Cfg#=
>>>> 1 Atr=c0 MxPwr=2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.)
>>>> Sub=ff Prot=ff Driver=usbfs
>>>> 
>>>> Additional notes:
>>>> 
>>>> xsane scanner discovery takes ages (20-30 secs) to find the 
>>>> scanner in the failing case. After selecting the correct 
>>>> device, it takes another delay of 20-30 secs. for presenting 
>>>> the error dialog: error during device I/O. The same
>>>> procedure with ehci takes about a second until the device
>>>> selection is shown, and another 0.5 secs later it presents
>>>> the fully functional scanning UI.
>>>> 
>>>> This behavior persists since Linux 3.16.x (where I setup
>>>> this box).
>>>> 
>>>> Please let me know, if I can be of any help for you for 
>>>> resolving this issue. I find it a little sad, that at the
>>>> dawn of USB 3.1, we still fight with such issues on the linux
>>>> USB 3.0 front. Don't forget the many frustrated users
>>>> observing this, that will not speak up.
>>>> 
>>>> Cheers, Pete
>>>> 
>>>> On Donnerstag, 29. Januar 2015 18:42:05 Mathias Nyman wrote:
>>>>> On 27.01.2015 14:12, Gunter Königsmann wrote:
>>>>>> That's very good news indeed.
>>>>>> 
>>>>>> Will re-run the tests on my scanner and looking forward
>>>>>> to the fix entering mainline. In the meantime I can 
>>>>>> acknowledge that with the fix my computer accepts USB 
>>>>>> memory sticks that normally didn't work.
>>>>>> 
>>>>>> Kind regards,
>>>>>> 
>>>>>> Gunter.
>>>>> 
>>>>> Did some cleaning of the patch, and noticed it still had a 
>>>>> few bits wrong, but apparently it worked anyway.
>>>>> 
>>>>> I added the fixes on top of the ep_reset_halt_test branch.
>>>>> 
>>>>> Can any of you with a failing scanner test that it still 
>>>>> works?
>>>>> 
>>>>> git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git
>>>>>
>>>>>
>
>>>>> 
and the ep_reset_halt_test branch,
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> -Mathias
>>>> 
>>>> -- 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
>>>> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJVlw3CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1M0YwNDdDRTY2QjkxQjBGNzI0QzU0NUQ1
Qzg2QzBFNDIxMUQ1QjhFAAoJEFyGwOQhHVuOXUEP+QG/7o/2pzVF6nodEDn3zoo5
HB0JDEVQN5kEFpan4XC8/T4EhO7y9h7by1jZMclu9lJgdqGiJl7AxjIDIxpLRpAf
wdpd8mMs9wVwvcoerIeQtg4jEmCX342vqxbYYv+BeHS1XqYMNhOymPVkQhQxOEYe
5TdJx8MIMu44DviXW01kXMZADW0A6jabVWjesYc/TgZTPy/FmarKl7805I97YISd
Ll61G19JYUEoatFssve5ATbmkZdmP78iy/Cn+/bxKlgBzmCal3VEiunL4AX0asCo
fb7HVrLLy6l1NLn3M2fzmtrAb6tbUf1M9KWagt2118SrmNZFxhNsUMjMnir4hjBa
8VpDWXR8CqwmAkdJGBUFD8T2neBl78h4qaX2BAR9BlZSr/b6JYOWowKPsTdpvo7B
W65M+7MByW52CVyZ7MQaVppqY+Y+O66pHVgB6fl/5zXzbaja8+HzM/xA4s/ZHP55
QERfCAtfDZDyQhh1auo1y70HZRTsm0DGqBAogRn+4t133E4+L0zo4t/oEuPySNC0
ZuYCueTozNfB6qLD0WLoweLsou9YErWHUnGEBkwb8JG3vLT7UrEbD8mMD4Gt25Fq
s6YHzH6H9C4ZBwtPVs71ghErhkAMjuIf6ZcG9OXPZJXaeFJs0tev00yDzj83HOoq
LH/e4x9IdpXcSngqlYjG
=jGDq
-----END PGP SIGNATURE-----
--
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