How to give Windows app access to USB devices?

Questions about Wine on Linux
Locked
weltenmeister
Newbie
Newbie
Posts: 2
Joined: Mon Nov 25, 2013 5:27 pm

How to give Windows app access to USB devices?

Post by weltenmeister »

Hello,

I need to run Sony Update Service (aka SUS) in order to fix my bricked phone.

The software installed just fine and I can runt it. File command suggested SUS was a 32 bit software, so I used /usr/bin/wine and not /usr/bin/wine64.

But, in order to access my phone, the software needs access to the USB devices.

How do I give access to the USB to this software?

The Wiki says running Wine as root is not a good idea.

Is Wine able at all to access hardware?

Should I change the permissions at /dev/usb/ on my computer?

lsusb says my phone is ID 0fce:0193 Sony Ericsson Mobile

Which Linux USB device does this correspond?

I use openSUSE 12.3 with Wine 1.5.23 as it seems.

thank you
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: How to give Windows app access to USB devices?

Post by oiaohm »

I suspect the phone we are talking about is a Sony Xperia Z by the USB ID.
http://www.flashtool.net

If I am right flashtool latest version will be the best solution. Yes it has a Linux version and yes it supports Sony Firmware images. Yes it able to de-brick if the device can de-bricked.

Wine usb support is http://wiki.winehq.org/USB not what you call high quality.

weltenmeister wine is not really the best solution for hardware work like de-bricking something. Quite a lot of devices have Linux flashing software even if they are a vendor like Sony will not admit the existence of open source flashing tools or provide them to their own clients.
The software installed just fine and I can runt it. File command suggested SUS was a 32 bit software, so I used /usr/bin/wine and not /usr/bin/wine64.
That would have still end up in a 64 bit style wineprefix.

WINEARCH=win32 has to be used when a WINEPREFIX is create to get a 32 bit style prefix.
weltenmeister
Newbie
Newbie
Posts: 2
Joined: Mon Nov 25, 2013 5:27 pm

Re: How to give Windows app access to USB devices?

Post by weltenmeister »

oiaohm wrote:I suspect the phone we are talking about is a Sony Xperia Z by the USB ID.
http://www.flashtool.net
Thanks for this hint!

Flashtool looks great. But, the Sony tool can download the original Sony ROM from Sony servers. I doubt, if flashtool can download the original Sony ROM from the Sony servers.... this means I would have to get the Sony Xperia Z ROM somewhere from the Internet....

best regards
Locked