[speedtouch] Re: USBDEVFS_BULK error message

2004-05-23 Thread Duncan Sands

> Whenever I modprobe usb-uhci and plug-in my SpeedTouch 330 (Rev 4.0), I get
> the following eror message:
>
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
> usb_control/bulk_msg: timeout
> usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x5 len 883 ret -110
>
> And I cannot make a connection with pppd... any suggestions?

User mode driver or kernel module?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread William M. Quarles
William M. Quarles wrote:
> If you still get this error:
> 
>>May 23 08:07:47 localhost kernel: usbfs: process 1608 (modem_run)
>>did not claim interface 0 before use
> 
> then I suggest editing /etc/hotplug/usb/speedtch and increase the sleep 
> time.
> 

I just thought of something, a sleep time before the modem_run statement 
might be necessary on your system if my previous suggestion doesn't work.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] USBDEVFS_BULK error message

2004-05-23 Thread amy yunani

Hi,

Whenever I modprobe usb-uhci and plug-in my SpeedTouch 330 (Rev 4.0), I get 
the following eror message:

usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x5 len 883 ret -110

And I cannot make a connection with pppd... any suggestions?

Thanks, amyy

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Duncan Sands

Hi Aad,

> pppoatm.so: cannot open shared object file: No such file or
> directory
> May 23 08:07:52 localhost pppd[2658]: Couldn't load plugin
> pppoatm.so

>   - from this I see two (different) problems:
> 1) the firmware downloading modem goes wrong

actually it seems to have gone fine

> 2) pppoatm.so is missing

> Do you have any suggestions for next steps that I can take?

You need a pppoa aware pppd.  The speedbundle contains one.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread William M. Quarles
Aad Rijnberg wrote:
[snip]
> 
>   - from this I see two (different) problems:
> 1) the firmware downloading modem goes wrong
> 2) pppoatm.so is missing
> 
> Do you have any suggestions for next steps that I can take?
> 
> Regards,
> Aad
> 
> 

I'm using Fedora Core 1, but I'll throw in my 2 cents.  The first cent 
is that Fedora Core 2 final is out, so you need to get it.

