Discussion:
[BitPim-devel] Help files and small fix to sk6100
Yosef Meller
2005-02-26 08:38:46 UTC
Permalink
Attached are the help files for sk6100. I hope I got it right.

Also attached is a diff to fix an ommition of a phone type category that
caused an exception when that category was used for an entry.

I thought about checking if the phone type id is out of range and
falling back to some default, which would be useful for supporting more
advanced models with the same code, and it would also be harder to make
it fail for a user.

On the other hand, maybe it *should* crash on data I didn't prepare for,
so it wouldn't leave the factory gates damaged. Also, I think that the
spirit here is that new models get new implementations or nothing,
leaving the guesswork and the 'maybe it just works' out of the project.
Looks to me like my first thoughts are the 'perl way' vs the 'python way'.

So, which one? What do you think?
--
"Necessity may be the mother of invention but coffee is the fuel."
- seen on web.archive.org
Roger Binns
2005-02-26 09:18:39 UTC
Permalink
Post by Yosef Meller
On the other hand, maybe it *should* crash on data I didn't prepare for,
I would generally advise that you do that. The simple reason is that
no matter how much we warn against it, users try all sorts of random
phone modules against their phones. Additionally there are firmware
updates that can change things. It will also mean that people will
report if it happens. That lets you work out if it is a bug in the
code or a real phone difference.
Post by Yosef Meller
Looks to me like my first thoughts are the 'perl way' vs the 'python way'.
It is neither way :-) We err on the side of caution. If something
goes unexpectedly, we want to know about it and address the issue.
Having an exception is fine.

Nothing gets swept under the rug.

Roger
Roger Binns
2005-02-26 20:07:06 UTC
Permalink
- phonetypes = [ 'cell', 'home', 'office', 'fax' ]
+ phonetypes = [ 'cell', 'home', 'office', 'fax' ,'pager']
Applied.
- #'SK6100' : 'com_sk6100',
+ 'SK6100' : 'com_sk6100',
Not applied as the code doesn't look like that.

For the help, who is the manufacturer of the phone. Please look at the existing
help and figure out how it fits in.

Roger
Yosef Meller
2005-03-06 20:59:57 UTC
Permalink
Post by Roger Binns
For the help, who is the manufacturer of the phone. Please look at the existing
help and figure out how it fits in.
In bitpim.wxh? Do I need to create a node in that file? All the other
stuff I've sent looks to me just like the other phones' help. I didn't
find anywhere documentation about adding help pages, so I have to ask.
--
"No, I do not contain myself,"
were the final words from the set of self-excluding sets. :-)
Stephen Wood
2005-03-06 21:19:56 UTC
Permalink
On Sun, 06 Mar 2005 22:59:57 +0200, Yosef Meller
Post by Yosef Meller
Post by Roger Binns
For the help, who is the manufacturer of the phone. Please look at the existing
help and figure out how it fits in.
In bitpim.wxh? Do I need to create a node in that file? All the other
stuff I've sent looks to me just like the other phones' help. I didn't
find anywhere documentation about adding help pages, so I have to ask.
He means to describe how you want the help to fit into the existing
help tree. Roger has to do the actual mechanics of creating nodes or
updating.

Stephen
Yosef Meller
2005-03-12 20:43:33 UTC
Permalink
Post by Stephen Wood
On Sun, 06 Mar 2005 22:59:57 +0200, Yosef Meller
Post by Yosef Meller
Post by Roger Binns
For the help, who is the manufacturer of the phone. Please look at the existing
help and figure out how it fits in.
In bitpim.wxh? Do I need to create a node in that file? All the other
stuff I've sent looks to me just like the other phones' help. I didn't
find anywhere documentation about adding help pages, so I have to ask.
He means to describe how you want the help to fit into the existing
help tree. Roger has to do the actual mechanics of creating nodes or
updating.
Thanks. I think it should have its own entry under Phones ("SK6100 Music
Slider"), because there are no other phones of that type in Bitpim yet.

BTW - Sorry for taking this long to reply, I've been a bit ill this week
(and as a result will be behind with my homework this week :-) ).
--
"It doesn't just rock - it plays German Heavy Metal!"
- from some forum I can't remmember now (probably spreadfirefox.com)
Roger Binns
2005-03-12 22:57:14 UTC
Permalink
Post by Yosef Meller
Thanks. I think it should have its own entry under Phones ("SK6100 Music
Slider"), because there are no other phones of that type in Bitpim yet.
You still haven't answered the original question about who the manufacturer
is! The phones section is organised in one of two ways depending on
how similar the models from the same manufacturer are. Where every model
is significantly different, there is a top level entry with cables, notes
and howtos below.

For manufacturers whose phones are almost identical (eg take the same cables
across the model range) then we just have a top level entry for the manufacturer
and the 3 sub pages.

Roger
Stephen Wood
2005-03-13 01:01:20 UTC
Permalink
Post by Roger Binns
Post by Yosef Meller
Thanks. I think it should have its own entry under Phones ("SK6100 Music
Slider"), because there are no other phones of that type in Bitpim yet.
You still haven't answered the original question about who the manufacturer
is!
I was curious about who the manufacturer was a few weeks ago so I
googled it. Best I can tell the manufacturer is called "SK" or "SK
Teletech". The K is probably for Korea. But it's hard to tell
because all the websites talking about this phone are either in
Russian, Chinese or Hebrew!

Stephen
Randy K. Wilson
2005-03-13 03:53:30 UTC
Permalink
Post by Stephen Wood
Post by Roger Binns
You still haven't answered the original question about who the
manufacturer is!
I was curious about who the manufacturer was a few weeks ago so I
googled it. Best I can tell the manufacturer is called "SK" or "SK
Teletech". The K is probably for Korea. But it's hard to tell
because all the websites talking about this phone are either in
Russian, Chinese or Hebrew!
Stephen
Yep, most all English links point to BitPim stuff. Here's one that give
rudimentry info.

http://szcgh.ebigchina.com/sdp/231237/4/cp-1074897.html
--
/.randy
Yosef Meller
2005-03-13 08:32:00 UTC
Permalink
Post by Roger Binns
Post by Yosef Meller
Thanks. I think it should have its own entry under Phones ("SK6100
Music Slider"), because there are no other phones of that type in
Bitpim yet.
You still haven't answered the original question about who the manufacturer
is! The phones section is organised in one of two ways depending on how
similar the models from the same manufacturer are. Where every model
is significantly different, there is a top level entry with cables, notes
and howtos below.
For manufacturers whose phones are almost identical (eg take the same cables
across the model range) then we just have a top level entry for the manufacturer
and the 3 sub pages.
Roger
The manufacturer is SK Teletech, a subsidiary of SK Telecom.
--
Keep on rocking in a free world!
Roger Binns
2005-03-14 08:34:47 UTC
Permalink
Post by Yosef Meller
The manufacturer is SK Teletech, a subsidiary of SK Telecom.
Do they make a variety of phones, and do you know if they are
technically similar or different. As a guide, would you be
able to use the same cable on other models and only require
a trivial tweak of the existing code to support them?

Roger
Yosef Meller
2005-03-14 20:38:01 UTC
Permalink
Post by Roger Binns
Post by Yosef Meller
The manufacturer is SK Teletech, a subsidiary of SK Telecom.
Do they make a variety of phones, and do you know if they are
technically similar or different. As a guide, would you be
able to use the same cable on other models and only require
a trivial tweak of the existing code to support them?
They have a few similar models (SK6000 "Super Slider" is one I know of),
and Pelephone gives them with a very similar OS, but only SK6100
supports a USB cable, which is what I use. In the future (somewhere
around Passover if I'm lucky) I might be able to examine one of the
older models, but for now that's what I know.
--
"No, I do not contain myself,"
were the final words from the set of self-excluding sets. :-)
Stephen Wood
2005-02-26 21:04:09 UTC
Permalink
On Sat, 26 Feb 2005 10:38:46 +0200, Yosef Meller
For Linux, you need the cdc-acm kernel module. If you are using a distribution with udev, this should probably work out of the box, but if you don't, see that cdc-acm is compiled: $ modprobe cdc-acm $ ls /dev/ttyACM*
Is the cdc-acm driver essential the linux 2.6 equivalent of the 2.4 acm module?

Stephen
Randy K. Wilson
2005-02-26 22:09:14 UTC
Permalink
Post by Stephen Wood
Is the cdc-acm driver essential the linux 2.6 equivalent of the 2.4 acm module?
Stephen
As far as I could figure, yes. Quoting from the
kernel/Documentation/usb/acm.txt :

The drivers/usb/class/cdc-acm.c drivers works with USB modems and USB ISDN
terminal
adapters that conform to the Universal Serial Bus Communication Device Class
Abstract Control Model (USB CDC ACM) specification.
--
/.randy
Loading...