USB under wine with data logger

Questions about Wine on Linux
Locked
hhead
Newbie
Newbie
Posts: 4
Joined: Thu Oct 06, 2022 4:44 am

USB under wine with data logger

Post by hhead »

This seems to be the right board to post carrying on with the problem but please redirect me if not. I'm sorry its so long but I have tried hard myself to over come this problem.

I wanted to buy a temperature datalogger. So I rang the company concerned helpline and they said yes it'll be fine the configuration file is a txt file on the USB device and although it comes with software you won't need it. I bought it and got it yesterday. Not true of course.

So installed WINE and installed the software off their CD for the logger. Installs and runs fine using WINE 5 windows 7 on mint 20. Used default prefix /.wine

The problem is the device is still not recognized by the software provided which as I say runs fine. I don't have a copy of windows.

dmesg -w gives

[ 3562.109419] usb 1-2: new full-speed USB device number 11 using xhci_hcd
[ 3562.261761] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea61, bcdDevice= 1.00
[ 3562.261767] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3562.261771] usb 1-2: Product: Temper DataRecorder
[ 3562.261774] usb 1-2: Manufacturer: CEM
[ 3562.261776] usb 1-2: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
[ 3562.263115] cp210x 1-2:1.0: cp210x converter detected
[ 3562.263331] cp210x 1-2:1.0: failed to get vendor val 0x370b size 1: -32
[ 3562.263338] cp210x 1-2:1.0: querying part number failed
[ 3562.263624] cp210x ttyUSB0: failed get req 0x4 size 2 status: -32
[ 3562.263639] cp210x: probe of ttyUSB0 failed with error -32
After searching around I tried this.

This worked so I have a symbolic link between ttyUSB0 and com1.

I installed minicom and set up (as sudo) the port as com1 and gave it a run name as logger. Running minicom logger doesn't connect. I also went into REGEDIT and setup a serial device called com1.

I added serial and dialup to my group

ls -l ~/.wine/dosdevices/ now gives

ls -l ~/.wine/dosdevices/
total 0
lrwxrwxrwx 1 nrh1 nrh1 10 Oct 5 14:34 c: -> ../drive_c
lrwxrwxrwx 1 nrh1 nrh1 12 Oct 6 10:41 com1 -> /dev/ttyUSB0
etc
So I've setup a symbolic link to com1. It has rw permissions but when I looked at ttyUSB0 there is a no com1 device error.

The existing error when I plug the data logger in is still there and when I run wincfg and click on drives autodetect the following error shows in the terminal
wine: Read access denied for device L"\\??\\F:\\", FS volume label and serial are not available.
Is there any solution to this? Its very frustrating that the software itself (which is basic) runs under wine but I cannot find away of connecting to the logger.

Thanks hhead
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: USB under wine with data logger

Post by jkfloris »

Code: Select all

[ 3562.263331] cp210x 1-2:1.0: failed to get vendor val 0x370b size 1: -32
[ 3562.263338] cp210x 1-2:1.0: querying part number failed
[ 3562.263624] cp210x ttyUSB0: failed get req 0x4 size 2 status: -32
[ 3562.263639] cp210x: probe of ttyUSB0 failed with error -32
This looks like the device is not recognized (properly) by the Linux kernel.
Before Wine can use the device, it must first be recognized by Linux.
Which kernel version do you have?
hhead
Newbie
Newbie
Posts: 4
Joined: Thu Oct 06, 2022 4:44 am

Re: USB under wine with data logger

Post by hhead »

Thanks for your reply. I feared that might be the case.

5.4.0-125-generic
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: USB under wine with data logger

Post by jkfloris »

You could try to install a newer kernel.
Update ManagerViewLinux Kernels → 5.15.0-46
hhead
Newbie
Newbie
Posts: 4
Joined: Thu Oct 06, 2022 4:44 am

Re: USB under wine with data logger

Post by hhead »

That could cause more problems with my system though I might to a mint update to the next version which I'd been thinking about anyway.
hhead
Newbie
Newbie
Posts: 4
Joined: Thu Oct 06, 2022 4:44 am

Re: USB under wine with data logger

Post by hhead »

Mint update done no change. Rang the company who were ostensibly helpful and said they would get in touch with the supplier in China and see if there was Linux support. Not holding my breath. Cannot say this post question is solved though.
Locked