Re: ModemManager API review

2008-11-04 Thread Marcel Holtmann
Hi Dan, So the first thing that draw me off is that we are stupidly mapping the HAL devices 1:1 to our devices. That is wrong. We should not do this. So for example my Option card has three TTYs and one network device. This all is one device. Currently it shows up as three devices. The number of

Re: ModemManager API review

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 10:04 +0100, Marcel Holtmann wrote: > Hi Tambet, > > >> So the first thing that draw me off is that we are stupidly mapping > >> the HAL > >> devices 1:1 to our devices. That is wrong. We should not do this. > >> So for > >> example my Option card has three TTYs and one n

Re: ModemManager API review

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 11:01 AM, Tomas Kovacik <[EMAIL PROTECTED]> wrote: > and this is HAL .fdi problem?: > > dmesg: > [82410.648181] usb 2-2: new full speed USB device using uhci_hcd and address > 2 > [82410.821948] usb 2-2: configuration #1 chosen from 1 choice > [82411.050542] cdc_acm 2-2:1.1:

Re: ModemManager API review

2008-11-04 Thread Marcel Holtmann
Hi Tambet, So the first thing that draw me off is that we are stupidly mapping the HAL devices 1:1 to our devices. That is wrong. We should not do this. So for example my Option card has three TTYs and one network device. This all is one device. Currently it shows up as three devices. The

Re: ModemManager API review

2008-11-04 Thread Tomas Kovacik
Tambet Ingo wrote: > On Tue, Nov 4, 2008 at 3:54 AM, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > >> So the first thing that draw me off is that we are stupidly mapping the HAL >> devices 1:1 to our devices. That is wrong. We should not do this. So for >> example my Option card has three TTYs an

Re: ModemManager API review

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 3:54 AM, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > So the first thing that draw me off is that we are stupidly mapping the HAL > devices 1:1 to our devices. That is wrong. We should not do this. So for > example my Option card has three TTYs and one network device. This al

ModemManager API review

2008-11-03 Thread Marcel Holtmann
Hi guys, so during PlumbersConf Dan asked me to take a look at the ModemManager API and finally I got around it and have some initial comments. I wasn't able to actually use it to make data connections from my testing script, but initial results were kinda nice. So the first thing that dr