[Bug 1929902] Re: [EHL] enable USB-dw3
Following Kent's comment #18, a few additional steps are required to complete the test, as described to me by Jacob Wu from Asus. The following steps are a more detailed "step 5" from previous comment, if you will: 1. Create a device image for partition, in this case 400MB memory space: [Command] $ sudo dd if=/dev/zero of=/temp.img bs=1M count=400 [Return] 400+0 records in 400+0 records out 2. Format partition as FAT32 [Command] $ sudo mkdosfs -F 32 /temp.img [Return] mkfs.fat 4.1 (2017-01-24) 3. Load g_mass_storage for partition [Command] $ sudo modprobe g_mass_storage file=/temp.img stall=0 4. From an Ubuntu (or Windows) host, connect a cable to the USB OTG port (on Aaeon EHL board, it's the USB type C connector) of the device under test (DUT), and a new mass storage should be available in the host. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Changed in: intel/lookout-canyon Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Changed in: intel/lookout-canyon Status: New => Fix Committed ** Changed in: intel/lookout-canyon Milestone: None => sprint2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Also affects: intel/lookout-canyon Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
Test Steps: 1. In BIOS setup, enable xDCI as below : Intel Advanced Menu -> PCH-IO Configuration -> USB Configuration-> xDCI Support -> [Enabled] 2. Boot to OS 3. Check dmesg to see if BIOS pass pci device info as below : [ 4.534064] pci :00:14.0: [8086:4b7d] type 00 class 0x0c0330 [ 4.553963] pci :00:14.1: [8086:4b7e] type 00 class 0x0c03fe => dwc3 device 4. Check lspci -v :00:14.1 USB controller: Intel Corporation Device 4b7e (prog-if fe [USB Device]) Subsystem: Intel Corporation Device 7270 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at 608000 (64-bit, non-prefetchable) [size=2M] Memory at 60805e5000 (64-bit, non-prefetchable) [size=4K] Capabilities: Kernel driver in use: dwc3-pci 5. Connect Target device to a PC or Notebook via OTG Cable, check if PC or Notebook could see Target device as Mass Storage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
Hi Chao or Hsuan-Yu, may you please verify the kernel in -proposed for Focal-intel resolves this bug? Thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
Please go to BIOS and enable xDCI as below : Intel Advanced Menu -> PCH-IO Configuration -> USB Configuration-> xDCI Support -> [Enabled] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@chaoqin Tried the latest BIOS and ubuntu desktop image[1]. But, I didnt' see 0x0c03fe in dmesg log. Do I need to enable USB-dw3 in BIOS? How to enable it in BIOS settings? $ dmesg | grep -e c0330 -e c03fe [1.043065] pci :00:14.0: [8086:4b7d] type 00 class 0x0c0330 $ sudo dmidecode -s bios-version EHLSFWI1.R00.3162.A01.2104131432 $ sudo modprobe dwc3_pci $ sudo modprobe dwc3 $ lsmod | grep dwc3 dwc3 143360 0 ulpi 20480 1 dwc3 udc_core 69632 1 dwc3 dwc3_pci 20480 0 $ sudo lspci -v 00:14.0 USB controller: Intel Corporation Device 4b7d (rev 11) (prog-if 30 [XHCI]) Subsystem: Intel Corporation Device 7270 Flags: bus master, medium devsel, latency 0, IRQ 127 Memory at 600134 (64-bit, non-prefetchable) [size=64K] Capabilities: [70] Power Management version 2 Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ Capabilities: [90] Vendor Specific Information: Len=14 Capabilities: [b0] Vendor Specific Information: Len=00 Kernel driver in use: xhci_hcd Kernel modules: xhci_pci $ dpkg -l | grep linux-image ii linux-image-5.11.0-1012-intel 5.11.0-1012.14 amd64Signed kernel image generic ii linux-image-intel 5.11.0.1012.15 amd64Generic Linux kernel image $ uname -a Linux u-ehl 5.11.0-1012-intel #14-Ubuntu SMP Wed Aug 11 08:52:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux --- [1] https://private-fileshare.canonical.com/~brian/iotg-focal-desktop-20210813.img -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
Hi @chaoqin, I can't find the device "8086:4b7e", I have also tried the mainline kernel v5.14-rc6 but no luck. I also tried to boot into the UEFI shell and use the 'pci' command to list the devices, but still no luck. [1] Do I need to enable some settings in BIOS so that I can see the device "8086:4b7e"? Thanks! BIOS version: EHLSFWI1.R00.3044.A01.2101210945 -- [1] Shell> pci Seg Bus Dev Func --- --- --- 00 00 0000 ==> Bridge Device - Host/PCI bridge Vendor 8086 Device 452E Prog Interface 0 00 00 0200 ==> Display Controller - VGA/8514 controller Vendor 8086 Device 4571 Prog Interface 0 00 00 0800 ==> Base System Peripherals - Other system peripheral Vendor 8086 Device 4511 Prog Interface 0 00 00 1000 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B44 Prog Interface 0 00 00 1001 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B45 Prog Interface 0 00 00 1100 ==> Simple Communications Controllers - Other communication device Vendor 8086 Device 4B96 Prog Interface 8 00 00 1101 ==> Simple Communications Controllers - Other communication device Vendor 8086 Device 4B97 Prog Interface 9 00 00 1300 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B84 Prog Interface 14 00 00 1400 ==> Serial Bus Controllers - USB Vendor 8086 Device 4B7D Prog Interface 30 00 00 1402 ==> Memory Controller - RAM memory controller Vendor 8086 Device 4B7F Prog Interface 0 00 00 1500 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B78 Prog Interface 0 00 00 1502 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B7A Prog Interface 0 00 00 1503 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B7B Prog Interface 0 00 00 1600 ==> Simple Communications Controllers - Other communication device Vendor 8086 Device 4B70 Prog Interface 0 00 00 1700 ==> Mass Storage Controller - Serial ATA controller Vendor 8086 Device 4B63 Prog Interface 1 00 00 1900 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4B4B Prog Interface 0 00 00 1902 ==> Simple Communications Controllers - Other communication device Vendor 8086 Device 4B4D Prog Interface 0 00 00 1A00 ==> Base System Peripherals - SD Host controller Vendor 8086 Device 4B47 Prog Interface 1 00 00 1A01 ==> Base System Peripherals - SD Host controller Vendor 8086 Device 4B48 Prog Interface 1 00 00 1B00 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4BB9 Prog Interface 0 00 00 1B01 ==> Serial Bus Controllers - Other bus type Vendor 8086 Device 4BBA Prog Interface 1 00 00 1B06 ==> Serial
[Bug 1929902] Re: [EHL] enable USB-dw3
@shanelin, you can verify as following steps. [Step 1] dmesg BIOS pass pci device info as below : [4.534064] pci :00:14.0: [8086:4b7d] type 00 class 0x0c0330 [4.553963] pci :00:14.1: [8086:4b7e] type 00 class 0x0c03fe => dwc3 device … [Step 2] modprobe dwc3_pci [Step 3] lspci -v :00:14.1 USB controller: Intel Corporation Device 4b7e (prog-if fe [USB Device]) Subsystem: Intel Corporation Device 7270 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at 608000 (64-bit, non-prefetchable) [size=2M] Memory at 60805e5000 (64-bit, non-prefetchable) [size=4K] Capabilities: Kernel driver in use: dwc3-pci -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
Hi @chaoqin, The patch "0003-usb-dwc3-pci-Fix-DEFINE-for-Intel-Elkhart-Lake.usb- typec" has been backported to 5.11.0-1012.14 on proposed. [1] Could you provide how to verify it? Thanks! --- [1] https://launchpad.net/ubuntu/+source/linux-intel/5.11.0-1012.14 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Changed in: intel Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Changed in: linux-intel (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@Jesse Sung Yes, there is another commit (a609ce2a1336 usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality) for this feature and it's already included in upstream v5.11 kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@Chao Qin: Since the patch itself doesn't change the functionality or PM capabilities, do you mean that there are other patches (other than 457d22850b27de3aea336108272d08602c55fdf7) need to be merged in order to make the platform switch to low power mode when it can do so? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@Jesse Sung The following is the response from the feature owner 1. This patch doesn’t change the functionality on the usb-dw3 for EHL, it mainly renames the PCI device define to ensure no misunderstanding on there’s an LP (low power version) available. 2. As for the effect on changing this, EHL will allow the PM runtime & other logic within dwc3 to use the ACPI DSM to put the IP into low power, as it depends on the specific PMU registers programming to truly set it to low power. Meanwhile, the other dwc3-pci functionality remains unaffected. I prefer to merge it into your kernel tree and it can run into low power mode if the platform has the capability. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@Jesse Sung I am confirming with the feature owner and will update once I get reply. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
@Chao Qin: I'm wondering if we need this commit in order to fulfill the goal of enabling USB-dw3? Commit 457d22850b27de3aea336108272d08602c55fdf7 does nothing but `s/PCI_DEVICE_ID_INTEL_EHLLP/PCI_DEVICE_ID_INTEL_EHL/'. Although the commit makes it more clear, it should not affect the functionality of the driver? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1929902] Re: [EHL] enable USB-dw3
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929902 Title: [EHL] enable USB-dw3 To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1929902/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs