[Asterisk-Dev] wcusb & 2.6

Jonathan McDowell noodles at earth.li
Mon Nov 1 12:38:18 MST 2004


I've been trying to get my FXS USB device running under 2.6; I thought
this wouldn't be a problem given the existance of the driver in CVS, but
have discovered that it refuses to load.

Having prodded a bit and read the list archives it seems that
begin_transfer is unhappy; usb_submit_urb returns -EINVAL. I've caused
it to get further by ensuring that urb.interval is set to a non zero
value (I picked 1), but I then manage to lock the machine up after
loading the module. Haven't quite managed to get a trace recorded; might
have to hook up a serial console to do so.

It looks a little like a locking issue though; I get a "bad: scheduling
while atomic" error out, for example.

Is anyone actually working on the driver in 2.6? I saw comments about it
back in June, but there have been no commits to it since then.

J.

-- 
Revd. Jonathan McDowell, ULC | noodles is good in nagahama



More information about the asterisk-dev mailing list