Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
9882e66f
Commit
9882e66f
authored
Jan 11, 2011
by
Claes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 62.20.65.89:/data1/git/pwr
parents
9ee87b3c
11f4dd99
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
otherio/lib/rt/src/os_linux/rt_io_m_velleman_k8055_board.c
otherio/lib/rt/src/os_linux/rt_io_m_velleman_k8055_board.c
+12
-3
src/tools/pkg/ubu/pwr/control
src/tools/pkg/ubu/pwr/control
+1
-1
src/tools/pkg/ubu/pwrdemo/build.sh
src/tools/pkg/ubu/pwrdemo/build.sh
+1
-1
No files found.
otherio/lib/rt/src/os_linux/rt_io_m_velleman_k8055_board.c
View file @
9882e66f
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "rt_io_m_usb_agent.h"
#include "rt_io_m_usb_agent.h"
#include "rt_io_m_velleman_k8055_board.h"
#include "rt_io_m_velleman_k8055_board.h"
static
int
last_usblib_sts
=
0
;
static
pwr_tStatus
IoCardInit
(
io_tCtx
ctx
,
static
pwr_tStatus
IoCardInit
(
io_tCtx
ctx
,
io_sAgent
*
ap
,
io_sAgent
*
ap
,
...
@@ -160,10 +161,14 @@ static pwr_tStatus IoCardRead( io_tCtx ctx,
...
@@ -160,10 +161,14 @@ static pwr_tStatus IoCardRead( io_tCtx ctx,
pwr_tUInt32
error_count
=
op
->
Super
.
ErrorCount
;
pwr_tUInt32
error_count
=
op
->
Super
.
ErrorCount
;
// You have to read twice to get the latest ?????
// You have to read twice to get the latest ?????
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
8
,
&
tsize
,
2
0
);
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
8
,
&
tsize
,
10
0
);
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
8
,
&
tsize
,
2
0
);
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
8
,
&
tsize
,
10
0
);
if
(
sts
!=
0
||
tsize
!=
size
)
{
if
(
sts
!=
0
||
tsize
!=
size
)
{
op
->
Super
.
ErrorCount
++
;
op
->
Super
.
ErrorCount
++
;
if
(
sts
!=
0
&&
sts
!=
last_usblib_sts
)
{
errh_Error
(
"K8055 libusb transfer error %d"
,
sts
);
last_usblib_sts
=
sts
;
}
return
IO__SUCCESS
;
return
IO__SUCCESS
;
}
}
else
{
else
{
...
@@ -278,9 +283,13 @@ static pwr_tStatus IoCardWrite( io_tCtx ctx,
...
@@ -278,9 +283,13 @@ static pwr_tStatus IoCardWrite( io_tCtx ctx,
}
}
}
}
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
size
,
&
tsize
,
2
0
);
sts
=
libusb_interrupt_transfer
(
local
->
libusb_device
,
endpoint
,
data
,
size
,
&
tsize
,
10
0
);
if
(
sts
!=
0
||
tsize
!=
size
)
{
if
(
sts
!=
0
||
tsize
!=
size
)
{
op
->
Super
.
ErrorCount
++
;
op
->
Super
.
ErrorCount
++
;
if
(
sts
!=
0
&&
sts
!=
last_usblib_sts
)
{
errh_Error
(
"K8055 libusb transfer error %d"
,
sts
);
last_usblib_sts
=
sts
;
}
return
IO__SUCCESS
;
return
IO__SUCCESS
;
}
}
...
...
src/tools/pkg/ubu/pwr/control
View file @
9882e66f
...
@@ -3,7 +3,7 @@ Version: 4.8.0-1
...
@@ -3,7 +3,7 @@ Version: 4.8.0-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.12.1-0ubuntu6), libgtk2.0-0 (>= 2.22.0-0ubuntu1), libasound2 (>= 1.0.23-1ubuntu2), libdb4.
7 (>=4.8.30-1), libdb4.7++ (>=4.8.30.
1), libmysql++3 (>= 3.0.9-1ubuntu2), g++ (>= 4:4.4.4-1ubuntu2)
Depends: libc6 (>= 2.12.1-0ubuntu6), libgtk2.0-0 (>= 2.22.0-0ubuntu1), libasound2 (>= 1.0.23-1ubuntu2), libdb4.
8 (>=4.8.30-1), libdb4.8++ (>=4.8.30-
1), libmysql++3 (>= 3.0.9-1ubuntu2), g++ (>= 4:4.4.4-1ubuntu2)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
Description: Proview development and runtime environment package
...
...
src/tools/pkg/ubu/pwrdemo/build.sh
View file @
9882e66f
...
@@ -75,7 +75,7 @@ cd $currentdir
...
@@ -75,7 +75,7 @@ cd $currentdir
echo
"Name=Proview Demo"
echo
"Name=Proview Demo"
echo
"Type=Application"
echo
"Type=Application"
echo
"Comment=Start Proview Demo"
echo
"Comment=Start Proview Demo"
echo
"Exec=xterm -title
\"
Proview Demo Console
\"
-e 'export pwra_db=
$aroot
/db;source
\$
pwra_db/pwr_setup.sh;source
\$
pwra_db/pwra_env.sh set project pwrdemo""
$ver
"";export PWR_BUS_ID=999;pwr_rtmon'"
echo
"Exec=xterm -title
\"
Proview Demo Console
\"
-e '
source /etc/pwrp_profile;
export pwra_db=
$aroot
/db;source
\$
pwra_db/pwr_setup.sh;source
\$
pwra_db/pwra_env.sh set project pwrdemo""
$ver
"";export PWR_BUS_ID=999;pwr_rtmon'"
echo
"Icon=
$aroot
/db/proview_icon.png"
echo
"Icon=
$aroot
/db/proview_icon.png"
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment