找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3820|回复: 8

请教一下,关于oscam读卡器驱动的问题

[复制链接]
发表于 2018-12-1 21:19 | 显示全部楼层 |阅读模式
本帖最后由 snsd 于 2018-12-1 21:26 编辑

新人请教各位大神,我购买了一个读卡器,插在路由上,路由是OpenWrt Chaos Calmer 15.05.1 版本的系统,oscam是nx111大神的11380版本,读卡器的芯片是FT232RL,插上读卡器以后,死活读不了卡,以下是读卡日志


  • 2018/12/01 21:10:31 00000000 s   (reader) mouse [mouse] creating thread for device /dev/ttyUSB0
  • 2018/12/01 21:10:31 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
  • 2018/12/01 21:10:31 00000000 s     (main) waiting for local card init
  • 2018/12/01 21:10:31 2E644E30 r   (reader) mouse [mouse] Flush readed byte Nr 1 value f7 time_us 1980
  • 2018/12/01 21:10:31 303CC43E h    (webif) webif: decompressed 178478 bytes back into 439552 bytes
  • 2018/12/01 21:10:31 303CC43E h    (webif) HTTP Server running. ip=0.0.0.0 port=8888
  • 2018/12/01 21:10:31 2E644E30 r   (reader) mouse [mouse] Buffers readed  1 bytes total time_us 77383
  • 2018/12/01 21:10:31 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75143
  • 2018/12/01 21:10:31 2E644E30 r   (reader) mouse [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=600, cardmhz=600)
  • 2018/12/01 21:10:32 2E644E30 r   (reader) mouse [mouse] card detected
  • 2018/12/01 21:10:32 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75143
  • 2018/12/01 21:10:33 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75123
  • 2018/12/01 21:10:34 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75143
  • 2018/12/01 21:10:35 2E644E30 r   (reader) mouse [mouse] Error activating card.
  • 2018/12/01 21:10:36 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75143
  • 2018/12/01 21:10:37 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75123
  • 2018/12/01 21:10:38 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75143
  • 2018/12/01 21:10:39 2E644E30 r   (reader) mouse [mouse] Error activating card.
  • 2018/12/01 21:10:40 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75148
  • 2018/12/01 21:10:41 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75149
  • 2018/12/01 21:10:42 2E644E30 r   (reader) mouse [mouse] Buffers readed  0 bytes total time_us 75129
  • 2018/12/01 21:10:44 2E644E30 r   (reader) mouse [mouse] Error activating card.
  • 2018/12/01 21:10:44 2E644E30 r   (reader) mouse [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
  • 2018/12/01 21:10:44 2E644E30 r   (reader) mouse [mouse] card initializing error
  • 2018/12/01 21:10:45 00000000 s     (main) init for all local cards done





我已经安装了kmod-usb-serial-ftdi,kmod-usb-serial,kmod-usb2这几个驱动,但仍旧是读不了卡,卖家说这是凤凰读卡器。但我搜索了一下坛子上的帖子,把这三个驱动装上了也无济于事,请问该从哪里排查?
发表于 2018-12-1 22:11 | 显示全部楼层
读卡器可以超频?默认频率应该是357mhz,你的为什么是mhz=600, cardmhz=600,看一下读卡器频率开关是否设置正确。

点评

读卡器确实可以超频,通过不同的开关调整晶振实现的超频,开关的位置都打对了  详情 回复 发表于 2018-12-1 22:33
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-12-1 22:33 | 显示全部楼层
hnzzzyf 发表于 2018-12-1 22:11
读卡器可以超频?默认频率应该是357mhz,你的为什么是mhz=600, cardmhz=600,看一下读卡器频率开关是否设置 ...

读卡器确实可以超频,通过不同的开关调整晶振实现的超频,开关的位置都打对了

点评

那cardmhz不需要修改,只改mhz就正常了。  详情 回复 发表于 2018-12-2 06:25
回复 支持 反对

使用道具 举报

发表于 2018-12-1 22:53 | 显示全部楼层
(errno=2 No such file or directory)

点评

请问这个提示代表什么?直译的话是“没有这些文件或目录”  详情 回复 发表于 2018-12-1 22:57
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-12-1 22:57 | 显示全部楼层
505575853 发表于 2018-12-1 22:53
(errno=2 No such file or directory)

请问这个提示代表什么?直译的话是“没有这些文件或目录”
回复 支持 反对

使用道具 举报

发表于 2018-12-2 06:25 | 显示全部楼层
snsd 发表于 2018-12-1 22:33
读卡器确实可以超频,通过不同的开关调整晶振实现的超频,开关的位置都打对了

那cardmhz不需要修改,只改mhz就正常了。

点评

哥们,你真行,按照你说的,搞定了,已经可以正常读卡,真的很感谢。  详情 回复 发表于 2018-12-2 11:08
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-12-2 11:08 来自手机 | 显示全部楼层
hnzzzyf 发表于 2018-12-2 06:25
那cardmhz不需要修改,只改mhz就正常了。

哥们,你真行,按照你说的,搞定了,已经可以正常读卡,真的很感谢。

点评

楼主最后咋个修改的呢,把reader参数贴出来一下吧,包括成功的log。谢谢! 正碰到同样问题。  详情 回复 发表于 2019-5-9 10:46
回复 支持 反对

使用道具 举报

发表于 2019-2-16 12:54 | 显示全部楼层
2019/02/16 12:49:52 00000000 s     (main) System name    = Linux
2019/02/16 12:49:52 00000000 s     (main) Host name      = OSCam
2019/02/16 12:49:52 00000000 s     (main) Release        = 4.4.7
2019/02/16 12:49:52 00000000 s     (main) Version        = #8 Fri Dec 16 07:11:32 UTC 2016
2019/02/16 12:49:52 00000000 s     (main) Machine        = mips
2019/02/16 12:49:52 00000000 s     (main) creating pidfile /tmp/.oscam/oscam.pid with pid 3942
2019/02/16 12:49:52 00000000 s   (config) services reloaded: 0 services freed, 2 services loaded, rejected 0
2019/02/16 12:49:52 00000000 s      (emu) oscam-emu version 732
2019/02/16 12:49:52 00000000 s   (config) userdb reloaded: 5 accounts loaded, 0 expired, 0 disabled
2019/02/16 12:49:52 00000000 s     (main) signal handling initialized
2019/02/16 12:49:52 00000000 s   (config) 2 service-id's loaded in 1 ms
2019/02/16 12:49:52 00000000 s   (config) 1 lengths for caid guessing loaded
2019/02/16 12:49:52 00000000 s      (net) monitor: initialized (fd=6, port=988)
2019/02/16 12:49:52 00000000 s      (net) cs378x: initialized (fd=7, port=30000)
2019/02/16 12:49:52 00000000 s      (net) cs378x: initialized (fd=10, port=30001)
2019/02/16 12:49:52 00000000 s      (net) -> CAID: 0200 PROVID: FFF000, FFFF00
2019/02/16 12:49:52 00000000 s      (net) cs378x: initialized (fd=11, port=30002)
2019/02/16 12:49:52 00000000 s      (net) newcamd: initialized (fd=12, port=10000)
2019/02/16 12:49:52 00000000 s      (net) -> CAID: 0100 PROVID: FFFFFF
2019/02/16 12:49:52 00000000 s      (net) newcamd: initialized (fd=13, port=10001)
2019/02/16 12:49:52 00000000 s      (net) -> CAID: 0200 PROVID: FFF000, FFFF00
2019/02/16 12:49:52 00000000 s      (net) newcamd: initialized (fd=14, port=10002)
2019/02/16 12:49:52 00000000 s      (net) -> CAID: 0300 PROVID: FFFFFF
2019/02/16 12:49:52 00000000 s      (net) cccam: initialized (fd=15, port=40000)
2019/02/16 12:49:52 00000000 s      (net) gbox: initialized (fd=16, port=50000)
2019/02/16 12:49:52 00000000 s      (net) radegast: initialized (fd=17, port=20000)
2019/02/16 12:49:52 00000000 s   (reader) emulator [emu] creating thread for device emulator
2019/02/16 12:49:52 00000000 s   (reader) phoenix-1 [mouse] creating thread for device /dev/ttyUSB0
2019/02/16 12:49:52 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
2019/02/16 12:49:52 00000000 s     (main) waiting for local card init
2019/02/16 12:49:52 7F502F37 r      (emu) key file not found in: /etc/config/oscam
2019/02/16 12:49:52 7F502F37 r      (emu) cannot open key file path: /var/keys
2019/02/16 12:49:52 7F502F37 r   (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2019/02/16 12:49:52 00000000        (emu) info: FFDecsa parallel mode = 64
2019/02/16 12:49:52 49EB9283 h    (webif) webif: decompressed 175563 bytes back into 432072 bytes
2019/02/16 12:49:52 49EB9283 h    (webif) HTTP Server running. ip=0.0.0.0 port=8888
2019/02/16 12:49:52 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75189
2019/02/16 12:49:52 00000000   >> OSCam <<  cardserver log switched, version 1.20-unstable_svn, build r49395_9b465 (mipsel-openwrt-linux-musl)
2019/02/16 12:49:53 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75218
2019/02/16 12:49:53 7F1030D0 r   (reader) phoenix-1 [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
2019/02/16 12:49:53 7F502F37 r   (reader) emulator [emu] card detected
2019/02/16 12:49:53 7F1030D0 r   (reader) phoenix-1 [mouse] card detected
2019/02/16 12:49:53 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75217
2019/02/16 12:49:54 7F502F37 r   (reader) emulator [emu] found card system emu
2019/02/16 12:49:54 7F502F37 r   (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No  1 out of max alloted of 1
2019/02/16 12:49:54 7F502F37 r      (emu) key file not found in: /etc/config/oscam
2019/02/16 12:49:54 7F502F37 r      (emu) cannot open key file path: /var/keys
2019/02/16 12:49:55 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75234
2019/02/16 12:49:56 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75197
2019/02/16 12:49:57 7F1030D0 r   (reader) phoenix-1 [mouse] Error activating card.
2019/02/16 12:49:58 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75222
2019/02/16 12:49:59 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75201
2019/02/16 12:50:00 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75196
2019/02/16 12:50:01 7F1030D0 r   (reader) phoenix-1 [mouse] Error activating card.
2019/02/16 12:50:02 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75218
2019/02/16 12:50:03 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75268
2019/02/16 12:50:04 7F1030D0 r   (reader) phoenix-1 [mouse] Buffers readed  0 bytes total time_us 75204
2019/02/16 12:50:05 7F1030D0 r   (reader) phoenix-1 [mouse] Error activating card.
2019/02/16 12:50:06 7F1030D0 r   (reader) phoenix-1 [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
2019/02/16 12:50:06 7F1030D0 r   (reader) phoenix-1 [mouse] card initializing error
2019/02/16 12:50:06 00000000 s     (main) init for all local cards done
2019/02/16 12:50:06 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2019/02/16 12:50:06 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2019/02/16 12:50:06 00000000 s (anticasc) anti cascading log initialized
死活不读卡的,不知哪儿问题,请大神帮忙看下。
回复 支持 反对

使用道具 举报

发表于 2019-5-9 10:46 | 显示全部楼层
snsd 发表于 2018-12-2 11:08
哥们,你真行,按照你说的,搞定了,已经可以正常读卡,真的很感谢。

楼主最后咋个修改的呢,把reader参数贴出来一下吧,包括成功的log。谢谢!

正碰到同样问题。


  1. 2019/05/09 10:45:22 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75173
  2. 2019/05/09 10:45:22 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75195
  3. 2019/05/09 10:45:22 1AD79357 r   (reader) USB1 [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
  4. 2019/05/09 10:45:23 1AD79357 r   (reader) USB1 [mouse] card detected
  5. 2019/05/09 10:45:23 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75135
  6. 2019/05/09 10:45:24 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75129
  7. 2019/05/09 10:45:25 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75107
  8. 2019/05/09 10:45:26 1AD79357 r   (reader) USB1 [mouse] Error activating card.
  9. 2019/05/09 10:45:27 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75157
  10. 2019/05/09 10:45:28 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75188
  11. 2019/05/09 10:45:29 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75152
  12. 2019/05/09 10:45:30 1AD79357 r   (reader) USB1 [mouse] Error activating card.
  13. 2019/05/09 10:45:31 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75133
  14. 2019/05/09 10:45:32 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75161
  15. 2019/05/09 10:45:33 1AD79357 r   (reader) USB1 [mouse] Buffers readed  0 bytes total time_us 75195
  16. 2019/05/09 10:45:34 1AD79357 r   (reader) USB1 [mouse] Error activating card.
  17. 2019/05/09 10:45:35 1AD79357 r   (reader) USB1 [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
  18. 2019/05/09 10:45:35 1AD79357 r   (reader) USB1 [mouse] card initializing error
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-25 13:18

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表