Haiku USB RNDIS 認識しない

Haiku R1/Betaを使っています。

PC:HP ProBook 450 G2

Serial:JPH634BQ4F

Phone:Xiomi Redmi 12 5G

Phone OS:Xiaomi: HyperOS 2.0.11.0

Android:15

USBデザリングを使おうと思い、USB2.0またはUSB3.0ポートにUSB-C to USB-Aの充電/転送ケーブルを接続してHaikuを起動してもRNDISとして認識してくれません、Terminalでlistusb コマンドを実行したらRNDISという表示は出るのですが、ネットワーク設定の一覧表示には全くRNDISが表示されません。認識されていません。

Hello,

After connecting your phone, please share the output of:

listusb -v

And the content of /system/var/log/syslog

~/Desktop> listusb -v
[Device /dev/bus/usb/0/7]
Class … 0x00 (Defined at Interface level) ()
Subclass … 0x00 (Defined at Interface level) ()
Protocol … 0x00 (Defined at Interface level) ()
Max Endpoint 0 Packet .. 64
USB Version … 2.1
Vendor ID … 0x2717 (Xiaomi Inc.)
Product ID … 0xff80 (Mi/Redmi series (RNDIS))
Product Version … 0x0510
Manufacturer String … “Xiaomi”
Product String … “Redmi 12 5G”
Serial Number … “8ec0072fc6c8”
[Configuration 0]
Configuration String . “rndis”
[Interface 0]
[Alternate 0 active]
Class … 0xef Miscellaneous Device ()
Subclass … 0x04 (Unknown) (239:4:0)
Protocol … 0x01 (Unknown) (239:4:1)
Interface String … “RNDIS Communications Control”
[Endpoint 0]
MaxPacketSize … 1x 8 bytes
Interval … 9
Type … Interrupt
Direction … Input
[Descriptor 0]
Length … 0x05
Type … 0x24
Data … 00 10 01
[Descriptor 1]
Length … 0x05
Type … 0x24
Data … 01 00 01
[Descriptor 2]
Length … 0x04
Type … 0x24
Data … 02 00
[Descriptor 3]
Length … 0x05
Type … 0x24
Data … 06 00 01
[Interface 1]
[Alternate 0 active]
Class … 0x0a CDC Data (Unused)
Subclass … 0x00 CDC Data (Unused)
Protocol … 0x00 CDC Data (Unused)
Interface String … “RNDIS Ethernet Data”
[Endpoint 0]
MaxPacketSize … 1x 512 bytes
Interval … 0
Type … Bulk
Direction … Input
[Endpoint 1]
MaxPacketSize … 1x 512 bytes
Interval … 0
Type … Bulk
Direction … Output
[Device /dev/bus/usb/0/hub]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x03 Hub (Unused, TT per port)
Max Endpoint 0 Packet .. 9
USB Version … 3.0
Vendor ID … 0x0000
Product ID … 0x0000
Product Version … 0x0300
Manufacturer String … “HAIKU Inc.”
Product String … “XHCI RootHub”
Serial Number … “”
[Configuration 0]
Configuration String . “”
[Interface 0]
[Alternate 0 active]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x00 Hub (Unused, Full speed (or root) hub)
Interface String … “”
[Endpoint 0]
MaxPacketSize … 1x 2 bytes
Interval … 255
Type … Interrupt
Direction … Input
[Descriptor 0]
Type … 0x30 Endpoint SuperSpeed Companion
MaxBurst … 0x00
Attributes … 0x00
Bytes per Interval 0x00
[Descriptor 1]
Length … 0x09
Type … 0x29
Data … 0f 00 00 0a 00 00 ff
Hub ports count … 15
Hub Controller Current . 0mA
Port 1 status … 0100.0000 Power
Port 2 status … 0100.0000 Power
Port 3 status … 0100.0000 Power
Port 4 status … 0100.0000 Power
Port 5 status … 0100.0000 Power
Port 6 status … 0100.0000 Power
Port 7 status … 0100.0000 Power
Port 8 status … 0503.0000 Connect Enable Power
Port 9 status … 0100.0000 Power
Port 10 status … 0100.0000 Power
Port 11 status … 0100.0000 Power
Port 12 status … 02a0.0000
Port 13 status … 02a0.0000
Port 14 status … 02a0.0000
Port 15 status … 02a0.0000
[Device /dev/bus/usb/1/0/hub]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x01 Hub (Unused, Single TT)
Max Endpoint 0 Packet .. 64
USB Version … 2.0
Vendor ID … 0x8087 (Intel Corp.)
Product ID … 0x8001 (Integrated Hub)
Product Version … 0x0003
Manufacturer String … “”
Product String … “”
Serial Number … “”
[Configuration 0]
Configuration String . “”
[Interface 0]
[Alternate 0 active]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x00 Hub (Unused, Full speed (or root) hub)
Interface String … “”
[Endpoint 0]
MaxPacketSize … 1x 2 bytes
Interval … 12
Type … Interrupt
Direction … Input
Hub ports count … 8
Hub Controller Current . 0mA
Port 1 status … 0100.0000 Power
Port 2 status … 0100.0000 Power
Port 3 status … 0100.0000 Power
Port 4 status … 0100.0000 Power
Port 5 status … 0100.0000 Power
Port 6 status … 0100.0000 Power
Port 7 status … 0100.0000 Power
Port 8 status … 0100.0000 Power
[Device /dev/bus/usb/1/hub]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x00 Hub (Unused, Full speed (or root) hub)
Max Endpoint 0 Packet .. 64
USB Version … 2.0
Vendor ID … 0x0000
Product ID … 0x0000
Product Version … 0x0200
Manufacturer String … “HAIKU Inc.”
Product String … “EHCI RootHub”
Serial Number … “”
[Configuration 0]
Configuration String . “”
[Interface 0]
[Alternate 0 active]
Class … 0x09 Hub (Unused, Full speed (or root) hub)
Subclass … 0x00 Hub (Unused, Full speed (or root) hub)
Protocol … 0x00 Hub (Unused, Full speed (or root) hub)
Interface String … “”
[Endpoint 0]
MaxPacketSize … 1x 8 bytes
Interval … 255
Type … Interrupt
Direction … Input
[Descriptor 0]
Length … 0x09
Type … 0x29
Data … 02 00 00 00 00 00 ff
Hub ports count … 2
Hub Controller Current . 0mA
Port 1 status … 0503.0000 Connect Enable Power
Port 2 status … 0100.0000 Power

syslog.txt file links

The driver expects class 0xe0, subclass 01, protocol 03. at the device level. But this phone offers multiple interfaces with different protocols:

I will adjust the driver later today and let you know when I have something to test. Thanks for reporting!

2 Likes

助かりました。

助けていただいてありがとうございました。