Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01) to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64 Linux

"Mr. Teo En Ming (Zhang Enming) 张恩鸣 o "Mr. Teo En Ming (Zhang Enming) 张恩鸣 o
Fri Sep 17 07:17:24 CDT 2010


Dear All,

With reference to the article entitled "USB device support in wine" by 
Alexander Morozov at http://wiki.winehq.org/USB, here is the list of 
steps I have taken to download, configure, compile and install Wine.

git clone git://source.winehq.org/git/wine.git ~/wine-git

cd ~/wine-git

Check out the development release of Wine.

git checkout wine-1.3.2

wget 
ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt

wget 
ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0002-Re-generate-some-files.txt

git am 0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt 
0002-Re-generate-some-files.txt

tools/make_makefiles

Install dependencies before building and installing Wine. Please refer 
to the article entitled "WineOn64bit" at 
http://wiki.winehq.org/WineOn64bit#head-9cca3efe8b57810a966d04db51d8000e601d7e26

Switch to superuser.

yum install alsa-lib-devel.i586 alsa-lib-devel audiofile-devel.i586 
audiofile-devel cups-devel.i586 cups-devel dbus-devel.i586 dbus-devel 
esound-devel.i586 esound-devel fontconfig-devel.i586 fontconfig-devel 
freetype-devel.i586 freetype-devel giflib-devel.i586 giflib-devel 
hal-devel.i586 hal-devel lcms-devel.i586 lcms-devel libICE-devel.i586 
libICE-devel libjpeg-devel.i586 libjpeg-devel libpng-devel.i586 
libpng-devel libSM-devel.i586 libSM-devel libusb-devel.i586 libusb-devel 
libX11-devel.i586 libX11-devel libXau-devel.i586 libXau-devel 
libXcomposite-devel.i586 libXcomposite-devel libXcursor-devel.i586 
libXcursor-devel libXext-devel.i586 libXext-devel libXi-devel.i586 
libXi-devel libXinerama-devel.i586 libXinerama-devel libxml2-devel.i586 
libxml2-devel libXrandr-devel.i586 libXrandr-devel libXrender-devel.i586 
libXrender-devel libxslt-devel.i586 libxslt-devel libXt-devel.i586 
libXt-devel libXv-devel.i586 libXv-devel libXxf86vm-devel.i586 
libXxf86vm-devel mesa-libGL-devel.i586 mesa-libGL-devel 
mesa-libGLU-devel.i586 mesa-libGLU-devel ncurses-devel.i586 
ncurses-devel openldap-devel.i586 openldap-devel openssl-devel.i586 
openssl-devel zlib-devel.i586 pkgconfig sane-backends-devel.i586 
sane-backends-devel xorg-x11-proto-devel glibc-devel.i586 prelink 
fontforge flex bison

Log out of superuser.

Install libusb 1.0 development headers.

Binary packages are located at 
http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/

wget 
http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-1.0.6-1.fc11.i586.rpm

wget 
http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-devel-1.0.6-1.fc11.i586.rpm

wget 
http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-static-1.0.6-1.fc11.i586.rpm

Switch to superuser.

rpm -ivh libusb1-1.0.6-1.fc11.i586.rpm

rpm -ivh libusb1-devel-1.0.6-1.fc11.i586.rpm

rpm -ivh libusb1-static-1.0.6-1.fc11.i586.rpm

cd /usr/include

ln -s /usr/include/libusb-1.0/libusb.h

Log out of superuser.

cd ~/wine-git

./configure

Check config.log to ensure that libusb 1.0 is detected.

grep libusb config.log

make depend

make

Switch to superuser.

make install

Log out of superuser.

Install Sony Digital Voice Editor 3.3.01 in Wine.

cd ~/downloads

wine DVESetup_EN.exe

Export the following three files (01.reg, 02.reg, and 03.reg) from the 
registry in native Windows.

01.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\5&2c3081c&0&2] 

"DeviceDesc"="Sony IC Recorder (P)"
"LocationInformation"="Sony IC Recorder (P)"
"Capabilities"=dword:00000084
"UINumber"=dword:00000000
"HardwareID"=hex(7):55,00,53,00,42,00,5c,00,56,00,69,00,64,00,5f,00,30,00,35,\ 

 
00,34,00,63,00,26,00,50,00,69,00,64,00,5f,00,30,00,32,00,37,00,31,00,26,00,\ 

 
52,00,65,00,76,00,5f,00,30,00,31,00,30,00,30,00,00,00,55,00,53,00,42,00,5c,\ 

 
00,56,00,69,00,64,00,5f,00,30,00,35,00,34,00,63,00,26,00,50,00,69,00,64,00,\ 

   5f,00,30,00,32,00,37,00,31,00,00,00,00,00
"CompatibleIDs"=hex(7):55,00,53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,\ 

 
5f,00,66,00,66,00,26,00,53,00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,\ 

 
00,30,00,30,00,26,00,50,00,72,00,6f,00,74,00,5f,00,30,00,30,00,00,00,55,00,\ 

 
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,26,00,53,\ 

 
00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,00,30,00,30,00,00,00,55,00,\ 

 
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,00,00,00,\ 

   00
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Class"="USB"
"Driver"="{36FC9E60-C465-11CF-8056-444553540000}\\0003"
"Mfg"="Sony Corporation"
"Service"="ICDUSB2"
"ConfigFlags"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\5&2c3081c&0&2\Device 
Parameters]
"ExtPropDescSemaphore"=dword:00000001
"SymbolicName"="\\??\\USB#Vid_054c&Pid_0271#5&2c3081c&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}" 


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\5&2c3081c&0&2\LogConf] 


02.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\6&3a9497ab&0&8] 

"DeviceDesc"="Sony IC Recorder (P)"
"LocationInformation"="Sony IC Recorder (P)"
"Capabilities"=dword:00000084
"UINumber"=dword:00000000
"HardwareID"=hex(7):55,00,53,00,42,00,5c,00,56,00,69,00,64,00,5f,00,30,00,35,\ 

 
00,34,00,63,00,26,00,50,00,69,00,64,00,5f,00,30,00,32,00,37,00,31,00,26,00,\ 

 
52,00,65,00,76,00,5f,00,30,00,31,00,30,00,30,00,00,00,55,00,53,00,42,00,5c,\ 

 
00,56,00,69,00,64,00,5f,00,30,00,35,00,34,00,63,00,26,00,50,00,69,00,64,00,\ 

   5f,00,30,00,32,00,37,00,31,00,00,00,00,00
"CompatibleIDs"=hex(7):55,00,53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,\ 

 
5f,00,66,00,66,00,26,00,53,00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,\ 

 
00,30,00,30,00,26,00,50,00,72,00,6f,00,74,00,5f,00,30,00,30,00,00,00,55,00,\ 

 
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,26,00,53,\ 

 
00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,00,30,00,30,00,00,00,55,00,\ 

 
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,00,00,00,\ 

   00
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Class"="USB"
"Driver"="{36FC9E60-C465-11CF-8056-444553540000}\\0007"
"Mfg"="Sony Corporation"
"Service"="ICDUSB2"
"ConfigFlags"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\6&3a9497ab&0&8\Device 
Parameters]
"ExtPropDescSemaphore"=dword:00000001
"SymbolicName"="\\??\\USB#Vid_054c&Pid_0271#6&3a9497ab&0&8#{a5dcbf10-6530-11d2-901f-00c04fb951ed}" 


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&Pid_0271\6&3a9497ab&0&8\LogConf] 


03.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ICDUSB2]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"="c:\windows\system32\drivers\ICDUSB2.sys"
"DisplayName"="Sony IC Recorder (P)"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ICDUSB2\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\ 

 
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 

 
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 

 
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 

 
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\ 

 
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\ 

   00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

Import the above three files (01.reg, 02.reg and 03.reg) into the Wine 
registry.

cd

cd .wine/drive_c/Program\ Files/Sony/ICD-P\ Series\ Driver/

cp IcdUSB2.sys ../../../windows/system32/drivers/

Double click on the Digital Voice Editor 3 icon which has been installed 
by Wine on the GNOME Desktop to launch  Digital Voice Editor 3.

ps -ef | grep wine

enming   18777     1  1 16:15 ?        00:00:00 /usr/local/bin/wineserver
enming   18783 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe MountMgr
enming   18788 18783  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe
enming   18800 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe PxHelp20
enming   18806 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe Usbhub
enming   18814 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe ICDUSB2

The Digital Voice Editor is unable to detect the Sony IC Recorder which 
has been plugged into the system via an USB cable.

lsusb

Bus 005 Device 006: ID 054c:0271 Sony Corp. IC Recorder (P)

There are no kernel modules for the Sony IC Recorder and hence no device 
node entries in /dev.

Please advise.

Thank you very much.

-- 

Yours sincerely,

Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) 
BEng(Hons)(Mechanical Engineering)
Citizenship: Singapore Citizen/Singaporean
Facebook account: Teo En Ming (Zhang Enming)
Facebook link: http://www.facebook.com/profile.php?id=100000750083982
Facebook photos: 
http://www.facebook.com/profile.php?id=100000750083982#!/profile.php?id=100000750083982&v=photos
Facebook videos: 
http://www.facebook.com/profile.php?id=100000750083982&v=app_2392950137
Mobile Phone (Starhub pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders 
(Updated 28 August 2010):-
http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html
http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html
http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore: 
http://img543.imageshack.us/img543/5052/mrteoenmingzhangenmingo.jpg





More information about the wine-devel mailing list