Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) Infinity Usb Unlimited Readme
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) Hi all,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) This module provide a serial interface to use your
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) IUU unit in phoenix mode. Loading this module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bring a ttyUSB[0-x] interface. This driver must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) used by your favorite application to pilot the IUU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) This driver is still in beta stage, so bugs can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) occur and your system may freeze. As far I now,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) I never had any problem with it, but I'm not a real
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) guru, so don't blame me if your system is unstable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) You can plug more than one IUU. Every unit will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) have his own device file(/dev/ttyUSB0,/dev/ttyUSB1,...)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) How to tune the reader speed?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)  A few parameters can be used at load time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)  To use parameters, just unload the module if it is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)  already loaded and use modprobe iuu_phoenix param=value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)  In case of prebuilt module, use the command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)  insmod iuu_phoenix param=value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)  Example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	modprobe iuu_phoenix clockmode=3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)  The parameters are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) clockmode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	1=3Mhz579,2=3Mhz680,3=6Mhz (int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) boost:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	overclock boost percent 100 to 500 (int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) cdmode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	Card detect mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	0=none, 1=CD, 2=!CD, 3=DSR, 4=!DSR, 5=CTS, 6=!CTS, 7=RING, 8=!RING (int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) xmas:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	xmas color enabled or not (bool)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) debug:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	Debug enabled or not (bool)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) -  clockmode will provide 3 different base settings commonly adopted by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)    different software:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	1. 3Mhz579
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	2. 3Mhz680
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	3. 6Mhz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) -  boost provide a way to overclock the reader ( my favorite :-)  )
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)    For example to have best performance than a simple clockmode=3, try this::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)       modprobe boost=195
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)    This will put the reader in a base of 3Mhz579 but boosted a 195 % !
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)    the real clock will be now : 6979050 Hz ( 6Mhz979 ) and will increase
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)    the speed to a score 10 to 20% better than the simple clockmode=3 !!!
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) -  cdmode permit to setup the signal used to inform the userland ( ioctl answer )
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)    if the card is present or not. Eight signals are possible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) -  xmas is completely useless except for your eyes. This is one of my friend who was
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)    so sad to have a nice device like the iuu without seeing all color range available.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)    So I have added this option to permit him to see a lot of color ( each activity change the color
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)    and the frequency randomly )
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) -  debug will produce a lot of debugging messages...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Last notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)  Don't worry about the serial settings, the serial emulation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)  is an abstraction, so use any speed or parity setting will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)  work. ( This will not change anything ).Later I will perhaps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)  use this settings to deduce de boost but is that feature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)  really necessary ?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)  The autodetect feature used is the serial CD. If that doesn't
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)  work for your software, disable detection mechanism in it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)  Have fun !
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)  Alain Degreffe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)  eczema(at)ecze.com