<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54499</bug_id>
          
          <creation_ts>2025-05-27 18:28:53 +0300</creation_ts>
          <short_desc>Собрать модули ядра dummy_hcd, g_mass_storage</short_desc>
          <delta_ts>2025-05-29 11:42:51 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>New/proposed packages</product>
          <component>Обычный репозиторий</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>viy</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>265829</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-05-27 18:28:53 +0300</bug_when>
    <thetext>Полезны для создания виртуальных usb устройств, например исходя из https://gist.github.com/drygdryg/26795b9e454e08659248c8ef20e9be45 можно было бы сделать:

# export USB=&quot;virtual_usb.img&quot; &amp;&amp; \
    fallocate -l 16G &quot;$USB&quot; &amp;&amp; \
    sudo mkfs.ext4 &quot;$USB&quot; &amp;&amp; \
    sudo modprobe dummy_hcd &amp;&amp; \
    sudo modprobe g_mass_storage &quot;file=$USB&quot; idVendor=0x8564 idProduct=0x1000 iSerialNumber=C71FFD58CDF9 iManufacturer=&quot;JetFlash&quot; iProduct=&quot;Mass Storage Device&quot; removable=true cdrom=false stall=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265985</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2025-05-29 11:42:51 +0300</bug_when>
    <thetext>Прошу включить для ядра:

CONFIG_USB_GADGET=m
CONFIG_USB_RAW_GADGET=m
CONFIG_USB_DUMMY_HCD=m

Подробности: https://www.altlinux.org/Исследование_возможности_применения_raw-gadget_как_источника_USB-трафика_для_тестирования_usbredir</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>