View Single Post
Old 01-15-2014, 08:15 AM   #16
myce
Member
myce began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2012
Device: Sony PRS-T1
Quote:
Originally Posted by At_Libitum View Post
Gotten curious I've been looking at the code of 1.9 if I could see why it might think the device is not connected but I don't see any .scan at that line number.
The lines 314 to 324 in scanner.py (on github) read:
PHP Code:
    def __init__(self, *args):
        
self.scanner = (win_scanner if iswindows else osx_scanner if isosx else
                
freebsd_scanner if isfreebsd else netbsd_scanner if isnetbsd
                
else linux_scanner if islinux else libusb_scanner)
        if 
self.scanner is None:
            
self.scanner libusb_scanner
        self
.devices = []

    
def scan(self):
        
'''Fetch list of connected USB devices from operating system'''
        
self.devices self.scanner() 
So I guess win_scanner._init has some problem.
Quote:
Originally Posted by At_Libitum View Post
I did however notice a mention of 'blacklisted device' in the neighborhood of that line.

Having only used VPC in my time, I know that the virtual hd must also have a device id. Could it be that the device id that VBox has assigned to the virtual HD, happens to be, or conflicts with, a blacklisted one?
I didn't find this in the source. Were did you see it?
myce is offline   Reply With Quote