Jump to content


Photo

/dev/tts/0 does not work ??

DM8000

  • Please log in to reply
50 replies to this topic

Re: /dev/tts/0 does not work ?? #21 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 17 February 2009 - 16:06

And if you send data to the 500 with the same tool, and the same stty settings, do you see rx being incremented?
(just to rule out any problem with your setup)

Re: /dev/tts/0 does not work ?? #22 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 17 February 2009 - 21:28

hi piete

yes it increments when i send data to the dm500

results in my previous post....


what do you think the issue is ?

thanks for the help.

Re: /dev/tts/0 does not work ?? #23 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 17 February 2009 - 21:34

don't know, could even be a hardware problem (badly soldered connector) Do other people experience the same?
doesn't look like a driver issue to me, or you wouldn't have been able to get data out.

Re: /dev/tts/0 does not work ?? #24 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 17 February 2009 - 21:55

hmmm

is there anyone else you know who could test it ?

cheers :)



Re: /dev/tts/0 does not work ?? #25 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 17 February 2009 - 21:58

another thing is , i can dreamupload via serial but at the very last last stage (after 1 hr of uploading) it halts....

so i suppose it does upload or send some data...... not sure its a strange one...

if theres anyone else that can test it , that would be great.....


Re: /dev/tts/0 does not work ?? #26 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 22 February 2009 - 13:27

what does this mean :

serinfo:1.0 driver revision:
0: uart:16550A mmio:0x00000000 irq:65 tx:18 rx:49 fe:19 brk:1 CTS
1: uart:16550A mmio:0x00000000 irq:66 tx:0 rx:0 CTS
2: uart:16550A mmio:0x00000000 irq:67 tx:0 rx:0

what does fe and brk mean ???

I still have no luck :( , can somebody else please test ?

Re: /dev/tts/0 does not work ?? #27 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 February 2009 - 13:32

frameerror resp. break
you're probably sending data at the wrong baudrate

Re: /dev/tts/0 does not work ?? #28 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 22 February 2009 - 14:00

ok

did a few more tests....


i can see when i start newcs it doesnt get any response from my reader and fails... however this reader works fine on dm500s...

i then started newcs and this time the cable is connected to the pc... i can see in "Serial Mon" tool on the pc the incoming requests , and when i send data out to the box and do command :

cat /proc/tty/driver/serial

i can see the rx increment....

so i guess there is some communication working... strange that it doesnt work for my reader though.... very strange...

when the reader is connected this is what happens, it gets a response packet as rx incrrements, but it stays in this state :

serinfo:1.0 driver revision:
0: uart:16550A mmio:0x00000000 irq:65 tx:378 rx:688 CTS|DTR
1: uart:16550A mmio:0x00000000 irq:66 tx:0 rx:0 CTS
2: uart:16550A mmio:0x00000000 irq:67 tx:0 rx:0

what does that mean.... RX is increasing as per reset command....



Re: /dev/tts/0 does not work ?? #29 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 February 2009 - 14:46

so rx/tx are fine, then it can only be the modem control lines

Re: /dev/tts/0 does not work ?? #30 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 22 February 2009 - 14:56

modem control lines , means the cable ??



Re: /dev/tts/0 does not work ?? #31 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 February 2009 - 15:30

please ask google first

Re: /dev/tts/0 does not work ?? #32 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 1 March 2009 - 14:10

hi piet,

The cable used for the connection from the phoenix reader to the dm8000, is a serial extender cable... male to female....its not a null modem cable...

so is it still a control line issue ??

thanks for the help..

Re: /dev/tts/0 does not work ?? #33 updatelee

  • Senior Member
  • 631 posts

0
Neutral

Posted 1 March 2009 - 17:42

stty -F /dev/tts/0 raw 115200
echo "hello" > /dev/tts/0

works on my 7000 not on my 800

when I echo to the serial port on my 800 I see the TX incrememt but nothing is transfered. tried minicom as well.

when I boot the 800 I do see the console scrol by for a little bit, then nothing.


DM500, DM7000, DM800 Fortec Mercury II, sg2100, winegard 39", invacom qph-031 Toshiba TRX-2220 ku-linear

Re: /dev/tts/0 does not work ?? #34 updatelee

  • Senior Member
  • 631 posts

0
Neutral

Posted 1 March 2009 - 17:52

right when it init's the brcm_serial_console_init I loose serial comms. maybe I'll look into that further.
DM500, DM7000, DM800 Fortec Mercury II, sg2100, winegard 39", invacom qph-031 Toshiba TRX-2220 ku-linear

Re: /dev/tts/0 does not work ?? #35 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 2 March 2009 - 01:32

i will fix my cable and reply....

sorry

thanks

Re: /dev/tts/0 does not work ?? #36 updatelee

  • Senior Member
  • 631 posts

0
Neutral

Posted 2 March 2009 - 02:42

2->3
3->2
5->5
DM500, DM7000, DM800 Fortec Mercury II, sg2100, winegard 39", invacom qph-031 Toshiba TRX-2220 ku-linear

Re: /dev/tts/0 does not work ?? #37 xfiles_2007

  • Senior Member
  • 71 posts

0
Neutral

Posted 2 March 2009 - 09:50

2->3
3->2
5->5




this cable with loop back (1-4-6 and 7-8) does not send any data between the reader and dm8000 box.... = fail.

a cable with (2-2, 3-3, 5-5, 1-4-6 and 7-8 ) allows the data to be sent between the reader and dm8000 however it still doesnt seem to respond... newcs 1.65 while running i have this result :

serinfo:1.0 driver revision:
0: uart:16550A mmio:0x00000000 irq:65 tx:1032 rx:460 CTS|DTR
1: uart:16550A mmio:0x00000000 irq:66 tx:0 rx:0 CTS
2: uart:16550A mmio:0x00000000 irq:67 tx:0 rx:0

for cccam while running i get :

serinfo:1.0 driver revision:
0: uart:16550A mmio:0x00000000 irq:65 tx:1152 rx:580 RTS|CTS|DTR
1: uart:16550A mmio:0x00000000 irq:66 tx:0 rx:0 CTS
2: uart:16550A mmio:0x00000000 irq:67 tx:0 rx:0

Question is , what pin layout do i need to get this working --- i dont understand the problem..... i have tested with straight cable which works fine on dm500s... no idea :(

Re: /dev/tts/0 does not work ?? #38 updatelee

  • Senior Member
  • 631 posts

0
Neutral

Posted 2 March 2009 - 20:53

Can your pc even talk to the dreambox? I open putty and get comm uptill it starts to boot. After that I can't regain comms on my 800 my 7000 is fine.

If you can communicate with the serial port there is no point trying to get the iso working.
DM500, DM7000, DM800 Fortec Mercury II, sg2100, winegard 39", invacom qph-031 Toshiba TRX-2220 ku-linear

Re: /dev/tts/0 does not work ?? #39 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 2 March 2009 - 21:52

@updatelee
if you see debug output while booting, you'd better disable the console output in kernel arguments (in the bootloader). Just use console=null. (check with cat /proc/cmdline to make sure that's the case)
You won't be able to use the comport when kernel messages keep messing up your communication.

Re: /dev/tts/0 does not work ?? #40 updatelee

  • Senior Member
  • 631 posts

0
Neutral

Posted 2 March 2009 - 22:52

Ill try that tonight thanks
DM500, DM7000, DM800 Fortec Mercury II, sg2100, winegard 39", invacom qph-031 Toshiba TRX-2220 ku-linear



Also tagged with one or more of these keywords: DM8000

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users