Skip to content

Enable SCSI Generic Kernel Support/Module #540

Closed

Description

@jolouis

Please enable compilation of the SCSI Generic Kernel Module (sg.ko) as defined by:
CONFIG_CHR_DEV_ST=m
in kernel configuration. This is mainly to support cameras and Digital Picture Frames that rely on this low-level interface in order to communicate with gphoto.

The driver is in the mainline kernel and has been for a long time, it just needs to be enabled and compiled in order to be useful.

Activity

  1. popcornmix commented on Mar 5, 2014

    @popcornmix
    Collaborator

    I believe this is enabled.

    $ uname -a
    Linux raspberrypi 3.10.30+ #922 PREEMPT Fri Feb 14 13:10:46 GMT 2014 armv6l GNU/Linux
    $ zcat /proc/config.gz |grep CHR_DEV_ST
    CONFIG_CHR_DEV_ST=m
    
  2. jolouis commented on Mar 5, 2014

    @jolouis
    Author

    Sorry my bad that's what I get for posting after spending hours fighting kernels. The SCSI Generic module is SG, not ST. So kernel config needed is:

    CONFIG_CHR_DEV_SG=m
    

    I did an update via rpi-update last night and am showing:

    $ uname -a
    Linux raspberrypi 3.10.32+ #648 PREEMPT Fri Feb 28 16:29:56 GMT 2014 armv6l GNU/Linux
    $zcat /proc/config.gz |grep CHR_DEV_SG
    # CONFIG_CHR_DEV_SG is not set
    
    
  3. popcornmix commented on Mar 5, 2014

    @popcornmix
    Collaborator

    Okay, added to linux tree. Will be in next firmware build.

  4. jolouis commented on Mar 6, 2014

    @jolouis
    Author

    Awesome thanks!

  5. popcornmix commented on Mar 7, 2014

    @popcornmix
    Collaborator

    This is now in latest rpi-update firmware.

  6. added a commit that references this issue on Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions