I failed to install my PenPower driver via Wine.

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

I failed to install my PenPower driver via Wine.

Post by Matthew_Wai »

https://www.youtube.com/watch?v=-sW9CZku0Mk
On Windows 10, I used the above PenPower Chinese writing pad.
On Linux, I cannot use it because there is no compatible driver.
How can the problem be fixed?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Lord Boltar

Re: No drivers for my PenPower Chinese writing pad

Post by Lord Boltar »

It may work under WINE but no guarantees

You may also have to install windows in a VM to get it to work the manufacturer does not support Linux
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

Lord Boltar wrote: Fri Mar 29, 2019 9:31 pm It may work under WINE but no guarantees
Is the following true?
jimallyn wrote: Fri Feb 05, 2016 9:02 pm You can't install Windows drivers in Wine.

Lord Boltar wrote: Fri Mar 29, 2019 9:31 pm You may also have to install windows in a VM to get it to work the manufacturer does not support Linux
It already works on guest Windows, but I want get it to work directly on host Linux.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Lord Boltar

Re: No drivers for my PenPower Chinese writing pad

Post by Lord Boltar »

Matthew_Wai wrote: Sat Apr 20, 2019 1:40 am
Lord Boltar wrote: Fri Mar 29, 2019 9:31 pm It may work under WINE but no guarantees
Is the following true?
jimallyn wrote: Fri Feb 05, 2016 9:02 pm You can't install Windows drivers in Wine.

Lord Boltar wrote: Fri Mar 29, 2019 9:31 pm You may also have to install windows in a VM to get it to work the manufacturer does not support Linux
It already works on guest Windows, but I want get it to work directly on host Linux.


You CAN_ install drivers and some drivers might even install properly. However the only "drivers" that Wine currently supports are the copy-protection type "drivers". In most cases these drivers doing extra checks on a system to verify presence of debuggers or any other "snooping" tools.

In the future it might be possible to use "filter" type drivers - like most USB drivers. They don't talk to hardware directly but interpret data received/sent from/to the device.

No hardware drivers are currently supported on Wine. And most likely no real hardware drivers will ever work on Wine.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

Code: Select all

matthew@matthew-pc:~$ sudo apt-get install wine-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine-stable is already the newest version (3.0-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 597 not upgraded.
matthew@matthew-pc:~$ sudo apt-get install wine64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine64 is already the newest version (3.0-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 597 not upgraded.
I have installed Wine. When I right-click on an .exe file, "Open With Wine Windows Program Loader" does not appear. When I click on "Other Application", "Wine" does not appear either. Wine is absent from the application menu when I click on the "Menu" button. What should I do?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

Code: Select all

matthew@matthew-pc:~$ winecfg
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"

Code: Select all

matthew@matthew-pc:~$ sudo apt-get install wine32
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine32:i386 is already the newest version (3.0-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 551 not upgraded.
I have just installed "wine32", but Wine is still nowhere to be found on my Mint.
Last edited by Matthew_Wai on Sun Apr 21, 2019 11:13 am, edited 1 time in total.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: 19.1 Making Wine work

Post by Matthew_Wai »

Flemur wrote: Fri Apr 19, 2019 6:47 pmMuch better to use the wine instructions specifically for Mint/Ubuntu:
https://wiki.winehq.org/Ubuntu
I ran sudo apt install --install-recommends winehq-stable and got the following:

Code: Select all

matthew@matthew-pc:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
Wine does not appear on my Mint 19 although I have installed it.
Last edited by Moem on Sun Apr 21, 2019 11:50 am, edited 1 time in total.
Reason: This post was posted in a different thread. Please keep this problem in this thread and do not hijack other people's topics. Thanks!
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: No drivers for my PenPower Chinese writing pad

Post by pbear »

That suggests you didn't install the WineHQ repository correctly.

Please run inxi -Sr in Terminal and report the output.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: 19.1 Making Wine work

Post by Flemur »

Matthew_Wai wrote: Sun Apr 21, 2019 11:08 am
E: Unable to locate package winehq-stable

Wine does not appear on my Mint 19 although I have installed it. See viewtopic.php?f=49&t=291065#p1624580
No, you haven't installed it, at least not with the commands you showed; see pbear's response to your post.
Edit: pbear posted it here, too...
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

pbear wrote: Sun Apr 21, 2019 11:25 amPlease run inxi -Sr in Terminal and report the output.

Code: Select all

matthew@matthew-pc:~$ inxi -Sr
System:    Host: matthew-pc Kernel: 4.15.0-20-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.8  Distro: Linux Mint 19 Tara
Repos:     Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com tara main upstream import backport
           deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ bionic partner
Flemur wrote: Sun Apr 21, 2019 11:50 amNo, you haven't installed it, at least not with the commands you showed;
Software Manager shows it as installed.

Wine on Software Manager.jpg
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: No drivers for my PenPower Chinese writing pad

Post by Flemur »

Matthew_Wai wrote: Sun Apr 21, 2019 1:18 pm
Flemur wrote: Sun Apr 21, 2019 11:50 amNo, you haven't installed it, at least not with the commands you showed;
Software Manager shows it as installed.
Then you installed some type of wine, but not with the commands you showed, which reported errors:

Code: Select all

E: Unable to locate package winehq-stable
because you don't have the wine repos to install winehq-stable (they're missing in the inxi output).

Try these in a terminal:

Code: Select all

wine --version
dpkg -l "*wine*" | grep ii
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

Code: Select all

matthew@matthew-pc:~$ wine --version
wine-3.0 (Ubuntu 3.0-1ubuntu1)
matthew@matthew-pc:~$ dpkg -l "*wine*" | grep ii
ii  libwine:amd64      3.0-1ubuntu1 amd64        Windows API implementation - library
ii  libwine:i386       3.0-1ubuntu1 i386         Windows API implementation - library
ii  wine-stable        3.0-1ubuntu1 all          Windows API implementation - standard suite
ii  wine32:i386        3.0-1ubuntu1 i386         Windows API implementation - 32-bit binary loader
ii  wine64             3.0-1ubuntu1 amd64        Windows API implementation - 64-bit binary loader
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: No drivers for my PenPower Chinese writing pad

Post by pbear »

Okay, so plainly you have Wine 3.0. There are three ways to install an .exe file in 3.0, but you mentioned above that you would like to have the Wine Windows Program Loader. To get that, run the following command in Terminal:

Code: Select all

sudo ln -s /usr/share/doc/wine-stable/examples/wine.desktop /usr/share/applications/
Now try right-click and report what you see.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

Wine is there.jpg
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: No drivers for my PenPower Chinese writing pad

Post by pbear »

Well, there you go. What you've done is put in a symlink so your system knows where to find the Program Loader. No one seems to know why it was hidden in 3.0, but it's been restored for 4.0.

Anyhoo, whether Wine actually will be able to solve your problem is a separate issue, but at least now you're in a position to try. Good luck.
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

I tried to install the PenPower driver, but the installation has failed. See below.

PenPower 5.jpg
PenPower 5.jpg (11.05 KiB) Viewed 2053 times

Error Number: 0x80040708
Description: Unable to create required engine components, check whether you have appropriate privileges to create COM components (0x80004005).

What should I do?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: I failed to install my PenPower driver via Wine.

Post by Hoser Rob »

From the Wine FAQ:
7.3 Can I use Wine to install drivers for my hardware?
No. Wine requires your hardware to already be working on your operating system. The technical reason for this is that Wine, like most applications, runs in user mode and not kernel mode.
You'd have to try ndiswrapper for that sort of thing but I wouldn't be optimistic. ndiswrapper has been around for years and years and if it worked properly we'd all be using it.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: I failed to install my PenPower driver via Wine.

Post by Matthew_Wai »

Could you post the link to what you quoted above?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: I failed to install my PenPower driver via Wine.

Post by pbear »

Because you want to make sure he didn't make it up? Did you try to find it yourself?

Hint: https://www.winehq.org/
Matthew_Wai
Level 5
Level 5
Posts: 522
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: No drivers for my PenPower Chinese writing pad

Post by Matthew_Wai »

What he quoted seems somewhat inconsistent with the following:
Lord Boltar wrote: Sat Apr 20, 2019 5:24 pm You CAN_ install drivers and some drivers might even install properly.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Locked

Return to “Hardware Support”