https://bugs.winehq.org/show_bug.cgi?id=55323
Bug ID: 55323 Summary: Windows Program Can not find USB Device Product: Wine Version: 8.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usb Assignee: wine-bugs@winehq.org Reporter: 372909853@qq.com Distribution: ---
Created attachment 74918 --> https://bugs.winehq.org/attachment.cgi?id=74918 wineusb trace log
lsusb: Bus 003 Device 008: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Key parts of the log: 0088:trace:wineusb:add_usb_device Adding new device 0x7f738800a810, vendor 0403, product 6011. 0088:trace:wineusb:add_unix_device Adding new device 00007F738801FAF0, vendor 0403, product 6011. 0088:trace:wineusb:add_unix_device Adding new device 00007F738801F9E0, vendor 0403, product 6011. 0088:trace:wineusb:add_unix_device Adding new device 00007F7388014EF0, vendor 0403, product 6011. 0088:trace:wineusb:add_unix_device Adding new device 00007F7388014E50, vendor 0403, product 6011. 0088:trace:wineusb:add_unix_device Adding new device 00007F7388014190, vendor 0403, product 6011.
I did not find any error message about my usb device. But when I click connect button the windows program report can not find the usb device.
https://bugs.winehq.org/show_bug.cgi?id=55323
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- I'd say the key part of the log is this:
warn:wineusb:add_usb_device Failed to open device: Access denied (insufficient permissions)
Strong hint, that it's likely to be a problem outside wine (perhaps needs an udev rule for user access ?).
https://bugs.winehq.org/show_bug.cgi?id=55323
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|usb |ntdll
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- (In reply to Rafał Mużyło from comment #1)
I'd say the key part of the log is this:
warn:wineusb:add_usb_device Failed to open device: Access denied (insufficient permissions)
Strong hint, that it's likely to be a problem outside wine (perhaps needs an udev rule for user access ?).
No, it's not. Lack of user space access to a device rarely means the device is unusable. Most USB devices have kernel drivers.
In this case the device is (as far as I can tell) a serial or parallel device, and it's accessed through normal NT serial or parallel interfaces, not through direct USB access, so wineusb isn't relevant here. These fixmes show that, and may or may not point to the bug:
0024:fixme:comm:set_queue_size insize 10485760 outsize 1024 unimplemented stub 0024:err:comm:get_baud_rate unknown speed 1000 0024:fixme:comm:set_queue_size insize 10485760 outsize 1024 unimplemented stub
https://bugs.winehq.org/show_bug.cgi?id=55323
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windows Program Can not |Windows program cannot find |find USB Device |serial/parallel device
https://bugs.winehq.org/show_bug.cgi?id=55323
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |serial
https://bugs.winehq.org/show_bug.cgi?id=55323
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO Keywords| |hardware
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- What app?
https://bugs.winehq.org/show_bug.cgi?id=55323
--- Comment #4 from ChangmingTian 372909853@qq.com --- (In reply to Ken Sharp from comment #3)
What app?
Download address: https://www.x3-lab.com/setup20211020.exe It is a Qi Wireless Charger Sniffer PC Client.
https://bugs.winehq.org/show_bug.cgi?id=55323
--- Comment #5 from ChangmingTian 372909853@qq.com --- Created attachment 74929 --> https://bugs.winehq.org/attachment.cgi?id=74929 comm trace log
https://bugs.winehq.org/show_bug.cgi?id=55323
--- Comment #6 from ChangmingTian 372909853@qq.com --- (In reply to Zeb Figura from comment #2)
(In reply to Rafał Mużyło from comment #1)
I'd say the key part of the log is this:
warn:wineusb:add_usb_device Failed to open device: Access denied (insufficient permissions)
Strong hint, that it's likely to be a problem outside wine (perhaps needs an udev rule for user access ?).
No, it's not. Lack of user space access to a device rarely means the device is unusable. Most USB devices have kernel drivers.
In this case the device is (as far as I can tell) a serial or parallel device, and it's accessed through normal NT serial or parallel interfaces, not through direct USB access, so wineusb isn't relevant here. These fixmes show that, and may or may not point to the bug:
0024:fixme:comm:set_queue_size insize 10485760 outsize 1024 unimplemented stub 0024:err:comm:get_baud_rate unknown speed 1000 0024:fixme:comm:set_queue_size insize 10485760 outsize 1024 unimplemented stub
I add a comm trace log.
https://bugs.winehq.org/show_bug.cgi?id=55323
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Windows program cannot find |Qi Wireless Charger Sniffer |serial/parallel device |PC Client cannot find | |serial/parallel device. URL| |https://www.x3-lab.com/setu | |p20211020.exe