[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modem in tibook - problem compiling driver

On Mon, May 17, 2004 at 12:45:58PM -040xx0, sebas-listes@koumbit.org wrote:
> Hi,
>   I'm having error message when I try either to compile the modem driver
> for an tibook 550 mhz, with kernel  benh_kernel_2.6
> I get this:
>  tail /tmp/hcfusbconfig-buildlog.txt
>   CC [M]  /usr/lib/hcfusbmodem/modules/osdiag.o
>   CC [M]  /usr/lib/hcfusbmodem/modules/osusb.o
> /usr/lib/hcfusbmodem/modules/osusb.c: In function
> `cnxtusbhcf_OsUsbMakeControlRequest':
> /usr/lib/hcfusbmodem/modules/osusb.c:1244: error: assignment of
> read-only location
> /usr/lib/hcfusbmodem/modules/osusb.c: In function
> `cnxtusbhcf_OsUsbMakeControlRequestSync':
> /usr/lib/hcfusbmodem/modules/osusb.c:1311: error: assignment of
> read-only location
> make[2]: *** [/usr/lib/hcfusbmodem/modules/osusb.o] Error 1
> make[1]: *** [/usr/lib/hcfusbmodem/modules] Error 2
> make[1]: Leaving directory `/usr/src/benh_kernel_2.6'
> make: *** [all] Error 2
> I see the read only location! but I do this as root.

The message refers to an operation in the program source not to a 
file, so it makes not difference whether you're root or not.

> I'm a bit confused here.  I cannot see where I go wrong.

I tried getting the modem to work a month or so ago to
find out that the hcfusbmodem-driver doesn't support 2.6[1].
Michael said it would work but might cause kernel data to
be corrupted (which is something you _don't_ want and 
which is something that is far from being stable and usable).

I ended up booting 2.4 when I wanted to use the modem.
Also note that AFAIK the "free" driver restricts the modem
to 33k baud - 56k is only possible with the commerical driver.

[1] http://lists.debian.org/debian-powerpc/2004/02/msg00206.html

 3. The most fun you can have with your clothes on.

Attachment: signature.asc
Description: Digital signature

Reply to: