LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2019, 06:37 PM   #1
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Rep: Reputation: 24
Wine - Authorizing Sony E-Reader for Adobe Digital Editions


I have a Sony PRST-1 E-Reader. I have installed the Sony Reader software and am able to launch it using Wine. However, the application does not recognize the e-reader; it simply says "Disconnected.". Using winecfg, I have mapped drives to the appropriate mount points. I can access these e-reader under the "dosdevices" directory; the Sony Reader application simply does not recognize them.

As an alternative, I have tried authorizing it using Adobe Digital Editions. I was able to successfully install AD 4.5. I have followed the directions here, but, again, the software is not recognizing the device.

Any advice would be appreciated.
 
Old 07-07-2019, 12:31 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,335

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Wine uses linux system calls, translating windows ones to Posix ones. Can your linux system mount the drives? If not, don't expect wine to see them.
 
Old 07-08-2019, 06:57 AM   #3
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Original Poster
Rep: Reputation: 24
Yes, I can mount the drives. Like I said in the original post, I can see the e-reader contents using the appropriate drive letter under the "dosdevices" directory. Thanks.
 
Old 07-08-2019, 11:46 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,335

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Right - mount the drives. Then try this in a terminal, and let's see what we've got
Code:
ls -l --color=always ~/.wine/dosdevices
 
Old 07-08-2019, 06:17 PM   #5
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Original Poster
Rep: Reputation: 24
Output is:

Code:
lrwxrwxrwx 1 kelly kelly 10 Jul  6 11:35 c: -> ../drive_c
lrwxrwxrwx 1 kelly kelly 10 Jul  7 19:05 com1 -> /dev/ttyS0
lrwxrwxrwx 1 kelly kelly 10 Jul  7 19:05 com2 -> /dev/ttyS1
lrwxrwxrwx 1 kelly kelly 10 Jul  7 19:05 com3 -> /dev/ttyS2
lrwxrwxrwx 1 kelly kelly 10 Jul  7 19:05 com4 -> /dev/ttyS3
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:35 d:: -> /dev/sr0
lrwxrwxrwx 1 kelly kelly 20 Jul  6 11:44 e: -> /media/kelly/SETTING
lrwxrwxrwx 1 kelly kelly 19 Jul  6 11:44 f: -> /media/kelly/READER
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:35 g:: -> /dev/sde
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:35 h:: -> /dev/sdf
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:35 i:: -> /dev/sdg
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:43 j:: -> /dev/sdc
lrwxrwxrwx 1 kelly kelly  8 Jul  6 11:43 k:: -> /dev/sdd
lrwxrwxrwx 1 kelly kelly  8 Jul  7 08:20 l:: -> /dev/sdb
lrwxrwxrwx 1 kelly kelly  1 Jul  6 11:35 z: -> /
Thanks.
 
Old 07-09-2019, 03:14 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,335

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
S*** - we lost the color. I also missed the bit in your previous post where you said you can see the contents of the drives, so we're back to the application as not measuring up, and have cleared the system. Now, talk to me about 32/64 bit. Are we all 64bit, and are you using wine64? If not, what is 32bit and what is 64bit, and have you installed a full set of 32 bit libs? Is your wine compiled as 32bit, 64bit, or both? Both, btw is quite a complicated compile.

Last edited by business_kid; 07-09-2019 at 03:23 AM.
 
Old 07-09-2019, 07:18 PM   #7
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Original Poster
Rep: Reputation: 24
My system itself is 64 bit. I installed Wine from the WineHQ repos, which included both amd64 and i386 variants. However, when I installed Adobe Digital Editions, I created a separate prefix (the output above is actually from ~/wine32/dosdevices) and set the architecture to 32 bits:
Code:
export WINEPREFIX=~/wine32
WINEARCH=win32 winecfg
Then, per the guide I was following, I simply ran:

Code:
 winetricks -q corefonts dotnet40
The install went well and then I subsequently upgraded to Digital Editions 4.5 (no configuration changes). Program seems to run fine otherwise.
Wine version is 4.0.1.
I hope this is the information you were looking for; I am new to Wine. Thanks for the help.
 
Old 07-10-2019, 05:14 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,335

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Right. That's an issue. You have a 64 bit wine and a 32bit one, and this is all going on in the 32bit one.

But the 32 bit wine is probably translating the windows into 32 bit Posix ones, requiring you to have 32 bit linux system libs installed. My guess is, that you don't. This becomes very distro specific. I know on slackware64 you can (and I have) installed a 'Multilib' system. On 32bit slackware, the libdir is /lib, or /usr/lib. On a 64bit system the libdir is /lib64 or /usr/lib64. So /lib/ld-linux.so(32bit) & /lib64/ld-linux.so can co-exist quite happily. Most distros use /lib & /usr/lib for 32 & 64 bit libs, so you can't have a 32 & 64 bit /lib/ld-linux.so. Some use /lib/32/ & /usr/lib/32/ for 32 bit libs on 64bit systems - debian & opffspring may do. I honestly am no expert here.

So what you need is 32bit compatibility libraries, and a wine version that will find them. You might try a 'locate libwine' command, as a shortcut to finding where libs are hidden.
Code:
bash-5.0$ locate libwine
/usr/lib/libwine.so
/usr/lib/libwine.so.1
/usr/lib/libwine.so.1.0
/usr/lib/wine/libwinecrt0.a
/usr/lib/wine/libwined3d.def
/usr/lib/wine/libwinevulkan.def
/usr/lib64/libwine.so
/usr/lib64/libwine.so.1
/usr/lib64/libwine.so.1.0
/usr/lib64/wine/libwinecrt0.a
/usr/lib64/wine/libwined3d.def
/usr/lib64/wine/libwinevulkan.def
bash-5.0$
You should have two sets, like the output above. Otherwise, the wine installed last will probably have overwritten the one installed first. Here's my 32 bit lib directories
Quote:
bash-5.0$ du -sh /lib /usr/lib
831M /lib
1.4G /usr/lib
bash-5.0$
Now I'm sure you don't need all of that to run wine, but you need a few hundred megs of it at least.

Last edited by business_kid; 07-10-2019 at 05:31 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Howto install Adobe Digital Editions on Ubuntu 12.04 and use it with an e-book reader LXer Syndicated Linux News 0 06-03-2012 10:31 PM
Authorizing SSH in my way adampar Linux - Security 1 09-20-2011 03:57 AM
[SOLVED] Adobe Digital Editions - with Wine nixonfamilyusa Linux - Software 2 03-01-2011 05:27 PM
Google enters digital books war with launch of Editions Jeebizz Linux - News 0 05-05-2010 12:48 PM
Authorizing Openswan VPN connection logo Linux - Networking 1 03-05-2005 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration