Bug 832188

Summary: new kernel support for udl (displaylink) is breaking/masking non-display devices
Product: [Fedora] Fedora Reporter: Jim Helm <perlguy>
Component: kernelAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dowdle, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-08 20:51:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix none

Description Jim Helm 2012-06-14 19:10:22 UTC
Description of problem:

Fedora 17 with the last kernel before 3.4.0, non-display devices on a dynadock U3.0 worked just fine.  Booting from current kernel (3.4.0-1.fc17.x86_64), all subdevices are being consumed by the udl driver.

usb-devices output (the simplest way I knew to show the change in behavior)

Before:

T:  Bus=04 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
P:  Vendor=17e9 ProdID=4305 Rev=00.15
S:  Manufacturer=DisplayLink
S:  Product=dynadock U3.0
S:  SerialNumber=10005287
C:  #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=03 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=01 Prot=20 Driver=snd-usb-audio
I:  If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I:  If#= 4 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio
I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
I:  If#= 6 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether

After:


T:  Bus=04 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
P:  Vendor=17e9 ProdID=4305 Rev=00.15
S:  Manufacturer=DisplayLink
S:  Product=dynadock U3.0
S:  SerialNumber=10005287
C:  #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=03 Driver=udl
I:  If#= 1 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=udl
I:  If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=01 Prot=20 Driver=udl
I:  If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=udl
I:  If#= 4 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=20 Driver=udl
I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=udl
I:  If#= 6 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=udl


As a temporary workaround, I blacklisted the udl module, and network/audio have returned.  While I'm very excited at the prospect of finally having full support for the display, my primary use of the dock is for wired network and usb-hub for my Asus UX21E, and unless there's already an upstream fix in a newer kernel, or someway to have udl only grab the display-related interfaces, I'd consider udl broken, and should probably be disabled/blacklisted by default.

I'm happy to provide any additional details to help troubleshoot/fix this, and make changes to configs to get it to work... short of compiling a custom kernel.

Comment 1 Dave Airlie 2012-06-16 06:49:16 UTC
Created attachment 592277 [details]
fix

I've sent this upstream and it will go to stable soon.

maybe we can get it into Fedora sooner.

Comment 2 Josh Boyer 2012-06-18 12:38:24 UTC
I committed it to fedora git.

Comment 3 Dave Jones 2012-06-21 20:26:37 UTC
*** Bug 834362 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2012-06-27 00:11:37 UTC
kernel-3.4.4-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kernel-3.4.4-3.fc16

Comment 5 Fedora Update System 2012-06-28 03:36:05 UTC
Package kernel-3.4.4-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.4.4-3.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10007/kernel-3.4.4-3.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-07-05 23:50:39 UTC
kernel-3.4.4-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kernel-3.4.4-4.fc16

Comment 7 Fedora Update System 2012-07-08 20:51:49 UTC
kernel-3.4.4-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.