Skip to contentSkip to conversation

PAC7302 short datasheet from PixArt

DISCUSSION Németh Márton 3 participants 5 messages Jan 30, 2010 – Jan 31, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · Németh Márton

Hi,

if anyone interested there is a brief overview datasheet about PixArt PAC7301/PAC7302 at
http://www.pixart.com.tw/upload/PAC7301_7302%20%20Spec%20V1_20091228174030.pdf

Márton,

First, I am glad that mouse-copying reproduces the accent in your name. If you can help explain how to reproduce such things by typing while using apine over an ssh connection, using a standard US keyboard, I would be glad of the explanation. My wife is Hungarian, and I am thus very sensitized to the importance of the question, how to do the accents required for writing Hungarian properly.

Now, as to the substance of the mail above, thanks a lot. I had a bunch of the PixArt datasheets already, but I had missed that one. I would have a question, though:

This datasheet gives a lot of information about pinouts on the sensor chip and such good stuff which might be useful if one were constructing a circuit board on which to put the chip. What it does not give, very unfortunately, is any information about the command set which needs to be sent across the USB connection, which in turn actuates the circuits which in turn sends something to the sensor across one of those pins. For example, to set green gain one has to do something on connector X. But how does one send a command from the computer which does something on connector X? Some other datasheets from some other companies (Omnivision, for example) do seem occasionally to provide such information.

Thus, a question for you or for anyone else who reads it:

Has anyone figured out any shortcuts for matching up the missing pieces of information? Probably the answer is "no" but I think this is the kind of question which is worth asking again on some periodic basis.

Theodore Kilgore

#2 lore raw
Quoted 6 lines · On Sat, 30 Jan 2010 14:56:56 -0600 (CST) Theodore Kilgore…

First, I am glad that mouse-copying reproduces the accent in your name. If you can help explain how to reproduce such things by typing while using apine over an ssh connection, using a standard US keyboard, I would be glad of the explanation. My wife is Hungarian, and I am thus very sensitized to the importance of the question, how to do the accents required for writing Hungarian properly.

Hello Theodore,

I am also using a US keyboard and I have no problem with accents and utf-8.

You must define the character encoding to 'UTF-8' and the font codeset to 'Lat2' (central Europe). The locale must be set to 'en_US.UTF-8'. Eventually, you may use the compose mechanism setting the compose character to a specific key.

In Debian, this in done at installation time, but it may be changed by dpkg-reconfigure or by hand.

The character encoding and the font codeset are in the file /etc/default/console-setup. The locale is defined in the file /etc/default/locale.

For the keyboard, in X, I set the 'compose' keyboard option to 'rwin', i.e. the right 'ms-windows' key. This is defined in the
file /etc/default/keyboard or /etc/default/console-setup:
XKBOPTIONS="compose:rwin"
To insert a composed character, press/release left-rwin, then the accent and then the character. The compose sequences may be found in the file /etc/console-setup/compose.ISO-8859-2.inc.

Cheers.

Signature · 2 lines
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
#3 lore raw
In reply to Theodore Kilgore

Hi,

Quoted 9 lines · Theodore Kilgore
Quoted 5 lines · Németh Márton

Hi,

if anyone interested there is a brief overview datasheet about PixArt PAC7301/PAC7302 at
http://www.pixart.com.tw/upload/PAC7301_7302%20%20Spec%20V1_20091228174030.pdf

Quoted 6 lines

First, I am glad that mouse-copying reproduces the accent in your name. If you can help explain how to reproduce such things by typing while using apine over an ssh connection, using a standard US keyboard, I would be glad of the explanation. My wife is Hungarian, and I am thus very sensitized to the importance of the question, how to do the accents required for writing Hungarian properly.

I just set up the Hungarian layout keyboard ( http://en.wikipedia.org/wiki/Keyboard_layout#Hungary ) in KDE and use it with UTF-8 encoding.

Regards,

Márton Németh

#4 lore raw
In reply to Theodore Kilgore

Hi,

Quoted 26 lines · Theodore Kilgore
Quoted 5 lines · Németh Márton

Hi,

if anyone interested there is a brief overview datasheet about PixArt PAC7301/PAC7302 at
http://www.pixart.com.tw/upload/PAC7301_7302%20%20Spec%20V1_20091228174030.pdf

[...]

Now, as to the substance of the mail above, thanks a lot. I had a bunch of the PixArt datasheets already, but I had missed that one. I would have a question, though:

This datasheet gives a lot of information about pinouts on the sensor chip and such good stuff which might be useful if one were constructing a circuit board on which to put the chip. What it does not give, very unfortunately, is any information about the command set which needs to be sent across the USB connection, which in turn actuates the circuits which in turn sends something to the sensor across one of those pins. For example, to set green gain one has to do something on connector X. But how does one send a command from the computer which does something on connector X? Some other datasheets from some other companies (Omnivision, for example) do seem occasionally to provide such information.

Quoted 5 lines

Thus, a question for you or for anyone else who reads it:

Has anyone figured out any shortcuts for matching up the missing pieces of information? Probably the answer is "no" but I think this is the kind of question which is worth asking again on some periodic basis.

I have created some notes about my experiments, but they are only based on trial-and-error. I started to created a PixArt PAC7301/PAC7302 Wiki page this morning but the communication protocol details I could found out is not yet finished. The page can be found at
http://linuxtv.org/wiki/index.php/PixArt_PAC7301/PAC7302 .

I hope I'll have the time to add a section about the communication protocol details I could find out from the current gspca_pac7302 driver source code and my experiments.

Regards,

Márton Németh