Re: [Ilugc] Reliance Huawei EC-121 USB CDMA modem conf problem

2008-10-10 Thread Prasanna David G
On Thu, Oct 9, 2008 at 1:16 PM, Shakthi Kannan [EMAIL PROTECTED]wrote:

 Hi,

 --- On Thu, Oct 9, 2008 at 12:53 PM, Prasanna David G
 [EMAIL PROTECTED] wrote:
 | [  101.310052] scsi 5:0:0:0: CD-ROMHUAWEI   Mass Storage
 \--

 It is being detected as a pseudo SCSI CD-ROM device, hence no
 /dev/ttyUSB* devices.

 Not the same modem, but, still relevant:
 http://oozie.fm.interia.pl/pro/huawei-e220/


Thanks a lot for the link.  But still there is some problem.

I copied the files from above and did necessary modifications(the vendor and
product ids) and put them in place.  So, now, when I boot with the USB modem
plugged in, the kernel modules get loaded.  But, I couldn't find
/dev/ttyUSBx.

These are the files I copied and modified from the above link :
/etc/udev/rules.d/99-huawei.rules and  /lib/udev/huawei-mobile.sh  (both
these files are attached)

When I insert the USB modem after booting also the same case :

[EMAIL PROTECTED]:~$ lsusb
Bus 007 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 007 Device 001: ID :
Bus 006 Device 001: ID :
Bus 005 Device 001: ID :
Bus 004 Device 002: ID 12d1:1411 Huawei Technologies Co., Ltd.
Bus 004 Device 001: ID :
Bus 003 Device 001: ID :
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
[EMAIL PROTECTED]:~$

And I did :

sudo udevcontrol reload_rules

and

sudo modprobe -v usbserial vendor=0x12d1 product=0x1411

But still, dmesg shows

[  104.553290] usb 4-2: new full speed USB device using uhci_hcd and address
2
[  105.297264] usb 4-2: configuration #1 chosen from 1 choice
[  105.443508] usbcore: registered new interface driver libusual
[  105.478716] Initializing USB Mass Storage driver...
[  105.481886] scsi5 : SCSI emulation for USB Mass Storage devices
[  105.483505] usbcore: registered new interface driver usb-storage
[  105.483511] USB Mass Storage support registered.
[  105.484120] usb-storage: device found at 2
[  105.484123] usb-storage: waiting for device to settle before scanning
[  106.407495] usb-storage: device scan complete
[  106.409725] scsi 5:0:0:0: CD-ROMHUAWEI   Mass Storage
2.31 PQ: 0 ANSI: 2
[  106.460559] sr1: scsi-1 drive
[  106.460654] sr 5:0:0:0: Attached scsi CD-ROM sr1
[  106.460717] sr 5:0:0:0: Attached scsi generic sg2 type 5
[  106.659484] usbcore: registered new interface driver usbserial
[  106.659503] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial support registered for generic
[  106.659522] usbcore: registered new interface driver usbserial_generic
[  106.659524] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial Driver core
[EMAIL PROTECTED]:~$

(Please see the attached files).

I am still missing something.  What is that ?

regards,
Prasanna David


99-huawei.rules
Description: Binary data


huawei-mobile.sh
Description: Bourne shell script
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to check Linux BLOCK size ?

2008-05-22 Thread Prasanna David G
On Thu, May 22, 2008 at 11:22 AM, Kapil Hari Paranjape
[EMAIL PROTECTED] wrote:

 If the block device block size is what you want then the command is

blockdev --getsize64 /dev/hda1

 Here the answer is also in bytes for the device /dev/hda1. Note that
 block-devices usually (always?) work with a sector size of 512-bytes.

Did you mean blockdev --getbsz /dev/hda1 ?

Here is another trick.  Don't know if it will always work.

echo a  test
du -h test

regards,
Prasanna David
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to check Linux BLOCK size ?

2008-05-22 Thread Prasanna David G
On Thu, May 22, 2008 at 2:09 PM, Prasanna David G
[EMAIL PROTECTED] wrote:
 On Thu, May 22, 2008 at 11:22 AM, Kapil Hari Paranjape
 [EMAIL PROTECTED] wrote:

 If the block device block size is what you want then the command is

blockdev --getsize64 /dev/hda1

 Here the answer is also in bytes for the device /dev/hda1. Note that
 block-devices usually (always?) work with a sector size of 512-bytes.

 Did you mean blockdev --getbsz /dev/hda1 ?

 Here is another trick.  Don't know if it will always work.

 echo a  test
 du -h test

 regards,
 Prasanna David


Sorry, I didn't notice that you have written device block size.

Prasanna David
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc