Category Archives: Hardware

SATA Some

 

from: https://superuser.com/questions/1028231/what-sata-version-do-i-have 

Model Family:     HGST Travelstar 7K1000
Device Model:     HGST HTS721010A9E630
Serial Number:    JG40006PGJL7XC
LU WWN Device Id: 5 000cca 6acc78a77
Firmware Version: JB0OA3B0
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Jan 18 00:01:09 2016 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

The signaling speeds and the sata versions supported are indicated by different bits of the data return by the IDENTIFY DEVICE command. You can see that with smartctl --identify=wb /dev/sdX | grep -i sata.

As you can see, the signal speeds supported are stored in word 76 and the versions are stored in word 222. It’s documented in ACS-3 rev 5, Table 45 — IDENTIFY DEVICE data (http://www.t13.org/Documents/UploadedDocuments/docs2013/d2161r5-ATAATAPI_Command_Set_-_3.pdf).

These are the capabilities reported by the drive itself, so don’t mix it up with what is supported by your motherboard, which is CAN BE indicated by “current:” in the smartctl output (and dmesg as told in the other answer from @Jonno)

EDIT: Here is the exact spec file your drive claim to conform with: http://www.t13.org/documents/uploadeddocuments/docs2008/d1699r6-ata8-acs.pdf (ATA8-ACS T13/1699-D revision 6). You can see the two words in Table 29 — IDENTIFY DEVICE data. As you can see, SATA 2.6 and 3.0Gb/s are the latest/maximum defined as of this revision of ACS. So I guess your drive simply doesn’t completely conform with the spec and set the 6.0Gb/s bit, which is defined later, to 1 instead of 0.

HP EliteBook model spec

820G3

i5-6300U

SOC No Chip

Intel® Dual Band Wireless-AC 8260

820G2

i5-5300U

SOC No Chip

Intel® Dual Band Wireless-AC 7265

820G1

i5-4300U

QM87

Intel® Dual Band Wireless-AC 7260

2570p

i5-3380M

QM77

Intel® Centrino® Advanced-N 6205, Dual Band

2560p

i5-2540M

QM67

Intel® Centrino® Advanced-N 6205, Dual Band

2540p

i7-640LM

QM57

Intel® Centrino® Advanced-N 6200, Dual Band

手机摄像头驱动的故事

小米发布了新机Mi 6x, 搭载Qualcomm的660 AIE处理器, Sony IMX 376前置摄像头.

一直想知道Linux是否有Qualcomm Snapdragon系列芯片的驱动,源代码如何.

通过Google搜索sony imx drivers,找到了Quamcomm Develop Network 上的一个提问.

问题的大概意思是题主希望得到 IMX 214/135的datasheet从而能够设置更具体的参数来完成一个研究。具体的参数比如FPS和曝光的时间长度。

其中提到了Snapdragon Linux Camera Interface Specification,通过搜索找到了Linux Kernel有关的内容

IMX系列本身是一个CMOS Image Sensor,随后想到了Sensor和Lens以及Motor是怎样配合的,通过搜索image sensor and lens and motor,找到了一篇文章.其中提到了ISP,也就是他来协同这个过程的。

从Kernel的文档关联搜索到了关于CSI接口的规格定义以及接口的C语言实现

QDN的问题中还提到了BSP(Board support package).

意外发现了LinuxTVPX4  (一个无人机自动驾驶的开源项目).

关于驱动:

The software that handles or manages a hardware controller is known as a device driver. The Linux kernel device drivers are, essentially, a shared library of privileged, memory resident, low level hardware handling routines. It is Linux’s device drivers that handle the peculiarities of the devices they are managing.

驱动软件是硬件提供的可以被控制的参数和数据接口,硬件功能的API,也就是接口电路可以接受的指令以及传送的数据格式定义.

拆解手机摄像头到光学元器件

至于芯片如何控制透镜的移动,快门的闭合以及光圈的大小等等firmware功能介绍要参考ARM的文章

Android平台对Camera的抽象层定义要看开发文档.

新思考电机有限公司专精于手持装置内建之自动焦功能的微型音圈马达(Auto-Focus Voice Coil Motor)的设计、研发、销售及制造是自动对焦音圈马达(Auto-Focus Voice Coil Motor)的产业先驱。

舜禹光学是中国领先的综合光学产品制造商和光学影像系统解决方案提供商.

我已经不记得这家光学科技厂商是如何进入我的视野的,我依稀记得Philips Azurion设备以及Nidek眼科设备都是光电微波计算设备这个事情可能是启发了我.

注:视频和Android文档都需要翻墙.

红外线成像及计算

从知乎上看到了一个回答 

Flir是全球最大的红外热成像厂商。

如果树梅派上装了最新的Ubuntu,dmesg会是怎样的? 可以编译最新的Android在上面吗?可以用上Tensorflow吗?有没有红外成像传感器?可以用摄像头开发一个监测开关门并打电话的应用吗?