Next, it looks like you didn't install everything from speedbundle. 
Then again, neither did I, but you still need most of it.  Are you sure 
that everything compiled and installed?  Did you make sure to get the 
necessary firmware (It's not included with speedbundle!)?

You need to move your pppd executables out of the way and install the 
pppd found in speedbundle.  This will place the necessary pppoatm.so 
plugin. But read the rest of this first.

run ./configure from the root of the speedbundle directory.
It will tell you what values you need to fill in the ppp_scripts and if 
you need the firmware file (you do have the firmware file, right?) 
There is a bug in the ppp_scripts, you need to edit speedtch and replace 
the 0.00 with your VPI and VCI numbers for your service.

I think that you need the kernel-source package installed, but I'm not 
certain.

Then try to make.  If you get an error on the make, do a make clean, 
re-./configure.  You will most likely fail on the linux-atm or ppp.  If 
that's the case, you don't really need linux-atm (someone correct me if 
I'm wrong; if I'm right, i would suggest leaving it out anyways, I think 
this unnecessarily writes over stuff in your existing kernel), so you 
can make and make install on each of the directories individually, 
leaving out linux-atm.  If you look at the top-level Makefile, you'll 
see how it does this (you'll want to copy its lines).  If the make fails 
on ppp, check the output, it is most likely complaining about the 
kernel.  In that case, you need to use a standard Linux kernel for the 
build rather than the Fedora Linux kernel (don't forget to move your 
original pppd executeables out of the way before installing the new 
pppd).  If you don't want to mess with the standard Linux kernel, this 
website , once updated 
for Fedora Core 2, will have rpms for a kernel that is reasonable close 
enough the standard Linux kernel to work (there will be two versions of 
the kernel on this site, a Fedora-like kernel and a std-Linux-like kernel).

If you still get this error:
> May 23 08:07:47 localhost kernel: usbfs: process 1608 (modem_run)
> did not claim interface 0 before use
then I suggest editing /etc/hotplug/usb/speedtch and increase the sleep 
time.

I rebuilt the source RPM from this site, rather than using the 
speedbundle's firmware loader (they are essentially the same, though): 


rpmbuild --rebuild some.src.rpm

The resulting rpm ends up in /usr/src/redhat/RPMS//
the "redhat" might be "fedora" or something else now that they are on 
Fedora Core 2.  Then I installed the RPM.  If you can still get this to 
work with speedbundle and without the RPM, great, but I couldn't for 
some reason.  If you do install the firmware loaders without the RPM, 
great, but I couldn't get it done.  However, if you do install this RPM, 
be sure to erase the firmware loaders installed by speedbundle.

Peace,
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: br2684ctl on kernel 2.6.x

2004-05-23 Thread Edouard Gomez

Jose Bernardo Silva ([EMAIL PROTECTED]) wrote:
> Any ideas? It would seem that brctl won't compile on a kernel 2.6.x, is that
> right? The parse error is fixable by adding "#include ", but the
> T2A_PVC error I can't fix (yet).

You're right, it seems the brctl tool cannot compile with 2.6
kernel headers. You'd better warn upstream authors so they can
fix this.

Following linus advices on this topic, upstream authors should
copy what they need from kernel headers in their own private
headers as including kernel headers is bad(tm). API/ABI do not
change so a copy is prefered.

-- 
Edouard Gomez

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] br2684ctl on kernel 2.6.x

2004-05-23 Thread Jose Bernardo Silva
On Fri, 9 Jan 2004 10:09:30 +0100, Gilles Espinasse wrote

> This is because you do not follow the how-to
> http://www.linux-usb.org/SpeedTouch/docs/howto.html
> Patching was necessary  with old kernel. You don't need anymore to 
> patch the kernel since 2.4.19
> 
> "For PPPoE you will need these options:
>   a.. Networking Options
> a.. RFC 1483/2684 Bridged protocols [Y]
>   b.. Network Device Support
> a.. PPP Over Ethernet (EXPERIMENTAL) [Y]"
> 
> dont forget br2684ctl
> http://home.sch.bme.hu/%7Ecell/br2684/dist/010402/brctl-010226.c to 
> be compilated with cc -o br2684ctl brctl-010226.c -latm

Hi!
I am now trying to compile br2684ctl, on a machine with kernel 2.6.6. I get
the following:
# cc -o br2684ctl brctl-010226.c -latm
brctl-010226.c:8:17: atm.h: No such file or directory
In file included from /usr/include/linux/atmdev.h:11,
 from brctl-010226.c:9:
/usr/include/linux/atm.h:208: error: parse error before "uint32_t"
/usr/include/linux/atm.h:210: error: parse error before '}' token
/usr/include/linux/atm.h:214: error: parameter `addr' has incomplete type
brctl-010226.c: In function `assign_vcc':
brctl-010226.c:91: error: `T2A_PVC' undeclared (first use in this function)
brctl-010226.c:91: error: (Each undeclared identifier is reported only once
brctl-010226.c:91: error: for each function it appears in.)

Any ideas? It would seem that brctl won't compile on a kernel 2.6.x, is that
right? The parse error is fixable by adding "#include ", but the
T2A_PVC error I can't fix (yet).

---
Jose Bernardo B R Silva | Source Mage GNU/Linux Section Guru
[EMAIL PROTECTED]| http://www.sourcemage.org
http://counter.li.org #245602
http://cosmos.oninetspeed.pt/jose.bernardo
[EMAIL PROTECTED]


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Aad Rijnberg

> Duncan,
> 
> I tried something else (see
> http://www.4p8.com/eric.brasseur/fc2_speedtouch_usb.html), and that did
> work. I have browsed the net with FC2 ;-) 
> I don't know if this gives you an extra clue as to why that does and the
> kernel driver does not work?!
> 
> This solution uses however the user space driver, and I still would like
> to get the kernel space driver operational. So my struggle remains...
> 
> Aad

Sorry, forgot to mention that this solution worked in combination with
the standard kernel that came with FC2 (no reconfiguration whatsoever).



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Aad Rijnberg

On Sun, 2004-05-23 at 10:28, Aad Rijnberg wrote: 
> On Sun, 2004-05-16 at 22:06, Duncan Sands wrote:
> > > I have also noticed the problems with FC2 test3, and am willing to try
> > > to make the changes in the final version of FC2 which will be released
> > > next week. Could you then please send me the required file(s) that I
> > > need to check and update? And maybe some pointers where in the source
> > > files I need to look...
> > >
> > > When I get it to work I can post a patch file, so that every FC2 user
> > > can enjoy his Speedtouch again.
> > 
> > These should do the trick:
> > 
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> > 
> > Ciao,
> > 
> > Duncan.
> 
> Hi Duncan,
> 
> after applying the patches and running part of speedbundle-1.0, it still
> does not work :-( Do you have any suggestions for next steps that I can take?
> 
> Regards,
> Aad

Duncan,

I tried something else (see
http://www.4p8.com/eric.brasseur/fc2_speedtouch_usb.html), and that did
work. I have browsed the net with FC2 ;-) 
I don't know if this gives you an extra clue as to why that does and the
kernel driver does not work?!

This solution uses however the user space driver, and I still would like
to get the kernel space driver operational. So my struggle remains...

Aad



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Aad Rijnberg

On Sun, 2004-05-16 at 22:06, Duncan Sands wrote:
> > I have also noticed the problems with FC2 test3, and am willing to try
> > to make the changes in the final version of FC2 which will be released
> > next week. Could you then please send me the required file(s) that I
> > need to check and update? And maybe some pointers where in the source
> > files I need to look...
> >
> > When I get it to work I can post a patch file, so that every FC2 user
> > can enjoy his Speedtouch again.
> 
> These should do the trick:
> 
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
> 
> Ciao,
> 
> Duncan.

Hi Duncan,

after applying the patches and running part of speedbundle-1.0, it still
does not work :-(

I have attached the details of my modifications and results:

Steps taken to get the Speedtouch 330 to work:

- apply the patches you mentioned to the Fedora Core 2 kernel
  - cd /usr/src/linux-2.6.5-1.358
  - gedit include/linux/usbdevice_fs.h&
  - gedit drivers/usb/core/inode.c&
  - gedit drivers/usb/core/devio.c&

- reconfigure kernel:
  - cp configs/kernel-2.6.5-i686.config .config
  - make oldconfig
  - make gconfig
- Device drivers->Networking Support->Networking options
  ->Asynchronous Transfer Mode (ATM) : build as module
  - Then also select RFC1483/2684 Bridged Protocols: build as module
and switch off "Per VC IP filter kludge"
- Device Drivers->Networking Support->Network Device Support->PPP
  Support->PPP over ATM: build as module
- Device Drivers->USB Support->Alcatel Speedtouch USB Support: 
  build as module
- save all modifications
  - make
  - make modules_install install
  - add new kernel to grub.conf

- run (part) of speedbundle-1.0
  (see also http://www.4p8.com/eric.brasseur/speedbundle_fedora.html):
  - I don't have a (ethernet) network interface in my computer (no
default route/gateway)
  - Unpack speedbundle
  - cd speedbundle-1.0
  - Do not exchange sonet.h by another one
  - Put firmware at right place
  - copy ppp_scripts/speedtch-pppoatm to ppp_scripts/speedtch and edit
username and vpi.vci
  - edit chap-secrets and pap-secrets to include my isp-log-in
information
  - edit Makefile and configure script, to comment out kernel_module,
linux-atm and ppp
  - I did not remove the ppp package
  - make
  - make install

- reboot to see if everything works correctly
  - during boot I see the leds flash and in the end both leds are green
  - then I look into /var/log/messages:

May 23 08:07:28 localhost kernel: USB Universal Host Controller
Interface driver v2.2
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.2: UHCI Host
Controller
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.2: irq 9, 
io base d400
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.2: new USB 
bus registered, assigned bus number 1
May 23 08:07:28 localhost kernel: hub 1-0:1.0: USB hub found
May 23 08:07:28 localhost kernel: hub 1-0:1.0: 2 ports detected
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.3: UHCI Host
Controller
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.3: irq 9, 
io base d000
May 23 08:07:28 localhost kernel: uhci_hcd :00:04.3: new USB 
bus registered, assigned bus number 2
May 23 08:07:28 localhost kernel: hub 2-0:1.0: USB hub found
May 23 08:07:29 localhost kernel: hub 2-0:1.0: 2 ports detected
May 23 08:07:29 localhost kernel: usb 1-2: new full speed USB 
device using address 2
May 23 08:07:29 localhost kernel: hub 1-2:1.0: USB hub found
May 23 08:07:29 localhost kernel: device-mapper: 4.1.0-ioctl
(2003-12-10) initial
ised: [EMAIL PROTECTED]
May 23 08:07:29 localhost kernel: usb 1-2: control timeout on ep0in
May 23 08:07:29 localhost kernel: hub 1-2:1.0: config failed, can't
read hub descriptor (err -110)
May 23 08:07:29 localhost kernel: usb 2-2: new full speed USB 
device using address 2
May 23 08:07:29 localhost kernel: hub 2-2:1.0: USB hub found
May 23 08:07:29 localhost kernel: hub 2-2:1.0: 4 ports detected
May 23 08:07:29 localhost kernel: usb 2-2.2: new full speed USB
device using address 3
May 23 08:07:29 localhost kernel: usbcore: registered new driver
speedtch
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 1
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 2
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: bulk timeout on ep5in