Re: Tom Canada Kernel 2.6.32-25-generic 64 bit

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

 



Tom,

I'n afraid it is a problem specific to your hardware, as I can load
slusb under Ubuntu without problems.
Since slusb is Open Source, someone in principle could track down the problem.
But this is far beyond  my personal expertise.

Condolences.

Marvin

On Wed, Oct 27, 2010 at 11:00 PM, Tom Cada <thomas.cada@xxxxxxxxx> wrote:
> Again thanks for the instructions.
>
> In the first case, after unloading the sound modules, and inserting
> slusb, when I plug in the modem, I get a dump in the system messages.
>
> In the second case, after unloading the sound modules, I plug in the
> modem. There is no dump. However, when I try to insert slusb, modprobe
> hangs, and locks up the terminal window, but no dump.
>
> Am I missing something?
>
> Thanks... Tom.
>
> On Wed, Oct 27, 2010 at 12:37 PM, Marvin Stodolsky
> <marvin.stodolsky@xxxxxxxxx> wrote:
>> Tom,
>>
>> FOr each of drivers: snd_atiixp_modem
>> snd_via82xx_modem snd_intel8x0m snd_ac97_codec ac97_bus
>>
>> Try:
>> $ sudo modprobe -r DriverName
>>
>> I'll be back online in the evening
>>
>> MarvS
>>
>>
>> On Tue, Oct 26, 2010 at 10:31 PM, Tom Cada <thomas.cada@xxxxxxxxx> wrote:
>>> I'd love to do that. However, I have no idea how to achieve that. Do
>>> you have any suggestions?
>>>
>>> I am running Ubuntu 10.04.
>>>
>>> Thanks... Tom.
>>>
>>> On Tue, Oct 26, 2010 at 6:54 PM, Marvin Stodolsky
>>> <marvin.stodolsky@xxxxxxxxx> wrote:
>>>> Tom,
>>>>
>>>> Try unloading all the audio drivers, before
>>>> $ sudo modprobe slusb
>>>> the " depmod -a " is done automatically during bootup.
>>>>
>>>> Do before and after slusb loading:
>>>> $ ls -l Â/dev/pts/*
>>>> There should be a new pts/N Âport created upon driver loading.
>>>>
>>>> MarvS
>>>>
>>>>
>>>> On Mon, Oct 25, 2010 at 11:29 PM, Tom Cada <thomas.cada@xxxxxxxxx> wrote:
>>>>> Thanks for that.
>>>>>
>>>>> I did the compile as instructed with the results that after the slusb
>>>>> module is loaded, when I plug in the modem, I get a dump.
>>>>>
>>>>> I have attached a script listing of the steps I took to compile along
>>>>> with the results written to the system log.
>>>>>
>>>>> Please advise what the next steps should be.
>>>>>
>>>>> Thanks... Tom
>>>>>
>>>>> Script started on Mon 25 Oct 2010 10:06:58 PM EDT
>>>>> tom@speedy:~$cd /usr/src/sl-modem-2.9.11~20100303/drivers
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ l
>>>>> total 860
>>>>> drwxr-xr-x 3 root root  4096 2010-10-25 10:47 Â[0m [01;34m. [0m/
>>>>> drwxr-xr-x 6 root root  4096 2010-10-25 10:09 Â[01;34m.. [0m/
>>>>> -rw-r--r-- 1 root root 544752 2008-03-29 08:04 amrlibs.o
>>>>> -rw-r--r-- 1 root root Â23685 2010-03-22 19:11 amrmo_init.c
>>>>> -rwxr-xr-x 1 root root  8470 2010-10-25 10:47 Â[01;32mkernel-ver [0m*
>>>>> -rw-r--r-- 1 root root  Â284 2008-03-29 08:04 kernel-ver.c
>>>>> -rw-r--r-- 1 root root  4223 2010-03-22 19:11 Makefile
>>>>> -rw-r--r-- 1 root root  Â100 2010-01-17 16:19 makefile.0
>>>>> -rw-r--r-- 1 root root   Â0 2009-01-10 22:02 Module.markers
>>>>> -rw-r--r-- 1 root root   58 2010-10-25 10:47 modules.order
>>>>> -rw-r--r-- 1 root root   Â0 2008-03-29 08:04 Modules.symvers
>>>>> -rw-r--r-- 1 root root   Â0 2008-03-29 08:04 Module.symvers
>>>>> -rw-r--r-- 1 root root Â36240 2010-03-22 19:11 old_st7554.c
>>>>> -rw-r--r-- 1 root root Â34789 2010-10-25 10:47 slusb.ko
>>>>> -rw-r--r-- 1 root root  Â317 2010-10-25 10:47 .slusb.ko.cmd
>>>>> -rw-r--r-- 1 root root  2146 2010-10-25 10:47 slusb.mod.c
>>>>> -rw-r--r-- 1 root root  5288 2010-10-25 10:47 slusb.mod.o
>>>>> -rw-r--r-- 1 root root Â22298 2010-10-25 10:47 .slusb.mod.o.cmd
>>>>> -rw-r--r-- 1 root root Â30402 2010-10-25 10:47 slusb.o
>>>>> -rw-r--r-- 1 root root  Â184 2010-10-25 10:47 .slusb.o.cmd
>>>>> -rw-r--r-- 1 root root Â38485 2010-03-22 19:11 st7554.c
>>>>> -rw-r--r-- 1 root root Â30408 2010-10-25 10:47 st7554.o
>>>>> -rw-r--r-- 1 root root Â30202 2010-10-25 10:47 .st7554.o.cmd
>>>>> -rw-r--r-- 1 root root  5804 2008-03-29 08:04 sysdep_amr.c
>>>>> drwxr-xr-x 2 root root  4096 2010-10-25 10:47 Â[01;34m.tmp_versions [0m/
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ sudo make clean
>>>>> [sudo] password for tom:
>>>>> rm -f kernel-ver  *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~ slusb.*
>>>>> rm -f -r .tmp_versions
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ sudo make USB=1
>>>>> doing kernel-ver::
>>>>> cc -I/lib/modules/2.6.32-25-generic/build/include -o kernel-ver kernel-ver.c
>>>>> make all KERNEL_VER=2.6.32-25-generic
>>>>> make[1]: Entering directory `/usr/src/sl-modem-2.9.11~20100303/drivers'
>>>>> Â Â Â Âobj-m= slusb.o
>>>>> Â Â Â Âslamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>> make modules -C /lib/modules/2.6.32-25-generic/build
>>>>> SUBDIRS=/usr/src/sl-modem-2.9.11~20100303/drivers
>>>>> make[2]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
>>>>> ÂCC [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/st7554.o
>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c: In function âst7554_probeâ:
>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>> passing argument 2 of âdevice_createâ makes pointer from integer
>>>>> without a cast
>>>>> include/linux/device.h:532: note: expected âstruct device *â but
>>>>> argument is of type âintâ
>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>> passing argument 3 of âdevice_createâ makes integer from pointer
>>>>> without a cast
>>>>> include/linux/device.h:532: note: expected âdev_tâ but argument is of
>>>>> type âvoid *â
>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>> passing argument 5 of âdevice_createâ makes pointer from integer
>>>>> without a cast
>>>>> include/linux/device.h:532: note: expected âconst char *â but argument
>>>>> is of type âintâ
>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.o
>>>>> ÂBuilding modules, stage 2.
>>>>> ÂMODPOST 1 modules
>>>>> ÂCC Â Â Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.mod.o
>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.ko
>>>>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
>>>>> Â Â Â Âfinished all:
>>>>> make[1]: Leaving directory `/usr/src/sl-modem-2.9.11~20100303/drivers'
>>>>> tom@speedy: /usr/src/sl-modem-2.9.11~20100303/drivers$ ls -l *.ko
>>>>> -rw-r--r-- 1 root root 34789 2010-10-25 22:09 slusb.ko
>>>>> tom@speedy: /usr/src/sl-modem-2.9.11~20100303/drivers$
>>>>> SITE=/lib/modules/2.6.32-25-generic/updates/dkms
>>>>> tom@speedy: /usr/src/sl-modem-2.9.11~20100303/drivers$ sudo mkdir -p $SITE
>>>>> tom@speedy: /usr/src/sl-modem-2.9.11~20100303/drivers$ sudo cp *.ko Â$SITE
>>>>> tom@speedy: /usr/src/sl-modem-2.9.11~20100303/drivers$ l $SITE
>>>>> total 14940
>>>>> drwxr-xr-x 2 root root   4096 2010-10-25 13:43 Â[0m [01;34m. [0m/
>>>>> drwxr-xr-x 3 root root   4096 2010-10-02 11:44 Â[01;34m.. [0m/
>>>>> -rw-r--r-- 1 root root 13285912 2010-10-02 11:44 nvidia-current.ko
>>>>> -rw-r--r-- 1 root root  Â34789 2010-10-25 22:11 slusb.ko
>>>>> -rw-r--r-- 1 root root Â1913168 2010-10-16 10:41 vboxdrv.ko
>>>>> -rw-r--r-- 1 root root  Â12896 2010-10-16 10:41 vboxnetadp.ko
>>>>> -rw-r--r-- 1 root root  Â32680 2010-10-16 10:41 vboxnetflt.ko
>>>>> $ tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ sudo depmod -a
>>>>> $ tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ sudo modprobe slusb
>>>>> $ tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ lsmod | grep sl
>>>>> slusb         Â15875 Â0
>>>>>
>>>>> **** Results after inserting slusb module
>>>>>
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ tail -5n /var/log/messages
>>>>> Oct 25 16:48:09 speedy kernel: [ 1308.882563] CE: hpet increasing
>>>>> min_delta_ns to 33750 nsec
>>>>> Oct 25 18:04:25 speedy kernel: [ 5884.772584] CE: hpet increasing
>>>>> min_delta_ns to 50624 nsec
>>>>> Oct 25 22:03:14 speedy kernel: [20213.724648] lo: Disabled Privacy Extensions
>>>>> Oct 25 22:13:35 speedy kernel: [20834.823615] ST7554 USB Modem.
>>>>> Oct 25 22:13:35 speedy kernel: [20834.823670] usbcore: registered new
>>>>> interface driver ST7554 USB Modem
>>>>>
>>>>> **** Results after inserting modem into USB port
>>>>>
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~2010030/drivers$tail -n69 /var/log/messages
>>>>> Oct 25 22:03:14 speedy kernel: [20213.724648] lo: Disabled Privacy Extensions
>>>>> Oct 25 22:13:35 speedy kernel: [20834.823615] ST7554 USB Modem.
>>>>> Oct 25 22:13:35 speedy kernel: [20834.823670] usbcore: registered new
>>>>> interface driver ST7554 USB Modem
>>>>> Oct 25 22:16:35 speedy kernel: [21015.301782] usb 5-2: new full speed
>>>>> USB device using uhci_hcd and address 2
>>>>> Oct 25 22:16:35 speedy kernel: [21015.472308] usb 5-2: configuration
>>>>> #1 chosen from 1 choice
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494196] PGD 0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494207] CPU 0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494210] Modules linked in: slusb
>>>>> binfmt_misc ppdev vboxnetadp vboxnetflt vboxdrv snd_atiixp_modem
>>>>> snd_via82xx_modem snd_intel8x0m snd_ac97_codec ac97_bus
>>>>> snd_hda_codec_nvhdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec
>>>>> snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss
>>>>> snd_seq_midi snd_rawmidi arc4 snd_seq_midi_event iwlagn snd_seq
>>>>> iwlcore mac80211 joydev snd_timer fbcon snd_seq_device tileblit font
>>>>> snd hp_accel lis3lv02d cfg80211 soundcore bitblit lp nvidia(P)
>>>>> snd_page_alloc softcursor psmouse sdhci_pci serio_raw sdhci jmb38x_ms
>>>>> video vga16fb memstick vgastate output lirc_ene0100 input_polldev
>>>>> lirc_dev intel_agp led_class uvcvideo videodev v4l1_compat
>>>>> v4l2_compat_ioctl32 parport usbhid hid ohci1394 ahci ieee1394 r8169
>>>>> mii
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494278] Pid: 44, comm: khubd
>>>>> Tainted: P Â Â Â Â Â 2.6.32-25-generic #45-Ubuntu HP HDX18 Notebook PC
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494281] RIP:
>>>>> 0010:[<ffffffff812bbeee>] Â[<ffffffff812bbeee>] vsnprintf+0x5e/0x5f0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494287] RSP:
>>>>> 0018:ffff880235a796a0 ÂEFLAGS: 00010246
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494290] RAX: ffff880235a79830
>>>>> RBX: ffff880235a79810 RCX: ffff880235a79740
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494293] RDX: 0000000000000000
>>>>> RSI: 0000000000000000 RDI: 0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494296] RBP: ffff880235a79730
>>>>> R08: 00000000000080d0 R09: ffff8801e4589900
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494298] R10: 0000000000000400
>>>>> R11: 0000000000000000 R12: 00000000000000d0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494301] R13: 0000000000000000
>>>>> R14: ffff880235a79740 R15: 0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494305] FS:
>>>>> 0000000000000000(0000) GS:ffff880028200000(0000)
>>>>> knlGS:0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494308] CS: Â0010 DS: 0018 ES:
>>>>> 0018 CR0: 000000008005003b
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494311] CR2: 0000000000000000
>>>>> CR3: 0000000001001000 CR4: 00000000000406f0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494314] DR0: 0000000000000000
>>>>> DR1: 0000000000000000 DR2: 0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494317] DR3: 0000000000000000
>>>>> DR6: 00000000ffff0ff0 DR7: 0000000000000400
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494320] Process khubd (pid: 44,
>>>>> threadinfo ffff880235a78000, task ffff880235a716f0)
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494325] Âffff880235a796c0
>>>>> ffff880235a71dc0 0000000235a796d0 ffff880235a79fd8
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494330] <0> ffff880235a796e0
>>>>> ffffffff812b5db7 0000000000000000 0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494335] <0> 0000000000000000
>>>>> 0000000000000000 0000000000000000 0000000000000000
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494347] Â[<ffffffff812b5db7>] ?
>>>>> kref_put+0x37/0x70
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494351] Â[<ffffffff812be5d8>]
>>>>> kvasprintf+0x48/0x90
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494357] Â[<ffffffff81367fb1>] ?
>>>>> device_private_init+0x71/0x80
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494361] Â[<ffffffff812b505a>]
>>>>> kobject_set_name_vargs+0x3a/0x80
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494366] Â[<ffffffff81368634>]
>>>>> device_create_vargs+0xc4/0x130
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494371] Â[<ffffffff813d72de>] ?
>>>>> usb_alloc_urb+0x1e/0x50
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494375] Â[<ffffffff813686d1>]
>>>>> device_create+0x31/0x40
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494381] Â[<ffffffff8108943f>] ?
>>>>> up+0x2f/0x50
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494387] Â[<ffffffffa0cce580>]
>>>>> st7554_probe+0x760/0xa00 [slusb]
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494392] Â[<ffffffff813db235>]
>>>>> usb_probe_interface+0xe5/0x1d0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494396] Â[<ffffffff8136ab75>]
>>>>> really_probe+0x65/0x170
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494400] Â[<ffffffff8136acc5>]
>>>>> driver_probe_device+0x45/0x70
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494404] Â[<ffffffff8136ad90>] ?
>>>>> __device_attach+0x0/0x60
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494408] Â[<ffffffff8136ade3>]
>>>>> __device_attach+0x53/0x60
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494412] Â[<ffffffff81369c48>]
>>>>> bus_for_each_drv+0x68/0x90
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494416] Â[<ffffffff8136aeac>]
>>>>> device_attach+0x8c/0xa0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494420] Â[<ffffffff81369a2d>]
>>>>> bus_probe_device+0x2d/0x50
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494424] Â[<ffffffff813682a4>]
>>>>> device_add+0x2e4/0x4b0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494428] Â[<ffffffff813d9888>]
>>>>> usb_set_configuration+0x478/0x770
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494434] Â[<ffffffff813e33b3>]
>>>>> generic_probe+0x43/0xc0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494437] Â[<ffffffff8136aa52>] ?
>>>>> driver_sysfs_add+0x62/0x90
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494442] Â[<ffffffff813d9c6a>]
>>>>> usb_probe_device+0x2a/0x30
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494445] Â[<ffffffff8136ab75>]
>>>>> really_probe+0x65/0x170
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494449] Â[<ffffffff8136acc5>]
>>>>> driver_probe_device+0x45/0x70
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494453] Â[<ffffffff8136ad90>] ?
>>>>> __device_attach+0x0/0x60
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494457] Â[<ffffffff8136ade3>]
>>>>> __device_attach+0x53/0x60
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494461] Â[<ffffffff81369c48>]
>>>>> bus_for_each_drv+0x68/0x90
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494464] Â[<ffffffff8136aeac>]
>>>>> device_attach+0x8c/0xa0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494468] Â[<ffffffff81369a2d>]
>>>>> bus_probe_device+0x2d/0x50
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494472] Â[<ffffffff813682a4>]
>>>>> device_add+0x2e4/0x4b0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494478] Â[<ffffffff813d150a>]
>>>>> usb_new_device+0x6a/0xe0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494481] Â[<ffffffff813e3483>] ?
>>>>> usb_detect_quirks+0x53/0x90
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494486] Â[<ffffffff813d2218>]
>>>>> hub_port_connect_change+0x5e8/0x9d0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494490] Â[<ffffffff813d3002>]
>>>>> hub_events+0x3b2/0x5a0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494496] Â[<ffffffff815411d0>] ?
>>>>> thread_return+0x48/0x418
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494500] Â[<ffffffff813d3245>]
>>>>> hub_thread+0x55/0x190
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494505] Â[<ffffffff81084580>] ?
>>>>> autoremove_wake_function+0x0/0x40
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494510] Â[<ffffffff813d31f0>] ?
>>>>> hub_thread+0x0/0x190
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494514] Â[<ffffffff81084206>]
>>>>> kthread+0x96/0xa0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494519] Â[<ffffffff810131ea>]
>>>>> child_rip+0xa/0x20
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494523] Â[<ffffffff81084170>] ?
>>>>> kthread+0x0/0xa0
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494526] Â[<ffffffff810131e0>] ?
>>>>> child_rip+0x0/0x20
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494576] ÂRSP <ffff880235a796a0>
>>>>> Oct 25 22:16:36 speedy kernel: [21015.494581] ---[ end trace
>>>>> 41a6e8fc2b7b9ad9 ]---
>>>>> tom@speedy:/usr/src/sl-modem-2.9.11~20100303/drivers$ exit
>>>>> exit
>>>>>
>>>>> Script done on Mon 25 Oct 2010 10:22:02 PM EDT
>>>>>
>>>>> On Sun, Oct 24, 2010 at 9:49 PM, Marvin Stodolsky
>>>>> <marvin.stodolsky@xxxxxxxxx> wrote:
>>>>>> RE: > I did not know that this is possible.
>>>>>> ÂNot legally under Linux. ÂBut i leave it to the individual modem
>>>>>> needy ÂUser to make their own choice.
>>>>>>
>>>>>> Within /usr/src/sl-modem-2.9.11~20100303/drivers
>>>>>> $ sudo make clean
>>>>>> Then the slusb.ko driver will be compiled by
>>>>>> $ sudo make USB=1
>>>>>> per output below.
>>>>>> Then
>>>>>> SITE=/lib/modules/2.6.32-25-generic/updates/dkms
>>>>>> $ sudo mkdir -p $SITE
>>>>>> $ sudo *.ko Â$SITE/
>>>>>>
>>>>>> Check with
>>>>>> $ ls /lib/modules/2.6.32-25-generic/updates/dkms/
>>>>>> agrmodem.ko  esscom_hw.ko Âlinmodem.ko    nvidia_bl.ko
>>>>>> slamr.ko Âungrab-winmodem.ko
>>>>>> agrserial.ko Âesscom..ko   mbp_nvidia_bl.ko Ânvidia-current.ko
>>>>>> slusb.ko Âwl.ko
>>>>>> -----------
>>>>>> from various test installs on my system
>>>>>>
>>>>>> $ depmod -a
>>>>>> informs the system of the new driver, and
>>>>>>
>>>>>> $ sudo modprobe slusb
>>>>>> [sudo] password for marv
>>>>>> $ lsmod | grep slu*
>>>>>> slusb         Â13583 Â0
>>>>>> shows the driver is loaded, with creation of the port
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers$ sudo make USB=1
>>>>>> doing kernel-ver::
>>>>>> cc -I/lib/modules/2.6.32-25-generic/build/include -o kernel-ver kernel-ver.c
>>>>>> make all KERNEL_VER=2.6.32-25-generic
>>>>>> make[1]: Entering directory `/usr/src/sl-modem-2.9.11~20100303/drivers'
>>>>>> Â Â Â Âobj-m=slamr.o Âslusb.o
>>>>>> Â Â Â Âslamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>>> make modules -C /lib/modules/2.6.32-25-generic/build
>>>>>> SUBDIRS=/usr/src/sl-modem-2.9.11~20100303/drivers
>>>>>> make[2]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
>>>>>> ÂCC [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/amrmo_init.o
>>>>>> ÂCC [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/sysdep_amr.o
>>>>>> ÂCC [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/st7554.o
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c: In function âst7554_probeâ:
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>>> passing argument 2 of âdevice_createâ makes pointer from integer
>>>>>> without a cast
>>>>>> include/linux/device.h:532: note: expected âstruct device *â but
>>>>>> argument is of type âintâ
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>>> passing argument 3 of âdevice_createâ makes integer from pointer
>>>>>> without a cast
>>>>>> include/linux/device.h:532: note: expected âdev_tâ but argument is of
>>>>>> type âvoid *â
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/st7554.c:1336: warning:
>>>>>> passing argument 5 of âdevice_createâ makes pointer from integer
>>>>>> without a cast
>>>>>> include/linux/device.h:532: note: expected âconst char *â but argument
>>>>>> is of type âintâ
>>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slamr.o
>>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.o
>>>>>> ÂBuilding modules, stage 2.
>>>>>> ÂMODPOST 2 modules
>>>>>> WARNING: could not find
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/.amrlibs.o.cmd for
>>>>>> /usr/src/sl-modem-2.9.11~20100303/drivers/amrlibs.o
>>>>>> ÂCC Â Â Â/usr/src/sl-modem-2.9.11~20100303/drivers/slamr.mod.o
>>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slamr.ko
>>>>>> ÂCC Â Â Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.mod.o
>>>>>> ÂLD [M] Â/usr/src/sl-modem-2.9.11~20100303/drivers/slusb.ko
>>>>>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
>>>>>> Â Â Â Âfinished all:
>>>>>> make[1]: Leaving directory `/usr/src/sl-modem-2.9.11~20100303/drivers'
>>>>>> marv@marvmac:/usr/src/sl-modem-2.9.11~20100303/drivers$ ls -l *.ko
>>>>>> -rw-r--r-- 1 root root 561489 2010-10-24 21:20 slamr.ko
>>>>>> -rw-r--r-- 1 root root Â23887 2010-10-24 21:20 slusb.ko
>>>>>>
>>>>>>
>>>>>> On Sun, Oct 24, 2010 at 1:52 AM, ØØÙØ ØÙÙØÙÙØÙ <aelmahmoudy@xxxxxxxxxx> wrote:
>>>>>>
>>>>>>> On Sun, Oct 24, 2010 at 12:15:29AM -0400, Marvin Stodolsky wrote:
>>>>>>>> The slmodemd supplied in the sl-modem-daemon package runs with support
>>>>>>>> of 32 bit libraries.
>>>>>>>> But the slusb.ko driver has to be compiled in a 64 bit mode to match
>>>>>>>> your 64 bit kernel.
>>>>>>>> This is not automatic.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> ---end quoted text---
>>>>>>>
>>>>>>> I did not know that this is possible.
>>>>>>>
>>>>>>> --
>>>>>>> ÂâØØÙØ ØÙÙØÙÙØÙ (Ahmed El-Mahmoudy)
>>>>>>> ÂDigital design engineer
>>>>>>> ÂGPG KeyID: 0xEDDDA1B7
>>>>>>> ÂGPG Fingerprint: 8206 A196 2084 7E6D 0DF8 ÂB176 BC19 6A94 EDDD A1B7
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux