← Back to team overview

kernel-packages team mailing list archive

[Bug 1250605] Re: 10ec:5286 [Clevo W310CZ] Realtek Card Reader not working.

 

thanks for posting that rtsx.c but I am getting a string of compile
errors on that file; is there something else I need to include or
install?

  CC [M]  /home/kmip/Downloads/rts_pstor/rtsx.o
/home/kmip/Downloads/rts_pstor/rtsx.c: In function ‘queuecommand_lck’:
/home/kmip/Downloads/rts_pstor/rtsx.c:150:15: error: ‘struct rtsx_dev’ has no member named ‘cmnd_ready’
  complete(&dev->cmnd_ready);
               ^
/home/kmip/Downloads/rts_pstor/rtsx.c: In function ‘rtsx_suspend’:
/home/kmip/Downloads/rts_pstor/rtsx.c:313:2: error: too many arguments to function ‘rtsx_do_before_power_down’
  rtsx_do_before_power_down(chip, PM_S3, 0);
  ^
In file included from /home/kmip/Downloads/rts_pstor/rtsx.c:29:0:
/home/kmip/Downloads/rts_pstor/rtsx_chip.h:932:6: note: declared here
 void rtsx_do_before_power_down(struct rtsx_chip *chip, int pm_stat);
      ^
/home/kmip/Downloads/rts_pstor/rtsx.c: In function ‘rtsx_shutdown’:
/home/kmip/Downloads/rts_pstor/rtsx.c:400:2: error: too many arguments to function ‘rtsx_do_before_power_down’
  rtsx_do_before_power_down(chip, PM_S1, 0);
  ^
In file included from /home/kmip/Downloads/rts_pstor/rtsx.c:29:0:
/home/kmip/Downloads/rts_pstor/rtsx_chip.h:932:6: note: declared here
 void rtsx_do_before_power_down(struct rtsx_chip *chip, int pm_stat);
      ^
/home/kmip/Downloads/rts_pstor/rtsx.c: In function ‘rtsx_control_thread’:
/home/kmip/Downloads/rts_pstor/rtsx.c:426:45: error: ‘struct rtsx_dev’ has no member named ‘cmnd_ready’
   if (wait_for_completion_interruptible(&dev->cmnd_ready))
                                             ^
/home/kmip/Downloads/rts_pstor/rtsx.c:522:24: error: ‘struct rtsx_dev’ has no member named ‘control_exit’
  complete_and_exit(&dev->control_exit, 0);
                        ^
and it just goes downhill from there.  Using ubuntu 13.10

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1250605

Title:
  10ec:5286 [Clevo W310CZ] Realtek Card Reader not working.

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  I have a Clevo W310CZ. No result when i put a sd card in with ubuntu
  13.10.

  Upstream post: http://marc.info/?l=linux-mmc&m=138774674016006&w=4

  WORKAROUND: Only in 12.04, as this doesn't work for 13.10:
  1. Download:
  https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/971876/+attachment/2991730/+files/rts_bpp.tar.bz2
  2. Extract archive, edit rtsx.c:
  2.1. Remove __devinit from rtsx_probe in line 893
  2.2. Remove __devexit from rtsx_remove in line 1048
  2.3. Extract rtsx_remove from __devexit_p() in line 1074
  3. Compile with "make"
  4. As root, make install
  5. Blacklist rtsx_pci in /etc/modprobe.d/rtsx_blacklist.conf (add "blacklist rtsx_pci")
  6. 'modprobe rts_bpp'
  7. run mkinitcpio -p linux
  8. Restart the machine

  lsmod
  Module                  Size  Used by
  joydev                 17377  0
  parport_pc             32701  0
  ppdev                  17671  0
  rfcomm                 69070  12
  bnep                   19564  2
  vesafb                 13828  0
  snd_hda_codec_hdmi     41117  1
  snd_hda_codec_via      27860  1
  x86_pkg_temp_thermal    14162  0
  intel_powerclamp       14705  0
  coretemp               13435  0
  kvm_intel             138538  0
  kvm                   431315  1 kvm_intel
  crct10dif_pclmul       14289  0
  crc32_pclmul           13113  0
  ghash_clmulni_intel    13259  0
  cryptd                 20329  1 ghash_clmulni_intel
  arc4                   12608  2
  snd_hda_intel          48171  3
  snd_hda_codec         188738  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
  snd_hwdep              13602  1 snd_hda_codec
  iwldvm                237440  0
  snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
  mac80211              596969  1 iwldvm
  microcode              23518  0
  snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
  btusb                  28267  0
  bluetooth             371880  22 bnep,btusb,rfcomm
  snd_seq_midi           13324  0
  snd_seq_midi_event     14899  1 snd_seq_midi
  snd_rawmidi            30095  1 snd_seq_midi
  snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
  psmouse                97626  0
  serio_raw              13413  0
  iwlwifi               165398  1 iwldvm
  lpc_ich                21080  0
  cfg80211              479757  3 iwlwifi,mac80211,iwldvm
  wmi                    19070  0
  snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
  snd_timer              29433  2 snd_pcm,snd_seq
  i915                  655752  3
  drm_kms_helper         52651  1 i915
  video                  19318  1 i915
  snd                    69141  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
  drm                   296739  4 i915,drm_kms_helper
  mei_me                 18421  0
  mei                    77692  1 mei_me
  i2c_algo_bit           13413  1 i915
  mac_hid                13205  0
  soundcore              12680  1 snd
  lp                     17759  0
  parport                42299  3 lp,ppdev,parport_pc
  r8169                  67341  0
  mii                    13934  1 r8169
  ahci                   25819  4
  libahci                31898  1 ahci
  ---
  ApportVersion: 2.12.7-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     2909 F.... pulseaudio
  CasperVersion: 1.336ubuntu1
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131222)
  MachineType: Notebook W310CZ
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/username.seed boot=casper  quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  RelatedPackageVersions:
   linux-restricted-modules-3.12.0-7-generic N/A
   linux-backports-modules-3.12.0-7-generic  N/A
   linux-firmware                            1.117
  Tags:  trusty
  Uname: Linux 3.12.0-7-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 05/03/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.5
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: W310CZ
  dmi.board.vendor: Notebook
  dmi.board.version: V2.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Notebook
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd05/03/2013:svnNotebook:pnW310CZ:pvrNotApplicable:rvnNotebook:rnW310CZ:rvrV2.0:cvnNotebook:ct10:cvrN/A:
  dmi.product.name: W310CZ
  dmi.product.version: Not Applicable
  dmi.sys.vendor: Notebook

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1250605/+subscriptions