Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuration problems with usb microscope
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rajackson
n00b
n00b


Joined: 31 Dec 2007
Posts: 30
Location: Orange County California

PostPosted: Wed Jul 26, 2017 4:32 am    Post subject: Configuration problems with usb microscope Reply with quote

I am trying to get a USB microscope to work in Gentoo. The microscope shows up at work under kubunto 16.04 and works with cheese.
I have gone through the emerge sync, new world, deep whole thing. I think I am up to date (at least in the last 6-months) here is where I am:
    richardhost linux # cat /proc/version
    Linux version 3.18.7-gentoo (root@richardhost) (gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) ) #1 SMP Thu Apr 9 20:43:36 PDT 2015
    richardhost linux #

From make menuconfig:
.config - Linux/x86 4.9.34-gentoo Kernel Configuration
Code:
--- Multimedia support                                                                                                   
        *** Multimedia core support ***
           [*]   Cameras/video grabbers support                                                                                     
           [ ]   Analog TV support
           [ ]   Digital TV support
           [ ]   AM/FM radio receivers/transmitters support
           [ ]   Software defined radio support
           [ ]   Remote Controller support
           [ ]   Media Controller API
           [ ]   Enable advanced debug functionality on V4L2 drivers
           [ ]   Enable old-style fixed minor ranges on drivers/video devices
                *** Media drivers ***
                [*]   Media USB Adapters  --->
                [ ]   Media PCI Adapters  ----
                [ ]   V4L platform devices  ----
                [ ]   Memory-to-memory multimedia devices  ----
                [ ]   Media test drivers  ----
                *** Supported MMC/SDIO adapters ***
                < >   Cypress firmware helper routines
                *** Media ancillary drivers (tuners, sensors, i2c, spi, frontends) ***
                [*]   Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)
                Sensors used on soc_camera driver  ----

Code:
--- Media USB Adapters
                *** Webcam devices ***
                    <*>   USB Video Class (UVC)
                    [*]     UVC input events device support
                    <M>   GSPCA based webcams  --->
                    < >   USB Philips Cameras
                    < >   CPiA2 Video For Linux
                    < >   USB ZR364XX Camera support
                    < >   USB Syntek DC1125 Camera support
                    < >   USB Sensoray 2255 video capture device
                    < >   USBTV007 video capture support                                                                                   
                *** Webcam, TV (analog/digital) USB devices ***                                                                 
                    < >   Empia EM28xx USB devices support

    richardhost linux # dmesg
    [ 2953.240037] usb 1-1: new high-speed USB device number 4 using ehci-pci
    [ 2953.459319] usb 1-1: New USB device found, idVendor=0c45, idProduct=6300
    [ 2953.459322] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    [ 2953.459324] usb 1-1: Product: USB Camera
    [ 2953.459326] usb 1-1: Manufacturer: USB Camera
    richardhost linux #

    rajackson@richardhost ~ $ lsusb
    Bus 002 Device 008: ID 0bc2:ab38 Seagate RSS LLC
    Bus 002 Device 005: ID 0bc2:ab44 Seagate RSS LLC
    Bus 002 Device 009: ID 0409:005a NEC Corp. HighSpeed Hub
    Bus 002 Device 007: ID 0d49:7310 Maxtor OneTouch 4
    Bus 002 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
    Bus 002 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 002: ID 04b3:3025 IBM Corp. NetVista Full Width Keyboard
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 0c45:6300 Microdia PC Microscope camera
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    rajackson@richardhost ~ $

    richardhost linux # modprobe -r uvcvideo
    modprobe: FATAL: Module uvcvideo not found.
    richardhost linux #

I know I a missing something simple, just cannot see it.
_________________
There are 10 types of people, those that understand Binary and those that do not.
To Err is human, To really mess up you need a computer.
Back to top
View user's profile Send private message
russK
Guru
Guru


Joined: 27 Jun 2006
Posts: 509

PostPosted: Wed Jul 26, 2017 5:36 am    Post subject: Reply with quote

Your 'cat /proc/version' and your .config - Linux/x86 4.9.34-gentoo suggest you are not running the same kernel as the source for which you are building the driver.

Also it looks like you are not setting the config to build a module since it shows a '*' next to USB Video Class (UVC). If you want to build a loadable module, it should show as an 'M'.

HTH
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38633
Location: 56N 3W

PostPosted: Wed Jul 26, 2017 9:42 am    Post subject: Reply with quote

rajackson,

You have a case of running the 3.18.7-gentoo kernel and building 4.9.34-gentoo. Your running kernel was built at Thu Apr 9 20:43:36 PDT 2015.
I guess you forgot to mount /boot for the kernel install, or didn't update the boot loader, so it knows about your new kernel?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rajackson
n00b
n00b


Joined: 31 Dec 2007
Posts: 30
Location: Orange County California

PostPosted: Thu Jul 27, 2017 6:01 am    Post subject: Reply with quote

NeddySeagoon,
Thanks, I think that this is my problem. My
Quote:
/boot
unmounted directory has files in it. So I probably did not mount my
Quote:
/dev/sda1
partition before my make install. One of the things that I likes about operating system like QNX was that a
Code:
mount /dev/sda1 /mnt/sda1
will create a virtual /mnt/sda1 entry that does not require a directory in the filesystem, when you unmount the directory entries goes away. I realise that this has been extended to the /dev and /media directories, but it should be generalised across all mount commands. A check that /boot is not a mount point should create either a warning or error would help. I have implemented this in my make files at work so the we do not trash the development machine root when making target root file systems.
- Richard
_________________
There are 10 types of people, those that understand Binary and those that do not.
To Err is human, To really mess up you need a computer.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38633
Location: 56N 3W

PostPosted: Thu Jul 27, 2017 10:30 am    Post subject: Reply with quote

rajackson,

By default, Gentoo uses the noauto option in /etc/fstab for /boot.
Its not an error to use /boot with the partition not mounted, as a mount point and a directory are the same thing.

Either remember to mount /boot for kernel updates or remove the noauto option from /etc/fstab, so boot is always mounted.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum