HTC TYTN and Linux (Suse)

PeekNPoke

Well-Known Member
Joined
Aug 16, 2005
Messages
387
Hi All,

Does anybody know how to get the TYTN working as a modem on a Suse box ? I 've tried bluetooth and USB in it's modem mode. In either mode it makes no difference. It's as if it's not even detecting the phone as a modem via USB and in bluetooth mode it shows all the features available but wants to download them as a file when clicked on .. I'm seriously confused.

Any help will be appreciated.
 

The Guy

Senior Member
Joined
Nov 7, 2006
Messages
887
I am not toooo clued up on the Linux front ...
I take it you have activated the Wireless Modem application on the device .. and you can access the internet from the device ....
Do you have an application to sync the device on your PC ???
 

PeekNPoke

Well-Known Member
Joined
Aug 16, 2005
Messages
387
Yip ... the TYTN is set into wireless modem mode via the methods described above ...
 

dotVIBE

Expert Member
Joined
Nov 4, 2005
Messages
3,067
sjoe, linux unfortunately confuses me. Your best bet is to register on the forum.xsa-developers.com and ask there. Go to the Hermes thread and do a search there.
 

The Guy

Senior Member
Joined
Nov 7, 2006
Messages
887
Yip ... the TYTN is set into wireless modem mode via the methods described above ...

So your PC doesnt pick up that you have a modem connected to it ... What is your Linux machine supposed to do when you connect a modem to it ??
 

PeekNPoke

Well-Known Member
Joined
Aug 16, 2005
Messages
387
sjoe, linux unfortunately confuses me. Your best bet is to register on the forum.xsa-developers.com and ask there. Go to the Hermes thread and do a search there.

Thanks dotVIBE, I'll definitely try that link.

So your PC doesnt pick up that you have a modem connected to it ... What is your Linux machine supposed to do when you connect a modem to it ??

Yip .. it looks like the machine is ignoring the USB device. Normally linux will pop up a window informing you that it detected a new device. This is not the case with my TYTN. So ... I imaging it's going to be a lot of RTFM for me :confused:
 

JHB

New Member
Joined
Feb 6, 2007
Messages
4
HTC TyTN as bluetooth modem in Linux

Hi

On my OpenSuSE Linux 10.2 I got it working the following way:

Get the ID for your phone:
# sdptool search DUN
Inquiring ...
Searching for DUN on 00:12:D1:F8:31:19 ...
Service Name: Dial-up Networking
Service RecHandle: 0x10005
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

Using the information provided, link the phone to /dev/rfcomm0
# rfcomm bind 0 00:12:D1:F8:31:19 3

You should now have a /dev/rfcomm0 device.

My /etc/wvdial.conf looks like this:
# cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 115200
Init1 = ATS0=0
Init2 = AT
Init3 = ATE0V1&D2
Init4 = ATS7=60L1M1X3
Init5 = at+cgdcont=1,"IP","internet"
Area Code =
Phone = *99#
Username = JHB
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

To connect to the internet, run
#wvdial
 

The Guy

Senior Member
Joined
Nov 7, 2006
Messages
887
hold on .. there is a command called Stupid Move = 1 ... nice one ..
 

JHB

New Member
Joined
Feb 6, 2007
Messages
4
There is a good reason for the Stupid Mode = 1 command.
You have to ask Linux to dumb down a little, so that it can speak to Windows :)
 

PeekNPoke

Well-Known Member
Joined
Aug 16, 2005
Messages
387
Hi

On my OpenSuSE Linux 10.2 I got it working the following way:

Get the ID for your phone:
# sdptool search DUN
Inquiring ...
............
ISDN = 0
Auto DNS = 1

To connect to the internet, run
#wvdial

Hi JHB.

I've been battling for a week now. I've read almost every document I could find regarding setting up similar devices on the web, but still no luck :confused: ... I've now got my TYTN connected with USB and did do a modprobe serialusb with the right vendor and product ID's I got with lsusb. The device seems to be connected on ttyUSB0 (and this is right!). But what happens if I try and use wvdial is that it tells me the modem is not responding.

I find this very frustrating :( ... any ideas / tips / tricks will be highly appreciated. :D
 

JHB

New Member
Joined
Feb 6, 2007
Messages
4
Sorry PeekNPoke,

I have only used Bluetooth so far.
I will see if I can get it working via USB.
 
Top