Opened 13 years ago

Closed 13 years ago

#1413 closed defect (fixed)

The serial port for SSSP is not initialized.

Reported by: AndreyUA Owned by:
Priority: critical Component: General
Severity: high Keywords: SSSP router
Cc: Sensitive: no

Description

Revision

after r3152

Issue Description

OSCAM does not work with the tuner on the protocol SSSP. The serial port for SSSP is not initialized. In the logs there is no line

serial: initialized (pid = 317, auto @ / dev/usb/tts/0)

and the keys to the tuner cannot be sent.

When the issue occurs

After start OSCAM

How the issue is reproducable

OSCAM run on the router mips architecture (Asus w500GP, dlink dir-320, etc) with the tuner on the protocol SSSP

See this topic on the forum http://oscam.ump2002.net/board/thread.php?threadid=3980

Attachments (1)

module-serial.c (27.5 KB ) - added by lattjo 13 years ago.
modified module_serial

Download all attachments as: .zip

Change History (4)

comment:1 by lattjo, 13 years ago

Please try with attached file and post debug log in forum thread

comment:2 by AndreyUA, 13 years ago

after replacing the file, I cannot compile the source code:

-- Unknown cross system name: <Linux>
-- pthread found. Adding pthread support
-- openssl not found.
-- librt found (needed by libusb).
-- no libusb 1.0 found. No smartreader support
--
-- operating system: Unknown
-- system type: mips-unknown-unknown
-- system: unknown
-- cpu: mips
-- hw: unknown
-- use built-in aes functions
-- use built-in sha functions
-- use system pthread functions
--
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/oscam-svn/build_dir
[ 1%] Building C object CMakeFiles/csmodules.dir/module-stat.o
[ 2%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
[ 4%] Building C object CMakeFiles/csmodules.dir/module-datastruct-llist.o
[ 5%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
[ 7%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
[ 8%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
[ 10%] Building C object CMakeFiles/csmodules.dir/module-coolapi.o
[ 11%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
[ 12%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
[ 14%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
[ 15%] Building C object CMakeFiles/csmodules.dir/module-serial.o
/usr/src/oscam-svn/module-serial.c: In function 'oscam_ser_auth_client':
/usr/src/oscam-svn/module-serial.c:578: error: 'struct s_client' has no member named 'usr'
/usr/src/oscam-svn/module-serial.c: In function 'oscam_ser_fork':
/usr/src/oscam-svn/module-serial.c:891: error: 'struct s_client' has no member named 'usr'
make[2]: * [CMakeFiles/csmodules.dir/module-serial.o] Error 1
make[1]:
* [CMakeFiles/csmodules.dir/all] Error 2
make: * [all] Error 2

by lattjo, 13 years ago

Attachment: module-serial.c added

modified module_serial

comment:3 by lattjo, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r4293

Note: See TracTickets for help on using tickets.