Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
819 stars 188 forks source link

Serial Port Redirection Issue #824

Open outofsight opened 6 months ago

outofsight commented 6 months ago

I'm trying to convert few old Windows 7 PC and some new minipc to ThinStation but I'm experiencing a problem with one of them because of the following periperhal not properly redirected.

          *-usb:1 UNCLAIMED
               description: Generic USB device
               product: Coder Light
               vendor: Silicon Labs
               physical id: 4
               bus info: usb@1:4
               version: 1.00
               serial: %A%SD203...
               capabilities: usb-1.10
               configuration: maxpower=100mA speed=12Mbit/s
          *-usb:5
               description: Generic USB device
               product: USB-Serial Controller D
               vendor: Prolific Technology Inc.
               physical id: d
               bus info: usb@1:d
               version: 4.00
               capabilities: usb-1.10
               configuration: driver=pl2303 maxpower=100mA speed=12Mbit/s

Both of them, under Windows 7, with proper drivers, appears as COM ports.

The first one is a special card reader/encoder/printer designed to be used with a specific Windows application from the same manufacturer. I don't think Linux drivers exists. But apparently I can successfully redirect with /usb:id:1411:0019 command line option. The devices apparently can be operated by the remote application.

But the wole application doens't works and I think it's related to the second device. Attached to Prolific USB to Serial converter there is a special Epson Serial Printer. The printer is not found by the application.

I currently use /serial:COM12,/dev/ttyUSB0 to redirect the serial port. The port is listed in change port /query on the remote windows desktop but the application cannot talk to the printer.

I was wondering if redirecting with /usb:id:067b:2303 could solve the issue but this doesn't works: serial port is not present in remote windows desktop. Could be caused by the fact a driver is loaded for Prolific adapter? There is a way to prevent?

There is something else I can try? for example, does I need to explicitely set serial port parameters as in windows to 9600,n,8,1 with UART? How to do in TS?

Thanks

Doncuppjr commented 6 months ago

There is a setserial utility, but maybe there is a driver on TS side that is occupying the device.  On Tuesday, May 7, 2024 at 02:59:29 AM MDT, outofsight @.***> wrote:

I'm trying to convert few old Windows 7 PC and some new minipc to ThinStation but I'm experiencing a problem with one of them because of the following periperhal not properly redirected. *-usb:1 UNCLAIMED description: Generic USB device product: Coder Light vendor: Silicon Labs physical id: 4 bus info: @.:4 version: 1.00 serial: %A%SD203... capabilities: usb-1.10 configuration: maxpower=100mA speed=12Mbit/s -usb:5 description: Generic USB device product: USB-Serial Controller D vendor: Prolific Technology Inc. physical id: d bus info: **@.***:d version: 4.00 capabilities: usb-1.10 configuration: driver=pl2303 maxpower=100mA speed=12Mbit/s

Both of them, under Windows 7, with proper drivers, appears as COM ports.

The first one is a special card reader/encoder/printer designed to be used with a specific Windows application from the same manufacturer. I don't think Linux drivers exists. But apparently I can successfully redirect with /usb:id:1411:0019 command line option. The devices apparently can be operated by the remote application.

But the wole application doens't works and I think it's related to the second device. Attached to the device there is a special Epson Serial Printer. The printer is not found by the application.

I currently use domething like /serial:COM12,/dev/ttyUSB0 to redirect the serial port. The port is present in change port /query list on the remote windows desktop but the application cannot talk to the printer.

I was wondering if redirecting with /usb:id:067b:2303 could solve the issue but this doesn't works: serial port is not present in remote windows desktop. Could be caused by the fact a driver is loaded for Prolific adapter? There is a way to prevent?

There is something else I can try? for example, does I need to explicitely set serial port parameters as in windows to 9600,n,8,1 with UART? How to do in TS?

Thanks

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>