OpenWrt Forum Archive

Topic: Package kmod-video-gspca-pac7302_3.3.8-1_brcm63xx.ipk missing

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
I have a webcam wich is supported by the pac7302 driver.
I have a Huawei HG553 but I was ubable to find the right package (will be kmod-video-gspca-pac7302_3.3.8-1_brcm63xx.ipk) in Attitude Adjustment 12.09
kmod-video-gspca-pac7311_3.3.8-1_brcm63xx.ipk doesn't work.


I also compiled from sources  Attitude Adjustment 12.09, there is pac7302.c source file but there is not an option to compile it in the config menu.

How can I compile such file to obtain the package?

You can compile the Linux kernel to include the driver as follows:

  1. Do a make kernel_menuconfig, instead of the regular make menuconfig. This will bring the Linux kernel menu configuration that looks similar to the OpenWRT buildroot menu configuration.

  2. From there, you can do a search by typing a "/" and enter the Linux kernel driver's name to find out its menu location. Then, enable it.

  3. Exit the menu configuration to save the settings.

  4. Execute make as usual.

  5. When done, the newly built firmware should include the new Linux kernel with a built-in driver.

Thank you, mazillo, for your replay but unfortunately in kernel_menuconfig there is no option for PAC7302.
I didn't find it with / nor find it in USB support or Multimedia support menu.

The driver is a module for gspca-core, you can find pac7311 but no pac7302 despite the existence of pac7302.c source file.

Perhaps, you can give the pac7311 driver a try and see if that will work.

No, it don't work, that's the reason I started to search for a driver.

zoomx wrote:

Thank you, mazillo, for your replay but unfortunately in kernel_menuconfig there is no option for PAC7302.
I didn't find it with / nor find it in USB support or Multimedia support menu.

The driver is a module for gspca-core, you can find pac7311 but no pac7302 despite the existence of pac7302.c source file.

Have a look below which was excerpted from make kernel_menuconfig

 .config - Linux/arm 3.10.36 Kernel Configuration
 [...] Drivers > Multimedia support > Media USB Adapters > GSPCA based webcams
  ┌────────────────────────── GSPCA based webcams ──────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌────^(-)───────────────────────────────────────────────────┐ │  
  │ │    < >   Divio based (NW80x) USB Camera Driver                      │ │  
  │ │    < >   OV51x / OVFX2 / W996xCF USB Camera Driver                  │ │  
  │ │    < >   OV534 OV772x USB Camera Driver                             │ │  
  │ │    < >   OV534 OV965x USB Camera Driver                             │ │  
  │ │    < >   Pixart PAC207 USB Camera Driver                            │ │  
  │ │    <*>   Pixart PAC7302 USB Camera Driver                           │ │  
  │ │    < >   Pixart PAC7311 USB Camera Driver                           │ │  
  │ │    < >   SE401 USB Camera Driver                                    │ │  
  │ │    < >   SONIX Dual-Mode USB Camera Driver                          │ │  
  │ │    < >   SN9C20X USB Camera Driver                                  │ │  
  │ └────v(+)───────────────────────────────────────────────────┘ │  
  ├──────────────────────────────────────────────────────────────┤  
  │        <Select>    < Exit >    < Help >    < Save >    < Load >         │  
  └──────────────────────────────────────────────────────────────┘  

The discussion might have continued from here.