Page 1 of 2

(H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 20:27
by halundort
Hello together,
i have big problems to get run my Printer with VirtualBox. I try it very long time and stopped with 4.3. Now i had think i give Virtualbox a new chance but it's again the same. Maybe i make something wrong. That why i ask here and give a step by step what i had made.
Host System Lubuntu 16.04 x64 up to date.
Guest Windows 7 Ultimate x86 SP1 (latest ISO from Windows Homepage)
1. Download and install latest Virtualbox from virtualbox virtualbox-5.1_5.1.0-108711~Ubuntu~xenial_amd64
2. Download latest Extension Pack from virtualbox Oracle_VM_VirtualBox_Extension_Pack-5.1.0-108711
3. Install Extension Pack in "Oracle VM VirtualBox Manager"
4. Install Windows 7 Ultimate x86 SP1
5. Install "VirtualBox Guest Additions" in the Virtual Machine -> restart VM after VM is up -> shut down VM
6. add Printer in "Oracle VM VirtualBox Manager" with USB1.1 Controller
7. start VM

Message : No USB devices connected

What make i wrong ? I read so many in this forum and other but nothing helps me.
I hope i have gave all Informations what would be needed.

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 20:38
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Also post the results of id in the host terminal.

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 21:08
by halundort
Hello Perryg,
thanks for the quick request.Here what you want

Bus 002 Device 007: ID 0482:0015 Kyocera Corp.

In the VM comes "Usb device not recognized".
I saw the ID is 0482:0015 and in VB is only 0082:0015 (see picture). I try to change from 0082 to 0482 -> brings also nothing.

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 22:02
by Perryg
And the results of id from the host terminal?

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 22:04
by halundort
Hello Perryg,

uid=1000(laptop) gid=1000(laptop) Gruppen=1000(laptop),4(adm),7(lp),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),121(sambashare),132(vboxusers)

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 22:14
by Perryg
OK assuming that you rebooted the host after the permission change so it took effect, all that is required is the ExtPack installed and the user id to have the vboxusers group. There is no need for a filter and you should remove that and select the printer from the device tab at the top. You should then see Windows installing a driver for it and can at that point setup the printer. I also think that you should at least enable USB2 in the guest settings for optimal support.

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 22:44
by halundort
Hello Perryg,

i make all your solutions
- reboot host
- check user is in group vboxusers -> yes
- remove filter
- enable usb2
- boot guest -> select printer from the device tab at the top (in the VM) -> In the VM comes "Usb device not recognized".

Thats my problem all the time. I make 2 screenshots. Excuse they are in german.

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:02
by Perryg
Sorry I don't read German and can not translate a graphics. Then your only other recourse is to do a network share just like it was on metal. You will need to use bridged and or host-only so the host and guest can communicate.

I am moving this to Windows guest since we have eliminated Linux at this point.

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:07
by halundort
Hello Perryg,

thanks again for the quick request. 1 last question - did i need a networkconnection ?

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:17
by Perryg
Not if you use host-only. See chapter 6 in your VirtualBox users manual.

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:36
by halundort
Hello,

i try in "Oracle VM VirtualBox Manager" -> File -> Pre­fe­ren­ces -> Net­work -> host-only network -> create vboxnet0
Boot VM -> same like before. SOme more idea ?

thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:40
by Perryg
It is impossible to be the same as before unless you think does not work is the same. What exactly did you do to get the network configured and what did you do to connect to the network printer. Did you share the printer in the host?

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 15. Jul 2016, 23:52
by halundort
Hello,
First i create a Host-only network like i told before ("Oracle VM VirtualBox Manager" -> File -> Pre­fe­ren­ces -> Net­work -> host-only network -> create vboxnet0)
Then i go to my networkadapter of my VM an choose "Host-only Adapter" and Name "virtualbox0" (look picture)
- boot guest -> select printer from the device tab at the top (in the VM) -> In the VM comes "Usb device not recognized".
Did i make something wrong or did i forget something ?
thx

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 16. Jul 2016, 00:01
by Perryg
Being a network share you will not be using the USB device as type. So forget the USB part and do a normal network share from the host to the guest. Be sure to share the printer in the host and select to install a network printer in the guest.

Re: (H)Lubuntu x64 (G)Win7 x86 and USB-Printer

Posted: 16. Jul 2016, 10:06
by halundort
Hello Perryg,

thanks for your answers, but that was not im looking for. I'd like to install printer without the way over binding the network. Is there some more solution or thats the only last way with my constalation ?
I don't understand why the printer can not found in windows. Did the extrapack pass through the printer to windows or not in the moment ? It's not so that on a real system i had the same problem. And long time before i also don't have that problem and it works.

thx